The calculation
64 KiB window: 65,536 × 8 ÷ 0.02 s = 26.2 Mbps
| Item | Value |
|---|---|
| Bytes in flight (BDP) | 25,000,000 B |
| Window needed | 24,414 KiB |
| Window scale shift needed (RFC 7323) | 9 (65,535 × 29 ≥ BDP) |
| Throughput with 64 KiB window | 26.2 Mbps |
| Suggested max socket buffer (2× BDP) | 50 MB |
Linux tuning for this path
sysctl -w net.core.rmem_max=50000000 sysctl -w net.core.wmem_max=50000000 sysctl -w net.ipv4.tcp_rmem="4096 131072 50000000" sysctl -w net.ipv4.tcp_wmem="4096 65536 50000000"
Window scaling must survive end to end: confirm the wscale option in both SYN and SYN-ACK in a capture. On long paths, packet loss quickly becomes the next limit; add a loss rate in the tool to see the Mathis estimate, and consider BBR congestion control.
10 Gbps at other RTTs
| RTT | BDP | Throughput with a 64 KiB window | Link usage |
|---|---|---|---|
| 10 ms | 11.9 MiB | 52.4 Mbps | 0.5% |
| 20 ms | 23.8 MiB | 26.2 Mbps | 0.3% |
| 50 ms | 59.6 MiB | 10.5 Mbps | 0.1% |
| 100 ms | 119 MiB | 5.24 Mbps | 0.1% |
| 200 ms | 238 MiB | 2.62 Mbps | 0.0% |
| 300 ms | 358 MiB | 1.75 Mbps | 0.0% |
| 600 ms | 715 MiB | 0.874 Mbps | 0.0% |
In practice
With the classic 64 KiB window, a single flow uses only 0.26% of the 10 Gbps. Filling the link without window scaling would take 382 parallel TCP flows. At twice the RTT (40 ms) the BDP doubles too, to 47.7 MiB; at half (10 ms), it drops to 11.9 MiB.
To try other values, open the BDP / TCP window calculator with these numbers already filled in.