尝试在ubuntu中禁用Intel Turbo Boost下遵循以下答案:
为了查看驱动程序:
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver
intel_pstate
intel_pstate
intel_pstate
intel_pstate
然后,要查询turbo的启用或禁用状态:
cat /sys/devices/system/cpu/intel_pstate/no_turbo
1
这意味着它已经打开。
禁用它,我得到“不允许操作”:
echo "0" | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo
[sudo] password for cipeos:
0
tee: /sys/devices/system/cpu/intel_pstate/no_turbo: Operation not permitted
尝试在答案(sudo echo "0" | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo
)下的评论中提出建议,我会得到相同的结果。甚至sudo su
在此之前也是如此。
尝试手动查找文件:
sudo gedit /sys/devices/system/cpu/intel_pstate/no_turbo
它只有一行:
1
当我尝试将其更改为0并保存时,它说:“无法保存文件“ / sys / devices / system / cpu / intel_pstate / no_turbo”。和“您没有保存文件所必需的权限。请检查您是否正确键入了位置,然后重试。”
Turbo启用或禁用标志可能会引起误解。摘自Documentation/cpu-freq/intel-pstate.txt
源代码树:
Sysfs will show :
max_perf_pct:100, which corresponds to 1 core ratio
min_perf_pct:24, max_efficiency_ratio / max 1 Core ratio
no_turbo:0, turbo is not disabled
num_pstates:26 = (max 1 Core ratio - Max Efficiency Ratio + 1)
turbo_pct:39 = (max 1 core ratio - max non turbo ratio) / num_pstates
因此,在这种情况下,“ 1”表示涡轮增压被禁用。对于大多数计算机,可以在BIOS中禁用turbo,在这种情况下,不能覆盖Sysfs中的指示器标志。示例1(在BIOS中禁用了turbo):
$ echo 0 | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo
0
tee: /sys/devices/system/cpu/intel_pstate/no_turbo: Operation not permitted
示例2(在BIOS中启用了turbo):
$ cat /sys/devices/system/cpu/intel_pstate/no_turbo
1
$ echo 0 | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo
0
$ cat /sys/devices/system/cpu/intel_pstate/no_turbo
0
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句