3.5.1 Matrix Server Administration Guide

Chapter 8: Configure MxFS-Linux 174
Copyright © 1999-2007 PolyServe, Inc. All rights reserved.
Adjust the NIC Parameters
To set the NIC parameters, you will need to add commands to the
appropriate file for your operating system, as described below. The files
are executed after the system is booted, specifically after all run-level
scripts are completed.
On RHEL4 systems, add the commands to the /etc/rc.local file. This file
is typically created when the OS is installed.
On SLES9 systems, add the commands to the /etc/after.local file. You
may need to create this file.
The commands to modify the parameters are as follows. To change the
parameters in real time, execute the commands on the command line.
Disable Ethernet flow control:
ethtool -A eth0 tx off rx off
Disable the TSO feature:
ethtool -K eth0 tso off
Increase the size of the NIC transmit queue on a per-interface basis:
# ip link set eth0 txqueuelen 3000
After adjusting the NIC values, it is a good idea to check the NIC statistics
with the ethtool -S command.
Tuning References
The following “nfs-howto” document is very helpful:
http://nfs.sourceforge.net/nfs-howto/
Another good document on NFS performance tuning is located at:
http://www.tldp.org/HOWTO/NFS-HOWTO/performance.html