We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6c66c5 commit 873d705Copy full SHA for 873d705
pulsebeam-runtime/src/net.rs
@@ -7,10 +7,9 @@ use std::{
7
use bytes::Bytes;
8
use quinn_udp::RecvMeta;
9
10
-// L2 cache friendly, keep it <= 1MB
11
pub const BATCH_SIZE: usize = quinn_udp::BATCH_SIZE;
12
-// Fit Mimalloc page size and Linux GRO limit
13
-pub const CHUNK_SIZE: usize = 32 * 1024;
+// Fit allocator page size and Linux GRO limit
+pub const CHUNK_SIZE: usize = 64 * 1024;
14
// Up to 8x IO loop latency, a bit of headroom for keyframe bursts.
15
// With 1ms scheduling delay, this is capped to 8ms latency.
16
pub const SOCKET_RECV_SIZE: usize = 8 * BATCH_SIZE * CHUNK_SIZE;
0 commit comments