Linux Performance
From NSMWiki
DRAFT
Views/tips Are Welcome!
/etc/sysctl.conf settings:
- increase TCP max buffer size setable using setsockopt()
net.core.rmem_default = 8388608
net.core.wmem_default = 8388608
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
- Increase Linux auto tuning TCP buffer limits: min, default, and max number of bytes to use, set max to at least 4MB, or higher if you use very high BDP paths
net.ipv4.tcp_rmem = 1048576 4194304 16777216
net.ipv4.tcp_wmem = 1048576 4194304 16777216
NIC Optimization
- Find the maximum RX for your NIC, and then set it to that:
ethtool -g ethX
ethtool -G ethX rx <your max RX>
END DRAFT