2002-10-31 14:31:36

by Robert L. Harris

[permalink] [raw]
Subject: Reiser vs EXT3



Still working on that replacement mail server and a new rumor has hit
the mix. It follows that reiserfs is much faster than ext3 (made ext3,
not converted from ext2 if it matters) and this is causing some
problems. On a 200Gig filesystem is this truely an issue?

Thanks,
Robert


:wq!
---------------------------------------------------------------------------
Robert L. Harris

DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
FYI:
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'


2002-10-31 18:58:48

by Dave Hansen

[permalink] [raw]
Subject: Re: Reiser vs EXT3

On Thu, 2002-10-31 at 06:19, Robert L. Harris wrote:
>
> Still working on that replacement mail server and a new rumor has hit
> the mix. It follows that reiserfs is much faster than ext3 (made ext3,
> not converted from ext2 if it matters) and this is causing some
> problems. On a 200Gig filesystem is this truely an issue?

ext3 has some SMP scalability problems. The BKL is used to protect many
journal operations, and we see huge amounts of CPU spent spinning on it
on 4/8/16 proc machines. So much CPU, that it masks anything else we're
doing on the system. But, on a single-proc or just a 2-way, you
probably won't see much of this to be significant.

We haven't tested reiser extensively here, but from what I've seen it
scales much, much better than ext3 (as does jfs and probably xfs too).
--
Dave Hansen
[email protected]

2002-10-31 20:25:11

by Samuel Flory

[permalink] [raw]
Subject: Re: Reiser vs EXT3

Robert L. Harris wrote:

> Still working on that replacement mail server and a new rumor has hit
>the mix. It follows that reiserfs is much faster than ext3 (made ext3,
>not converted from ext2 if it matters) and this is causing some
>problems. On a 200Gig filesystem is this truely an issue?
>
>
>

Have you tried different ext3 journalling modes? Ordered is pretty
slow in many cases. You might want to try writeback instead. The
downside is that you might end up losing resently written changes in the
event of a crash. Try mounting with "-o data=writeback".


2002-10-31 20:53:20

by David Lang

[permalink] [raw]
Subject: Re: Reiser vs EXT3

note that breaking up this locking bottleneckhas been done in the 2.5
kernel series so when 2.6 is released this should be much less significant
(Q2 2003 is the current thought, but don't count on it until it's out)

David Lang

On 31 Oct 2002, David C. Hansen wrote:

> Date: 31 Oct 2002 11:02:49 -0800
> From: David C. Hansen <[email protected]>
> To: Robert L. Harris <[email protected]>
> Cc: Linux-Kernel <[email protected]>
> Subject: Re: Reiser vs EXT3
>
> On Thu, 2002-10-31 at 06:19, Robert L. Harris wrote:
> >
> > Still working on that replacement mail server and a new rumor has hit
> > the mix. It follows that reiserfs is much faster than ext3 (made ext3,
> > not converted from ext2 if it matters) and this is causing some
> > problems. On a 200Gig filesystem is this truely an issue?
>
> ext3 has some SMP scalability problems. The BKL is used to protect many
> journal operations, and we see huge amounts of CPU spent spinning on it
> on 4/8/16 proc machines. So much CPU, that it masks anything else we're
> doing on the system. But, on a single-proc or just a 2-way, you
> probably won't see much of this to be significant.
>
> We haven't tested reiser extensively here, but from what I've seen it
> scales much, much better than ext3 (as does jfs and probably xfs too).
> --
> Dave Hansen
> [email protected]
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

2002-10-31 21:45:55

by Hans Reiser

[permalink] [raw]
Subject: Re: Reiser vs EXT3

If you want to talk about 2.6 then you should talk about reiser4 not
reiserfs v3, and reiser4 is 7.6 times the write performance of ext3 for
30 copies of the linux kernel source code using modern IDE drives and
modern processors on a dual-CPU box, so I don't think any amount of
improved scalability will make ext3 competitive with reiser4 for
performance usages.

We haven't had anyone test performance using RAID yet for reiser4, that
could be fun.

Best,

Hans


David Lang wrote:

