Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

RAPL Daemon

This runs a server that is capable of changing the percentage at which a node is being throttled to 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

Payload

{
    "percentage":75
}

Response

The daemon will respond with a json payload containing zones that were successfully capped as well as the zones that were not capped.

{
    "cappedZones": null,
    "failedZones": [
        "intel-rapl:0",
        "intel-rapl:1"
    ],
    "error": "some zones were not able to be powercapped"
}

Field error will not exist if failed zones is empty.

About

Daemon capable of setting and reading powercaps using RAPL

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages