缩放 CPU 频率

缩放 CPU 频率

我有一个桌面和一个笔记本电脑存在过热问题,据我所知拱门维基和该网站上的其他贡献者一样,我必须限制 CPU 频率来解决该问题。在我安装的两个系统上cpupowersudo cpupower frequency-info桌面上都有AMD Phenom(tm) II X4 955 Processor返回:

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: 4.0 us
  hardware limits: 800 MHz - 3.20 GHz
  available frequency steps:  3.20 GHz, 2.50 GHz, 2.10 GHz, 800 MHz
  available cpufreq governors: performance schedutil
  current policy: frequency should be within 800 MHz and 3.20 GHz.
                  The governor "schedutil" may decide which speed to use
                  within this range.
  current CPU frequency: 800 MHz (asserted by call to hardware)
  boost state support:
    Supported: no
    Active: no
    Boost States: 0
    Total States: 4
    Pstate-P0:  3200MHz
    Pstate-P1:  2500MHz
    Pstate-P2:  2100MHz
    Pstate-P3:  800MHz

并在笔记本电脑上Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz返回:

analyzing CPU 0:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency:  Cannot determine or is not supported.
  hardware limits: 800 MHz - 3.50 GHz
  available cpufreq governors: performance powersave
  current policy: frequency should be within 800 MHz and 3.50 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 1.70 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes

在笔记本电脑上,BIOS 中没有任何内容overclocking,但在台式机上有一个Overclocking Profile,里面的内容是:

Overclocking Profile 1  [None]
Overclocking Profile 2  [None]
Overclocking Profile 3  [None]
Overclocking Profile 4  [None]
Overclocking Profile 5  [None]
Overclocking Profile 6  [None]

OC Retry Count          [3]

lsmod | grep freq在桌面上返回:

pcc_cpufreq            16384  0
acpi_cpufreq           24576  0

笔记本电脑上的返回结果相同:

pcc_cpufreq            16384  0

因此,在笔记本电脑上,我首先必须:

echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo

要禁用升压,然后在笔记本电脑和台式机上,我必须设置如下限制:

cpupower frequency-set -u 3.00 GHz
cpupower frequency-set -d 2.50 GHz

我是否必须用or 将3.00 GHzand括2.50 GHz起来"",或者''用像3.00_GHzand这样的下划线括起来2.50_GHz?我需要在台式机的 BIOS 上执行任何操作吗?available frequency steps桌面上那些是什么?我应该为桌面选择上限和下限指定的值吗?笔记本电脑上似乎没有这样的频率步进,所以我可以为笔记本电脑自由选择 800 MHz 到 3.50 GHz 之间的任何值吗?current CPU frequency: Unable to call hardware对于笔记本电脑来说意味着什么?

答案1

“Linux 中的 CPU 温度:节流还是读取错误?”对于频率缩放很有帮助,它实际上解决了问题,我在笔记本电脑和台式机上尝试过最大 2.5 GHz,笔记本电脑的性能比 2.5GHz 的台式机好得多。

在此输入图像描述

在 kdenlive 中渲染 16 分钟长的视频时,笔记本电脑的温度从未超过 80 度。另一方面,桌面达到了临界点:渲染时多次达到temp185PCI Adaptertemp293 。ISA Adapter

在此输入图像描述


编辑

2.1 GHz 台式机比笔记本电脑更好!笔记本电脑的核心温度约为 73C,从未达到 75C,而台式机temp1的核心PCI Adapter温度约为 56C,从未达到 60,而temp2台式机的ISA Adapter核心温度约为 65C,从未达到 70C!

此时,这些计算机上的 Windows 10 和 Linux 在渲染时间方面没有任何区别!笔记本电脑上唯一的区别是 Windows 10 在渲染过程中至少会发出一些声音(例如敲击塑料),我在 Linux 上没有听到这种声音!但是,如果我禁用intel_pstate! ,我会在 Linux 上听到同样的声音。

相关内容