Practical Linux TCP Tuning for High-Latency WAN Links
When serving persistent HTTP/2 or WebSocket connections across 200+ ms RTT links, default Linux TCP settings leave noticeable latency on the table.
Key Sysctl Parameters
Combining Fair Queueing (fq) with BBR congestion control and disabling tcp_slow_start_after_idle prevents warm connections from collapsing back to initial congestion windows during brief pauses.
net.core.default_qdisc = fq net.ipv4.tcp_congestion_control = bbr net.ipv4.tcp_slow_start_after_idle = 0 net.ipv4.tcp_mtu_probing = 1 net.ipv4.tcp_fastopen = 3
Enabling Path MTU discovery probing is especially useful on virtualized cloud NICs with 1460-byte MTUs where ICMP fragmentation-needed packets are occasionally dropped along intermediate hops.