Implement userspace RAPL bits in cpupower
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 utilitytools/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
Quoted 17 lines · Thomas Renninger
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_policytools/power/x86/turbostatand it would be great if userspace bits could be added to cpupower utility
tools/power/cpupower
Quoted 5 lines
I searched for rapl and powercap in the
MAINTAINERSlist, 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.
Signature · 5 lines
<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
Quoted 1 line · Thomas Renninger
Hi,
Hi,
Quoted 2 lines
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
Quoted 9 lines
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_policytools/power/x86/turbostat
Quoted 6 lines
and it would be great if userspace bits could be added to cpupower utility
tools/power/cpupower
I searched for rapl and powercap in theMAINTAINERSlist, 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
Quoted 8 lines
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html