mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kill-the-bkl/reiserfs: update
@ 2009-05-14  2:00 Frederic Weisbecker
  2009-05-14  2:00 ` [PATCH] kill-the-bkl/reiserfs: unlock only when needed in search_by_key Frederic Weisbecker
  0 siblings, 1 reply; 2+ messages in thread
From: Frederic Weisbecker @ 2009-05-14  2:00 UTC (permalink / raw)
  To: Al Viro
  Cc: Reiserfs, LKML, Frederic Weisbecker, Jeff Mahoney, Chris Mason,
	Ingo Molnar, Alexander Beregalov

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(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-14  2:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-14  2:00 [PATCH] kill-the-bkl/reiserfs: update Frederic Weisbecker
2009-05-14  2:00 ` [PATCH] kill-the-bkl/reiserfs: unlock only when needed in search_by_key Frederic Weisbecker

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®