* Implement userspace RAPL bits in cpupower
@ 2015-06-05 14:39 Thomas Renninger
2015-06-05 16:21 ` Daniel Lezcano
2015-06-06 2:33 ` Srinivas Pandruvada
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Renninger @ 2015-06-05 14:39 UTC (permalink / raw)
To: linux-pm; +Cc: rafael.j.wysocki, Len Brown, jacob.jun.pan
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,
Thomas
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Implement userspace RAPL bits in cpupower
2015-06-05 14:39 Implement userspace RAPL bits in cpupower Thomas Renninger
@ 2015-06-05 16:21 ` Daniel Lezcano
2015-06-06 2:33 ` Srinivas Pandruvada
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Lezcano @ 2015-06-05 16:21 UTC (permalink / raw)
To: Thomas Renninger, linux-pm; +Cc: rafael.j.wysocki, Len Brown, jacob.jun.pan
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Implement userspace RAPL bits in cpupower
2015-06-05 14:39 Implement userspace RAPL bits in cpupower Thomas Renninger
2015-06-05 16:21 ` Daniel Lezcano
@ 2015-06-06 2:33 ` Srinivas Pandruvada
1 sibling, 0 replies; 3+ messages in thread
From: Srinivas Pandruvada @ 2015-06-06 2:33 UTC (permalink / raw)
To: Thomas Renninger, linux-pm; +Cc: rafael.j.wysocki, Len Brown, jacob.jun.pan
On 06/05/2015 07:39 AM, Thomas Renninger wrote:
> Hi,
Hi,
> I'd like to ask whether there already exist userspace bits
> for the powercap/rapl drivers?
This is used in user space for Android for power saver mode and Linux
thermal daemon,.
Also there is a powermeter at
https://github.com/spandruvada/rapl_power_meter
>
> 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?
This is maintained by Rafael. Jacob and me are the authors/developers
for power capping and RAPL drivers.
Thanks,
Srinivas
> Thanks for any hints and any discussion input,
>
> Thomas
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-06 2:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-05 14:39 Implement userspace RAPL bits in cpupower Thomas Renninger
2015-06-05 16:21 ` Daniel Lezcano
2015-06-06 2:33 ` Srinivas Pandruvada
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).