OpenAirInterface: Set CPU Governor to Performance

From OnnoWiki
Revision as of 10:31, 26 October 2022 by Yopi Sopiyana (talk | contribs)
Jump to navigation Jump to search

Install software cpufrequtils

sudo apt-get install cpufrequtils -y

Edit cpufrequtils

sudo nano  /etc/default/cpufrequtils

Tambahkan pada nano, kemudian simpan

GOVERNOR="performance"

Restart cpufrequtils

sudo update-rc.d ondemand disable
sudo /etc/init.d/cpufrequtils restart

Cek apakah CPU Governor sudah mode Performance

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