CPU Frequency scaling

From gr0x0rd
Revision as of 13:21, 11 December 2010 by Gr0x0rd (talk | contribs) (Created page with "== Configuring Hardware - CPU Frequency scaling == Most modern CPUs have the ability to run at lower frequencies than maximum. Multi-core processors now provide the ability to u…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Configuring Hardware - CPU Frequency scaling

Most modern CPUs have the ability to run at lower frequencies than maximum. Multi-core processors now provide the ability to utilize a single core for a specific thread or process, leaving the remaining cores drawing full power even if they aren't on load. Implementing CPU frequency scaling is an excellent way to reduce your power bill while running your desktop, or battery life if you are running a laptop. Having already installed a System Monitor such as conky before taking these steps will allow you to see graphically, in real time, how your processor reacts to the changes you're making. You'll also need to ensure both the ondemand and powersave governors are configured in the ACPI section of the krenel. When you are ready, emerge sys-power/cpufrequtils.

$ sudo emerge -av cpufrequtils

Once emerged, you can see what steps are available to your processor using cpufreq-info.

$ sudo cpufreq-info

The output should be similar for each core if you have a multi-core CPU, but chances are you'll see something like this:

hardware limits: 1.20 GHz - 2.53 GHz
available frequency steps: 2.53 GHz, 2.53 GHz, 2.40 GHz, 2.27 GHz, 2.13 GHz, 2.00 GHz, 1.87 GHz, 1.73 GHz, 1.60 GHz, 1.47 GHz, 1.33 GHz, 1.20 GHz