[P9][LTCTest][Opal][FW910] cpupower monitor shows multiple stop Idle_Stats
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
Medium
|
Canonical Kernel Team | ||
linux (Ubuntu) |
Invalid
|
Medium
|
Canonical Kernel Team | ||
Bionic |
Fix Released
|
Medium
|
Canonical Kernel Team |
Bug Description
== Comment: #0 - PAVAMAN SUBRAMANIYAM <email address hidden> - 2017-06-29 02:30:22 ==
---Problem Description---
cpupower monitor shows multiple stop Idle_Stats
---uname output---
Linux zz376p1 4.10.0-26-generic #30~16.04.1-Ubuntu SMP Tue Jun 27 09:38:48 UTC 2017 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = P9
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Install a P9 8375-42A Hardware with Ubuntu 16.04.3 OS.
Then execute the cpupower monitor command to fetch all the Idle_Stats values.
root@zz376p1:~# cpupower monitor
PKG |CORE|CPU | snoo | stop | stop
0| 8| 0| 0.00| 0.00| 2.79
0| 8| 1| 0.00| 0.00| 70.68
0| 8| 2| 0.00| 0.00| 99.87
0| 8| 3| 0.00| 0.00| 67.28
0| 12| 4| 0.00| 0.00| 5.17
0| 12| 5| 0.00| 0.00| 12.50
0| 12| 6| 0.00| 0.00| 99.74
0| 12| 7| 0.00| 0.00| 0.00
8|2048| 8| 0.00| 0.00| 22.14
8|2048| 9| 0.00| 0.00| 102.3
8|2048| 10| 0.00| 0.00| 0.00
8|2048| 11| 0.00| 0.00| 99.97
8|2052| 12| 0.00| 0.00| 99.70
8|2052| 13| 0.00| 0.00| 23.86
8|2052| 14| 0.00| 0.00| 113.1
8|2052| 15| 0.00| 0.00| 0.00
As can be seen it shows 2 columns for stop.
root@zz376p1:~# uname -a
Linux zz376p1 4.10.0-26-generic #30~16.04.1-Ubuntu SMP Tue Jun 27 09:38:48 UTC 2017 ppc64le ppc64le ppc64le GNU/Linux
root@zz376p1:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.2 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.2 LTS"
VERSION_ID="16.04"
HOME_URL="http://
SUPPORT_URL="http://
BUG_REPORT_URL="http://
VERSION_
UBUNTU_
root@zz376p1:~# cat /proc/cpuinfo | tail
processor : 15
cpu : POWER9 (raw), altivec supported
clock : 2600.000000MHz
revision : 1.0 (pvr 004e 0100)
timebase : 512000000
platform : PowerNV
model : 8375-42A
machine : PowerNV 8375-42A
firmware : OPAL
Userspace tool common name: /usr/bin/cpupower
The userspace tool has the following bit modes: 64-bit
Userspace rpm: linux-tools-common
Userspace tool obtained from project website: na
*Additional Instructions for <email address hidden>:
-Post a private note with access information to the machine that the bug is occuring on.
-Attach ltrace and strace of userspace application.
.
There are 3 idle_stats (3 states) in this system.
root@zz376p1:
Monitor "Idle_Stats" (3 states) - Might overflow after 4294967295 s
snoo [T] -> snooze
stop [T] -> stop0_lite
stop [T] -> stop1_lite
root@zz376p1:
CPUidle driver: powernv_idle
CPUidle governor: menu
analyzing CPU 0:
Number of idle states: 3
Available idle states: snooze stop0_lite stop1_lite
snooze:
Flags/Description: snooze
Latency: 0
Usage: 224
Duration: 423
stop0_lite:
Flags/Description: stop0_lite
Latency: 0
Usage: 1685
Duration: 530522
stop1_lite:
Flags/Description: stop1_lite
Latency: 4
Usage: 12693
Duration: 5405898106
root@zz376p1:
Monitor "Idle_Stats" (3 states) - Might overflow after 4294967295 s
snoo [T] -> snooze
stop [T] -> stop0_lite
stop [T] -> stop1_lite
root@zz376p1:
CPUidle driver: powernv_idle
CPUidle governor: menu
analyzing CPU 0:
Number of idle states: 3
Available idle states: snooze stop0_lite stop1_lite
snooze:
Flags/Description: snooze
Latency: 0
Usage: 272
Duration: 905
stop0_lite:
Flags/Description: stop0_lite
Latency: 0
Usage: 2141
Duration: 536399
stop1_lite:
Flags/Description: stop1_lite
Latency: 4
Usage: 15396
Duration: 6625668881
cpu monitor will print the results of all the 3 available idle_stats .
The first stop -> stop0_lite stats
and
The second stop -> stop1_lite stats.
cpupower monitor header prints the header list by getting the name of the idle stats.
name (name description)
snoo [T] -> snooze
stop [T] -> stop0_lite
stop [T] -> stop1_lite
We can change the header to be more meaningful so user won't interpret it as 2 columns for stop.
May be we need to change the code to print the header to use name description instead of name.
.
I will work on the patch and get it resolve.
== Comment: #8 - PAVAMAN SUBRAMANIYAM <email address hidden> - 2017-06-30 03:42:01 ==
I have executed the command again with the fixed cpupower utility.
Submitted patch upstream and awaiting response.
tags: | added: architecture-ppc64le bugnameltc-156226 severity-medium targetmilestone-inin16043 |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → linux (Ubuntu) |
Changed in ubuntu-power-systems: | |
importance: | Undecided → Medium |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
tags: | added: triage-g |
Changed in linux (Ubuntu): | |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Kernel Team (canonical-kernel-team) |
summary: |
- [LTCTest][Opal][FW910] cpupower monitor shows multiple stop Idle_Stats + [P9][LTCTest][Opal][FW910] cpupower monitor shows multiple stop + Idle_Stats |
tags: | added: p9 |
Changed in linux (Ubuntu): | |
status: | Incomplete → Triaged |
Changed in ubuntu-power-systems: | |
status: | Incomplete → Triaged |
tags: |
added: triage-a removed: triage-g |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
status: | Triaged → In Progress |
Changed in linux (Ubuntu Bionic): | |
importance: | Undecided → Medium |
assignee: | nobody → Joseph Salisbury (jsalisbury) |
Changed in linux (Ubuntu): | |
assignee: | Canonical Kernel Team (canonical-kernel-team) → Joseph Salisbury (jsalisbury) |
Changed in linux (Ubuntu): | |
status: | In Progress → Incomplete |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Incomplete |
Changed in linux (Ubuntu): | |
assignee: | Joseph Salisbury (jsalisbury) → Canonical Kernel Team (canonical-kernel-team) |
Changed in linux (Ubuntu Bionic): | |
assignee: | Joseph Salisbury (jsalisbury) → Canonical Kernel Team (canonical-kernel-team) |
Changed in ubuntu-power-systems: | |
status: | Incomplete → Triaged |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in linux (Ubuntu Bionic): | |
status: | Incomplete → Confirmed |
Changed in ubuntu-power-systems: | |
status: | Triaged → Confirmed |
Changed in linux (Ubuntu Bionic): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in ubuntu-power-systems: | |
status: | Confirmed → Fix Committed |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
Changed in ubuntu-power-systems: | |
status: | Fix Committed → Fix Released |
tags: | added: cscc |
Can you post a comment in this bug report once the patch gets accepted upstream?