Difference between revisions of "Power Management"
m (Testing) |
m (Revision) |
||
| Line 1: | Line 1: | ||
| + | __TOC__ | ||
Note: This page is a work in progress. | Note: This page is a work in progress. | ||
| Line 10: | Line 11: | ||
This article is currently almost exclusively directed at laptop users. | This article is currently almost exclusively directed at laptop users. | ||
| − | == Why bother? == | + | ==== Why bother? ==== |
Battery life, environmentalism, obsessiveness. | Battery life, environmentalism, obsessiveness. | ||
| Line 21: | Line 22: | ||
First of all, you need to decide how much performance (if any) you're willing to sacrifice for a reduction in power. | First of all, you need to decide how much performance (if any) you're willing to sacrifice for a reduction in power. | ||
| + | |||
| + | Tools like laptop-mode and cpufreqd can cause a reduction in performance, however with careful configuration you can make this minimal while maintaining most of the benefits. Throughout this guide make sure to read comments in configuration files and decide what you need and want. | ||
| + | |||
| + | == Getting started == | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Using Gentoo's resources ==== | ||
| + | |||
| + | You'll find a fantastically written starter guide on the Gentoo site [http://www.gentoo.org/doc/en/power-management-guide.xml], note however that you are not required to use Gentoo-Sources. (Making your own kernel is a boatload of fun though! You're missing out.) | ||
| + | |||
| + | ==== Laptop-mode-tools ==== | ||
| + | |||
| + | Laptop-mode-tools should be reasonably well configured out of the box. | ||
| + | |||
| + | <pre> | ||
| + | vim /etc/laptop-mode/laptop-mode.conf | ||
| + | </pre> | ||
| + | |||
| + | Make sure it's enabled: | ||
| + | <pre> | ||
| + | ############################################################################### | ||
| + | # Enable/Disable laptop-mode-tools execution | ||
| + | # ------------------------------------------ | ||
| + | # Set it to 0 to completely disable laptop-mode-tools from running | ||
| + | ############################################################################### | ||
| + | # | ||
| + | ENABLE_LAPTOP_MODE_TOOLS=1 | ||
| + | </pre> | ||
Revision as of 22:52, 11 November 2011
Contents |
Note: This page is a work in progress.
Who is this for?
The majority of people who will be interested in power management on Funtoo will be split into the following two cases:
- Laptop users
- Low Power Workstation/Server users
This article is currently almost exclusively directed at laptop users.
Why bother?
Battery life, environmentalism, obsessiveness.
The author of this article saw a huge improvement in battery life after setting up necessary options, jumping from a 5:37 hour ACPI estimate to over 11 hours! (Thinkpad T420, 9-cell battery)
We've only got one planet right now, resources are limited, so why not use them wisely? Saving power reduces strain on your infrastructure and might save a couple furry bear cubs down the road. Also note that a reduction in power consumption means a reduction in your electricity bill.
How to start
First of all, you need to decide how much performance (if any) you're willing to sacrifice for a reduction in power.
Tools like laptop-mode and cpufreqd can cause a reduction in performance, however with careful configuration you can make this minimal while maintaining most of the benefits. Throughout this guide make sure to read comments in configuration files and decide what you need and want.
Getting started
Using Gentoo's resources
You'll find a fantastically written starter guide on the Gentoo site [1], note however that you are not required to use Gentoo-Sources. (Making your own kernel is a boatload of fun though! You're missing out.)
Laptop-mode-tools
Laptop-mode-tools should be reasonably well configured out of the box.
vim /etc/laptop-mode/laptop-mode.conf
Make sure it's enabled:
############################################################################### # Enable/Disable laptop-mode-tools execution # ------------------------------------------ # Set it to 0 to completely disable laptop-mode-tools from running ############################################################################### # ENABLE_LAPTOP_MODE_TOOLS=1