6–Linux Driver Installation and Configuration
Linux Performance Tuning
NE0154601-00 A 6-9
Linux Performance Tuning
This section describes Linux performance tuning.
Performance Tools
Add the following parameters for performance tuning on Linux systems in the
/etc/sysctl.conf file:
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.core.optmem_max = 524287
net.core.netdev_max_backlog = 250000
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 87380 16777216
net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_low_latency = 0
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_moderate_rcvbuf = 1
net.ipv4.route.flush = 1
Using the iperf Tool
The iperf tool measures network performance. The following paragraphs show
how to use iperf; however, it can be further tuned depending on your system’s
requirements.
NOTE:
While running these tests, the network traffic will be interrupted.
NOTE:
The tunable performance parameters are system and application specific.
Understanding the relationship between the parameter values, target
workload, performance applications, operating system, and system
configuration provides a better understanding of performance optimization
and bottlenecks.
NOTE:
Various factors including tools, kernel, stacks, and related parameters affect
system performance.