Re: laptop mode for 2.4.23-pre4 and up

From: Pavel Machek
Date: Thu Sep 18 2003 - 06:41:07 EST


Hi!

> +So what does the laptop mode patch do? It attempts to fully utilize the
> +hard drive once it has been spun up, flushing the old dirty data out to
> +disk. Instead of flushing just the expired data, it will clean everything.
> +When a read causes the disk to spin up, we kick off this flushing after
> +a few seconds. This means that once the disk spins down again, everything
> +is up to date. That allows longer dirty data and journal expire times.

Another nice touch would be to sync just before spinning down.
noflushd does that... of course it needs software-controlled
spindowns.

--
Pavel
Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/