From: Ric Wheeler <rwheeler@redhat.com>
To: Solofo.Ramangalahy@bull.net, Arjan De Ven <arjan.van.de.ven@intel.com>
Cc: Eric Sandeen <sandeen@redhat.com>,
Ric Wheeler <rwheeler@redhat.com>,
"Theodore Ts'o" <tytso@mit.edu>,
linux-ext4@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: jbd/jbd2 performance improvements
Date: Thu, 23 Oct 2008 08:00:24 -0400 [thread overview]
Message-ID: <49006758.9020901@redhat.com> (raw)
In-Reply-To: <18688.21800.641991.52484@frecb006361.adech.frec.bull.fr>
Solofo.Ramangalahy@bull.net wrote:
>>>>>> On Thu, 16 Oct 2008 07:39:04 -0500, Eric Sandeen <sandeen@redhat.com> said:
>>>>>>
> >> A very thorough test, but the results don't seem to point to a
> >> consistent winner.
> >>
> >> I agree that running without KVM in the picture might be very
> >> interesting. Eric has some similar tests underway, I think that
> >> his results were also inconclusive so far...
>
> Eric> Yep, I've yet to find an fs_mark invocation, at least, which
> Eric> shows a clear winner. I also ran w/ akpm's suggested
> Eric> io_schedule watcher patch and never see us waiting on this
> Eric> lock (I did set it to 1s though, which is probably too long
> Eric> for my storage).
>
> I've redone the tests without kvm. Still no clear winner
>
> To sum up:
> . kernel ext4-stable
> . mkfs (1.41.3) default options
> . mount options: default, akpm, akpm_lock_hack
> . scheduler default (cfq)
> . 8 cpus, single 15K rpm disk.
> . without the high latency detection patch
> . a broad range of fs_mark (all the sync strategies, from 1 to 32
> threads, up to 10000 files/thread, several directories).
> . a "tangled synchrony" workload as mentionned in the "Analysis and
> evolution of journaling file systems" paper discussed monday.
>
> First things first, maybe I should have spent more time
> reproducing Arjan behavior before testing.
>
> This was not a complete waste of time though, as the following errors
> were spotted during the runs:
> 1. EXT4-fs error (device sdb): ext4_free_inode: bit already cleared for inode 32769
> 2. EXT4-fs error (device sdb): ext4_init_inode_bitmap: Checksum bad for group 8
> 3. BUG: spinlock wrong CPU on CPU#3, fs_mark/1975
> lock: ffff88015a44f480, .magic: dead4ead, .owner: fs_mark/1975, .owner_cpu: 1
> Pid: 1975, comm: fs_mark Not tainted 2.6.27.1-ext4-stable-gcov #1
>
> Call Trace:
> [<ffffffff811a47a2>] spin_bug+0xa2/0xaa
> [<ffffffff811a481f>] _raw_spin_unlock+0x75/0x8a
> [<ffffffff814552c1>] _spin_unlock+0x26/0x2a
> [<ffffffffa00d4fd3>] ext4_read_inode_bitmap+0xfa/0x14e [ext4]
> [<ffffffffa00d564b>] ext4_new_inode+0x5d4/0xec4 [ext4]
> [<ffffffff810562db>] ? __lock_acquire+0x481/0x7d8
> [<ffffffffa00c2430>] ? jbd2_journal_start+0xef/0x11a [jbd2]
> [<ffffffffa00c2430>] ? jbd2_journal_start+0xef/0x11a [jbd2]
> [<ffffffffa00deb99>] ext4_create+0xc7/0x144 [ext4]
> [<ffffffff810b6734>] vfs_create+0xdf/0x155
> [<ffffffff810b8905>] do_filp_open+0x220/0x7fc
> [<ffffffff814552c1>] ? _spin_unlock+0x26/0x2a
> [<ffffffff810abe5a>] do_sys_open+0x53/0xd3
> [<ffffffff810abf03>] sys_open+0x1b/0x1d
> [<ffffffff8100bf8b>] system_call_fastpath+0x16/0x1b
>
> Anybody seen this in their logs?
>
> The "bit already cleared for inode" is triggered by:
> fs_mark -v -d /mnt/test-ext4 -n10000 -D10 -N1000 -t8 -s4096 -S0
>
>
Arjan,
Do you have any details on the test case that you ran that showed a
clear improvement? What kind of storage & IO pattern did you use?
Regards,
Ric
next prev parent reply other threads:[~2008-10-23 12:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-07 13:14 jbd/jbd2 performance improvements Theodore Ts'o
2008-10-15 17:29 ` Ric Wheeler
2008-10-16 6:04 ` Solofo.Ramangalahy
2008-10-16 12:06 ` Ric Wheeler
2008-10-16 12:39 ` Eric Sandeen
2008-10-23 10:42 ` Solofo.Ramangalahy
2008-10-23 12:00 ` Ric Wheeler [this message]
2008-10-23 12:22 ` Solofo.Ramangalahy
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=49006758.9020901@redhat.com \
--to=rwheeler@redhat.com \
--cc=Solofo.Ramangalahy@bull.net \
--cc=akpm@linux-foundation.org \
--cc=arjan.van.de.ven@intel.com \
--cc=linux-ext4@vger.kernel.org \
--cc=sandeen@redhat.com \
--cc=tytso@mit.edu \
/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.