From: Theodore Tso <tytso@mit.edu>
To: linux-ext4@vger.kernel.org
Subject: Re: ext4 unlink performance
Date: Fri, 14 Nov 2008 09:59:14 -0500 [thread overview]
Message-ID: <20081114145914.GE25117@mit.edu> (raw)
In-Reply-To: <20081114041121.GB11746@untroubled.org>
On Thu, Nov 13, 2008 at 10:11:21PM -0600, Bruce Guenter wrote:
>
> I had been running these benchmarks over dm-crypt (which is the target
> environment for which I was testing). So I re-ran the tests both bare
> and with dm-crypt to compare. The stalls reported by vmstat did not
> show up when running the test bare.
>
> I also sat and watched the drive LED while the unlink test was running.
> The drive LED showed the occasional 1/2 second stall, but at the same
> time vmstat was showing 5-20 second stalls, so there that would seem to
> point to some kind of reporting problem.
Yeah, I'm guessing that's a red herring caused by how dm-crypt works.
The blocks had already been posted to block device, but it was taking
a while for the blocks to be written out to disk.
This is beginning to perhaps sound like a layout problem of some kind.
How big is the filesystem that you are testing against? I'm guessing
that if you have 725,000 small files, that it can't be much more than
a gig or two, right?
Can you send me the output of
e2image -r /dev/XXX - | bzip2 ext4.e2i.bz2
for both the ext4 and ext3 filesystems, after you have loaded them
with your small files, and before you delete them? This will show me
the where all of the files are located, and in fact I'll be able to
replicate the delete workload on my end and see exactly what's going on.
I will see the directory and file names of your workload, but
hopefully that won't be an issue for you. Thanks,
- Ted
next prev parent reply other threads:[~2008-11-14 14:59 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-13 18:57 ext4 unlink performance Bruce Guenter
2008-11-13 19:10 ` Bruce Guenter
2008-11-13 20:42 ` Theodore Tso
2008-11-14 4:11 ` Bruce Guenter
2008-11-14 14:59 ` Theodore Tso [this message]
2008-11-14 15:48 ` Bruce Guenter
2008-11-14 15:54 ` Theodore Tso
2008-11-15 20:44 ` Bruce Guenter
2008-11-15 23:08 ` Eric Sandeen
2008-11-16 0:56 ` Theodore Tso
2008-11-16 3:38 ` Bruce Guenter
2008-11-17 0:43 ` Andreas Dilger
[not found] ` <20081119024021.GA10185@mit.edu>
2008-11-19 18:10 ` Andreas Dilger
2008-11-19 21:18 ` Theodore Tso
2008-11-20 22:49 ` Bruce Guenter
2008-11-13 19:46 ` Theodore Tso
2008-11-13 20:27 ` Bruce Guenter
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=20081114145914.GE25117@mit.edu \
--to=tytso@mit.edu \
--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 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.