Slow NFS client performance w/Linux NFS server - My Resolution

From: Don Schultz (don_schultz@panvera.com)
Date: Tue Jan 07 2003 - 14:47:19 EST


I'd like to thank these guys:
Alex Stade, Casper Dik, David Foster, Glen, Joe Fletcher, Rick Mayberry,
Rich Teer and Tim Chapman
For helping me out with my NFS issues.

I have a Trustix 1.5 NFS server (NFS v3, kernel 2.2.22, redhat-based)
and 3 solaris clients running solaris 8 on ultra-1's with from 256 to
768mb ram. NFS performance was really slow but I seemed to resolve it
with these options:

retry=3
rsize=1024
wsize=1024
vers=3

The full command line mount command would be:
mount -F nfs -o "retry=3,rsize=1024,wsize=1024,vers=3"
server:/exported/directory /local-mountpoint

Or in /etc/vfstab:
server:/exported/directory - /local-mountpoint nfs - yes
retry=3,rsize=1024,wsize=1024,vers=3

With this config the solaris 8 clients seem to be performing almost as
well on as linux clients.
The rsize and wsize options might need to be modified depending on the
client and, your mileage may vary :)

.: Don Schultz
:: Unix Systems Administrator
:: Panvera, LLC
:: 501 Charmany Dr.
:: Madison, WI 53719
 \\
 :: Phone: 608.204.5060
 :: Fax: 608.204.5061
 :: Cell: 608.213.7523
 :: Email: don_schultz@panvera.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:32 EDT