Date: Fri, 05 Dec 2008 00:57:56 -0800 From: Xin LI <delphij@delphij.net> To: Lev Serebryakov <lev@FreeBSD.org> Cc: freebsd-net@freebsd.org Subject: Re: NFS performance tuning? Message-ID: <4938ED14.8090101@delphij.net> In-Reply-To: <1682252731.20081205112939@serebryakov.spb.ru> References: <1682252731.20081205112939@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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@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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4938ED14.8090101>