Reiserfs vs ext3

Andreas Happe news_0403 at flatline.ath.cx
Thu Mar 10 17:05:46 UTC 2005


On 2005-03-09, Karl Hegbloom <hegbloom at pdx.edu> wrote:
> On Tue, 2005-03-08 at 10:54 -0500, Matthew S-H wrote:
>> What are the differences between reiserfs and ext3?  Like, what are the 
>> advantages and disadvantages?
>
> Reiserfs uses a btree (IIRC) structure to organize the directory (and
> data?), so it's a lot faster to find a particular file in a directory
> with many files in it --- O(log(n)), vs O(n).

tune2fs -O dir_index /dev/hda1.

enables tree structures (instead of the linked lists) for inodes.

>It also can combine file 'tails' on single blocks.  The last part of a
>file, that does not fill an entire block, can be placed on a block
>shared by the tail of another file.  This saves disk space and can cut
>down on reads from the hard drive in the case where both files are
>needed at once --- eg. compilation.

I think that I've read that the notails mount option should be used for
performance test.. and I thought that the tail was saved with the inode
(if there's enough space left).

	//Andreas





More information about the ubuntu-users mailing list