What is a TCP window scale and why does it matter on fast links?
AdvancedConceptNetwork Models, TCP, UDP & Ports
Answer
The original 16-bit window caps at 64 KB, so throughput is limited to window / RTT. On a 100 ms link that is about 5 Mbit/s. The window scale option (RFC 7323) multiplies the window by 2^N, negotiated in the SYN, allowing windows of up to about 1 GB.
Bandwidth-delay product is the number to remember: a 1 Gbit/s link at 80 ms RTT needs about 10 MB in flight. Middleboxes that strip TCP options silently cap your throughput.
More on Network Models, TCP, UDP & Ports
What are the layers of the OSI model, and why does a DevOps engineer care?BeginnerHow does the TCP/IP model map to the OSI model?BeginnerWhat is the difference between TCP and UDP?BeginnerDescribe the TCP three-way handshake.BeginnerHow does TCP close a connection, and what is TIME_WAIT?IntermediateWhat is a port, and what are well-known, registered and ephemeral ranges?Beginner