メインコンテンツまでスキップ

CPU使用率の測定方法

Views:
2,024
Visibility:
Public
Votes:
0
Category:
clustered-data-ontap-8
Specialty:
perf
Last Updated:

環境

  • ONTAP 9

回答

システムの包括的なビューの一部として、コマンドラインを使用してCPU利用率をリアルタイムで表示します。

注: CPUドメインは、「 CPU as a compute resource」および「ONTAP 9」で説明されているCPUドメインに記載されています。

次のコマンドを使用して、CPU利用率を確認します。 

  1. sysstat -Mの使用1

netapp::> set diag
Warning: These diagnostic commands are for use by NetApp personnel only.
Do you want to continue? {y|n}: y
netapp::*> node run -node netapp-01 sysstat -M 1
ANY1+ ANY2+ ANY3+ ANY4+ ANY5+ ANY6+ ANY7+ ANY8+ ANY9+ ANY10+ ANY11+ ANY12+ ANY13+ ANY14+ ANY15+ ANY16+  AVG 
 100%  100%  100%   99%   98%   96%   94%   91%   86%   81%   76%   70%   64%   57%   48%   37%   81%

CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7 CPU8 CPU9 CPU10 CPU11 CPU12 CPU13 CPU14 CPU15 
 78%  76%  77%  83%  82%  83%  82%  82%  82%  82%   83%   84%   83%   82%   83%   82% 

Nwk_Excl Nwk_Lg Nwk_Exmpt Protocol Cluster Storage Raid Raid_Ex Target Kahuna WAFL_Ex(Kahu)
    3%    2%    450%     0%    0%    49%   2%   136%    0%    4%   511%( 94%) 

WAFL_XClean SM_Exempt Cifs Exempt SSAN_Ex Intr Host  Ops/s   CP
     0%     0%   0%   112%    0%  28%   8%  47111   0%

上記の例では、16個のコアの平均CPU利用率は81%です。  

最もビジーなドメイン:

  • WAFLは511%で免除
  • ネットワーキングは450 %で免除
  • RAIDは136%で免除され、112%で免除されます。
  • WAFLはサンプル間隔の98%を活性化し、4%がシリアル処理、94%が並行処理に費やされた。
  • WAFLシリアル処理が非常に少ないため、並列化されたWAFLでより多くの作業を完了できる可能性があります。
  • サンプル間隔内で98%がアクティブであることは、他のパフォーマンス指標が貢献していなければ問題ではありません。
  • 全体的なCPUリソースが不足し、CPUのワークキューイングが発生する可能性が高くなり、クライアントのレイテンシに影響する可能性があります。
  1. sysstat -x 1の使用 

cluster1::> set diag
Warning: These diagnostic commands are for use by NetApp personnel only.
Do you want to continue? {y|n}: y
cluster1::*> node run -node cluster1-01 sysstat -x 1
 CPU   NFS   CIFS   HTTP   Total    Net   kB/s   Disk   kB/s   Tape   kB/s   Cache  Cache   CP 
                    in   out   read  write   read  write    age   hit  time 
  2%    0    0    0    24     7    7    12     0     0    0  >60   100%   0% 
  2%    0    0    0     5    11    4     0    24     0    0  >60   100%   0% 
  4%    0    0    0     0     9    9    20   1274     0    0  >60   100%   1% 
  4%    0    0    0     3     7    8    12    36     0    0  >60    -    0% 
  1%    0    0    0     1     4    5     0     0     0    0  >60   100%   0% 
  2%    0    0    0    20     6    5     0     0     0    0  >60    -    0% 
  5%    0    0    0     8     5    6    12    24     0    0  >60    -    0% 
  1%    0    0    0     0    12    13    12     0     0    0  >60    -    0% 
  2%    0    0    0     0     3    4     0    36     0    0  >60    -    0% 

 

上の例では、最初の列(2%)から[CPU Utilization]を確認できます。

 

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.