Extremely slow NFS writes

    • OMV 2.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Extremely slow NFS writes

      I have an NFS share mounted on my debian server. I was getting writing speeds in the KB/s range, so did some research and added async to the mount options, and now getting 16 MB/s write speeds, still way below acceptable. I then mounted my SMB share from openmediavault on my debian server and got 56MB/s speeds. Why are my NFS speeds so much lower than my SMB speeds? Also, don't understand how it says my NFS read speed is 8.2GB/s...

      mount

      Source Code

      1. 192.168.1.125:/RemoteStorage on /mnt/RemoteStorage type nfs4 (rw,relatime,sync,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.150,local_lock=none,addr=192.168.1.125)


      fstab

      Source Code

      1. 192.168.1.125:RemoteStorage /mnt/RemoteStorage nfs4 rw,sync,hard,intr 0 0


      /etc/exports on server

      Source Code

      1. /export/RemoteStorage 192.168.1.0/24(rw,subtree_check,secure,async)



      Source Code

      1. root@pve:~# time dd if=/dev/zero of=/mnt/RemoteStorage/testfile bs=16k count=50000
      2. 50000+0 records in
      3. 50000+0 records out
      4. 819200000 bytes (819 MB) copied, 49.3278 s, 16.6 MB/s
      5. real 0m49.974s
      6. user 0m0.032s
      7. sys 0m3.228s
      8. root@pve:~# time dd if=/dev/zero of=/mnt/smbtest/testfile1 bs=16k count=50000
      9. 50000+0 records in
      10. 50000+0 records out
      11. 819200000 bytes (819 MB) copied, 14.5799 s, 56.2 MB/s
      12. real 0m14.785s
      13. user 0m0.000s
      14. sys 0m0.816s
      15. root@pve:~# time dd if=/mnt/RemoteStorage/testfile of=/dev/null bs=16k
      16. 50000+0 records in
      17. 50000+0 records out
      18. 819200000 bytes (819 MB) copied, 0.0996837 s, 8.2 GB/s
      19. real 0m0.104s
      20. user 0m0.000s
      21. sys 0m0.096s
      22. root@pve:~# time dd if=/mnt/smbtest/testfile1 of=/dev/null bs=16k
      23. 50000+0 records in
      24. 50000+0 records out
      25. 819200000 bytes (819 MB) copied, 9.5829 s, 85.5 MB/s
      26. real 0m9.622s
      27. user 0m0.008s
      28. sys 0m0.192s
      Display All