From: Dirk Brandewie <dirk.brandewie@gmail.com>
To: Sameer Nanda <snanda@chromium.org>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: dirk.brandewie@gmail.com,
Anup Chenthamarakshan <anupc@chromium.org>,
Viresh Kumar <viresh.kumar@linaro.org>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] intel_pstate: track and export frequency residency stats via sysfs.
Date: Thu, 11 Sep 2014 08:37:26 -0700 [thread overview]
Message-ID: <5411C1B6.5090104@gmail.com> (raw)
In-Reply-To: <CANMivWa_kowDefkvLHpY=JoB9JejiJWBZL7fNqeuwQfcMu+hhQ@mail.gmail.com>
On 09/10/2014 06:04 PM, Sameer Nanda wrote:
> On Wed, Sep 10, 2014 at 5:04 PM, Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
>> On Wednesday, September 10, 2014 04:39:05 PM Anup Chenthamarakshan wrote:
>>> On Thu, Sep 11, 2014 at 12:49:48AM +0200, Rafael J. Wysocki wrote:
>>>> On Wednesday, September 10, 2014 03:15:08 PM Anup Chenthamarakshan wrote:
>>>>>
>>>>> Tools like powertop and turbostat are not present by default on all systems,
>>>>> so it is not always possible to use them :(
>>>>
>>>> Which systems are you referring to in particular?
>>>
>>> We're testing on Chrome OS devices (Chromebooks).
>>
>> How big of a deal is it to install the tools mentioned above on such a system?
>>
>> At least turbostat is shipped with the kernel source.
>
> Given the web browser based front end of Chrome OS, installing these
> tools will only get us so far -- if the system is in developer mode,
> the tools are accessible but when the system is in normal (verified
> boot mode) these tools cannot be launched directly.
>
> We are in the process of switching Chrome OS x86 kernels from ondemand
> governor to intel_pstate. When debugging power consumption issues,
> losing the ability to easily get CPU frequency related information as
> a side-effect of this switch is less than ideal.
>
> We are happy to spin this patch to expose aperf/mperf based CPU
> frequency information if you think that is the better route to take
> longer term.
You can get the frequency as measured by intel_pstate from /proc/cpuinfo
or /sys/devices/system/cpu/cpu[n]/cpufreq/cpuinfo_cur_freq but his is only
for the most recent sample on cpu[n]
reading MSR 0x199 and some reasonable rate will let you graph what request
is being made on each core.
>
>>
>> --
>> I speak only for myself.
>> Rafael J. Wysocki, Intel Open Source Technology Center.
>
>
>
prev parent reply other threads:[~2014-09-11 15:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-09 0:10 [PATCH] intel_pstate: track and export frequency residency stats via sysfs Anup Chenthamarakshan
2014-09-09 5:03 ` Viresh Kumar
2014-09-09 5:32 ` Anup Chenthamarakshan
2014-09-09 6:26 ` Viresh Kumar
2014-09-09 23:31 ` Anup Chenthamarakshan
2014-09-10 6:49 ` Viresh Kumar
2014-09-09 15:15 ` Dirk Brandewie
2014-09-09 23:22 ` Anup Chenthamarakshan
2014-09-10 16:39 ` Dirk Brandewie
2014-09-10 22:15 ` Anup Chenthamarakshan
2014-09-10 22:49 ` Rafael J. Wysocki
2014-09-10 23:39 ` Anup Chenthamarakshan
2014-09-11 0:04 ` Rafael J. Wysocki
2014-09-11 1:04 ` Sameer Nanda
2014-09-11 15:37 ` Dirk Brandewie [this message]
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=5411C1B6.5090104@gmail.com \
--to=dirk.brandewie@gmail.com \
--cc=anupc@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=snanda@chromium.org \
--cc=viresh.kumar@linaro.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).