Home Tech How To Use of Linux System CPU Frequency Adjustment Tool

How To Use of Linux System CPU Frequency Adjustment Tool

47
0
debian
debian

Before optimizing the CPU frequency, we first need to use the command

lsmod | grep "acpi_cpufreq"

Check if the acpi_cpufreq module is loaded in the kernel. If this module is loaded, according to the general situation, the release version will set the CPU to “ondemand” mode
. You can use the command

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

To further confirm the CPU energy-saving mode, but the user cannot modify it at this time, you must use the command to install the cpufreq management software if you need to modify it, use the following command under Debian

apt install cpufrequtils

After that, we can modify the configuration file where the corresponding system is located

vi /etc/init.d/cpufrequtils

Modify the configuration file

GOVERNOR = "ondemand"

for

GOVERNOR = "performance"

Then execute

/etc/init.d/cpufrequtils restart

LEAVE A REPLY

Please enter your comment!
Please enter your name here