All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Thomas Renninger <trenn@suse.de>, linux-pm@vger.kernel.org
Cc: rafael.j.wysocki@intel.com, Len Brown <lenb@kernel.org>,
	jacob.jun.pan@linux.intel.com
Subject: Re: Implement userspace RAPL bits in cpupower
Date: Fri, 05 Jun 2015 18:21:22 +0200	[thread overview]
Message-ID: <5571CC82.5090804@linaro.org> (raw)
In-Reply-To: <1499120.6h7ZWas8bA@skinner>

On 06/05/2015 04:39 PM, Thomas Renninger wrote:
> Hi,
>
> I'd like to ask whether there already exist userspace bits
> for the powercap/rapl drivers?
>
> Afaik there is some "read-only"/monitor code in turbostat,
> but it is not intended to add any modifying code in there?
>
> I would like to avoid yet another (Intel) CPU specific
> userspace tool, like:
> tools/power/x86/x86_energy_perf_policy
> tools/power/x86/turbostat
>
> and it would be great if userspace bits could be added to
> cpupower utility
> tools/power/cpupower
>
> I searched for rapl and powercap in the MAINTAINERS list,
> but there wasn't any match. Is there a candidate (Jacob?) who
> might be the right one or who volunteers for this?
>
> Thanks for any hints and any discussion input,

I began to write a small test suite using the RAPL register to measure 
the energy consumed by each test. If someone is interested by that I can 
put it somewhere in a git tree, so you can access the RAPL code.

-- 
  <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


  reply	other threads:[~2015-06-05 16:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-05 14:39 Implement userspace RAPL bits in cpupower Thomas Renninger
2015-06-05 16:21 ` Daniel Lezcano [this message]
2015-06-06  2:33 ` 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=5571CC82.5090804@linaro.org \
    --to=daniel.lezcano@linaro.org \
    --cc=jacob.jun.pan@linux.intel.com \
    --cc=lenb@kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rafael.j.wysocki@intel.com \
    --cc=trenn@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.