跳转到主内容

为什么  在节点Shell中执行"QoS statics volume resource cpu show"命令和"sysstat"命令的结果之间存在CPU利用率差异?

Views:
145
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
perf
Last Updated:

适用场景

18:12:31::> qos statistics volume resource cpu show -node node1
18:12:39 Workload       ID   CPU
18:12:39 --------------- ----- -----
18:12:39 -total- (100%)    -   0%
18:12:41 -total- (100%)    -   0%
18:12:42 -total- (100%)    -   0%
18:12:43 -total- (100%)    -   0%
18:12:44 -total- (100%)    -   0%
18:12:45 -total- (100%)    -   0%
18:12:46 -total- (100%)    -   0%
18:12:47 -total- (100%)    -   0%
18:12:48 -total- (100%)    -   0%
18:12:49 -total- (100%)    -   0%
18:12:50 -total- (100%)    -   0%
18:12:51 -total- (100%)    -   0%
18:12:52 -total- (100%)    -   0%
18:12:53 -total- (100%)    -   0%
18:12:54 -total- (100%)    -   0%
18:12:55 -total- (100%)    -   0%
18:12:56 -total- (100%)    -   0%
18:12:57 -total- (100%)    -   0%
18:12:58 -total- (100%)    -   0%
18:12:59 -total- (100%)    -   0%
18:13:00 -total- (100%)    -   0%

::> system node run -node node1 -command sysstat -x -c 900 5
18:12:30  CPU
18:12:30  92%
18:12:35  94%
18:12:40  96%
18:12:45  95%
18:12:50  96%
18:12:55  97%
18:13:00  96%
18:13:05  89%

问题解答

  • qos statistics volume resource cpu show 命令用于根据QoS卷测量CPU使用量、而节点Shell中的sysstat 命令用于测量整个节点的总CPU使用量、而不管是否存在卷。
  • 在上述命令输出中、由于QoS卷上没有实际的IO工作负载、因此根据QoS卷及其工作负载、整个节点的总CPU使用量也为0%。 

注意:创建卷时,QoS工作负载ID会自动分配给ONTAP。

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.