34.jpg
查看当前cpu的状态:

apt install cpufrequtils
cpufreq-info

把 cpu调整到性能模式:

cpufreq-set -g performance

analyzing CPU 15:
driver: intel_pstate
CPUs which run at the same hardware frequency: 15
CPUs which need to have their frequency coordinated by software: 15
maximum transition latency: 4294.55 ms.
hardware limits: 800 MHz – 5.00 GHz
available cpufreq governors: performance, powersave
current policy: frequency should be within 800 MHz and 5.00 GHz.
The governor “powersave” may decide which speed to use
within this range.
current CPU frequency is 4.47 GHz.

将所有的核全部调整到性能模式

```bash
echo "performance" |  tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code