[lkml]   [2001]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: Reiserfs, Mongo and CPU question

On Tuesday, May 15, 2001 01:41:01 PM +0200 Ricardo Galli <>

> Hans and reiserfs developers,
> the same student of my university
> ( 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.


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

+ mark_buffer_journal_new(p_s_new_bh) ;
p_s_tb->FEB[p_s_tb->cur_blknum++] = p_s_new_bh;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:53    [W:0.079 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site