Skip to contentSkip to conversation

Reiser4 bitmap & replication handling

DISCUSSION Fred -- Speed Up -- 3 participants 4 messages May 20, 2003 – May 23, 2003 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

I just read this article about XFS :
http://www-106.ibm.com/developerworks/library/l-fs9.html

It says XFS uses B+Trees as Reiser4 does, and it uses this structure to store not only the keys, but also the bitmap data and replicates it storage trees to improve scalability and overall wide-disk performance. It also tries to allocate the largest contigous blocks to a file (but Reiser4 does this also), and comes close to raw performance when reading large files. The article concludes XFS is faster than Reiser (3.6 I think, as the article has been published in 2002 by Gentoo CEO Daniel Robbins) with performance tweaks at mount time. But how does Reiser4 ?

How many times does Reiser replicate and/or truncate its tree, and what structure has been chosen for bitmap data ? Does Reiser4 divide the disk space in chunks, as XFS and ext2 do ?
Are you implementing some special features for very large disks, RAID systems and multi-processing hardware ? Is the developement far enough to get an idea of the final performance ? I didn't remember, when do you plan to release Reiser4 ?

I'm very interested in those brand new filesystem techniques, for now I think we can consider that XFS and Reiser3 are very close in overall performance. You're saying in the doc you'd like to keep on offering the best performance in the market : are you really that far ?

Fred

#1 lore raw
Quoted 5 lines · Fred -- Speed Up --

I just read this article about XFS :
http://www-106.ibm.com/developerworks/library/l-fs9.html

It says XFS uses B+Trees as Reiser4 does, and it uses this structure to store not only the keys, but also the bitmap data and replicates it storage trees to improve scalability and overall wide-disk performance. It also tries to allocate the largest contigous blocks to a file (but Reiser4 does this also), and comes close to raw performance when reading large files. The article concludes XFS is faster than Reiser

well, his words are not quite that strong, and who knows if he is using the latest journaling patches but XFS is a very nice filesystem.....

Quoted 2 lines

(3.6 I think, as the article has been published in 2002 by Gentoo CEO Daniel Robbins) with performance tweaks at mount time.

Which he does not define, so we cannot reproduce it.

Quoted 3 lines

But how does Reiser4 ?

Well, Reiser4 has much fewer seeks than other filesystems usually. The current weakness of Reiser4 is CPU consumption, but our team is cutting that down at great speed. It seems like each team member manages to reduce it by >10% a week, and there are 3 of them working actively on that. This is fortunate, because it is still very high..... I have this fond hope that performance will be something very nice by LinuxTag.....;-)

Quoted 2 lines

How many times does Reiser replicate

what do you mean, replicate the tree?

Quoted 2 lines

and/or truncate its tree, and what structure has been chosen for bitmap data ?

bitmaps.;-) we have some nice little tweaks, like we count the number of used bits in every bitmap block so that we don't have to scan full blocks, and we hash around if we scan too much, but I have to say that bitmaps are nice and simple and work without a lot of code.

Quoted 2 lines

Does Reiser4 divide the disk space in chunks, as XFS and ext2 do ?

No. We experimented a little bit with that, and didn't get clear advantages. My mind is still open though if someone shows me something compelling.

Quoted 2 lines

Are you implementing some special features for very large disks,

how are they different

Quoted 2 lines

RAID systems

Reiser4 will happen to work very well for them without understanding them (not entirely a coincidence). I have as yet to get someone to fund tuning for them specifically, though it would probably yield benefits to do so.

Quoted 2 lines

and multi-processing hardware

Reiser4 made a massive code investment into fine-grained locking.

Quoted 2 lines

Is the developement far enough to get an idea of the final performance ?

Reiser4 inconsistently performs very very fast. We have no doubt that we can make that consistent but it is a lot of measuring and tweaking and measuring and tweaking.....

Quoted 2 lines

I didn't remember, when do you plan to release Reiser4 ?

LinuxTag, July 11, if lucky, we will start our beta.

Quoted 6 lines

I'm very interested in those brand new filesystem techniques, for now I think we can consider that XFS and Reiser3 are very close in overall performance. You're saying in the doc you'd like to keep on offering the best performance in the market : are you really that far ?

Fred

Signature · 1 line
Hans

A message that is not in the archive (sent off-list or not yet received): 001701c31fb4$69e14090$b300a8c0@xpstation

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Here are Hans's interesting answers to my previous post, thank you Hans ;) Just a little question : when do you plan to update the kernel patch, which is 3 month old ?

Fred

Quoted 1 line
Quoted 1 line

Maybe some really big files handling performance improvements, to near

XFS

Quoted 2 lines
Quoted 2 lines

performance in this domain. I'm not really concerned, but some specific systems may need such features only offered by XFS. Do you plan to

release

Quoted 1 line
Quoted 1 line

different versions of the filesystem's plugins to adapt to different

systems

Quoted 10 lines
Quoted 1 line

ans situations ?

Large file performance is not really considered the hard thing in FS design (unless you do data journaling or atomicity, in which case we are twice as fast).

Quoted 4 lines
Quoted 3 lines

Reiser4 inconsistently performs very very fast. We have no doubt that we can make that consistent but it is a lot of measuring and tweaking and measuring and tweaking.....

Sorry but ... what do you mean by "unconsistently" ? Does this mean you

only

Quoted 16 lines
Quoted 1 line

consider avarage performance, ignoring worse cases ?

I mean we have lots of crud left to clean out of the code. If you test it in a way that avoids the crud, we are fast, if you hit the crud we are slow. Decrudding is in progress.;-)

Quoted 6 lines

Another question, do you want to release Reiser4 so that it will be presented on LinuxTag because :
1- The developement team is mainly composed of german people 2- Suse will have a very big area on the show
3- The release date just accorded to the LinuxTag opening 4- All of you especially like LinuxTag :-D

I like LinuxTag, and I am speaking there, and if we can release it then without rushing the code, it will be nice. No promises, the code ships when the code is ready and not before....

#5 lore raw

Hello!

Quoted 3 lines · Fred -- Speed Up --

Here are Hans's interesting answers to my previous post, thank you Hans ;) Just a little question : when do you plan to update the kernel patch, which is 3 month old ?

I hope to do it soon enough. Perhaps even before the end of (this) May ;)

Bye,
Oleg