Dopo aver installato cpufrequtils da sudo apt-get install cpufrequtils
, guarda le informazioni fornite dal comando cpufreq-info
, quindi crea un file - sudo nano /etc/default/cpufrequtils
- e scrivi in esso come esemplificato nella figura sotto. Nel tuo caso, max e min avrebbero lo stesso valore.
GOVERNOR="ondemand"
MIN_SPEED="800MHz"
MAX_SPEED="950MHz"
Infine, il comando per fare in modo che la modifica agisca e sia permanente (tranne all'avvio, cioè) sudo /etc/init.d/cpufrequtils restart
, risultante in questo output da cpufreq-info
:
peter@peter-HP-Compaq-2510p:~$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 10.0 us.
hardware limits: 800 MHz - 1.20 GHz
available frequency steps: 1.20 GHz, 1.07 GHz, 933 MHz, 800 MHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance
current policy: frequency should be within 800 MHz and 950 MHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 933 MHz.
cpufreq stats: 1.20 GHz:1,27%, 1.07 GHz:0,01%, 933 MHz:95,97%, 800 MHz:2,75% (5975)
analyzing CPU 1:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 1
CPUs which need to have their frequency coordinated by software: 1
maximum transition latency: 10.0 us.
hardware limits: 800 MHz - 1.20 GHz
available frequency steps: 1.20 GHz, 1.07 GHz, 933 MHz, 800 MHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance
current policy: frequency should be within 800 MHz and 950 MHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 800 MHz.
cpufreq stats: 1.20 GHz:1,26%, 1.07 GHz:0,01%, 933 MHz:95,83%, 800 MHz:2,90% (7039)
peter@peter-HP-Compaq-2510p:~$
Questo funziona per me su Xubuntu 18.04.2