:I suppose while were on the topic..
:
:Are there any hidden secrets to eeking out more performance from the BSD
:NFS client (other than version types and the normal fstab tweaks).
:
:Im the CS Labs manager at NetApp..and Im always trying to store away a
:secret here or there when someone comes to me with a problem in the field.
:
:FreeBSD since v2..rock on!
* Make sure you don't have packet loss in your network (test with larger
packets, aka ping -s 8192 rather then just ping, and perhaps test with
a pattern (-p)).
* Run a sufficient number of nfsd's on the server side, depending on
load. 4 or 8 is typical.
* Run nfsiod's on the client side. I usually run 4. This will drastically
improve read-ahead and, for example, can bump linear read speeds on a
100BaseTX network from 7 MBytes/sec to 11 MBytes/sec (full saturation).
* Use NFS version 3 when possible (this is the default)
* Sometimes playing around with the various attribute cache timeouts
(see 'man mount_nfs') helps. Sometimes it doesn't.
For extreme performance there are some zero-copy patches floating around
which have not been integrated into the main tree. Generally, though,
your NFS performance is going to be ultimately limited by your server's
disk performance.
-Matt
Matthew Dillon
<[EMAIL PROTECTED]>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message