Re: faster boots?

From: Pavel Machek (pavel@suse.cz)
Date: Mon Apr 08 2002 - 04:57:17 EST


Hi!
> Richard Gooch wrote:
> >
> > But I *want* to write while the drive is spun down. And leave it spun
> > down until the system is RAM starved (or some threshold is reached).
> >
>
> Yes. The desirable behaviour for laptops is to defer writes
> for a very long time, or until the user says "sync".
>
> Mechanisms need to be put in place so that if there are pending
> writes and the disk happens to be spun up for a read, we take
> advantage of that spinup to push out the pending writes at
> the same time.
>
> This behaviour should be all be enabled by a special "laptop mode"
> switch.
>
> There's nothing particularly hard in all this... I'll do a 2.5
> version at some stage.

Well, noflushd already seems to work pretty well ;-). But I see kernel
support may be required for SCSI.
                                                        Pavel

-- 
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
-
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/



This archive was generated by hypermail 2b29 : Mon Apr 15 2002 - 22:00:10 EST