Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 771 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 771 Bytes

RAPLCap - powercap

This implementation of the raplcap interface uses the Linux Power Capping Framework abstractions in the Linux /sys filesystem.

Prerequisites

The powercap library provides C bindings to powercap in sysfs. If using a Debian-based Linux distribution, you may install the libpowercap-dev package instead of building the library from source (if the repository-based version is new enough).

To enable the required intel-rapl powercap control type, ensure that the appropriate kernel module is loaded:

sudo modprobe intel_rapl_msr

On on kernels older than 5.3:

sudo modprobe intel_rapl