Initial work on rapl-daemon. Initial server set up. API to read max power per zone and API to write new power cap have both been written.

This commit is contained in:
Renan DelValle 2020-01-04 13:23:10 -08:00
parent 3543960689
commit fb9e88e07d
No known key found for this signature in database
GPG key ID: 3895800E03F17676
4 changed files with 164 additions and 0 deletions

13
rapl-daemon/README.md Normal file
View file

@ -0,0 +1,13 @@
# RAPL Daemon
This runs a server that is capable changing the percentage at which
a node is being throttled using RAPL. This daemon should be installed
on all worker nodes.
### Sample payload for testing:
```
curl --header "Content-Type: application/json" \
--request POST \
--data '{"percentage":75}' \
http://localhost:9090/powercap
```