Fix rapl subdomain only added once#71
Open
weriomat wants to merge 2 commits into
Open
Conversation
weriomat
force-pushed
the
rapl_subdomain
branch
2 times, most recently
from
July 10, 2026 18:47
10c88e9 to
6ec8acb
Compare
emansom
reviewed
Jul 11, 2026
Contributor
Author
|
On a side note, this change will affect single NUMA systems as well. $ ls /sys/class/powercap/
intel-rapl intel-rapl:0 intel-rapl:0:0
$ cat /sys/class/powercap/intel-rapl:0:0/name
core
$ sudo ./target/release/sio --direct-io --no-nvidia sensors
...
── cpu/rapl ──
RAPL core-0 1.1 W
RAPL package-0 32.8 W
...If we want to have the name as |
emansom
approved these changes
Jul 12, 2026
Open
Contributor
Author
|
Renamed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #70
[root@cpl siomon]# ./target/release/sio sensors ── cpu/rapl ── RAPL dram-0 5.8 W RAPL dram-1 5.8 W RAPL dram-2 5.0 W RAPL dram-3 4.0 W RAPL package-0 52.0 W RAPL package-1 57.0 W RAPL package-2 49.7 W RAPL package-3 51.0 WWe now take the first integer we find which should be the domain and append it to the RAPL subdomain name.