OpenAirInterface: Set CPU Governor to Performance

From OnnoWiki
Revision as of 09:56, 26 October 2022 by Yopi Sopiyana (talk | contribs) (Created page with " sudo apt-get install cpufrequtils -y sudo nano /etc/default/cpufrequtils GOVERNOR="performance" sudo update-rc.d ondemand disable sudo /etc/init.d/cpufrequtils restart...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
sudo apt-get install cpufrequtils -y
sudo nano  /etc/default/cpufrequtils
GOVERNOR="performance"
sudo update-rc.d ondemand disable
sudo /etc/init.d/cpufrequtils restart
cpufreq-info

Atau

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
echo performance > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor