If you are asked to list the types of filesystems supported in Linux, I am sure you will be able to list quite a few of them. But when it comes to listing the pros and cons with respect to the performance of these filesystems in Linux, one is not so sure right? This may be because not many have benchmarked these filesystems and published their findings online.
Now things have changed though, because Justin Piszcz has written a two part series listing his findings regarding how each filesystem fared performance wise under Linux. He has published his findings for Linux kernel 2.4 as well as 2.6 .
The filesystems that were included in the benchmark were EXT2, EXT3, JFS, ReiserFS v3, ReiserFS v4 and XFS . To arrive at a conclusion, he performed 17 different tests which included creating 1000's of files on the filesystem and cat'ing a huge file (1 GB) to /dev/null among other things.
So what is the verdict ?
The author has concluded that XFS is the best filesystem in terms of performance and scalability though JFS has improved in some of the tests. And the surprise of all, ReiserFS is the slowest in most of the tests. But I think it would be prudent to read the article first and arrive at your own conclusions.