# increase TCP max buffer size net.core.rmem_default = 256960 net.core.rmem_max = 16777216 net.core.wmem_default = 256960 net.core.wmem_max = 16777216 # Disable timestamps to avoid 12 byte overhead net.ipv4.tcp_timestamps = 0 # increase Linux autotuning TCP buffer limits # min, default, and max number of bytes to use net.ipv4.tcp_rmem = 4096 87380 16777216 net.ipv4.tcp_wmem = 4096 65536 16777216