From: Theodore Ts'o <tytso@mit.edu>
To: Benjamin LaHaise <bcrl@kvack.org>
Cc: Andreas Dilger <adilger@dilger.ca>,
Ext4 Developers List <linux-ext4@vger.kernel.org>
Subject: Re: high write latency bug in ext3 / jbd in 3.4
Date: Mon, 13 Jan 2014 22:52:37 -0500 [thread overview]
Message-ID: <20140114035237.GA27083@thunk.org> (raw)
In-Reply-To: <20140114012121.GF1214@kvack.org>
On Mon, Jan 13, 2014 at 08:21:21PM -0500, Benjamin LaHaise wrote:
> Another reason for not being able to migrate to extents is that it breaks
> the ability of our system to be downgraded smoothly. The previous kernel
> being used was of 2.6.18 vintage, so this is the first version of our
> product that supports using ext4. There were also concerns about testing
> both the extent and non-extent code paths as well -- regression tests take
> months to complete, so adding a times 2 multiplier to everything is a hard
> sell.
Well, you can use ext4 without enabling extents; at that point the
major performance improvement is those related to delayed allocation.
That should address your large latency associated with file system
commits. That's because we don't allocate blocks until right before
we allocate them. Hence, we don't have to force those blocks out to
the journal in order to guarantee the data=ordered guarantees.
You can probably also avoid the huge latency spikes you are seeing by
using data=writeback, BTW, but of course then you risk stale data
issues after a crash.
- Ted
next prev parent reply other threads:[~2014-01-14 3:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-13 20:13 high write latency bug in ext3 / jbd in 3.4 Benjamin LaHaise
2014-01-13 21:01 ` Andreas Dilger
2014-01-13 21:16 ` Benjamin LaHaise
2014-01-13 21:39 ` Eric Sandeen
2014-01-13 22:52 ` Theodore Ts'o
2014-01-14 0:55 ` Andreas Dilger
2014-01-14 1:01 ` Eric Sandeen
2014-01-14 1:21 ` Benjamin LaHaise
2014-01-14 3:52 ` Theodore Ts'o [this message]
2014-01-27 23:55 ` Jan Kara
2014-01-28 16:06 ` Benjamin LaHaise
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=20140114035237.GA27083@thunk.org \
--to=tytso@mit.edu \
--cc=adilger@dilger.ca \
--cc=bcrl@kvack.org \
--cc=linux-ext4@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).