Skip to content
/ Energy Public

Measuring the energy consumption of SaC programs using RAPL and INA.

Notifications You must be signed in to change notification settings

SacBase/Energy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SaC Energy Consumption

Measuring the energy consumption of SaC programs using RAPL and INA.

The project uses cmake-common. Upon cloning this repo it is important initialize submodules.

git submodule update --init --recursive
make

RAPL Permissions

Reading RAPL requires slightly elevated permissions.

I suggest adding a new rapl group.

sudo addgroup rapl
sudo usermod -aG rapl $(whoami)

And then adding the necessary entries to /etc/sysfs.conf for the available packages. (Requires sysfsutils to be installed.)

mode class/powercap/intel-rapl:0/energy_uj = 0440
owner class/powercap/intel-rapl:0/energy_uj = root:rapl

About

Measuring the energy consumption of SaC programs using RAPL and INA.

Topics

Resources

Stars

Watchers

Forks