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

@ -11,8 +11,8 @@ use tokio::select;
use tokio::sync::mpsc::{channel, Receiver, Sender};
use tokio::task::JoinHandle;
const RAW_SOCKET_TRANSMIT_QUEUE_LEN: usize = 1000;
const RAW_SOCKET_RECEIVE_QUEUE_LEN: usize = 1000;
const RAW_SOCKET_TRANSMIT_QUEUE_LEN: usize = 3000;
const RAW_SOCKET_RECEIVE_QUEUE_LEN: usize = 3000;
#[derive(Debug)]
pub enum RawSocketProtocol {