Skip to content
Snippets Groups Projects
Commit c348a8df authored by Georges Da Costa's avatar Georges Da Costa
Browse files

Corrects the documentation on how to use RAPL on Intel as user

parent 2370da82
Branches
No related tags found
No related merge requests found
Pipeline #9154 passed
......@@ -77,7 +77,7 @@ make
```
You may want to run `./configure.sh --help` to see configuration options.
To use `amd_rapl` you have to load the module `msr`
To use `amd_rapl` you have to load the module `msr` and use mojitO/S as root
```bash
sudo modprobe msr
```
......@@ -85,10 +85,10 @@ To execute mojitos without being root to monitor performance counters
```bash
sudo sh -c 'echo 0 >/proc/sys/kernel/perf_event_paranoid'
```
To execute mojitos without being root for accessing RAPL
To execute mojitos without being root for accessing RAPL on Intel
```bash
sudo chmod a+w /sys/class/powercap/intel-rapl/*/*
sudo chmod a+w /sys/class/powercap/intel-rapl/*/*/*
sudo chmod a+r /sys/class/powercap/intel-rapl/*/*
sudo chmod a+r /sys/class/powercap/intel-rapl/*/*/*
```
For now likwid backend needs mojitos to run root privileges
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment