Re: Strange load spikes on 2.4.19 kernel

From: Andrew Morton (akpm@digeo.com)
Date: Sat Oct 12 2002 - 01:44:18 EST


Rob Mueller wrote:
>
> > If it was this, one would expect it to happen every time you'd written
> > 0.75 * 192 Mbytes to the filesystem. Which seems about right.
> >
> > Easy enough to test though.
>
> Hmmm, so why wouldn't the journal be flushing more regularly (the 5 seconds
> it's claiming in desg), or is that something we should ask on the ext3 list?

It commits your changes to the journal every five seconds. But your data
is then only in the journal. It still needs to be written into your files.
That writeback is controlled by the normal kernel 30-second writeback
timing. If that writeback isn't keeping up, kjournald needs to
force the writeback so it can recycle that data's space in the journal.

While that writeback is happening, everything tends to wait on it.

It is suspected that ext3 gets the flushtime on those buffers
wrong as well, so the writeback isn't happening right.

> Apart from remounting the filesystem, is there any easy way to test this
> (again, silly mounted as /, so I think it's a reboot every time to try a new
> mounting configuration?)
>

You'll need to reboot.
-
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 : Tue Oct 15 2002 - 22:00:42 EST