Gentoo Archives: gentoo-user

From: Dan Farrell <dan@×××××××××.cx>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Linux becomes expensive ;)
Date: Sun, 03 Jun 2007 18:19:44
Message-Id: 20070603124921.257cb28a@pascal.spore.ath.cx
In Reply to: Re: [gentoo-user] Linux becomes expensive ;) by Florian Philipp
1 On Sun, 3 Jun 2007 19:37:19 +0200
2 Florian Philipp <f.philipp@××××××.de> wrote:
3
4 > Am Sonntag 03 Juni 2007 19:06 schrieb Ryan Sims:
5 > > On 6/3/07, Florian Philipp <f.philipp@××××××.de> wrote:
6 > > > Am Sonntag 03 Juni 2007 18:03 schrieb Dan Farrell:
7 > > > > On Sun, 3 Jun 2007 13:16:33 +0200
8 > > > >
9 > > > > Florian Philipp <f.philipp@××××××.de> wrote:
10 > > > > > Am Samstag 02 Juni 2007 20:03 schrieb Jeff Horelick:
11 > > > > > > Florian,
12 > > > > > >
13 > > > > > > That's not that big of a difference...Also, Gentoo/Linux
14 > > > > > > does not have powersaving for every device like Windows
15 > > > > > > XP...it's writing to the hard drive more often and it
16 > > > > > > doesn't spin as much down when it's not in use to help
17 > > > > > > performance. Also, if i was you, i'd be worried about your
18 > > > > > > system using that LITTLE energy especially since you have a
19 > > > > > > pretty hefty CPU, video card, motherboard, 2 hardrives and
20 > > > > > > al the rest of your components.
21 > > > > > >
22 > > > > > > On 6/2/07, Florian Philipp <f.philipp@××××××.de> wrote:
23 > > > > > > > Hi guys!
24 > > > > > > >
25 > > > > > > > I've just tested the energy consumption of my PC.
26 > > > > > > > Aparently Gentoo consumes a
27 > > > > > > > quiet a bit more than Windows XP: 213 W compared to 188 W
28 > > > > > > >
29 > > > > > > > PowerNow is activated and works on both cores (tested).
30 > > > > > > > The same hardware is
31 > > > > > > > plugged in and works. I'll attach the output of lspci,
32 > > > > > > > lsmod and cpuinfo as
33 > > > > > > > well as my world-file just in case it's related to some
34 > > > > > > > software.
35 > > > > > > >
36 > > > > > > > Is there anything I've forgotten? Where does my energy go?
37 > > > > > > >
38 > > > > > > > A short overview of my hardware:
39 > > > > > > >
40 > > > > > > > AMD Athlon64 X2 4200+ EE
41 > > > > > > > Asus M2N32-SLI Deluxe (WLAN should be deactivated)
42 > > > > > > > 2048 MB DDR2 Corsair
43 > > > > > > > SoundBlaster Audigy 2 ZS
44 > > > > > > > ATI Radeon 1950 Pro (fglrx)
45 > > > > > > > 2 SATA2 HDDs
46 > > > > > > > 1 SATA1 DVD-RAM
47 > > > > > > > Floppy
48 > > > > > > > USB mouse, keyboard and printer
49 > > > > > > > TFT screen (connected via DVI)
50 > > > > >
51 > > > > > Well, I've forgotten to mention that I didn't substract all
52 > > > > > peripheral devices. My new calculations (idle, nothing but
53 > > > > > the big black box under my desk): Linux 137W, Win 114W (20%
54 > > > > > or 18EUR / 20$ p.a.).
55 > > > > >
56 > > > > > It seems I can't disable my onboard WLAN completely and while
57 > > > > > Win deactivates it because I don't provide drivers, Linux
58 > > > > > gives it some power although no software is accessing it.
59 > > > > >
60 > > > > > By the way: Maximum output while testing with 3DMark 2006:
61 > > > > > 219W. I wonder why I had to buy a 400W power supply...
62 > > > >
63 > > > > Maybe you can power off the wlan with a wireless-utils program,
64 > > > > or maybe by unloading the kernel module?
65 > > > >
66 > > > > Have you set up power management, powersave frequency
67 > > > > governors? Have you set up your disk(s) to idle quickly?
68 > > >
69 > > > There is no kernel module. I'll play around with modules, configs
70 > > > and tools later. It's not urgent, it was more like a mystery that
71 > > > I wanted to solve.
72 > > >
73 > > > Yes, powermanagement (aka "PowerNow!") is activated. No, my disks
74 > > > do not spin down and should not because of the attrition (I hope
75 > > > that's the right word) that comes with spinning up.
76 > >
77 > > [somewhat OT]:
78 > > Please read this: http://labs.google.com/papers/disk_failures.pdf
79 > > The damage done to hard drives in spinup/spindown is in the same
80 > > category of juju as ricer cflags and cloud seeding. Drive activity
81 > > and such is *not* an indicator of failure, while there may be some
82 > > mechanical stress on the disk, but it's not going to cause your
83 > > drive to fail noticeably earlier. Spin them down, save the power,
84 > > and don't listen to fearmongers.[/OT]
85 > >
86 > > --
87 > > Ryan W Sims
88 >
89 > Thanks!
90 >
91 > I've known that this report exists but have newer actually seen it
92 > myself. I'm still a bit reluctant because I don't suspect that HDDs
93 > in Google's server farm spind down as often as mine would.
94 > Well, I'll just close my eyes and hope for the best when I hear my
95 > darlings shutting down. ;)
96 In my experience, a drive is quite a lot more likely to last a long
97 time when you _do_ spin it down regularly. The only drive I ever
98 killed before its time, was set to _not_ spin down accidentally, and
99 was in a tiny slimline case, and by the time i got back from work and
100 realized something was wrong, the outside surface of the drive was hot
101 enough to cook eggs on (or so i'd guess). Now I make sure my drives
102 are set to spin down after a few minutes. Don't think this is gonna
103 save much for power though. I actually thought that's what you were
104 referring to with 'attrition;' that is, it takes just as much power to
105 spin up the drive as to keep it spinning for a few extra minutes.
106
107 Thanks for the report, I found it very interesting.
108 --
109 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: Linux becomes expensive ;) Hendrik Boom <hendrik@××××××××××.com>