[wellylug] XFS and JFS

Sam Vilain sam at vilain.net
Thu Jan 31 14:50:57 NZDT 2008


E Chalaron wrote:
> Hi there
> I am thinking of moving a Raid 0 (2 x 500GB) from ext3 to XFS or JFS 
> filesystem.
> Reason is that I usually need to work with 40000 files per directory, 
> which I understand to be a bit pushing it for ext3 and after 30 to 35000 
> files it certainly starts to loose the plot.
> Reliability is not an issue, since files are data which are processed 
> then removed and can be recreated if anything goes wrong.
> OS is on another ext3 disk, I am not mixing data and OS.
> 
> Any advice ?

I've found XFS to not suit this use case at all.  It seems to be for big
files and big files only.  A lot of time I wonder why an operation I'm
doing which is inode intensive is taking so damned long, and then I
remember I made the mistake of formatting my /home as XFS.  And I'm not
the only person to experience this.

I know nothing about JFS.

That ext3 doesn't deal with many files in a directory I think is
out-of-date information.  Did you turn on directory hashing on the file
system? (see the mke2fs man page)  reiserfs 3 can probably handle this
reasonably well also.

Sam.




More information about the wellylug mailing list