3.6.19 TCP/IP Tuning - tcp_recvspace

Information

The tcp_recvspace parameter sets the socket buffer size for receiving data. This recommendation changes the default size, but many adapters have specific buffer sizes implemented within the device driver. These are typically 64KB or greater.

The tcp_recvspace parameter will be set to 262144. This means that the system default socket buffer size for receiving data will be 262KB. This is the minimum recommendation for modern high performance networks.

Solution

In /etc/tunables/nextboot, add the tcp_recvspace entry-

no -p -o tcp_recvspace=262144

This makes the change permanent by adding the entry into /etc/tunables/nextboot.

See Also

https://workbench.cisecurity.org/files/528