fenrus75 / powertop

The Linux PowerTOP tool -- please post patches to the mailing list instead of using github pull requests
http://www.01.org/powertop
GNU General Public License v2.0
1.06k stars 131 forks source link

Idle stats #161

Open Solverz-0 opened 1 week ago

Solverz-0 commented 1 week ago

In the "Idle stats" tab, I see pkg(OS) instead of pkg(HW). After some searching around the Web, I cannot find anyone else who sees OS instead of HW, do you know why I see this or how to find out why?

fenrus75 commented 1 week ago

well it means that powertop is using an OS/calculated value for this, rather than a direct hardware reported value. that by itself is not an issue, but it's slightly less accurate

what kind of cpu do you have? (not all cpus support reporting this directly)

On Wed, Oct 30, 2024 at 5:36 AM Solverz-0 @.***> wrote:

In the "Idle stats" tab, I see pkg(OS) instead of pkg(HW). After some searching around the Web, I cannot find anyone else who sees OS instead of HW, do you know why I see this or how to find out why?

— Reply to this email directly, view it on GitHub https://github.com/fenrus75/powertop/issues/161, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FN25LISQS542VBWGW3Z6DHGJAVCNFSM6AAAAABQ4AKNJGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZDGOJWGM3DCMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Solverz-0 commented 1 week ago

Ah I see. I have an Intel N100.

The reason I ask is because I only see: C2, C9 and C10 states (from what I remember, will double check soon).

So I thought something odd is going on, and my system seems to be in C0 or C10, nothing in between.

fenrus75 commented 1 week ago

it's quite common to see almost all time to be in the lowest C state (eg C10) -- the OS often has very little reason to pick stuff inbetween. (unless you're doing things like media playback or other very periodic low latency things -- that's where the middle ones shine)

On Wed, Oct 30, 2024 at 7:24 AM Solverz-0 @.***> wrote:

Ah I see. I have an Intel N100.

The reason I ask is because I only see: C2, C9 and C10 states (from what I remember, will double check soon).

So I thought something odd is going on, and my system seems to be in C0 or C10, nothing in between.

— Reply to this email directly, view it on GitHub https://github.com/fenrus75/powertop/issues/161#issuecomment-2447332725, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FIDC7QXQ2PHDSA3BEDZ6DTZTAVCNFSM6AAAAABQ4AKNJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBXGMZTENZSGU . You are receiving this because you commented.Message ID: @.***>

Solverz-0 commented 1 week ago

Okay that makes sense.

But I should see the middle c states right? They are simply not visible in powertop for me. Only the mentions ones are.

fenrus75 commented 1 week ago

not all numbers tend to be there -- usually there's about 3 total.

On Wed, Oct 30, 2024 at 7:29 AM Solverz-0 @.***> wrote:

Okay that makes sense.

But I should see the middle c states right? They are simply not visible in powertop for me. Only the mentions ones are.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Solverz-0 commented 1 week ago

Hmm, I see. That lines up with what I saw. (again will double check later)

But others with the same motherbaord and CPU and BIOs settings seem to see C2 -> C10 and Pkg(HW). This is why I am confused.

fenrus75 commented 1 week ago

same OS kernel as well? but yeah that is a bit weirder

On Wed, Oct 30, 2024 at 7:35 AM Solverz-0 @.***> wrote:

Hmm, I see. That lines up with what I saw. (again will double check later)

But others with the same motherbaord and CPU and BIOs settings seem to see C2 -> C10 and Pkg(HW). This is why I am confused.

— Reply to this email directly, view it on GitHub https://github.com/fenrus75/powertop/issues/161#issuecomment-2447362467, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FNPCWI26OSXAIP2ZJDZ6DVDNAVCNFSM6AAAAABQ4AKNJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBXGM3DENBWG4 . You are receiving this because you commented.Message ID: @.***>

Solverz-0 commented 1 week ago

Yes, 6.1.

Looks like the powertop version in main for debian 12.7 is 2.14, not 2.15. Maybe this is the difference? Can test.