Subject: Re: Raising NFS parameters for higher bandwith or "long fat pipe"
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-net
Date: 12/09/2003 16:33:12
On Tue, Dec 09, 2003 at 03:21:18PM +0100, Manuel Bouyer wrote:
> I did a test with solaris and NetBSD:
> the test was
> time dd if=/dev/zero of=toto bs=128k count=10000
> time dd if=toto bs=128k of=/dev/null
> I ran these 5 times, and did an average of the time returned, excluding
> times clearly too high (the server is in production, and the 100Mb/s
> link is shared with other systems).
> The server is a NetBSD/alpha 1.6.1_STABLE, with an array of 6 SCSI disks on 2
> SCSI busses for the partition I ran the tests on, and a gigabit network
> interface. It has 20 nfsds running.
> 
> The solaris client is running solaris9 on a UltraSPARC-IIi 333MHz with 256MB
> RAM. Default mount options (remote/read/write/nosuid/hard/intr/xattr).
> The NetBSD client is running current as of today, on a UltraSPARC-IIi
> 400Mhz with 256MB RAM. Also using amd's default mount options
> (nfs (nosuid, nodev)).
>                           read             write
> Solaris               11.27MB/s         10.91MB/s
> NetBSD (4 nfsiod)      5.63MB/s          8.49MB/s
> NetBSD (20 nfsiod)     5.60MB/s          7.21MB/s
> NetBSD (10 nfsiod)     5.54MB/s          8.12MB/s

For completeness, I also did a test on the same box running 1.6.2_RC2:
  NetBSD (4 nfsiod)      4.66MB/s          6.73MB/s

so current is clearly better, but there's room for more improvememnts :)

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 24 ans d'experience feront toujours la difference
--