Modern CPU have frequency scaling, which means that you can configure the OS to speed up the CPU only when it needs to. This saves power and your CPU won't produce unnecessary heat.
In this article I will show you how to configure CPU Frequency scaling as a daemon, so that it starts at boot time. Note that you won't have GUI controls like gnome applets. For those please consult the link at the end of the article.
To enable frequency scaling in Arch you need to install cpufreq-utils
pacman -S cpufrequtilsAfter that you need to load the appropriate driver for you hardware:
- acpi-cpufreq for Intel CPU's
- powernow-k10 for AMD
So as root:
modprobe acpi-cpufreqNow CPU frequency scaling is enabled in you system.
Next you need to select a scaling governor. Most people go for ondemand and this is the one I will use:
Just loading the kernel module isn't enough. You need to activate it in the cpufreq daemon's configuration. For this edit /etc/conf.d/cpufreq and enable your desired CPU scaling governor.
After this start the cpu scaling daemon with:
CPU scaling is now configured.
To retain these settings after a reboot edit your
/etc/rc.conf and add your CPU scaling driver and governor to MODULES so it looks like this:
MODULES=(acpi-cpufreq cpufreq_ondemand fuse [other kernel modules])
and activate the cpufreq daemon:
DAEMONS(dbus networkmanager [other daemons] @cpufreq )
Hope this helped !
CPU Frequency Scaling [Arch Wiki]