I think I should clarify a few points about some SSD, Trim and OS X myths before you all start to download Ubuntu and to enter the Terminal:
1. Mac OS X is not Windows 7!
> means OS X and an HFS+ file system don’t slow down a SSD like Windows 7…
2. If your SSD has a Garbage Collector you don’t need to trim it!
> simply use Disk Utility to erase the free space and zero out deleted files…
3. You don’t have to worry about write endurance!
> long time before this occurs you will own a new Mac.
> even if you overwrite your (newer) SSD completely 3 times a day it will last over 50 years…
All your efforts to ‘maintain’ your SSD under OS X are more for your mental well being (cock extension for the poor) than they actually improve the writing speed.
But hey, mental well being is very important :-)
Mac OS X does not support to trim sector ranges like Windows 7 or Linux does. But with an Ubuntu Live CD (USB Stick) you can even trim an HSF+ formatted file system without deleting it first:
1. Backup your system (Macintosh HD)
2. Burn an Ubuntu 10.10 Live CD (or create an USB Stick)
3. Boot Ubuntu
4. Open Terminal
5. Do the following steps:
add-apt-repository "deb http://archive.ubuntu.com/ubuntu maverick universe"
apt-get install gawk
apt-get install sleuthkit
tar -xvf hdparm-9.36.tar.gz
6. Run wiper.sh:
./wiper.sh --commit /dev/sda1
(sda1 is the first partition of the first disk, you may need to change this - Disk Utillity will give you the answer)
7. Enjoy the regained speed :-)
Addendum to the SSD Trim Article