NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Omaha2002's avatar
Jul 09, 2013

Poor NFS performance OS 6 Readynas pro (Solved with 6.1.1)

(edit) turned out I was testing the local disk because the NFS share wasn't mounted. So still investigating poor NFS performance on OS6


I've installed OS6 on a Readynas Pro, so far everything works smooth except NFS has very poor performance. On 4.2.23 I had some KVM virtual machines on a NFS share performing pretty good. On OS 6 hte performance is pathetic. After a lot of searching I found out the OS6 doesn't has the async option in /etc/exports:

"/data/KVM_NFS" *(insecure,insecure_locks,root_squash,anongid=99,anonuid=99,no_subtree_check,rw)

performance:

root@Meterkast:/mnt/KVM_NFS# dd if=/dev/zero of=speetest bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 1.61769 s, 64.8 MB/s


adding async to exports:

"/data/KVM_NFS" *(insecure,insecure_locks,root_squash,anongid=99,anonuid=99,no_subtree_check,rw,async)

and restarting NFS :

/etc/init.d/nfs-kernel-server restart

results in much better performance:

root@Meterkast:/mnt/KVM_NFS# dd if=/dev/zero of=speetest bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 0.168999 s, 620 MB/s


Only thing is that after changing anything in the webinterface for NFS will result in removing the async option in /etc/exports

Netgear, please create an async option in the NFS interface...

5 Replies

  • StephenB's avatar
    StephenB
    Guru - Experienced User
    Of course 620 MB/s is an impossible speed for a Pro (even teamed ethernet maxes out at 2 gigabits, or 250 MB/s). That's not to say they shouldn't do async - just pointing out that the 620 MB/s number at least is clearly incorrect.
  • Yep, you are absolutely right, I was just logging in to delete the post or at least update it. turned out the NFS share wasn't mounted so I was testing local disc. So I'm still left with very poor performance with NFS on OS6.
  • I made few months ago a very basic performance comparison test between 4.2.22 and 6.0.5 on Ultra6 model (not NFS but SMB copy) http://www.readynas.com/forum/viewtopic.php?f=51&t=70133&start=270#p394019.

    Here are test results, Higher is better

    big files : 6 x divx, total 4056 MB
    PC -> NAS - 4.2.22 : 65.49 MB/s - OS 6.0.5 : 90.13 MB/s
    NAS -> PC - 4.2.22 : 70.62 MB/s - OS 6.0.5 : 75.85 MB/s

    small files : 66 directories, 686 files (word, excel, pdf, jpg,...) , total 1293 MB
    PC -> NAS - 4.2.22 : 34.94 MB/s - OS 6.0.5 : 22.93 MB/s
    NAS -> PC - 4.2.22 : 35.91 MB/s - OS 6.0.5 : 35,91 MB/s
  • Updating to 6.1.1 results in much better NFS performance, with 6.0.8 I got 64Mb/sec writing, now with 6.1.1 (using async):

    root@Meterkast:/mnt/KVM_NFS# time dd if=/dev/zero of=/mnt/KVM_NFS/testfile bs=256k count=16384
    16384+0 records in
    16384+0 records out
    4294967296 bytes (4.3 GB) copied, 39.0735 s, 110 MB/s

    real 0m39.985s
    user 0m0.000s
    sys 0m2.132s

    root@Meterkast:/mnt/KVM_NFS# time dd if=/mnt/KVM_NFS/testfile of=/dev/null bs=16k
    262144+0 records in
    262144+0 records out
    4294967296 bytes (4.3 GB) copied, 37.633 s, 114 MB/s

    real 0m37.636s
    user 0m0.048s
    sys 0m1.824s

    Very usable speeds!!

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More