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

Change RAPL readings to work through ebpf #5

Open
ribalba opened this issue Oct 30, 2024 · 0 comments
Open

Change RAPL readings to work through ebpf #5

ribalba opened this issue Oct 30, 2024 · 0 comments
Labels
ebpf help wanted Extra attention is needed

Comments

@ribalba
Copy link
Contributor

ribalba commented Oct 30, 2024

Currently we use a c program called a provider to get the RAPL energy values for CPU and PSYS. I initially tired to get these values with perf events and ebpf. This would have the advantage that all the "logic" would be in one place and we don't need all the overhead of calling a c program from python. While it is not very complicated it adds quite a lot of logic that is not needed. Unfortunately I couldn't get the ebpf version working reliable. Would be great if we could refactor this at some stage.

@ribalba ribalba added help wanted Extra attention is needed ebpf labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ebpf help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant