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
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
Modify the configuration file
GOVERNOR = "ondemand"
GOVERNOR = "performance"