How to measure CPU Utilization in 7mode mode device
Applies to
- Data ONTAP 8 7-Mode
- Data ONTAP 7 and earlier
Answer
Verify the CPU utilization with the following commands :
- Using sysstat -M 1
netapp> priv set diag
netapp*> sysstat -M 1
ANY1+ ANY2+ ANY3+ ANY4+ AVG CPU0 CPU1 CPU2 CPU3
93% 80% 36% 15% 56% 38% 32% 82% 72%
Nwk_Excl Nwk_Lg Nwk_Exmpt Protocol Cluster Storage Raid Raid_Ex Target Kahuna
1% 68% 1% 0% 0% 4% 0% 19% 0% 11%
WAFL_Ex(Kahu) WAFL_XClean SM_Exempt Cifs Exempt SSAN_Ex Intr Host Ops/s CP
80%( 75%) 14% 0% 0% 24% 0% 1% 1% 0 83%
In this example, Average CPU Utilization is 56% and the nwk_legacy domain (max concurrency of 1) is 68%.
- To analyze for a WAFL bottleneck, Kahuna is 11% and
WAFL_Ex
is 75%, or 86% in total:- As this is < 100%, it is not a bottleneck. However, if it is nearing 100%, it might still not be a concern without other contributing performance indicators.
- While CPU (logical and physical) utilization is exposed by Data ONTAP, CPU utilization should not be used as a first-order metric for evaluating the overall performance of a system.
- Instead, the inputs and outputs associated with the requested user work should be the first-order metric.
- A focus on actual latency for work being serviced (Response Time) and the quantity of operations being processed in terms of IO requests or Bytes (Throughput) is recommended.
- This measure of performance is relevant to a given workload and abstracts the complex nature of logical and physical CPU scheduling variations.
- Using sysstat - x 1
fas01> priv set diag
Warning: These diagnostic commands are for use by NetApp
personnel only.
fas01*> sysstat -x 1
CPU NFS CIFS HTTP Total Net kB/s Disk kB/s Tape kB/s Cache Cache CP CP Disk
in out read write read write age hit time ty util
2% 0 0 0 104 0 0 0 0 0 0 >60 100% 0% - 0%
2% 0 0 0 1 0 0 0 0 0 0 >60 100% 0% - 0%
2% 0 0 0 1 0 0 0 0 0 0 >60 100% 0% - 0%
2% 0 0 0 0 0 0 64 771 0 0 >60 100% 1% T 1%
2% 0 0 0 99 0 0 0 0 0 0 >60 99% 0% - 0%
1% 0 0 0 0 0 0 0 0 0 0 >60 100% 0% - 0%
1% 0 0 0 2 0 1 0 0 0 0 >60 100% 0% - 0%
1% 0 0 0 0 0 0 0 0 0 0 >60 100% 0% - 0%
In this example, CPU Utilization can be viewed from the first column which is 2%.