The CPU freq tool is used to temporarily adjust the clock speed of the CPU. the CPU and the main board have power-saving technologies. If the CPU is working at a low load, the frequency is automatically reduced. If you need to temporarily set the clock speed and working mode, you can use cpufreq to manually adjust it. This mode will expire after restart. If you need to adjust it for a long time, modify/etc/sysconfig/cpuspeed. Www.2cto.com lsmod | grep "acpi_cpufreq" run the preceding command to check whether the acpi_cpufreq module is loaded, if not loaded, you can use yum to install this module yum install-y cpufreq-utils.x86_64 modprobe acpi_cpufreq # tested this module does not support intel xeon processor, only P4-clockmod this module supports xeon processor, but the premise is to compile the kernel by yourself... View the current CPU operating frequency and status: www.2cto.com cpufreq-info execute the above command, the output is as follows: cpufrequtils 005: cpufreq-info (C) Dominik brodoski 2004-2006Report errors and bugs to cpufreq@vger.kernel.org, please. analyzing CPU 0: driver: acpi-cpufreq CPUs which need to switch frequency at the same time: 0 hardware limits: 1.60 GHz-2.60 GHz available frequency steps: 2.60 GHz, 2.50 GHz, 2.40 GHz, 2.30 GHz, 2.20 GHz, 2.10 GHz, 2.00 GB Hz, 1.90 GHz, 1.80 GHz, 1.70 GHz, 1.60 GHz available cpufreq governors: ondemand, userspace, performance current policy: frequency shocould be within 1.60 GHz and 2.60 GHz. the governor "ondemand" may decide which speed to use within this range. current CPU frequency is 1.60 GHz (asserted by call to hardware ). the governor "ondemand" indicates The CPU frequency policy. There are three CPU policies: onemand (indicating that the system can adjust the frequency dynamically to reduce power consumption. The specific adjustment policy is related to the kernel's power consumption management algorithm ), userspace (indicating that the user can set the cpu frequency), performance (indicating that the CPU always works at the highest frequency ). Www.2cto.com current CPU frequency is 1.60 GHz indicates the current running clock speed. Adjust the CPU working mode: 1. Adjust the overall working mode cpufreq-set-g performance. Execute the above command to make the CPU always work at the highest clock speed (no energy saving, but high performance ). After execution, you can run cpufreq-info again to view the CPU policy and current clock speed. 2. specify the maximum frequency and minimum frequency of the manual No. 0 core cpufreq-set-c 0-g userspace-d 180000-u 240000 to execute the above commands, set the core 0 to custom, and set the minimum frequency to 1.8 GHz and the maximum frequency to 2.4 GHz.