Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'RAPL_ENERGY_PKG' is invalid or unsupported by this machine #42

Closed
Laccio opened this issue Nov 19, 2023 · 1 comment
Closed

'RAPL_ENERGY_PKG' is invalid or unsupported by this machine #42

Laccio opened this issue Nov 19, 2023 · 1 comment

Comments

@Laccio
Copy link

Laccio commented Nov 19, 2023

Hello everyone, running on

  • i5 13600k
  • Ubuntu 22.04.3 LTS
  • kernel 6.1.0-060100-generic
sudo docker run --rm \
--net=host \
--privileged \
--pid=host \
-v /sys:/sys \
-v /var/lib/docker/containers:/var/lib/docker/containers:ro \
-v /tmp/powerapi-sensor-reporting:/reporting \
-v $(pwd):/srv \
powerapi/hwpc-sensor \
-n "$(hostname -f)" \
-r "mongodb" -U "mongodb://127.0.0.1" -D "test" -C "prep" \
-s "rapl" -o -e "RAPL_ENERGY_PKG" \
-s "msr" -e "TSC" -e "APERF" -e "MPERF" \
-c "core" -e "CPU_CLK_UNHALTED:REF_P" -e "CPU_CLK_UNHALTED:THREAD_P" -e "LLC_MISSES" -e "INSTRUCTIONS_RETIRED"

I get this error

I: 23-11-19 18:26:24 build: version unknown (rev: unknown)
I: 23-11-19 18:26:24 uname: Linux 6.1.0-060100-generic #202303090726 SMP PREEMPT_DYNAMIC Thu Mar  9 12:33:28 UTC 2023 x86_64
I: 23-11-19 18:26:24 pmu: found ix86arch 'Intel X86 architectural PMU' having 7 events, 9 counters (6 general, 3 fixed)
I: 23-11-19 18:26:24 pmu: found perf 'perf_events generic PMU' having 198 events, 0 counters (0 general, 0 fixed)
I: 23-11-19 18:26:24 pmu: found perf_raw 'perf_events raw PMU' having 1 events, 0 counters (0 general, 0 fixed)
I: 23-11-19 18:26:24 pmu: found intel_msr 'Intel MSR' having 6 events, 6 counters (0 general, 6 fixed)
E: 23-11-19 18:26:24 config: event 'RAPL_ENERGY_PKG' is invalid or unsupported by this machine
E: 23-11-19 18:26:24 config: failed to parse the provided command-line arguments

what can I do to fix this error? I need the RAPL energy for my studies.

@roda82
Copy link

roda82 commented Dec 5, 2023

Hello, please check the discussion here #20

@gfieni gfieni closed this as not planned Won't fix, can't repro, duplicate, stale Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants