Difference between revisions of "SrsRAN: Set CPU Governor to Performance"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | 1. | + | 1. untuk melihat nilai scaling_governor sebelumnya per CPU, run: |
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor | cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor | ||
Line 13: | Line 13: | ||
... | ... | ||
− | 2. | + | 2. untuk set scaling_governor to "performance" mode untuk setiap CPU, jalankan: |
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor | echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor | ||
Line 25: | Line 25: | ||
... | ... | ||
− | 3. To | + | 3. To verifikasi konfigurasi jalankan kembali: |
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor | cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor |
Revision as of 10:24, 26 October 2022
1. untuk melihat nilai scaling_governor sebelumnya per CPU, run:
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
powersave powersave powersave powersave powersave powersave powersave
...
2. untuk set scaling_governor to "performance" mode untuk setiap CPU, jalankan:
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
...
3. To verifikasi konfigurasi jalankan kembali:
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
performance performance performance performance performance performance performance