Re: Why do I sometimes "lose" the "psys" RAPL counter?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2020-03-25 at 22:24 -0700, Kenneth R. Crudup wrote:
> I'm running Linus' latest master of today (and have seen this for a
> while
> now). I've got an IceLake CPU (i7-1065G7 running on a Dell 7390 2-in-
> 1, but
> I'm pretty sure I've seen issue this on my HP Spectre 13 with a 9th-
> gen CPU).
> 
> Sometimes when I boot, I get 4 RAPL "fixed counters" and sometimes I
> only
> get 3, and it's always the "psys" domain that's missing when it does.
> See
> attached output from various dmesg runs (and a snippet below).

According to the dmesg below, I don't think it is the psys domain that
is missing.
The difference is that we get 2 package domains in some cases, while we
get 1 package domain in other cases.
One possibility is that you're switching between different kernels, and
one kernel is built with CONFIG_PROC_THERMAL_MMIO_RAPL set, and one is
not.
can you make a double check?

if that is not the problem, please attach the output of "grep .
/sys/class/powercap/intel-rapl*/name" in both cases.

thanks,
rui

> 
> Is this a bug?
> Do you know what may cause this?
> 
> If you need more info to help me help you guys with this (if it's
> truly an
> issue), please let me know.
> 
> Thanks,
> 
> 	-Kenny
> 
> ----
> Mar 22 05:02:48 xps-7390 kernel: [    0.756890] RAPL PMU: API unit is
> 2^-32 Joules, 3 fixed counters, 655360 ms ovfl timer
> Mar 22 05:02:48 xps-7390 kernel: [    0.756892] RAPL PMU: hw unit of
> domain pp0-core 2^-14 Joules
> Mar 22 05:02:48 xps-7390 kernel: [    0.756893] RAPL PMU: hw unit of
> domain package 2^-14 Joules
> Mar 22 05:02:48 xps-7390 kernel: [    0.756894] RAPL PMU: hw unit of
> domain pp1-gpu 2^-14 Joules
> Mar 22 05:02:48 xps-7390 kernel: [    2.178267] intel_rapl_common:
> Found RAPL domain package
> Mar 22 05:02:48 xps-7390 kernel: [    3.056499] intel_rapl_common:
> Found RAPL domain package
> Mar 22 05:02:48 xps-7390 kernel: [    3.058417] intel_rapl_common:
> Found RAPL domain core
> Mar 22 05:02:48 xps-7390 kernel: [    3.062290] intel_rapl_common:
> Found RAPL domain uncore
> Mar 22 05:17:50 xps-7390 kernel: [    1.770794] RAPL PMU: API unit is
> 2^-32 Joules, 3 fixed counters, 655360 ms ovfl timer
> Mar 22 05:17:50 xps-7390 kernel: [    1.770799] RAPL PMU: hw unit of
> domain pp0-core 2^-14 Joules
> Mar 22 05:17:50 xps-7390 kernel: [    1.770802] RAPL PMU: hw unit of
> domain package 2^-14 Joules
> Mar 22 05:17:50 xps-7390 kernel: [    1.770814] RAPL PMU: hw unit of
> domain pp1-gpu 2^-14 Joules
> Mar 22 05:17:50 xps-7390 kernel: [    3.176324] intel_rapl_common:
> Found RAPL domain package
> Mar 22 05:17:50 xps-7390 kernel: [    4.060045] intel_rapl_common:
> Found RAPL domain package
> Mar 22 05:17:50 xps-7390 kernel: [    4.061739] intel_rapl_common:
> Found RAPL domain core
> Mar 22 05:17:50 xps-7390 kernel: [    4.063129] intel_rapl_common:
> Found RAPL domain uncore
> Mar 22 05:28:05 xps-7390 kernel: [    1.770320] RAPL PMU: API unit is
> 2^-32 Joules, 4 fixed counters, 655360 ms ovfl timer
> Mar 22 05:28:05 xps-7390 kernel: [    1.770326] RAPL PMU: hw unit of
> domain pp0-core 2^-14 Joules
> Mar 22 05:28:05 xps-7390 kernel: [    1.770329] RAPL PMU: hw unit of
> domain package 2^-14 Joules
> Mar 22 05:28:05 xps-7390 kernel: [    1.770332] RAPL PMU: hw unit of
> domain pp1-gpu 2^-14 Joules
> Mar 22 05:28:05 xps-7390 kernel: [    1.770335] RAPL PMU: hw unit of
> domain psys 2^-14 Joules
> Mar 22 05:28:05 xps-7390 kernel: [    3.148050] intel_rapl_common:
> Found RAPL domain package
> Mar 22 05:28:05 xps-7390 kernel: [    4.043621] intel_rapl_common:
> Found RAPL domain package
> Mar 22 05:28:05 xps-7390 kernel: [    4.045295] intel_rapl_common:
> Found RAPL domain core
> Mar 22 05:28:05 xps-7390 kernel: [    4.046823] intel_rapl_common:
> Found RAPL domain uncore
> Mar 22 05:37:11 xps-7390 kernel: [    1.635660] RAPL PMU: API unit is
> 2^-32 Joules, 4 fixed counters, 655360 ms ovfl timer
> Mar 22 05:37:11 xps-7390 kernel: [    1.635667] RAPL PMU: hw unit of
> domain pp0-core 2^-14 Joules
> Mar 22 05:37:11 xps-7390 kernel: [    1.635670] RAPL PMU: hw unit of
> domain package 2^-14 Joules
> Mar 22 05:37:11 xps-7390 kernel: [    1.635673] RAPL PMU: hw unit of
> domain pp1-gpu 2^-14 Joules
> Mar 22 05:37:11 xps-7390 kernel: [    1.635676] RAPL PMU: hw unit of
> domain psys 2^-14 Joules
> Mar 22 05:37:11 xps-7390 kernel: [    3.043397] intel_rapl_common:
> Found RAPL domain package
> Mar 22 05:37:11 xps-7390 kernel: [    4.043265] intel_rapl_common:
> Found RAPL domain package
> Mar 22 05:37:11 xps-7390 kernel: [    4.045524] intel_rapl_common:
> Found RAPL domain core
> Mar 22 05:37:11 xps-7390 kernel: [    4.048153] intel_rapl_common:
> Found RAPL domain uncore
> ----




[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux