TRIM support in Mac OS X Lion is overdue
TweetFollow Us on Twitter

TRIM support in Mac OS X Lion is overdue

One of the nice surprises (though it shouldn't have been a surprise) in the Mac OS X Lion preview that Apple released last week is the addition of TRIM support. Since the long-term future of the Mac is with solid state drives, it's about time added this.

A TRIM command allows an operating system to inform an SSD which data blocks, such as those belonging to a deleted file or affected by a format command, are no longer being used so can be wiped internally. That's important because the low-level operation of SSDs differs from traditional hard disk drives in the way operating systems handle operations like deleting and formatting. TRIM enables the SSD to handle garbage collection overhead which would otherwise significantly slow down future write operations to the involved blocks, in advance. In other words, it helps maintain optimal performance and extend the life of your SSD.

Mac OS X 10.6 doesn't optimally handle SSDs. All versions of OS X up to Lion treat SSDs as a Hard Disk Drive when deleting a file or formatting the drive. Treating a SSD in this way will degrade performance over time as the drive’s flash cells are unnecessarily taxed and will wear out after a certain amount of read/write cycles. TRIM doesn’t wear out SSDs and deletes data in a far more efficient way.

Or, as Bit-Tech (http://www.bit-tech.net/hardware/apple/2010/07/01/mac-ssd-performance-tr...) explains: "Unlike a hard drive which can just write straight over that 10KB of space when a new file comes along, when the SSD comes to rewrite data to its 10KB of 'free' space in the now dirty cell, in order to retain the 10KB file still there, it must first read that data to its cache or controller, wipe the whole 20KB cell clean and then rewrite the complete set of valid data, old and new, into the cell. While rewriting data has little impact on performance for a hard disk drive, this read-modify-write process can drastically reduce performance on an SSD in comparison to writing to virgin cells, and is one of the main causes of SSD performance degradation following extended heavy use.

".... There is a fix though, in the shape of the TRIM command. This command reorganises written data and scrubs junk data after it’s deleted (triggered by a delete command, clearing the recycle bin or formatting the drive), meaning when the drive comes to write data to that cell again, there’s nothing but nice clean NAND waiting for it. It ensures the optimum write performance, but it requires both software support from the OS and firmware support from the SSD itself."

Obviously, since can get Macs with solid state drives, a lack of TRIM-ming doesn't mean SSDs won't work with Macs. But they'll work even better in tandem when Mac OS X meets TRIM. And the SSD in your Mac should last longer.

-- Dennis Sellers

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

Combo Quest (Games)
Combo Quest 1.0 Device: iOS Universal Category: Games Price: $.99, Version: 1.0 (iTunes) Description: Combo Quest is an epic, time tap role-playing adventure. In this unique masterpiece, you are a knight on a heroic quest to retrieve... | Read more »
Hero Emblems (Games)
Hero Emblems 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: ** 25% OFF for a limited time to celebrate the release ** ** Note for iPhone 6 user: If it doesn't run fullscreen on your device... | Read more »
Puzzle Blitz (Games)
Puzzle Blitz 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Puzzle Blitz is a frantic puzzle solving race against the clock! Solve as many puzzles as you can, before time runs out! You have... | Read more »
Sky Patrol (Games)
Sky Patrol 1.0.1 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0.1 (iTunes) Description: 'Strategic Twist On The Classic Shooter Genre' - Indie Game Mag... | Read more »
The Princess Bride - The Official Game...
The Princess Bride - The Official Game 1.1 Device: iOS Universal Category: Games Price: $3.99, Version: 1.1 (iTunes) Description: An epic game based on the beloved classic movie? Inconceivable! Play the world of The Princess Bride... | Read more »
Frozen Synapse (Games)
Frozen Synapse 1.0 Device: iOS iPhone Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: Frozen Synapse is a multi-award-winning tactical game. (Full cross-play with desktop and tablet versions) 9/10 Edge 9/10 Eurogamer... | Read more »
Space Marshals (Games)
Space Marshals 1.0.1 Device: iOS Universal Category: Games Price: $4.99, Version: 1.0.1 (iTunes) Description: ### IMPORTANT ### Please note that iPhone 4 is not supported. Space Marshals is a Sci-fi Wild West adventure taking place... | Read more »
Battle Slimes (Games)
Battle Slimes 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: BATTLE SLIMES is a fun local multiplayer game. Control speedy & bouncy slime blobs as you compete with friends and family.... | Read more »
Spectrum - 3D Avenue (Games)
Spectrum - 3D Avenue 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: "Spectrum is a pretty cool take on twitchy/reaction-based gameplay with enough complexity and style to stand out from the... | Read more »
Drop Wizard (Games)
Drop Wizard 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Bring back the joy of arcade games! Drop Wizard is an action arcade game where you play as Teo, a wizard on a quest to save his... | Read more »

Price Scanner via MacPrices.net

Apple’s M4 Mac minis on sale for record-low p...
B&H Photo has M4 and M4 Pro Mac minis in stock and on sale right now for up to $150 off Apple’s MSRP, each including free 1-2 day shipping to most US addresses. Prices start at only $469: – M4... Read more
Deal Alert! Mac Studio with M4 Max CPU on sal...
B&H Photo has the standard-configuration Mac Studio model with Apple’s M4 Max CPU in stock today and on sale for $300 off MSRP, now $1699 (10-Core CPU and 32GB RAM/512GB SSD). B&H also... Read more

Jobs Board

All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.