Re: Power-Mgt (Was: Re: cvs commit: src/sys/i386/cpufreq est.c )



In message <20080319064433.GA44676@xxxxxxxxxxxxxxxxxxxxxxx>, Peter Jeremy write
s:

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 was talking in the context of having a facility for spinning
disks down vs. always letting them run.

You're talking about when we spin them down, which is a matter of
tuning.

Yes, obviously our defaults should be sensible, as always.

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.

I'm not so sure, the chips have pretty good resolution and high
accumulation rate, it's ACPI which only ask the chip every
30 seconds.

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.

The problem with this approach, is that you need to accumulate
current measurements at least 500 times per second, to get a
realistic picture of the power content of the spikes. You can
of course do a lot to smooth this out, but then it turns into
(even more) of an electronics task.

The only PSU's I know that can do this themselves are the
HP/Agilent "extra 3" supplies like the 66311 and similar.

If you want to measure on the high-voltage side, the best
and cheapest strategy is to get a utility-class powermeter
(like the DIN unit i linked to in the other mail)


--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@xxxxxxxxxxx | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



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 ... Monitoring mains is more of an issue because not only is the power ...
    (freebsd-arch)
  • Re: Future Linux on Bistable Storage
    ... One major difference between disk and RAM is the tradeoffs between size, ... resume the system -- except perhaps for I/O initialisation. ... Writing all of RAM to disk burns more power than powering RAM for several ...
    (Linux-Kernel)
  • 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)