Updated Performance Tuning (markdown)

klzgrad 2024-08-18 10:58:40 +08:00
parent 62ce6e0c6a
commit 4c3737fdef

@ -6,7 +6,7 @@ BDP (byte) = Link speed (bit/s) * RTT (s) / 8 (bit/byte). Under the default effe
Example: Assuming 1Gbps link with 256ms RTT, it's a 32MiB maximum window size requiring 64MiB maximum buffer size. Add `net.ipv4.tcp_rmem = 4096 131072 67108864` to client-side sysctl.conf, `net.ipv4.tcp_wmem = 4096 131072 67108864` to server-side sysctl.conf.
BBR should be able to reduce the buffer size to reduce bufferbloat.
BBR should be able to auto-tune the buffer size to reduce bufferbloat.
* https://blog.cloudflare.com/the-story-of-one-latency-spike/
* https://blog.cloudflare.com/optimizing-tcp-for-high-throughput-and-low-latency