Re: [ext3][kernels >= 2.6.20.7 at least] KDE going comatose when FS is under heavy write load (massive starvation)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Zan Lynx <zlynx@...>
Cc: Linus Torvalds <torvalds@...>, Mike Galbraith <efault@...>, LKML <linux-kernel@...>, Jens Axboe <jens.axboe@...>
Date: Friday, April 27, 2007 - 6:07 pm

On Fri, 27 Apr 2007 13:09:06 -0600
Zan Lynx <zlynx@acm.org> wrote:


In some ways that would be quite neat: if a process does a small write then
fsyncs it, write it all into the journal.  That avoids a seek out to the
file's data blocks.

However it'd be quite hard to do, I expect: we don't know until commit time
how much data has been written to this file (actually, we don't even know
at commit-time, but we could, with quite some work, find out).

But none of this will solve the problem, because even with your optimised
fsync(), we still need to write out bonnie's large file at commit time,
when we fsync() your small write to a different file.

(And when I say "this problem" I refer to the known-about problem which
we're discussing here.  I suspect this in fact isn't Mike's problem - 20
minutes is crazy - it's not attributable to the fsync-syncs-everything
problem unless Mike's GUI is doing a huge numer of separate fsyncs)
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [ext3][kernels &gt;= 2.6.20.7 at least] KDE going comato..., John Anthony Kazos Jr., (Fri Apr 27, 11:41 am)
Re: [ext3][kernels >= 2.6.20.7 at least] KDE going comato..., Andrew Morton, (Fri Apr 27, 6:07 pm)
Re: [ext3][kernels &gt;= 2.6.20.7 at least] KDE going comato..., Miquel van Smoorenburg, (Fri Apr 27, 4:12 pm)