Linux.com

Re: Why would I want this over ext3?

Posted by: Anonymous [ip: 68.83.193.172] on September 16, 2007 03:43 AM
A few things...

1) Large numbers of files in a directory

We've used JFS with over 600,000 files in a directory with good performance. Performing an "ls" on it is evil, but if you know the filenames, or use something other than "ls" to get a directory, it is very responsive. Ext2/3, and ReiserFS all start having performance problems after you get 10K-30K files or so in a directory - it gets bad in a hurry. The only other filesystem I've seen come close is NTFS, and that doesn't do well under Linux. I'd love to try a ZFS port, though.

2) Ext2/3 still occasionally wants to fsck with your disk.

That defines slow - well, almost. CHKDSK/Scandisk truly defined slow... Normally, with crash recovery, ext3 will recover using the journal. Periodically though, its ext2 underpinnings show through and it insists on performing a full check. That's not fun on a large disk. You don't see that with JFS or even ReiserFS.

3) Speed

For our application, it was the fastest filesystem we found running under Linux.

For me, the configuration I'd recommend is a small /boot partition using ext2, and JFS for everything else.

#

Return to 30 days with JFS