Messages in this thread | | | Date | Thu, 18 Sep 2003 15:00:08 +0200 | From | Jens Axboe <> | Subject | Re: laptop mode for 2.4.23-pre4 and up |
| |
On Wed, Sep 17 2003, Pavel Machek wrote: > 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.
Yeah, my automatic acoustic management patch did that, works well in addition to laptop mode. It's beyond the scope of this patch though, it's just a vm flushing control.
-- Jens Axboe
- 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/
| |