Hi There,
Isn't NFS4 suppose to outperform NFS3 ? I've been running some tests and either and most likely I'm doing something wrong but it seems like NFS3 outperform NFS4 with at least 80%... Perhaps some optimization is required?
Server config : /etc/exports;
/home *(rw,async,fsid=0,no_root_squash,no_subtree_check)
NFS3 results
root@pve2:~# mount -t nfs -o nfsvers=3,rw,relatime,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.50.0.2,mountport=20048,mountproto=udp,local_lock=none,addr=10.50.0.2 10.50.0.2:/home /mnt/nas/
root@pve2:~# pveperf /mnt/nas/
CPU BOGOMIPS: 76802.40
REGEX/SECOND: 1085059
HD SIZE: 1276.51 GB (10.50.0.2:/home)
FSYNCS/SECOND: 2055.07
DNS EXT: 222.60 ms
DNS INT: 10.09 ms (bbi.co.bw)
root@pve2:~#
NFS4 results
root@pve2:~# mount -t nfs -o nfsvers=4,rw,relatime,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.50.0.2,mountport=20048,mountproto=udp,local_lock=none,addr=10.50.0.2 10.50.0.2:/ /mnt/nas/
root@pve2:~# pveperf /mnt/nas/
CPU BOGOMIPS: 76802.40
REGEX/SECOND: 1079439
HD SIZE: 1276.51 GB (10.50.0.2:/)
FSYNCS/SECOND: 1126.22
DNS EXT: 305.20 ms
DNS INT: 10.24 ms (bbi.co.bw)
-steph
Isn't NFS4 suppose to outperform NFS3 ? I've been running some tests and either and most likely I'm doing something wrong but it seems like NFS3 outperform NFS4 with at least 80%... Perhaps some optimization is required?
Server config : /etc/exports;
/home *(rw,async,fsid=0,no_root_squash,no_subtree_check)
NFS3 results
root@pve2:~# mount -t nfs -o nfsvers=3,rw,relatime,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.50.0.2,mountport=20048,mountproto=udp,local_lock=none,addr=10.50.0.2 10.50.0.2:/home /mnt/nas/
root@pve2:~# pveperf /mnt/nas/
CPU BOGOMIPS: 76802.40
REGEX/SECOND: 1085059
HD SIZE: 1276.51 GB (10.50.0.2:/home)
FSYNCS/SECOND: 2055.07
DNS EXT: 222.60 ms
DNS INT: 10.09 ms (bbi.co.bw)
root@pve2:~#
NFS4 results
root@pve2:~# mount -t nfs -o nfsvers=4,rw,relatime,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.50.0.2,mountport=20048,mountproto=udp,local_lock=none,addr=10.50.0.2 10.50.0.2:/ /mnt/nas/
root@pve2:~# pveperf /mnt/nas/
CPU BOGOMIPS: 76802.40
REGEX/SECOND: 1079439
HD SIZE: 1276.51 GB (10.50.0.2:/)
FSYNCS/SECOND: 1126.22
DNS EXT: 305.20 ms
DNS INT: 10.24 ms (bbi.co.bw)
-steph