Tunable network parameters on Linux
You can tune the following Linux network parameters to resolve some or all of your network issues:
Specifies the maximum TCP receive window size.
Specifies the maximum TCP transmit window size.
Specifies the minimum, default, and maximum TCP receive window size.
Specifies the minimum, default, and maximum TCP transmit window size.
Enables window scaling, as defined in RFC1323.
Enables timestamps, as defined in RFC1323.
Enables select acknowledgments (SACKS).
Disables the caching of metrics on closing connections.
Enables TCP receive buffer auto-tuning. With receive buffer auto-tuning , TCP attempts to set the size of the buffer to
match the size required by the path for full throughput. The resulting size will not be greater than the maximum specified by the net.ipv4.tcp_rmem parameter. This is enabled by
Specifies the maximum number of packets that can be queued on the input side. This queue is used when the interface receives packets faster than kernel can process them. The default value is 1000.
Specifies the maximum number of remembered connection requests that have not received an acknowledgment from connecting client.
The default value is 1024 for systems with more than 128 MB of memory,
and 128 for low memory machines. If server becomes overloaded with requests,
then increase this number.
Ethernet interface txqueuelen
Specifies the length of the Ethernet interface transmit queue.
You can tune these parameters by using the sysctl command.
sysctl(8) manual page.
See Tuning the operating system network parameters