无法更改Intel turbo boost(/ sys / devices / system / cpu / intel_pstate / no_turbo /无法访问)

尝试在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”表示turbo被禁用。 对于大多数计算机,可以在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