NFS performances on 5.1

Kris Kennaway kris at obsecurity.org
Sat Jan 31 09:45:14 PST 2004


On Sat, Jan 31, 2004 at 04:02:21PM +0100, Jacques Beigbeder wrote:
> On a same Ethernet 100 LAN, I have several Unix and
> an NFS Solaris fileserver. On these Unix, I tried:
> 	time dd=/fileserver/aFile of=/fileserver/otherFile bs=32768
> On each try, I use new files, to avoid the impact of file caching.
> 
> I measured the time spent and the number of Ethernet packets (with snoop).
> I found:
> 
> NFS client	time		# pkts
> =============== =======         ======
> Solaris		3.11s		2296
> Linux Redhat9	2.42s		1929
> FreeBSD 5.1	19.72s		14887	<!!!
> FreeBSD 4.9	3.04s		6380
> FreeBSD 5.2	2.98s		5941
> 
> All FreeBSD uses: mount_nfs -U -3 -r 32768 -w 32768 ...
> 
> Question: is there any tuning on 5.1 to get better performances?

The best way to tune 5.1 is to update it to 5.2 (I'm sure you read all
the documentation that states that the 5.x branch is a new technology
release with performance not being an initial goal).  However, those
numbers still look excessive, so I wonder if you forgot to turn off
some of the debugging options like WITNESS.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040131/650f317b/attachment-0001.bin


More information about the freebsd-questions mailing list