本本儿的cpu最近老是过热然后风扇狂转网上找咯一个软件Cpufrequtils可控制频率最终达到降温的目的。
配置说明参照https://wiki.archlinux.org/index.php/CPU\_Frequency\_Scaling_(简体中文)
1/ install
yaourt -S cpufrequtils
2/
2.1/ add to MODULES when booting
vim /etc/rc.conf
MODULES=(vboxdrv vboxnetflt fuse acpi-cpufreq)
2.2/ Temporarily add MODULES
sudo modprobe acpi-cpufreq
3/ #configuration for cpufreq control
just change
#governor=”ondemand
to
governor=”ondemand”
在未手动设置最低与最高频率时自动设置,我这里是1.2-2.1下面我会有输出。
4/ add DAEMONS
sudo vim /etc/rc.conf
DAEMONS=(hwclock syslog-ng dbus crond fam hal cpufreq als vbox-service)
5/ reboot
这样做完之后效果还是挺明显的从默认2.1降成1.20 GHz 咱们也为节能减排做出贡献了
{codewalker}<=Sun Mar 04-01:35 AM=>
==>~<==
=>$cpufreq-info -m
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 10.0 us.
hardware limits: 1.20 GHz - 2.10 GHz
available frequency steps: 2.10 GHz, 1.60 GHz, 1.20 GHz
available cpufreq governors: ondemand, performance
current policy: frequency should be within 1.20 GHz and 2.10 GHz.
The governor “ondemand” may decide which speed to use
within this range.
current CPU frequency is 1.20 GHz.
analyzing CPU 1:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 1
maximum transition latency: 10.0 us.
hardware limits: 1.20 GHz - 2.10 GHz
available frequency steps: 2.10 GHz, 1.60 GHz, 1.20 GHz
available cpufreq governors: ondemand, performance
current policy: frequency should be within 1.20 GHz and 2.10 GHz.
The governor “ondemand” may decide which speed to use
within this range.
current CPU frequency is 1.20 GHz.