From: Andreas Dilger <adilger@sun.com>
To: Nick Bowler <nbowler@draconx.ca>
Cc: linux-ext4@vger.kernel.org, calvin.walton@gmail.com
Subject: Re: ext3: massive latencies for some write operations
Date: Fri, 26 Jun 2009 06:54:03 +0200 [thread overview]
Message-ID: <20090626045403.GS3385@webber.adilger.int> (raw)
In-Reply-To: <97c719fa0906251918i5b047943yde752774c686f301@mail.gmail.com>
On Jun 25, 2009 22:18 -0400, Nick Bowler wrote:
> I wasn't entirely sure which list to post this on, this one seemed to
> fit best. Apologies if there was a better place.
>
> Please CC any replies to me me as I am not subscribed to the list.
This is a relatively well-known problem with ext3.
> Recently, I've been experiencing enormous (more than a minute)
> latencies during some write operations to my /home filesystem. During
> such a time, many programs tend to completely stop responding,
> although programs doing continuous reads (e.g. music or video players)
> appear to be unaffected.
>
> The filesystem is a 3TB ext3 filesystem on a software raid-5 array (4x
> 1TB drives). Dmesg is completely silent.
>
> I'm on an amd64 running 2.6.30. However, I had these issues on 2.6.26
> and 2.6.29 as well. Latencytop output follows.
>
> LatencyTOP version 0.4 (C) 2008 Intel Corporation
>
> Process amuled (19428) Total: 69182.1 msec
> start_this_handle journal_start ext3_journal_start68746.9 msec 99.4 %
> sync_page __lock_page find_lock_page filemap_fault 84.5 msec 0.3 %
> sync_page sync_page_killable __lock_page_killable 20.9 msec 0.0 %
You have some application that is doing a lot of "fsync" operations,
but because there is likely also a lot of other IO going on the
fsync operations are taking a long time to sync the journal.
If you use ext4 this problem should go away. I would recommend the
FC11 2.6.29 kernel, since it has all of the latest ext4 fixes in it.
If you wanted to throw some hardware at the problem, adding an SSD device
for the journal should also solve the problem for ext3.
Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.
next prev parent reply other threads:[~2009-06-26 4:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-26 2:18 ext3: massive latencies for some write operations Nick Bowler
2009-06-26 4:54 ` Andreas Dilger [this message]
2009-06-27 21:07 ` Nick Bowler
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=20090626045403.GS3385@webber.adilger.int \
--to=adilger@sun.com \
--cc=calvin.walton@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=nbowler@draconx.ca \
/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).