Difference between revisions of "OpenAirInterface: Set CPU Governor to Performance"
Jump to navigation
Jump to search
(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...") |
|||
Line 1: | Line 1: | ||
+ | Install software cpufrequtils | ||
sudo apt-get install cpufrequtils -y | sudo apt-get install cpufrequtils -y | ||
+ | |||
+ | Edit cpufrequtils | ||
sudo nano /etc/default/cpufrequtils | sudo nano /etc/default/cpufrequtils | ||
+ | Tambahkan pada nano, kemudian simpan | ||
GOVERNOR="performance" | GOVERNOR="performance" | ||
+ | Restart cpufrequtils | ||
sudo update-rc.d ondemand disable | sudo update-rc.d ondemand disable | ||
sudo /etc/init.d/cpufrequtils restart | sudo /etc/init.d/cpufrequtils restart | ||
+ | Cek apakah CPU Governor sudah mode Performance | ||
cpufreq-info | cpufreq-info | ||
Revision as of 10:31, 26 October 2022
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