The calculation
64 KiB window: 65,536 × 8 ÷ 0.1 s = 5.24 Mbps
| Item | Value |
|---|---|
| Bytes in flight (BDP) | 12,500,000 B |
| Window needed | 12,207 KiB |
| Window scale shift needed (RFC 7323) | 8 (65,535 × 28 ≥ BDP) |
| Throughput with 64 KiB window | 5.24 Mbps |
| Suggested max socket buffer (2× BDP) | 25 MB |
Linux tuning for this path
sysctl -w net.core.rmem_max=25000000 sysctl -w net.core.wmem_max=25000000 sysctl -w net.ipv4.tcp_rmem="4096 131072 25000000" sysctl -w net.ipv4.tcp_wmem="4096 65536 25000000"
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.
1 Gbps at other RTTs
| RTT | BDP | Throughput with a 64 KiB window | Link usage |
|---|---|---|---|
| 10 ms | 1.19 MiB | 52.4 Mbps | 5.2% |
| 20 ms | 2.38 MiB | 26.2 Mbps | 2.6% |
| 50 ms | 5.96 MiB | 10.5 Mbps | 1.0% |
| 100 ms | 11.9 MiB | 5.24 Mbps | 0.5% |
| 200 ms | 23.8 MiB | 2.62 Mbps | 0.3% |
| 300 ms | 35.8 MiB | 1.75 Mbps | 0.2% |
| 600 ms | 71.5 MiB | 0.874 Mbps | 0.1% |
In practice
With the classic 64 KiB window, a single flow uses only 0.52% of the 1 Gbps. Filling the link without window scaling would take 191 parallel TCP flows. At twice the RTT (200 ms) the BDP doubles too, to 23.8 MiB; at half (50 ms), it drops to 5.96 MiB.
To try other values, open the BDP / TCP window calculator with these numbers already filled in.