Nov 16, 2010

SSD TRIM thoughts Linux, Mac OS X

SSD are more and more a standard thing now-days.
When it comes to windows you have only one solution and it's the seventh version of the Operating System. It is the only one that supports the TRIM command of the SSD drives.

A little background about TRIM: It is the way to keep your SSD in shape. What is does is allows an operating system to inform a solid-state drive which blocks of data are no longer considered in use and can be wiped internally. (wikipedia)

But how about Linux and Mac OSX ?

Linux has support for TRIM in the kernel from version 2.6.33 and after. This means that if you run a newer kernel you automatically has support for TRIM through the kernel and you don't need to do something more.
For previous kernels you can use newer versions of hdparm program or wiper (more information can be found on the web).

How about MacOSX?

According to Apple (here) TRIM support is scheduled to be added in an update of the Operating System. Still you can buy Apple computers with SSD. What does Apple does to the Operating System for avoiding the usage of TRIM so far? According to the bit-tech review (here) MacOSX doesn't really need the TRIM support for now.

Is it possible that what the Apple engineers did to be implemented to other Operating Systems as well? Maybe in Windows is hard to be implemented but in Linux or any other unix-like might be possible.


P.S.: If anyone has an SSD and a Mac OSX and noticed any difference in performance of writes please feel free to share.