From ddbe21e68e58bc5923b17d59d64d08ae9fc45cee Mon Sep 17 00:00:00 2001 From: FlorealRISSO <floreal.risso@univ-tlse3.fr> Date: Mon, 20 Mar 2023 09:19:06 +0100 Subject: [PATCH] fix: Readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c6d591..9fee622 100644 --- a/README.md +++ b/README.md @@ -59,11 +59,15 @@ make ``` You may want to run `./configure.sh --help` to see configuration options. +To use `amd_rapl` you have to load the module `msr` +```bash +sudo modprobe msr +``` To execute mojitos without being root to monitor performance counters ```bash sudo sh -c 'echo 0 >/proc/sys/kernel/perf_event_paranoid' ``` -To execute mohitos without being root for accessing RAPL +To execute mojitos without being root for accessing RAPL ```bash sudo chmod a+w /sys/class/powercap/intel-rapl/*/* sudo chmod a+w /sys/class/powercap/intel-rapl/*/*/* -- GitLab