
Issue 11
© Solarflare Communications 2014
98
Solarflare Server Adapter
User Guide
Recommended Forwarding Tuning
Intel QuickData (Intel chipsets
only)
Enable in BIOS and install driver:
modprobe ioatdma
Table 24: Forwarding Tuning Settings
Tuning Parameter
How?
TCP Large Receive Offload
Disable using sysfs:
echo 0 > /sys/class/net/ethX/device/lro
TCP Protocol Tuning
Can leave at default for 2.6.16 and later.
For earlier kernels:
sysctl net.core.tcp_rmem 4096 87380 524288
sysctl net.core.tcp_wmem 4096 87380 524288
Receive Side Scaling (RSS)
Set to 1 CPU by adding rss_cpus to following line to
/etc/
modprobe.conf
file or add the options line to a file under
the
/etc/modprobe.d
directory:
options sfc rss_cpus=1
Then reload drivers to use new configuration.
/sbin/modprobe -r sfc
/sbin/modprobe sfc
Interrupt affinity & irqbalance
service
Stop irqbalance service:
/sbin/service irqbalance stop
Interrupt affinity. Affinitize each ethX interface to its own CPU
(if possible select CPU's on the same Package). Refer to
Interrupt and Irqbalance Service...Page 91
Buffer Allocation Method
The Solarflare driver now supports a single optimized buffer
allocation strategy and any value set by the rx_alloc_method
parameter is ignored.
Table 23: Latency Tuning Settings
Tuning Parameter
How?