How it works...
In step 1, we increase the maximum send and receive socket buffers. This will allocate more memory to the TCP stack, but on servers with a large amount of memory and many TCP connections, it will ensure that the buffer sizes will be sufficient. A good starting point for selecting the default values is the Bandwidth Delay Product (BDP) based on a measured delay, for example, multiply the bandwidth of the link to the average round trip time to some host.
In step 2, we increase the min, default, and max number of bytes used by TCP to regulate send buffer sizes. TCP dynamically adjusts the size of the send buffer from the default values.
In step 3, we make sure that window scaling is enabled. TCP window scaling automatically increases ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access