Hi,
I am wondering if anyone using PAPI RAPL had the following experience on sandybridge, and have any suggestions for a workaround:
The rapl component is available,
n0698<52>papi_component_avail
Available components and hardware information.
:
Compiled-in components:
Name: perf_events Linux perf_event CPU counters
Name: rapl Linux SandyBridge RAPL energy measurements
Active components:
Name: perf_events Linux perf_event CPU counters
Native: 632, Preset: 50, Counters: 11
Name: rapl Linux SandyBridge RAPL energy measurements
Native: 14, Preset: 0, Counters: 14
--------------------------------------------------------------------------------
component.c PASSED
Yet, when I am testing accessing the MSRs, using the rapl component test program, using rapl_basic, I get the following error:
n0698<51>./rapl_basic
Trying all RAPL events
rapl_basic.c SKIPPED
Line # 130
Error calculating: No rapl component found
Does the rapl component need to be "turned on" in some fashion, or made accessible at the bios level?
Thanks for any suggestion(s) and help.
-- Avi