NFS performance tuning?

Xin LI delphij at delphij.net
Fri Dec 5 00:58:10 PST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lev Serebryakov wrote:
> Hello, Freebsd-net.
> 
>   I have two systems (7-Stable), connected with gigabit link. iperf
> shows 667 Mbits/sec on TCP and 600Mbit/s on UDP without any tuning.
> 
>   But NFS gives me only 17Mb/s (~136 Mbit/s) on sequential read of
> very big files, and about 8-10Mb/s on "real" workloads.
> 
>   Are here any guides how to tune NFS for performance?

rsize/wsize?  I think the current default (8192) is too smal, perhaps
262144 would be a better choice.


What I usually use is:

mount_nfs -3Tr 262144 -w 262144


- --
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkk47RQACgkQi+vbBBjt66BYkwCgh+Eu+C+OJW9WdU7s1qww9GEb
c5gAoKotFAXFTNTKD1ac+mNRAufck15t
=pdBF
-----END PGP SIGNATURE-----


More information about the freebsd-net mailing list