Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Tips for saving power needed... particulary on laptops
Date: Fri, 06 Apr 2012 17:19:29
Message-Id: CA+czFiDB8SSZFYf5ptSisXw788rZBk9S5aDe-ivRvpWgVV3M=g@mail.gmail.com
In Reply to: Re: [gentoo-user] Tips for saving power needed... particulary on laptops by Frank Steinmetzger
1 On Fri, Apr 6, 2012 at 1:05 PM, Frank Steinmetzger <Warp_7@×××.de> wrote:
2 > On Mon, Apr 02, 2012 at 01:22:50AM -0400, Walter Dnes wrote:
3 >
4 >> > > Hi,
5 >> > >
6 >> > > admin of a colo-center keeps complaining my server is going
7 >> > > a little over power-limit (which they have set as ~120W per
8 >> > > 24h/avg, while my server needs ~130-135W). So I need to find
9 >> > > a way to save at least those 15W, or I will be moved to
10 >> > > higher tarif (which means higher costs for server-housing).
11 >> […]
12 >> The following may seem obvious, but here goes...
13 >>
14 >> * remove unnecessary video cards, and drivers.  Most colo machines
15 >>   should do OK with just a text console running on the onboard GPU.
16 >>   Dump all video driver stuff "/dev/agpgart (AGP Support)" and
17 >>   "Direct Rendering Manager".  This assumes you're not running X on
18 >>   your colo machines.  mc (Midnight Commander) is a great text-based
19 >>   tool, along the lines of ye olde Norton Commander.
20 >>
21 >> * disable sound cards/chips in BIOS and remove drivers and kernel
22 >>   support.
23 >
24 > As a follow-up question that’s been on my mind for a long time: can I always
25 > assume that when there is no driver loaded, the device is really (physically)
26 > off, so it doesn't use any power (at all)?  Or are there exceptions to that
27 > rule (like hardware known to be buggy)?
28
29 The hardware will be energized, but won't typically consume as much
30 energy as it would were it under active use and load.
31
32 >  My concern comes from having an
33 > ageing laptop whose battery I want to preserve as well as I can.
34 >
35 > In my case, that would be bluetooth, ethernet, possibly even the optical
36 > drive, and even the touchpad. I can switch the latter off using Fn+F9, which
37 > even works on the tty. But does that really switch it off, or does the kernel
38 > merely ignore its input then?
39
40 For wireless devices, I believe the radio is switched off if you use
41 the hardware or software switches, but controlling hardware would
42 still be energized.
43
44 For ethernet, you probably want the driver installed, so you can
45 access any power-saving modes available to it. (Ditto most other
46 things)
47
48 Regarding touchpad...no idea.
49
50 Most of this is probably very case-by-case. Check the kernel configs.
51 Perhaps even measure power consumption changes after doing things like
52 disabling devices via sysfs.
53
54 --
55 :wq