Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lparstat Displays Negative Values for %idle in "Actual" Section #103

Open
SamirMulani opened this issue Nov 21, 2024 · 0 comments
Open

lparstat Displays Negative Values for %idle in "Actual" Section #103

SamirMulani opened this issue Nov 21, 2024 · 0 comments

Comments

@SamirMulani
Copy link

—————————Steps to reproduce the issue———————
Step 1: Boot the lpar in shared mode with any EC vs VP ratio.
Step 2: Build and run the upstream lparstat,
(https://github.com/ibm-power-utilities/powerpc-utils.git)
Step 3: Run the ebizzy workload from either LTP or from below link,
(Source 1: https://sourceforge.net/projects/ebizzy/files/ebizzy/0.3/ebizzy-0.3.tar.gz
Source 2: LTP)
Step 4: Run the command below with load.
Ex: lparstat -E 2 2

——————With ebizzy workload—————
With distro lparstat;
(lparstat - 1.3.10)

lparstat -E 2 2

System Configuration
type=Shared mode=Uncapped smt=6 lcpu=12 mem=298501056 kB cpus=34 ent=12.00

---Actual--- -Normalized-
%busy %idle Frequency %busy %idle


100.01 0.00 3.22GHz[ 93%] 93.00 0.00
100.00 0.00 3.22GHz[ 93%] 93.00 0.00

With Upstream (powerpc-utils)lparstat:
(lparstat - 1.3.13)

./lparstat -E 2 2

System Configuration
type=Shared mode=Uncapped smt=6 lcpu=12 mem=298501056 kB cpus=34 ent=12.00

---Actual--- -Normalized-
%busy %idle Frequency %busy %idle


101.54 -1.54 3.22GHz[ 93%] 94.44 5.19
100.39 0.00 3.22GHz[ 93%] 93.36 6.22

The logs clearly indicate that upstream powerpc-utils is having issue while showing the “Actual” %idle value, Where its showing the negative values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant