Skip to main content

Posts

Showing posts from February, 2014

Enable TRIM On Mac OS X

If you’ve installed a Solid State Drive (SSD) in your laptop, there’s an important final step often missed; and that’s enabling TRIM. WHY ENABLE TRIM? When you simply “delete” a file on a traditional hard drive, it’s not really “erased.” Instead, its location on the drive is reported to the OS as “empty, even though the ones and zeroes are still there, ready to be overwritten. On SSDs, however, overwriting data can take a considerably longer time than writing to “unused” space.  As solid state drives became more affordable, the TRIM command was introduced to facilitate “garbage collection” of deleted data, allowing the SSD to reset those “unused” blocks back to an “empty” state. This allows for better performance for many SSDs. ENABLING TRIM ON OS X 10.9 and 10.8 Backup the file we’re patching “sudo cp /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAH