All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Jan Kara <jack@suse.cz>
Cc: Peter Zijlstra <peterz@infradead.org>,
	David Chinner <dgc@sgi.com>, lkml <linux-kernel@vger.kernel.org>,
	marcelo <marcelo@kvack.org>
Subject: Re: BUG: ext3 hang in transaction commit
Date: Fri, 4 Apr 2008 12:02:42 -0300	[thread overview]
Message-ID: <20080404150242.GA30818@dmt> (raw)
In-Reply-To: <20080404103450.GC477@atrey.karlin.mff.cuni.cz>

On Fri, Apr 04, 2008 at 12:34:50PM +0200, Jan Kara wrote:

> >         Max throughput per process                      =   66393.62 KB/sec
> >         Avg throughput per process                      =   26518.38 KB/sec
> >         Min xfer                                        =   44424.00 KB
> > 
> > And this is when fsync becomes nasty.
>   Could you get for me movies from Seekwatcher (taken on the host) -
> http://oss.oracle.com/~mason/seekwatcher/
>   That should confirm my suspicion. Actually, if writing data in the bad
> order is really the problem than my rewrite of ordered mode in JBD can
> substantially help this workload (I can send you the patches if you dare
> to try something really experimental ;).

OK, will record the animation.

Will be pleased to try your patches. Where can they be found?

> > blktrace output shows that the maximum latency for a single write
> > request io complete is 1.5 seconds, which is similar to what is seen
> > under "writeback" mode.
> > 
> > I reduced hung_task_timeout_secs to 30 for this report, but vim and
> > rsyslogd have been seen hung up to 120 seconds.
> > 
> 
> <snip traces of processes waiting for commit>
> 
> > As Peter mentioned it eventually gets out of this state (after several
> > minutes) and fsync instances complete.
>   Yes, that is just a combined effect of *lots* of ordered data
> accumulated in one transaction (we don't limit amount of ordered data in
> a transaction in any way) and writing them out during transaction order
> in a random order.

  reply	other threads:[~2008-04-04 14:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-26 23:16 BUG: ext3 hang in transaction commit David Chinner
2008-04-03 10:07 ` Jan Kara
2008-04-03 15:08   ` Peter Zijlstra
2008-04-03 16:15     ` Marcelo Tosatti
2008-04-04 10:34       ` Jan Kara
2008-04-04 15:02         ` Marcelo Tosatti [this message]
2008-04-04  1:27   ` David Chinner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080404150242.GA30818@dmt \
    --to=mtosatti@redhat.com \
    --cc=dgc@sgi.com \
    --cc=jack@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@kvack.org \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.