停用 CPU 頻率縮放 Ubuntu 20.04

停用 CPU 頻率縮放 Ubuntu 20.04

我正在使用 Ubuntu 20.04,並遵循本教程禁用 CPU 頻率縮放。

我已經做好了:

sudo systemctl disable ondemand
sudo systemctl enable cpufrequtils
sudo sh -c 'echo "GOVERNOR=performance" > /etc/default/cpufrequtils'
sudo systemctl daemon-reload && sudo systemctl restart cpufrequtils

然後重啟GOVERNOR然後我檢查了每個CPU的狀態0-->11,我看到模式為performance,現在當我檢查使用時$ cpufreq-info我得到:

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

對於來自 的所有 CPU 都是如此0 --> 11,您能告訴我如何正確停用 CPU 頻率縮放嗎?提前致謝。

相關內容