SSD Harddisk and linux distro with TRIM support

ssdtrim

I have a Corsair Force Series SSD harddrive which I plan to put in a 1 unit linux box as a linux server.

The server itself will be making a lot of random reads and very little writes, which makes SSD fit perfectly. It is a web-server serving a lot of pages which are created dynamically from database. All logging and statistics will be disabled to decrease the wear of the SSD drive. (All of our sites use google analytics for the analytics).

I have been recommended CentOS 5.5 (64Bit in my case) in general for webservers. But it does not have TRIM support (as far as I can see).

I am relying on the datacenter to install the drivers/kernel, because I do not have the sufficient linux skills required for that and am planning on using webbycart to do the hardening/security setup. (the security for the webapps (PHP/MYSQL) I am responsible for of course).

What would you recommend? A linux distro with TRIM support OR centOS and update the kernel to a newer that supports it?

I have read that EXT4 is a good filesystem for SSD's on production. so I am sticking with that unless there is a stable and better alternative.

Is there anything else that needs to be installed/disabled etc. for SSD's?

Best Answer

People generally recommend CentOS or Debian for servers because they are conservative distributions, but in practice this doesn't mean a lot - especially for a humble web server, which is really just a network file server. Pretty much any Linux distro will be fine, so don't sweat too much over that.

What is more important is that the server is monitored (is the web server up? how's the disk space?, etc), and updated now and again with security patches.

BTW: Linux has a very sophisticated memory caching mechanism on top of disk access. So, unless your web site is much bigger than available memory (unlikely), then the SSD won't make any difference at all.