Re: Strange load spikes on 2.4.19 kernel

Andrew Morton
2002-10-12T06:38:37Z

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.