Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.

Configuring Intel RAPL power limits

Rajiv_N_
Beginner
697 Views

Hi,

I am currently using an Intel Sandy bridge processor and I'm trying to measure the power consumed by various components within the package using the Intel power governer version 68; At the moment, I see two issues with the tool that is provided to us.

a) The readings for power consumption with a granularity less than 1 second are wrong. For example:

 s ./power_gov -e 1000
root's password:
PKG_0,Core_0,Graphics_0,Uncore_0,
4.46,0.62,0.11,3.73,
4.49,0.64,0.11,3.74,
4.58,0.73,0.11,3.74,
4.48,0.63,0.11,3.74,
4.48,0.64,0.11,3.73,
4.55,0.70,0.11,3.74,
4.61,0.76,0.11,3.74,
4.74,0.89,0.11,3.74,
6.76,2.90,0.11,3.75,
4.57,0.73,0.11,3.74,
4.41,0.56,0.11,3.74,

s ./power_gov -e 500
PKG_0,Core_0,Graphics_0,Uncore_0,
5.72,1.83,0.11,3.78,
4.47,0.61,0.11,3.75,
4.53,0.69,0.11,3.74,
4.58,0.73,0.11,3.74,
4.71,0.85,0.11,3.75,
4.45,0.60,0.11,3.74,
4.78,0.92,0.11,3.75,
4.62,0.78,0.11,3.74,
4.74,0.88,0.11,3.75,
4.50,0.66,0.11,3.74,
4.59,0.74,0.11,3.75,
4.63,0.80,0.11,3.73,
4.84,0.99,0.11,3.75,
5.29,1.43,0.11,3.76,
4.56,0.72,0.11,3.74,

I am assuming the total power consumption to be half in each row when compared to the one second (same system state assumed)

b) I am unable to cap the average power over a time window for the core power domain.
s ./power_gov -r POWER_LIMIT -s 30 -d PP0
over a time window of 100 milliseconds.

And when I try to cap the power for the PKG power domain, It asks me to disable the RAPL lock in the BIOS. As I see, there is no setting for RAPL lock in the BIOS.

Addiitional Information:

Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz
Linux linux-epq2.site 3.7.10-1.16-desktop #1 SMP PREEMPT Fri May 31 20:21:23 UTC 2013 (97c14ba) x86_64 x86_64 x86_64 GNU/Linux





0 Kudos
3 Replies
Patrick_F_Intel1
Employee
697 Views

Hello Rajiv,

Can you post your questions to the power governor web page? You'll get answers from the guys who created the utility. I'll delete this posting after a while.

Pat

0 Kudos
Rajiv_N_
Beginner
697 Views

Posting it there.

0 Kudos
Patrick_F_Intel1
Employee
698 Views

The link is in your original post...

0 Kudos
Reply