[Pm-utils] Basic powersave hooks

Victor Lowther victor.lowther at gmail.com
Sat Jun 28 07:28:50 PDT 2008


On Sat, 2008-06-28 at 09:43 +0100, Richard Hughes wrote:
> DON'T DO THIS:
> http://cgit.freedesktop.org/pm-utils/tree/pm/power.d/harddrive?h=powersave-hooks&id=ffe7052795e5ef8b64cb01c166e0993923e391af
> 
> Spinning down the drive like this is a _very_ quick way to kill a
> desktop or server. Laptop drivers are (sometimes) designed for this, but
> spinning down a server disk a few times per hour kills it after a few
> months. There are must better heuristics to spin down a drive, and
> ac/battery is not one of them. 

Hmmm... these settings have worked well for me over the years.  What are
these better heuristics?

> Using your hook would kill even a laptop
> drive very quickly -- as Linux userspace has not yet been fixed not to
> spin the disk up frequently it can easily hit the 5000-50000
> spinup/spindown cycles in a year or so.
> 
> The other hooks look pretty sane on initial inspection, so the branch is
> a step in the right direction. It's just the spindown hook I'm violently
> opposed to.

OK, do we have a better method of reducing hard drive power consumption
when running on battery?

> Richard.
> 
> 
-- 
Victor Lowther
Ubuntu Certified Professional



More information about the Pm-utils mailing list