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

Ubuntu 22.04. RAPL Perf Event Interface broken #11

Open
netzdoktor opened this issue Aug 23, 2022 · 3 comments
Open

Ubuntu 22.04. RAPL Perf Event Interface broken #11

netzdoktor opened this issue Aug 23, 2022 · 3 comments

Comments

@netzdoktor
Copy link

For some reason on my Ubuntu 22.04, the RAPL perf event interface is broken. Even though I can properly read RAPL information via sysfs.

@netzdoktor
Copy link
Author

I asked a friend to test it on his system. The issue is the same, but he has:

  • OS: Arch
  • Kernel: 5.15.62-1-lts

He's got the same processor as I am: i7-1165G7

@kaivogelgesang
Copy link

Friend here :D
For me, the issue seems to be that the device info directory does not exist:

static const std::string deviceInfoPath = "/sys/bus/event_source/devices/power/";

/sys/bus/event_source/devices is there, but the power subdirectory is not. Could this be due to a missing dependency / kernel module?

@netzdoktor
Copy link
Author

I have also used the rapl-read.c from here: https://web.eece.maine.edu/~vweaver/projects/rapl/

It returns: "Found Unsupported model 140" but also "Trying sysfs powercap" based results in actual non-zero joules.

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

2 participants