2

First time posting here. I'm trying to monitor my CPU activity with the Intel power-gadget tool, that can be found on Intel's web site.

As the Readme file said, I execute the following lines

make
./power_gadget -e 1000 -d 10

I obtain the following error :

RAPL not supported, or machine model 406e3 not recognized. Init failed!

Googling my issue didn't bring me any answer. Any clue about the reason of this issue ?

The CPU I am using (Skylake i7-6600U @2.60GHz) should be supported right ?

Anthony Geoghegan
  • 12,605
  • 7
  • 59
  • 62
nroux
  • 23
  • 3

2 Answers2

4

Yes, your CPU supports the required RAPL features.

The power gadget doesn't support your CPU though: the RAPL initialisation code is table-driven, and it doesn't know about Skylake CPUs (or even Broadwell). It only knows about Sandy Bridge, Ivy Bridge and Haswell (and even then, not all Haswell CPUs)...

Stephen Kitt
  • 411,918
  • 54
  • 1,065
  • 1,164
1

The power gadget hasn't been updated in a while for Linux (current version 2.5, but on OSX and Windows the current version is 3.0.x) - but you can use turbostat --debug to see a lot of the same information, including per-core RAPL measurements, etc. Here's a man page, but the man page on your system is more likely to be up-to-date.

BeeOnRope
  • 538
  • 3
  • 13