我有类似的问题:无法调整频率,总是跳到最低。
这次使用的是 HP Compaq 6715B 笔记本电脑,配备 AMD Turion CPU TL-58 和 powernow-k8CPU频率司机 :
$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to [email protected], please.
analyzing CPU 0:
driver: powernow-k8
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 0 1
maximum transition latency: 109 us.
hardware limits: 800 MHz - 1.90 GHz
available frequency steps: 1.90 GHz, 1.80 GHz, 1.60 GHz, 800 MHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance
current policy: frequency should be within 800 MHz and 800 MHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 800 MHz.
cpufreq stats: 1.90 GHz:0,07%, 1.80 GHz:0,00%, 1.60 GHz:0,00%, 800 MHz:99,93% (1)
analyzing CPU 1:
driver: powernow-k8
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 0 1
maximum transition latency: 109 us.
hardware limits: 800 MHz - 1.90 GHz
available frequency steps: 1.90 GHz, 1.80 GHz, 1.60 GHz, 800 MHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance
current policy: frequency should be within 800 MHz and 800 MHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 800 MHz.
cpufreq stats: 1.90 GHz:0,07%, 1.80 GHz:0,00%, 1.60 GHz:0,00%, 800 MHz:99,93% (1)
上述帖子中的解决方案以及在互联网上找到的其他解决方案均不起作用。BIOS 不会对操作系统施加任何限制(如在其他解决方案中看到的,由于电池/电源问题)。Windows Vista 中的 CPU 缩放功能正常工作(因此这应该不是硬件问题)。设置性能调节器也不起作用。
$uname -a
Linux kaspat 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
- 我该如何纠正 powernow-k8 行为?
- 或者我可以关闭 powernow-k8 来支持acpi-cpufreq无需重新编译内核?
更新1: 我补了一个内核bug:https://bugs.launchpad.net/ubuntu/+source/linux-lts-wily/+bug/1598312
答案1
设置acpi=noirq
内核启动参数使得内核在较新的内核上正确缩放 CPU 频率成为可能。
答案2
我在这里有一个答案。我想把它勾选为正确答案,但它被删除了(被答案的作者删除了?)。答案是解决问题的变通方法。我将在下面重复它。也许它可以帮助别人:
将 CPU 频率调整添加到acpi=off
内核启动参数后就可以使用了,但是有一个缺点:仅 1 个处理器核心。
要使所有核心和 CPU 频率缩放,需要将内核降级到4.1.26
。http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1.26-wily/。
附注:使用此内核版本时,WiFi 驱动程序 (b43) 出现了一些问题。NetworkManager 不会自动加载该驱动程序,但必须在 rc.local 中手动加载。