Überpferd (sitlar) wrote in netbsd,

NFS tuning

I'm using NetBSD on an old notebook as a multipurpose server. I've installed nfsd on my NAS to let NetBSD access file archives. Samba doesn't work since NetBSD freezes than doing a memcpy to a mmap'ed file on smbfs. Unfortunately I got a very bad performance of NetBSD's nfs client.

To test the speed I use

$ dd if=/mnt/NAS/testfile of=/dev/null bs=16k

testfile is 256M zeros.

The best result on NetBSD is only 1.3Mb/s , however my desktop (2.6 linux) is doing 2.3Mb/s with same rsize=1024 on both systems. If I increase the value I get much better results on linux - up to 5.4Mb/s, but a performance loss on NetBSD - only about 500kb/s.

Any ideas? Thanks in advance!

  • Compile a program for me - please!

    Good evening all. I have an old machine that runs NetBSD. I want to use it to run PLT Scheme programs. Trouble is, it has so little memory that…

  • remove the base system component

    Greets. I’m digging in to pkgsrc now and I want to install X.org, but during the installation I had chosen to install XFree86 -- just to test if X…

  • NIS/NFS help

    I want to set up NFS at home, and since I'm not looking forward to syncing all my UIDs (which I'll likely end up doing anyway) and keeping them…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic