Re: spindown

Simon Huggins (huggie@earth.li)
Mon, 18 Jun 2001 22:21:31 +0200


On Fri, Jun 15, 2001 at 03:23:07PM +0000, Pavel Machek wrote:
> > Roger> It does if you are running on a laptop. Then you do not want
> > Roger> the pages go out all the time. Disk has gone too sleep, needs
> > Roger> to start to write a few pages, stays idle for a while, goes to
> > Roger> sleep, a few more pages, ...
> > That could be handled by a metric which says if the disk is spun
> > down, wait until there is more memory pressure before writing. But
> > if the disk is spinning, we don't care, you should start writing out
> > buffers at some low rate to keep the pressure from rising too
> > rapidly.
> Notice that write is not free (in terms of power) even if disk is
> spinning. Seeks (etc) also take some power. And think about
> flashcards. It certainly is cheaper tha spinning disk up but still not
> free.

Isn't this why noflushd exists or is this an evil thing that shouldn't
ever be used and will eventually eat my disks for breakfast?

Description: allow idle hard disks to spin down
Noflushd is a daemon that spins down disks that have not been read from
after a certain amount of time, and then prevents disk writes from
spinning them back up. It's targeted for laptops but can be used on any
computer with IDE disks. The effect is that the hard disk actually spins
down, saving you battery power, and shutting off the loudest component of
most computers.

http://noflushd.sourceforge.net

Simon.

-- 
[ "CATS. CATS ARE NICE." - Death, "Sourcery"                           ]
        Black Cat Networks.  http://www.blackcatnetworks.co.uk/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/