Re: Power-Mgt (Was: Re: cvs commit: src/sys/i386/cpufreq est.c )
- From: Peter Jeremy <peterjeremy@xxxxxxxxxxxxxxxx>
- Date: Wed, 19 Mar 2008 17:44:33 +1100
On Tue, Mar 18, 2008 at 07:52:02PM +0000, Poul-Henning Kamp wrote:
When we talk about macroscopic efforts, turning of hardware we don't
use, spinning down disks, common sense says that power is saved and
we can leave it at that.
Except that it takes more power to spin up a disk than keep is
spinning. Even neglecting the disk life issue, powering a disk down
for a short period and then powering it back up may use more energy
than keeping it running.
I have not tried to find out how exact the power measurements ACPI
offers on laptops are, I know some of the chips used but have
never double-checked the result.
I don't believe ACPI lets you get at the numbers with sufficient
resolution to manage anything particularly meaningful. In any case,
repeatability and monotonicity are more of an issue than absolute
accuracy: As long as we can meaningfully do relational comparisons
then we can make progress. I suspect the results are going to vary
significantly between systems anyway.
affect the results), but few off them allow you to measure power
(ie: Watts) without hooking up GPIB and accumulating a lot of
current measurements by hand.
Any decent bench supply should be stiff enough to treat the voltage as
a constant so just monitoring the current is adequate to calculate
power. If you want to monitor energy then, yes you probably need to
hook it up to an external logger. You can buy a multimeter with a USB
interface for AUD140 (<EUR100).
Monitoring mains is more of an issue because not only is the power
factor unlikely to be close to 1 for cheap PSUs but it's also likely
to vary with load.
Note that Silicon Chip published a mains power/energy meter in July
and August 2004: http://www.siliconchip.com.au/cms/A_102045/article.html
ISTR it uses a normal low-voltage transformer to measure current, rather
than a true current transformer so I'm not sure of the absolute accuracy.
--
Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.
Attachment:
pgpf3peWRBoNy.pgp
Description: PGP signature
- Follow-Ups:
- Re: Power-Mgt (Was: Re: cvs commit: src/sys/i386/cpufreq est.c )
- From: Poul-Henning Kamp
- Re: Power-Mgt (Was: Re: cvs commit: src/sys/i386/cpufreq est.c )
- References:
- Re: Power-Mgt (Was: Re: cvs commit: src/sys/i386/cpufreq est.c )
- From: Robert Watson
- Re: Power-Mgt (Was: Re: cvs commit: src/sys/i386/cpufreq est.c )
- From: Poul-Henning Kamp
- Re: Power-Mgt (Was: Re: cvs commit: src/sys/i386/cpufreq est.c )
- Prev by Date: Re: Power-Mgt (Was: Re: cvs commit: src/sys/i386/cpufreq est.c )
- Next by Date: Re: Getting rid of the static msleep priority boost
- Previous by thread: Re: Power-Mgt (Was: Re: cvs commit: src/sys/i386/cpufreq est.c )
- Next by thread: Re: Power-Mgt (Was: Re: cvs commit: src/sys/i386/cpufreq est.c )
- Index(es):
Relevant Pages
- Re: Power-Mgt (Was: Re: cvs commit: src/sys/i386/cpufreq est.c )
... use, spinning down disks, common sense says that power is saved and ... Except
that it takes more power to spin up a disk than keep is ... the chips have
pretty good resolution and high ... (freebsd-arch) - error using cdrecord
... Indicated writing power: 3 ... Disk sub type: High speed Rewritable media
... ATIP start of lead in: -11240 ... Writing time: 14.084s ... (comp.unix.solaris) - Re: power off disk drives while running
... and massive data storage. ... The ability to fully turn off a drive while
... An IDE reset bringing the disk up again -- that does not sound like ... Power
down for me means: as if the plug was pulled. ... (Linux-Kernel) - Re: filesystem reliability
... Most Lisp Machines were effectively diskless. ... The disk was used mostly
... there really isn't any such thing as a file system that is ... 'invulnerable'
to power failures and such. ... (comp.os.linux.misc) - Re: Encrypting Harddisk?
... > motherboards eeprom. ... Any service interruption in the webcam coverage,
motion, power interruption, ... If you want to get wacko about it, use the really *old*
aluminum disk packs ... the disk, finely spraying the case with finely powdered,
fresh, ... (comp.os.linux.security)