lkml.org 
[lkml]   [2003]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.919 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site