netapp performance stuff

Some performance commands: top client/file , network test-path , max-xfer , qos-policy

cl1::> statistics top client show       
cl1 : 5/15/2017 19:43:56
*Estimated
Total
IOPS Protocol   Node Vserver Client
---------- -------- ------ ------- -------------
34      nfs cl1-01   v_nfs 192.168.4.240
15      nfs cl1-01   v_nfs 192.168.4.158
1      nfs cl1-02   v_nfs 192.168.4.159


cl1::> statistics top file show
cl1 : 5/15/2017 19:41:38
*Estimated
Total
IOPS   Node Vserver    Volume File
---------- ------ ------- --------- ----------------------
22 cl1-01   v_nfs v_nfsdata (unknown : inode 8004)
11 cl1-01   v_nfs v_nfsdata (unknown : inode 24128)
(output snipped)


cl1::*> network test-path -source-node cl1-01 -destination-cluster cl2 -destination-node cl2_1
Initiating path test. It can take up to 15 seconds for results to be displayed.
Test Duration: 2.25 secs
Send Throughput: 3.72 MB/sec
Receive Throughput: 3.72 MB/sec
MB Sent: 8.38
MB Received: 8.38
Avg Latency:  1402.03 ms
Min Latency:  1187.13 ms
Max Latency:  1935.26 ms

cl1::*> vserver nfs show -vserver v_nfs -fields tcp-max-xfer-size
vserver tcp-max-xfer-size
------- -----------------
v_nfs   65536

cl1::*> statistics show-periodic -object volume -vserver v_nfs \
-instance v_nfsdata -counter  \
write_ops|read_ops|total_ops|read_latency|write_latency|avg_latency
cl1: volume.v_nfsdata: 5/15/2017 20:00:03
avg     read             total    write    write
latency  latency read_ops      ops  latency      ops
-------- -------- -------- -------- -------- --------
0us      0us        0        0      0us        0
126us    0us        0        2      0us        0
97us     0us        0       49      0us        0
132us    0us        0       12      0us        0
155us    0us        0        0      0us        0
184us    0us        0      194    146us       49
139us    0us        0        2      0us        0
0us      0us        0        0      0us        0
1493us   0us        0        2      0us        0

cl1::*> qos policy-group create -policy-group light -vserver v_nfs -max-throughput 30mbs 
cl1::*> qos policy-group create -policy-group heavy -vserver v_nfs -max-throughput 300mbs
cl1::*> vol modify -vserver v_nfs -volume v_nfsdata -qos-policy-group light      
cl1::*> vol modify -vserver v_nfs -volume v_nfsheavy -qos-policy-group heavy  
cl1::*> qos statistics performance show 

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.