Skip to content

Add zenpower rapl source - #279

Open
CkovMk wants to merge 2 commits into
amanusk:masterfrom
CkovMk:feat/zenpower
Open

Add zenpower rapl source#279
CkovMk wants to merge 2 commits into
amanusk:masterfrom
CkovMk:feat/zenpower

Conversation

@CkovMk

@CkovMk CkovMk commented Mar 22, 2026

Copy link
Copy Markdown

Add zenpower as an more accurate power source for AMD Zen-based CPU.

Currently in draft

@CkovMk
CkovMk marked this pull request as ready for review April 11, 2026 11:06
@CkovMk

CkovMk commented Apr 11, 2026

Copy link
Copy Markdown
Author

Fixed ci lint issue. Having tested this on 3 of Zen-based PCs with 5950X, 5750G and 9700X, all works.

@amanusk

amanusk commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Thanks for opening the PR
From what I understand, this requires installing a kernel module to access the metrics.
Do you know if there are plans to bake it in, so it is available out of the box?
I'm a bit hesitant about adding reads that require external kernel modules.
Yes, this can be very useful and informative

@CkovMk

CkovMk commented Aug 12, 2026

Copy link
Copy Markdown
Author

From what I understand, this requires installing a kernel module to access the metrics.
Yes.

Do you know if there are plans to bake it in, so it is available out of the box?

I'm happy to help, but I'm new to this project. Could you shed some light on how a custom kernel module could be added in your preferred way?

I'm thinking of pull the kmod repo, build and install it in setup.py. But this seems unconventional...

Also, do you want this kernel module to be built unconditionally or just with supported AMD CPUs?

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

Successfully merging this pull request may close these issues.

2 participants