>note that breaking up this locking bottleneckhas been done in the 2.5
>kernel series so when 2.6 is released this should be much less significant
>(Q2 2003 is the current thought, but don't count on it until it's out)
>
>David Lang
>
>On 31 Oct 2002, David C. Hansen wrote:
>
>
>
>>Date: 31 Oct 2002 11:02:49 -0800
>>From: David C. Hansen <[email protected]>
>>To: Robert L. Harris <[email protected]>
>>Cc: Linux-Kernel <[email protected]>
>>Subject: Re: Reiser vs EXT3
>>
>>On Thu, 2002-10-31 at 06:19, Robert L. Harris wrote:
>>
>>
>>> Still working on that replacement mail server and a new rumor has hit
>>>the mix. It follows that reiserfs is much faster than ext3 (made ext3,
>>>not converted from ext2 if it matters) and this is causing some
>>>problems. On a 200Gig filesystem is this truely an issue?
>>>
>>>
>>ext3 has some SMP scalability problems. The BKL is used to protect many
>>journal operations, and we see huge amounts of CPU spent spinning on it
>>on 4/8/16 proc machines. So much CPU, that it masks anything else we're
>>doing on the system. But, on a single-proc or just a 2-way, you
>>probably won't see much of this to be significant.
>>
>>We haven't tested reiser extensively here, but from what I've seen it
>>scales much, much better than ext3 (as does jfs and probably xfs too).
>>--
>>Dave Hansen
>>[email protected]
>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>>the body of a message to [email protected]
>>More majordomo info at http://vger.kernel.org/majordomo-info.html
>>Please read the FAQ at http://www.tux.org/lkml/
>>
>>
>>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to [email protected]
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml
>
>
>
>


--
Hans


2002-10-31 22:00:09

by Jeff Garzik

[permalink] [raw]
Subject: Re: Reiser vs EXT3

Hans Reiser wrote:

> If you want to talk about 2.6 then you should talk about reiser4 not
> reiserfs v3, and reiser4 is 7.6 times the write performance of ext3
> for 30 copies of the linux kernel source code using modern IDE drives
> and modern processors on a dual-CPU box, so I don't think any amount
> of improved scalability will make ext3 competitive with reiser4 for
> performance usages.


What is the read performance like?

write performance isn't the end-all be-all of useful benchmarks, because
most servers do far more reading in a day than they will ever write.
And like Andrew has pointed out on more than one occasion, reads are
usually synchronous, because applications are typically blocking until
each read is satisfied.

Jeff




2002-10-31 22:07:11

by Dave Hansen

[permalink] [raw]
Subject: Re: Reiser vs EXT3

On Thu, 2002-10-31 at 13:51, Hans Reiser wrote:
> If you want to talk about 2.6 then you should talk about reiser4 not
> reiserfs v3, and reiser4 is 7.6 times the write performance of ext3 for
> 30 copies of the linux kernel source code using modern IDE drives and
> modern processors on a dual-CPU box, so I don't think any amount of
> improved scalability will make ext3 competitive with reiser4 for
> performance usages.
>
> We haven't had anyone test performance using RAID yet for reiser4, that
> could be fun.

I have a 14-drive hardware RAID array on an 8-proc box. Is that the
kind of thing you want testing on? If you want to send me some testing
scripts, I'll run them.

--
Dave Hansen
[email protected]

2002-10-31 22:09:45

by Dave Hansen

[permalink] [raw]
Subject: Re: Reiser vs EXT3

On Thu, 2002-10-31 at 12:49, David Lang wrote:
> note that breaking up this locking bottleneckhas been done in the 2.5
> kernel series so when 2.6 is released this should be much less significant
> (Q2 2003 is the current thought, but don't count on it until it's out)

Actually, ext3 has been immune from most of the lock breakups in 2.5.
ext2 used to have a lot of problems with BKL contention resulting from
ext2_get_block() and some other assorted functions. Al Viro cleaned
these up in early 2.5, but ext3 never got the cleanup. It still scales
horribly, even 2.5.45.

--
Dave Hansen
[email protected]

2002-10-31 22:11:15

by Hans Reiser

[permalink] [raw]
Subject: Re: Reiser vs EXT3

David C. Hansen wrote:

>On Thu, 2002-10-31 at 13:51, Hans Reiser wrote:
>
>
>>If you want to talk about 2.6 then you should talk about reiser4 not
>>reiserfs v3, and reiser4 is 7.6 times the write performance of ext3 for
>>30 copies of the linux kernel source code using modern IDE drives and
>>modern processors on a dual-CPU box, so I don't think any amount of
>>improved scalability will make ext3 competitive with reiser4 for
>>performance usages.
>>
>>We haven't had anyone test performance using RAID yet for reiser4, that
>>could be fun.
>>
>>
>
>I have a 14-drive hardware RAID array on an 8-proc box. Is that the
>kind of thing you want testing on? If you want to send me some testing
>scripts, I'll run them.
>
>
>
Yes, that would be cool.

Green, please respond to this email with details for him.

--
Hans


2002-10-31 22:45:47

by Dieter Nützel

[permalink] [raw]
Subject: Re: Reiser vs EXT3

Am Donnerstag, 31. Oktober 2002 22:05 schrieb Jeff Garzik:
> Hans Reiser wrote:
>
> > If you want to talk about 2.6 then you should talk about reiser4 not
> > reiserfs v3, and reiser4 is 7.6 times the write performance of ext3
> > for 30 copies of the linux kernel source code using modern IDE drives
> > and modern processors on a dual-CPU box, so I don't think any amount
> > of improved scalability will make ext3 competitive with reiser4 for
> > performance usages.
>
> What is the read performance like?

