-
Notifications
You must be signed in to change notification settings - Fork 29
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
Incorporate Zeusd for CPU and DRAM monitoring in ZeusMonitor #150
Incorporate Zeusd for CPU and DRAM monitoring in ZeusMonitor #150
Conversation
@michahn01 Thanks for your work! CI is failing; please look into the CI logs and get them to pass. You can also check the exact command being run for each workflow file in |
Got it! The issues were fixed, I believe CI should pass now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your work! You nailed most parts on your first contribution, too! I think it's good to go after some minor changes.
@wbjin Could you take a look at this PR as well?
c2886de
to
4cbe58f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks a lot for you awesome work!
This PR addresses this issue: #146
Overview of changes:
ZeusdRAPLCPU
tozeus/device/cpu/rapl.py
;ZeusdRAPLCPU
communicates with Zeusd to interface with RAPL indirectly, removing the need for root privilegesRAPLCPUs
inzeus/device/cpu/rapl.py
to utilizeZeusdRAPLCPU
rather thanRAPLCPU
if Zeusd is found on the expected socketzeusd/src/routes/cpu.rs
for checking if DRAM energy monitoring is availablezeusd/src/devices/cpu/mod.rs
to support the above endpoint.zeusd/tests/cpu.rs
to verify the endpoint works properly.