Re: reiser4 plugins

From: Steve Bergman
Date: Fri Aug 27 2004 - 17:40:36 EST


On Fri, 2004-08-27 at 11:15 -0700, Hans Reiser wrote:
> >
> If you ask real users, they say that reiser4 is fast, and their
> experience matches our benchmark. You can criticize the benchmark if
> you want, but then you should run your own and publish it.
>


As a "real" desktop user who just converted all his partitions from ext3
to reiser4, I have not, as yet, noticed any startling performance
increase. Being slightly slightly irked to hear that the benchmark
numbers that have been paraded around on Slashdot and the internet in
general, at ext3's expense, have had reiser4's "bad" results surgically
extracted, I am running my own benchmarks to get the real story on
reiser4/ext3 mongo performance on my, rather average, desktop hardware.

I am using the latest Mongo on FC/rawhide and the 2.6.8.1-mm4 kernel.

Unfortunately, I get an error from mongo.pl that "Done" is not a numeric
argument at line 439.

I have done this to fix it:


--- mongo.pl 2004-08-27 17:07:01.681723313 -0500
+++ mongo_fixed.pl 2004-08-27 17:06:51.369306735 -0500
@@ -429,8 +429,8 @@
if ( -e ${ERR_FILE}) {
&DIE ("\nEXITED WITH FAIL\n");
}
- my $real = (split ' ', $time_output[0])[1];
- my $cpu = (split ' ', $time_output[2])[1];
+ my $real = (split ' ', $time_output[1])[1];
+ my $cpu = (split ' ', $time_output[3])[1];

unless ( $real =~ /\s*\d+/ && $cpu =~ /\s*\d+/) {
LOG "@time_output";


What it gets me is the "real" line of the "time" output for "STAT
REAL_TIME" and the "sys" line of the "time" output for "STAT CPU_TIME".
i.e. only system time is counted. I believe this was the intent of the
original code, but want to verify before continuing.

Thanks,
Steve Bergman

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/