Re: reiser4 plugins

Alex Zarochentsev
2004-08-29T11:49:16Z

On Fri, Aug 27, 2004 at 05:29:07PM -0500, Steve Bergman wrote:
> 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.

it works on our test servers which are SuSE9.0/9.1.

I think there is a dependency on system utilities, "Done" is not printed by
mongo.pl or any other program from the mongo package.

It would be nice to tell us what linux distro you are using and what mongo
phase fails.

> Thanks,
> Steve Bergman

Thanks.

--
Alex.