From: Chris Mason <mason@suse.com>
To: Ricardo Galli <gallir@uib.es>, linux-kernel@vger.kernel.org
Subject: Re: Reiserfs, Mongo and CPU question
Date: Tue, 15 May 2001 11:42:16 -0400 [thread overview]
Message-ID: <1076120000.989941336@tiny> (raw)
In-Reply-To: <NDBBKGPFCLNOBENJJLDDIEBCCHAA.gallir@uib.es>
On Tuesday, May 15, 2001 01:41:01 PM +0200 Ricardo Galli <gallir@uib.es>
wrote:
> Hans and reiserfs developers,
> the same student of my university
> (http://www.cs.helsinki.fi/linux/linux-kernel/2001-18/0654.html) was
> carrying up the mongo benchmarks against reiser, xfs, jfs and ext2 for
> different base sizes.
>
>
> For example, for the base size of 10.000 (the average of a clean
> distribution is about 16.000 bytes) ReiserFS is even slower than ext2.
> I've realised the bottleneck may be the CPU, a Cyrix MII 233MHz.
>
Would not surprise me, there's lots of room for improvement in reiserfs CPU
usage. The 10k size is one of the worst cases for tail performance, those
numbers should increase if you mount with -o notail.
Here's a simple patch that should help on balance instensive apps (like
creates/deletes). Please let me know if you see any difference with it.
-chris
diff -ur diff/linux/fs/reiserfs/fix_node.c linux/fs/reiserfs/fix_node.c
--- diff/linux/fs/reiserfs/fix_node.c Mon Jan 15 18:31:19 2001
+++ linux/fs/reiserfs/fix_node.c Fri Feb 2 15:40:54 2001
@@ -936,6 +936,7 @@
if (p_s_tb->FEB[p_s_tb->cur_blknum])
BUG();
+ mark_buffer_journal_new(p_s_new_bh) ;
p_s_tb->FEB[p_s_tb->cur_blknum++] = p_s_new_bh;
}
prev parent reply other threads:[~2001-05-15 15:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-15 11:41 Reiserfs, Mongo and CPU question Ricardo Galli
2001-05-15 15:42 ` Chris Mason [this message]
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=1076120000.989941336@tiny \
--to=mason@suse.com \
--cc=gallir@uib.es \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox