network: gigabit performance tuning

This commit is contained in:
Alex Zenla
2024-03-04 07:04:32 +00:00
parent 25a02f5491
commit c9c071dd8e
7 changed files with 49 additions and 51 deletions

View File

@ -19,10 +19,10 @@ use tokio::{
task::JoinHandle,
};
const TO_BRIDGE_QUEUE_LEN: usize = 1000;
const FROM_BRIDGE_QUEUE_LEN: usize = 1000;
const BROADCAST_QUEUE_LEN: usize = 1000;
const MEMBER_LEAVE_QUEUE_LEN: usize = 10;
const TO_BRIDGE_QUEUE_LEN: usize = 3000;
const FROM_BRIDGE_QUEUE_LEN: usize = 3000;
const BROADCAST_QUEUE_LEN: usize = 3000;
const MEMBER_LEAVE_QUEUE_LEN: usize = 30;
#[derive(Debug)]
struct BridgeMember {