The calculation
BDP = 10,000,000,000 bit/s × 0.02 s ÷ 8 = 25,000,000 B
64 KiB window: 65,536 × 8 ÷ 0.02 s = 26.2 Mbps
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.