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:
parent
3543960689
commit
fb9e88e07d
4 changed files with 164 additions and 0 deletions
13
rapl-daemon/README.md
Normal file
13
rapl-daemon/README.md
Normal 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
|
||||
```
|
Reference in a new issue