Re: Power Mgt on Laptop
On Sat, 3 Apr 2004, Sylvain Joyeux wrote:
> AFAIK, on ext3, the commit interval can't be changed. So, every time a
> process write sth on disk, the journal commit occurs physically within
> something like 10s.
The "laptop-mode patch" makes the interval adjustable at mount time. The
-mm kernels include this patch for 2.6. Try:
It is in the "broken-out" subdirectory under the appropriate kernel
version. Recent 2.4 kernels already have it IIRC, but it isn't an
official part of 2.6 yet. The Documentation subdirectory of the source
tree has usage info if the patch has been applied.
> Moreover, without noflushd, the kernel buffers are flushed every 30s (or
> less, I can't remember)
The same patch also tweaks this.
-| Bob Hauck
-| To Whom You Are Speaking