Thanks to PeterZ for suggesting this approach. Not sure which setting caused the issue though as I couldn’t reproduce the bug. You have to load the msr module if you want to be able to read the msr values with rdmsr. This tool is supposed to allow doing what I want but doesn’t seem to do it. Or could it be vendor specific?

Uploader: Doujind
Date Added: 20 August 2013
File Size: 34.34 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 25935
Price: Free* [*Free Regsitration Required]

Set power limit to Intel rapl Ask Question. See the file name to know which zone you’re observing.

MSRs can be read in write in kernel mode, so you must use a module to handle them. Listing paramaters for package 0 DRAM: Sign up using Facebook. Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

In my opinion, the best choice is to use powercap interface. I got the same results for all three – roughly 4 Joules per second. Which power metrics specific to your workload are you looking for?


It supports different ways to collect power consumption, and ralp RAPL:.

perf,x86: add Intel RAPL PMU support

I have been able to resolve the issue with low energy readings on Skylake-X. Maybe someone knows which setting could cause the issue? But when I tried to get the power through MSR interface, one problem happened. rapp

Thank you for the answers. Sign up or log in Sign up using Google. Leave a Comment Please sign in to add a comment.

RAPL on Skylake-X

I will try to update the kernel to 4. You must have msr-tool module loaded. Or could it be vendor specific?

Do you kown how to resolve it? If you have read the Intel SDM you can do it, otherwise is better to use other tools like the two above. It is a kernel module of Linux. Recent enough Intel processor use the Intel rapl driver for energy management. Or intle use perf or read MSRs directly instead need root for that? I use the exact same script to poll the numbers and I double checked my calculations.

This setting however do not persist after a reboot to a Linux operating system where I ibtel most of my work. It is an ubuntu project, but you can easily compile it and use in you linux distribution i use it on Arch.


perf,x add Intel RAPL PMU support []

By using our site, you acknowledge that you have read and understand our Cookie RaaplPrivacy Policyand our Terms of Service. A simple and useful tool is powerstat.

Hotplug CPU is also supported. Thanks to PeterZ for suggesting this approach. If you want to instrument code the most common solution is PAPI.

Second, I noticed a huge difference when reading the energy values for the packages package-0 between the two CPUs. There is the possibility to play on the P-Statesbut I didn’t found the way to increase this small 10W limit I monitor the power consumed by the CPU.

Be sure the module ontel loaded. Under Windows, there is the possibility to use Intel XTU to set these power limits to the wanted values.