SrsRAN: Set CPU Governor to Performance

From OnnoWiki
Revision as of 09:54, 26 October 2022 by Fata (talk | contribs)
Jump to navigation Jump to search

1. To view the current scaling_governor value per CPU, run:

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
powersave
powersave
powersave
powersave
powersave

...

2. To set the scaling_governor to "performance" mode for each CPU, run:

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/cpu2/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

...

3. To verify configuration, run:

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
performance
performance
performance
performance