Bug 1519701
Summary: | Why nfsiostat only shows 256k when the nfs mount wsize=1m and rsize=1m? | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | zhouweigang09 |
Component: | nfs-utils | Assignee: | Steve Dickson <steved> |
Status: | CLOSED WONTFIX | QA Contact: | Yongcheng Yang <yoyang> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | pasik, rahulx411, xzhou, yoyang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-15 07:31:38 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
zhouweigang09
2017-12-01 08:47:48 UTC
Sorry,the true results are: Actual results: nfsiostat show ops=256k Expected results: nfsiostat show ops=1024k Please try it with the latest nfs-utils version. Seems I cannot reproduce your problem: # showed as 1024.301 kB/op ^^^^^^^^^^^^^^^^^^^^^^^^^^ [root@~]# mount nfs_server:/export_test /mnt/ -o vers=3,rsize=1048576,wsize=1048576 [root@~]# cat /proc/mounts | grep mnt nfs_server:/export_test /mnt nfs rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.0.1,mountvers=3,mountport=20048,mountproto=udp,local_lock=none,addr=192.168.0.1 0 0 [root@~]# dd if=/dev/zero of=/mnt/testfile bs=1M count=1024 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 10.831 s, 99.1 MB/s [root@~]# nfsiostat nfs_server:/export_test mounted on /mnt: op/s rpc bklog 13.49 0.00 read: ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms) 0.000 0.000 0.000 0 (0.0%) 0.000 0.000 write: ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms) 13.299 13621.870 1024.301 0 (0.0%) 18.848 4380.977 [root@~]# rpm -q nfs-utils nfs-utils-1.3.0-0.48.el7.x86_64 [root@~]# (In reply to Yongcheng Yang from comment #3) > Please try it with the latest nfs-utils version. > > Seems I cannot reproduce your problem: > > # showed as 1024.301 kB/op > ^^^^^^^^^^^^^^^^^^^^^^^^^^ > [root@~]# mount nfs_server:/export_test /mnt/ -o > vers=3,rsize=1048576,wsize=1048576 > [root@~]# cat /proc/mounts | grep mnt > nfs_server:/export_test /mnt nfs > rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp, > timeo=600,retrans=2,sec=sys,mountaddr=192.168.0.1,mountvers=3, > mountport=20048,mountproto=udp,local_lock=none,addr=192.168.0.1 0 0 > [root@~]# dd if=/dev/zero of=/mnt/testfile bs=1M count=1024 > 1024+0 records in > 1024+0 records out > 1073741824 bytes (1.1 GB) copied, 10.831 s, 99.1 MB/s > [root@~]# nfsiostat > > nfs_server:/export_test mounted on /mnt: > > op/s rpc bklog > 13.49 0.00 > read: ops/s kB/s kB/op retrans > avg RTT (ms) avg exe (ms) > 0.000 0.000 0.000 0 (0.0%) 0.000 0.000 > write: ops/s kB/s kB/op retrans > avg RTT (ms) avg exe (ms) > 13.299 13621.870 1024.301 0 (0.0%) 18.848 > 4380.977 > [root@~]# rpm -q nfs-utils > nfs-utils-1.3.0-0.48.el7.x86_64 > [root@~]# My centos65 using nfs-utils-1.2.3-39,but has not this problem: [root@centos65-2 14:30:48 ~]# rpm -q nfs-utils nfs-utils-1.2.3-39.el6.x86_64 `````````````````````````````` op/s rpc bklog 400.00 0.00 read: ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms) 0.000 0.000 0.000 0 (0.0%) 0.000 0.000 write: ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms) 400.000 408890.062 1022.225 0 (0.0%) 11.325 1803.550 The issue is reproducible with rhel7 nfs client (from nfs-utils-1.3.0-0.48) # mount|grep nfs sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) nfsd on /proc/fs/nfsd type nfsd (rw,relatime) 10.xx.xxx.xxx:/srcfs on /nfsmount type nfs4 (rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=10.xx.xxx.xxx,local_lock=none,addr=10.xxx.xxx.xxx) [root@host1~]# rpm -q nfs-utils nfs-utils-1.3.0-0.48.el7_4.2.x86_64 [root@host1 ~]# Tracing the read requests: shows [offset, length: 0, 262144] for read requests Using RHEL6 nfs-utils to access the same share above and using the same mount options shows [offset, length: 9306112, 1048576) So this works fine with: [root@host2~]# rpm -q nfs-utils nfs-utils-1.2.3-54.el6.x86_64 [root@host21 ~]# (as also observed by zhouweigang09) After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |