TCP performance
Window and bandwidth-delay product
Also called receive window, BDP, window scaling, wscale
How much data may be unacknowledged at once; to fill a path it must reach bandwidth × round trip.
The window is how many bytes may be out unacknowledged, so the rate is at most window / round trip. A 20 Mbit/s link with a 40 ms round trip holds 100 KB in flight; a 16 KB window sends 16 KB and waits, 3.2 Mbit/s. The receiver advertises the window in every ack; the 16-bit field tops out at 65,535 bytes unless window scaling multiplies it.
A sender moves at most one window per round trip, so throughput ≈ window ÷ RTT. At 20 Mbit/s and 40 ms the pipe
holds 100 KB; a smaller window leaves it idle. Window scaling, agreed in the handshake, lifts the original
64 KB limit.