From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
To: "Rafael J. Wysocki" <rafael@kernel.org>,
"Kenneth R. Crudup" <kenny@panix.com>
Cc: Linux PM <linux-pm@vger.kernel.org>
Subject: Re: Why do I sometimes "lose" the "psys" RAPL counter?
Date: Thu, 26 Mar 2020 08:23:54 -0700 [thread overview]
Message-ID: <7b6491f6dcef0886bf482440ce6fc5eec79dc6ff.camel@linux.intel.com> (raw)
In-Reply-To: <CAJZ5v0iWVhQtTn2tFVXA5mHgzgmK+dGm=GC0=fiqJknP+We6KA@mail.gmail.com>
On Thu, 2020-03-26 at 09:13 +0100, Rafael J. Wysocki wrote:
> +Srinivas
>
> On Thu, Mar 26, 2020 at 6:46 AM Kenneth R. Crudup <kenny@panix.com>
> wrote:
> >
> > (Re-sent, as I think I had the wrong mailing list address before)
> >
> > 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).
When you say counters, where is this missing from:
1. /sys/class/powercap/intel-rapl/intel-rapl:1
2. /sys/bus/event_source/devices/power/events/
3. Both of the above folders
Also what do you see?
rdmsr 0x65c
rdmsr 0x64d
Thanks,
Srinivas
> >
> > 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
> > ----
> >
> >
> > --
> > Kenneth R. Crudup Sr. SW Engineer, Scott County Consulting,
> > Silicon Valley
next prev parent reply other threads:[~2020-03-26 15:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <alpine.DEB.2.21.2003252212220.2971@xps-7390>
2020-03-26 5:30 ` Why do I sometimes "lose" the "psys" RAPL counter? Kenneth R. Crudup
2020-03-26 8:13 ` Rafael J. Wysocki
2020-03-26 15:23 ` Srinivas Pandruvada [this message]
[not found] ` <691eb7a6efd7a954295f234a70f548fd0c81e2f8.camel@intel.com>
[not found] ` <alpine.DEB.2.21.2003252353370.2971@xps-7390>
[not found] ` <7e1562ce93b83a685aa54dd2ae5a5b36c5737cb6.camel@intel.com>
[not found] ` <alpine.DEB.2.21.2003260225200.2971@xps-7390>
2020-03-26 9:36 ` Kenneth R. Crudup
2020-03-26 9:54 ` Kenneth R. Crudup
[not found] ` <c9a24dfbc765c9c19d87094e5b2044f33431e501.camel@intel.com>
2020-03-26 9:38 ` Kenneth R. Crudup
2020-03-26 9:55 ` Kenneth R. Crudup
2020-03-26 10:15 ` Kenneth R. Crudup
2020-03-30 9:55 ` Zhang Rui
2020-03-30 15:51 ` Srinivas Pandruvada
2020-03-30 17:40 ` Kenneth R. Crudup
2020-03-31 2:49 ` Zhang Rui
2020-03-31 4:55 ` Srinivas Pandruvada
[not found] <20200326181641.291505803E3@linux.intel.com>
2020-03-26 19:36 ` Srinivas Pandruvada
[not found] ` <alpine.DEB.2.21.2003261303530.3213@xps-7390>
2020-03-27 16:57 ` Srinivas Pandruvada
2020-03-27 17:09 ` Kenneth R. Crudup
2020-03-27 19:19 ` Srinivas Pandruvada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7b6491f6dcef0886bf482440ce6fc5eec79dc6ff.camel@linux.intel.com \
--to=srinivas.pandruvada@linux.intel.com \
--cc=kenny@panix.com \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).