我最近将其安装indicator-multiload
在运行Ubuntu 14.10的笔记本电脑上,并注意到我的CPU大多数时候都处于高频状态,即使负载很小。它是i7-4700MQ处理器,应使用800 MHz至3.4 GHz之间的频率(使用Turbo Boost)。现在,即使负载为0-2%,我看到的频率通常也在2.5到3.1 GHz之间,这意味着CPU几乎始终是Turbo Boosting。
我的Ubuntu还比Windows(CPU通常在0.8-1.8 GHz范围内)负载少,功耗大得多,所以我认为这不仅是错误显示的频率。
我没有手动更改任何设置或安装任何会影响CPU行为的内容。以下是mycpufreq
和的内容,对我来说intel_pstate
很合适:
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
intel_pstate
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
800000
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
3400000
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
2852437
$ cat /sys/devices/system/cpu/intel_pstate/min_perf_pct
23
$ cat /sys/devices/system/cpu/intel_pstate/max_perf_pct
100
$ cat /sys/devices/system/cpu/intel_pstate/no_turbo
0
有没有人以前见过此事,或者知道如何无缘无故地避免使用高频?
值得一提的是,我知道可以禁用Turbo Boost,这可能会将最大频率限制为2.4 GHz,但是这似乎有点过头了,因为我不想在需要时限制我的CPU性能。
谢谢你。
编辑:缩放调节器设置为节能:
$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
这些是频率:
$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq
2492343
2740218
2502562
2438625
2435718
2782500
2783250
2697000
什么都没用我的CPU。正如我所说,使用率约为1%。如果我排名靠前,则它是唯一正在运行的用户进程:
Tasks: 266 total, 1 running, 265 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1.3 us, 0.2 sy, 0.0 ni, 98.5 id
在四处查看之后,我在内核Bugtracker上发现了两个相关问题,它们描述了我所遇到的相同症状。此标记为固定的,但另一个标记为新的,有人报告说它尚未固定。
使计算机进入睡眠状态似乎正在发生某些事情。重新启动后,CPU正常运行,即在空闲时以低频率运行,但从睡眠中唤醒后却停留在高频率。重新启动后,我的频率如下所示(与问题中的内容进行比较):
$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq
1588875
800062
800062
800062
928500
2112937
800250
1911750
我想现在我们只需要等待这一问题解决即可。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句