Debian
- 编辑 /etc/default/cpufrequtils 如不存在则创建,
复制代码- 添加 GOVERNOR="performance"
复制代码- systemctl restart cpufrequtils
复制代码
之前:
- cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
- Report errors and bugs to [email protected], 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: 1.40 GHz - 2.10 GHz
- available frequency steps: 2.10 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz
- available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil
- current policy: frequency should be within 1.40 GHz and 2.10 GHz.
- The governor "ondemand" may decide which speed to use
- within this range.
- current CPU frequency is 1.40 GHz (asserted by call to hardware).
- cpufreq stats: 2.10 GHz:100.00%, 1.80 GHz:0.00%, 1.60 GHz:0.00%, 1.40 GHz:0.00% (65)
复制代码
之后
- 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: 1.40 GHz - 2.10 GHz
- available frequency steps: 2.10 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz
- available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil
- current policy: frequency should be within 1.40 GHz and 2.10 GHz.
- The governor "performance" may decide which speed to use
- within this range.
- current CPU frequency is 2.10 GHz (asserted by call to hardware).
- cpufreq stats: 2.10 GHz:99.99%, 1.80 GHz:0.00%, 1.60 GHz:0.00%, 1.40 GHz:0.01% (461)
复制代码 |