Which FileSystem is best for CentOS 5 on SSD?

Solution 1:

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.

Solution 2:

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.