Po zainstalowaniu cpufrequtils sudo apt-get install cpufrequtils
, spójrz na informacje podane w poleceniu cpufreq-info
, a następnie utwórz plik - sudo nano /etc/default/cpufrequtils
- i zapisz w nim, jak pokazano na poniższym obrazku. W twoim przypadku maks. I min będą takie same.
GOVERNOR="ondemand"
MIN_SPEED="800MHz"
MAX_SPEED="950MHz"
Na koniec polecenie zmiany powoduje podjęcie działania i zachowanie trwałości (z wyjątkiem uruchamiania) sudo /etc/init.d/cpufrequtils restart
, co powoduje, że dane wyjściowe z 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:~$
Działa to dla mnie na Xubuntu 18.04.2