NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 6.1 NFS server performances



imil%home.imil.net@localhost ("Emile `iMil' Heitor") writes:

>Now using NFS:

>$ dd if=/dev/zero bs=1024K count=1000 >Desktop/nfs@coruscant/imil/tmp/test
>1000+0 records in
>1000+0 records out
>1048576000 bytes (1.0 GB) copied, 51.8476 s, 20.2 MB/s


Best is to use TCP and 64k blocks. And there is a difference
between reading and writing.

With a NetBSD-current (oldish) client and a NetBSD-6.1 server and
a Gigabit link I get:

reading with rsize=64k: ~ 90MB/s
reading with rsize=32k: ~ 60MB/s
writing with wsize=64k: ~ 40MB/s
writing with wsize=32k: ~ 30MB/s

The disk itself gets 110MB/s reading and 90MB/s writing locally
on the NFS server.

Writing via NFS is always slower because even with NFS3 it's
partially synchronous.



-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index