После установки cpufrequutils с помощью sudo apt-get install cpufrequtils
, посмотрите на информацию , предоставленную командой cpufreq-info
, затем создайте файл - sudo nano /etc/default/cpufrequtils
- и запишите в него, как показано на рисунке ниже. В вашем случае max и min будут иметь одинаковое значение.
GOVERNOR="ondemand"MIN_SPEED="800MHz"MAX_SPEED="950MHz"
Наконец, команда для того, чтобы изменение вступило в силу и стало постоянным (за исключением случаев загрузки, то есть) sudo /etc/init.d/cpufrequtils restart
, в результате чего этот вывод из cpufreq-info
:
peter@peter-HP-Compaq-2510p:~$ cpufreq-infocpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009Report 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:~$
Это работает для меня на Xubuntu 18.04.2