Comment 0 for bug 1996238

Revision history for this message
Andrew Tan (atan2) wrote :

Brief Description
-----------------
Add cpupower command output to collect tool's host.info to help debug CPU performance related issues.

Certain zt-proteus servers in our labs had C6 state enabled which led to very poor performance and timeouts occurring during bootstrap process. The added information will help troubleshooting effort.

Severity
--------
Minor

Steps to Reproduce
------------------
NA

Expected Behavior
------------------
Execute 'collect all' will run 'cpupower monitor' which produces CPU stats in /var/extra/host.info

note- create a failed/bad command. Try in other say worker/storage.

Actual Behavior
----------------
NA

Reproducibility
---------------
NA

System Configuration
--------------------
All

Branch/Pull Time/Commit
-----------------------
NA

Last Pass
---------
New enhancement

Timestamp/Logs
--------------
Example of AIO-SX:
model name : Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz

sysadmin@controller-0:~$ sudo cpupower monitor
Password:
              | Nehalem || SandyBridge || Mperf || Idle_Stats
 PKG|CORE| CPU| C3 | C6 | PC3 | PC6 || C7 | PC2 | PC7 || C0 | Cx | Freq || POLL | C1
   0| 0| 0| 0.00| 0.00| 0.00| 0.00|| 0.00| 0.00| 0.00|| 78.07| 21.93| 2293|| 0.06| 21.99
   0| 1| 1| 0.00| 0.00| 0.00| 0.00|| 0.00| 0.00| 0.00|| 58.60| 41.40| 2294|| 0.06| 41.54
   0| 2| 2| 0.00| 0.00| 0.00| 0.00|| 0.00| 0.00| 0.00|| 1.27| 98.73| 2295|| 0.00| 98.74
   0| 3| 3| 0.00| 0.00| 0.00| 0.00|| 0.00| 0.00| 0.00|| 0.55| 99.45| 2297|| 0.00| 99.46

Idle_Stats shows the statistics of the cpuidle kernel subsystem. The kernel updates these values every time an idle state is entered or left. Therefore there can be some inaccuracy when cores are in an idle state for some time when the measure starts or ends.

Test Activity
-------------
System Engineering

Workaround
----------
NA