>From his mentioned paper http://www.namesys.com/v4/fast_reiser4.html, it is
more then doubled compared to ext3 and ReiserFS v3.

To be fair he should explain if it was compared to the latest ext3 (htree)
stuff or not, yet.

It looks truly impressive.

Regards,
Dieter

--
Dieter N?tzel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
@home: Dieter.Nuetzel at hamburg.de (replace at with @)

2002-10-31 22:57:33

by Matthew Kirkwood

[permalink] [raw]
Subject: Re: Reiser vs EXT3

On Thu, 31 Oct 2002, Jeff Garzik wrote:

> > reiser4 is 7.6 times the write performance of ext3
> > for 30 copies of the linux kernel source code using modern IDE drives

> What is the read performance like?
>
> write performance isn't the end-all be-all of useful benchmarks,
> because most servers do far more reading in a day than they will ever
> write.

I'm not sure how true that is these days. OLTP DB servers
with a lot of RAM will typically do more write traffic, all
pushed by fsync, than reads. (Some may claim that that
means your server is overspecced, of course.)

Other servers, too, look rather like that -- mail servers
do a lot of fsync, web servers generally have smallish web
trees but write a lot of logs...

Even on data warehousing apps, there will be a fairly high
level of writes due to use of temporary relations..

Matthew.

2002-11-01 00:39:59

by Kevin Brosius

[permalink] [raw]
Subject: Re: Reiser vs EXT3

> David C. Hansen wrote:
>
> >On Thu, 2002-10-31 at 13:51, Hans Reiser wrote:
> >
> >
> >>If you want to talk about 2.6 then you should talk about reiser4 not
> >>reiserfs v3, and reiser4 is 7.6 times the write performance of ext3 for
> >>30 copies of the linux kernel source code using modern IDE drives and
> >>modern processors on a dual-CPU box, so I don't think any amount of
> >>improved scalability will make ext3 competitive with reiser4 for
> >>performance usages.
> >>
> >>We haven't had anyone test performance using RAID yet for reiser4, that
> >>could be fun.
> >>
> >>
> >
> >I have a 14-drive hardware RAID array on an 8-proc box. Is that the
> >kind of thing you want testing on? If you want to send me some testing
> >scripts, I'll run them.
> >
> >
> >
> Yes, that would be cool.
>
> Green, please respond to this email with details for him.


I have access to a 3 drive hw RAID system with dual processors if you'd
like some more testing. Do you have info on recommended stripe sizes
vs. performance for Reiser using RAID?

--
Kevin

2002-11-01 01:20:06

by David Lang

[permalink] [raw]
Subject: Re: Reiser vs EXT3

One thing that concerns me is the warning to only use a filesystem created
in a certin way for the benchmark, don't use a tar of an ext2/3 filesystem
as that will kill performance.

they say taht there will be a tool to fix this in 4.1, but this makes me
treat the benchmark as a 'best possible' test case and expect the
real-world performance to be considerably worse (how much worse who knows,
I haven't seen anyone try to do worst-case performance tests on it)

David Lang


On Thu, 31 Oct 2002, Dieter [iso-8859-15] N?tzel wrote:

> Date: Thu, 31 Oct 2002 23:52:07 +0100
> From: "Dieter [iso-8859-15] N?tzel" <[email protected]>
> To: Jeff Garzik <[email protected]>
> Cc: Hans Reiser <[email protected]>,
> Linux Kernel <[email protected]>, [email protected]
> Subject: Re: Reiser vs EXT3
>
> Am Donnerstag, 31. Oktober 2002 22:05 schrieb Jeff Garzik:
> > Hans Reiser wrote:
> >
> > > If you want to talk about 2.6 then you should talk about reiser4 not
> > > reiserfs v3, and reiser4 is 7.6 times the write performance of ext3
> > > for 30 copies of the linux kernel source code using modern IDE drives
> > > and modern processors on a dual-CPU box, so I don't think any amount
> > > of improved scalability will make ext3 competitive with reiser4 for
> > > performance usages.
> >
> > What is the read performance like?
>
> From his mentioned paper http://www.namesys.com/v4/fast_reiser4.html, it is
> more then doubled compared to ext3 and ReiserFS v3.
>
> To be fair he should explain if it was compared to the latest ext3 (htree)
> stuff or not, yet.
>
> It looks truly impressive.
>
> Regards,
> Dieter
>
> --
> Dieter N?tzel
> Graduate Student, Computer Science
>
> University of Hamburg
> Department of Computer Science
> @home: Dieter.Nuetzel at hamburg.de (replace at with @)
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>