我正在尝试关闭计算机上的 CPU 节流,但没有成功。谁能帮我找出问题所在?
我的台式机装有 Intel Core i7-7700 3.60 GHz,并安装了 Ubuntu 16.04 LTS 内核 4.4.0-83-generic。我的步骤如下:
禁用BIOS 配置中的SpeedStep选项以防止 CPU 自动降低时钟
更改 grup 文件以禁用intel_pstate驱动器和ACPI
gksu gedit /etc/default/grub
# Find the line GRUB_CMDLINE_LINUX_DEFAULT="splash quiet"
# Append this line GRUB_CMDLINE_LINUX_DEFAULT="splash quiet acpi=off intel_pstate=disable"
sudo update-grub
sudo reboot
Run Code Online (Sandbox Code Playgroud)将 CPU 频率调节器从powersave更改为performance,以使所有 cpu 以其最大时钟速率运行。
sudo apt-get install linux-tools-common linux-tools-4.4.0-83-generic
sudo cpupower frequency-set -g performance
Run Code Online (Sandbox Code Playgroud)手动将我的 8 个 cpu 内核的时钟速率设置为最大值 (4200 …