From: Frederic Weisbecker <fweisbec@gmail.com>
To: Al Viro <viro@zeniv.linux.org.uk>
Cc: Reiserfs <reiserfs-devel@vger.kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
Frederic Weisbecker <fweisbec@gmail.com>,
Jeff Mahoney <jeffm@suse.com>,
Chris Mason <chris.mason@oracle.com>, Ingo Molnar <mingo@elte.hu>,
Alexander Beregalov <a.beregalov@gmail.com>
Subject: [PATCH] kill-the-bkl/reiserfs: update
Date: Thu, 14 May 2009 04:00:48 +0200 [thread overview]
Message-ID: <1242266449-21121-1-git-send-email-fweisbec@gmail.com> (raw)
Hi,
Here is a new patch which increases the performances with
reiserfs using a mutex instead of the bkl.
Now I've compared with dbench on a fresh and empty reiserfs
partition with 64 GB and the results are better with the mutex than with
the bkl.
Also this new patch increases the throughput a bit more.
Dbench on SMP (2 Cpus), Preempt and 100 threads during 400 seconds:
Bkl: 37.6764 MB/sec
Mutex, before this patch: 39.4532 MB/sec
Mutex, after this patch: 40.3758 MB/sec
The following graph shows better the difference:
http://kernel.org/pub/linux/kernel/people/frederic/dbench.pdf
So it looks like on some cases, it is faster (fresh filesystem ?)
and sometimes slower (filesystem already well filled ?).
Of course it is also supposed to be faster on parallel multiple partitions
accesses but I have no benchmark yet to show that.
The following changes since commit 2989c5541d5ab1138e538f8c713f491f7b2416b1:
Frederic Weisbecker (1):
kill-the-bkl/reiserfs: use mutex_lock in reiserfs_mutex_lock_safe
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git
kill-the-bkl/reiserfs
Frederic Weisbecker (1):
kill-the-bkl/reiserfs: unlock only when needed in search_by_key
fs/reiserfs/stree.c | 42 ++++++++++++++++++++++++++++++++++--------
1 files changed, 34 insertions(+), 8 deletions(-)
next reply other threads:[~2009-05-14 2:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-14 2:00 Frederic Weisbecker [this message]
2009-05-14 2:00 ` [PATCH] kill-the-bkl/reiserfs: unlock only when needed in search_by_key Frederic Weisbecker
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=1242266449-21121-1-git-send-email-fweisbec@gmail.com \
--to=fweisbec@gmail.com \
--cc=a.beregalov@gmail.com \
--cc=chris.mason@oracle.com \
--cc=jeffm@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=reiserfs-devel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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
all inboxes | Powered by JetHome®