Background: We have gigs of data, which require to process large files simultaneously and in parallel with similar processes. We are going to get SSD just because of fastest latency.

We will install CentOS 5 over it.

Question: What is the best File System available for CentOS 5, that will enhance our processes?


ssd has much larger 'physical data allocation unit' - so regardless of the fileystem you choose remember to align your partitions with size of sector on your ssd drive. if you don't - your write performance will suffer a lot.

this is even true for newest desktop disks with 4kB sector instead of 512B sector - just yesterday i did empirical experiment that gave me 29MB/s write speed with default alignment [ from 63rd logical 512B sector ] vs 70MB/s with proper alignment [ starting from 128rd sector ].

regarding the file system - ext4 is supposed to support trim, but i never really tested it. take a look here and here.


I believe JFS or XFS are known to have the best performance when operating on large files. In addition to the selection of an appropriate filesystem for your task, I'd recommend also throwing as much RAM as possible into the server as you can, even if you don't need it for your processing tasks. Linux will use this extra RAM for disk cache, which will improve your performance.


Use an SSD as you would any hard drive. It doesn't matter. Nor does the filesystem you use with the you choose. The questions you need to actually answer are: What is the nature of the data I'll be storing/reading/writing? Is it a bunch of small files? One huge continuous large file?

Then figure out (from the questions already asked on SF) which filesystem has the best performance for the type of data you're processing.


The important thing to consider is whether your disk controller will perform wear-leveling and error correction. If it does, a solid-state file system is less of a concern. If you do require a special file system, log-stuctured FSs are generally recommended. Such file systems include JFFS2, NILFS, and YAFFS. Also, check out the tool bonnie++ to test drive performance with different filesystems.


http://en.wikipedia.org/wiki/Flash_file_system <-general

http://www.linux-mag.com/cache/7345/1.html <-nilfs

  • 2
    Wear leveling is really a non-issue. All SSDs have wear leveling built into their internal controllers. The hard disk controller doesn't need to know anything about wear leveling. – EEAA Feb 6 '10 at 2:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.