Does any know if there is a way to enable TRIM support on Linux for SSDs? This is included with Windows 7, and I was surprised that I couldn't find much information about it under Linux.
Info on SSD and TRIM can be found here – http://www.anandtech.com/storage/showdoc.aspx?i=3531&p=10
Best Answer
Notice that you probably need a more recent kernel than 2.6.28, see here (based on 2.6.30-rc4 with last activity in May this year). I do not know to what degree that tree has been merged, maybe you can search the
linux-ide@vger.kernel.org
mailing list. Update: see for instance this thread (also discussed on the kernel list).For using TRIM you are probably interested in hdparm-9.20, released a few days ago (and I see there is even a newer wiper-1.7 release).
Update: See also this LWN article about the relationship between filesystem, TRIM, performance and SSD disks.