首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >缩放CPU频率

缩放CPU频率
EN

Unix & Linux用户
提问于 2019-08-25 11:10:10
回答 1查看 1K关注 0票数 1

我有一个桌面和一个笔记本电脑存在过热问题,据我所知,从Arch Wiki和这个站点的其他贡献者那里,我必须限制cpu频率来解决这个问题。在这两个系统上,我都在桌面上安装了cpupowersudo cpupower frequency-info,并返回了AMD Phenom(tm) II X4 955 Processor

代码语言:javascript
复制
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的笔记本电脑上返回:

代码语言:javascript
复制
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,里面的内容是:

代码语言:javascript
复制
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返回:

代码语言:javascript
复制
pcc_cpufreq            16384  0
acpi_cpufreq           24576  0

在笔记本电脑上,同样的返回:

代码语言:javascript
复制
pcc_cpufreq            16384  0

所以,在笔记本电脑上,首先,必须:

代码语言:javascript
复制
echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo

要禁用boost,然后在膝上型计算机和桌面上禁用boost,我必须设置如下限制:

代码语言:javascript
复制
cpupower frequency-set -u 3.00 GHz
cpupower frequency-set -d 2.50 GHz

我必须将3.00 GHz2.50 GHz""''括起来还是用3.00_GHz2.50_GHz之类的下划线括起来?我必须在桌面的BIOS上做任何事情吗?桌面上的available frequency steps是什么?我应该为桌面的上限和地板选择指定的值吗?看起来在笔记本电脑上没有这样的频率步骤,所以我可以为笔记本电脑选择800到3.50 GHz之间的任何值吗?current CPU frequency: Unable to call hardware对笔记本电脑意味着什么?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2019-08-26 11:29:34

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

笔记本电脑从来没有超过80度,同时渲染16分钟长的视频在kdenlive。另一方面,桌面在渲染时达到临界点:temp1 of PCI Adapter达到85,temp2 of ISA Adapter达到93次。

编辑

在2.1 GHz桌面比笔记本电脑更好!笔记本电脑的核心温度在73摄氏度左右,从未达到75摄氏度,而在桌面上,temp1 of PCI Adapter则在56摄氏度左右,从未达到60摄氏度,temp2 of ISA Adapter在65摄氏度左右,从未达到70摄氏度!

在这一点上,Windows 10和Linux在这些机器上的渲染时间没有差别!在笔记本电脑上唯一的区别是Windows 10在渲染过程中至少会发出一次声音(比如敲击塑料),我在Linux上没有听到这种声音!但是,如果我禁用intel_pstate,我确实在Linux上听到了同样的声音!

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/537314

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档