diff --git a/README.md b/README.md index 236d401..9c02456 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,18 @@ Enable unrestricted use of perf counters: # echo -1 > /proc/sys/kernel/perf_event_paranoid ``` +## Disable CPU scaling + +Set the scaling governer of all your cpus to `performance`: + +``` +echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor +echo performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor +... +... +echo performance > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor +``` + ## Generating the eventlog To generate the event log, we need to compile the program with the eventlog enabled