
UPDATE 6/30/2015. As reported by Ars Technica and confirmed by Apple, today’s OS X 10.10.4 update “has added a command line utility that can be used to enable TRIM on third-party SSDs without having to download and install anything. Called trimforce, the utility can be executed from the OS X terminal, and it requires a reboot to start working.”
“TRIM helps SSDs out by telling SSDs which pages can be marked as stale when an operating system deletes files (something the SSD ordinarily would have no way of knowing). It’s by no means a requirement, but it’s helpful and could potentially help the performance of an SSD as it ages.
“The scary warnings about trimforce are likely in place because not every disk implements TRIM in the same way, and older SSDs might behave oddly or in ways that OS X doesn’t expect when told to TRIM pages. If you have a relatively recent SSD, though, there shouldn’t be any problem enabling TRIM via trimforce—especially considering that same SSD in Windows or most current Linux distributions would already be using TRIM.”
BIG NOTE
If you own a 3rd-party SSD (Solid State Drive) unit and are running a version of OS X 10.10.3 or earlier (Yosemite) – you NEED to read this.
If you own an Apple SSD or Fusion drive, this article does NOT apply to you.
THE PROBLEM
Last week, on the Digital Production Buzz, OWC CEO Larry O’Connor discussed a critical problem where computers containing a 3rd-party SSD drive are unable to work properly under Yosemite. And, in some cases, the system won’t boot at all; resulting in a gray startup screen.
The issue revolves around Trim utility software used by the SSD drive.
NOTE: Listen to his complete interview here.
WHY THIS IS IMPORTANT
In order for an SSD system to work properly, the operating system needs to “clean” the unused contents of an SSD drive whenever you add or delete media. Further, the OS needs to know what parts of the SSD are available to store new data.
This process is handled by Trim software. The difficulty is that Apple only supports Trim on its own SSD drives. If you use a 3rd-party drive, you have to use 3rd-party software to get the performance you need from the SSD.
THE DETAILS
“…Support for Trim is based on the operating system and the SSD manufacturer. Microsoft Windows began to natively support the Trim command for SSDs in Windows 7. Apple added Trim support in 10.6.8, however Apple does not natively support Trim on non-Apple SSDs.
“Trim is an operating system-based command for SSDs that is activated when you delete a file on the SSD. When you delete a file from your computer, Trim notifies the SSD that the location of the deleted file no longer contains valid data. Trim then works in conjunction with the SSD’s garbage collection process to move both valid and invalid data from the old block to the new block. Having Trim enabled prevents the invalid data being moved. This in turn frees up space on the SSD and reduces write amplification. Now the “moving company” only needs to focus on moving the current tenants and ignore the vacant homes.”
NOTE: Read OWC’s entire blog here: blog.macsales.com/21641-with-an-owc-ssd-theres-no-need-for-Trim
One of the most popular Trim tools is “Trim Enabler” from Cindori Software. Cindori continues the discussion:
“Every time you delete a file on your computer, the data still stays on the drive in segments called blocks. These blocks are not deleted until you need to use them again to write new data. Due to technical limitations in the NAND Flash design, only whole blocks can be deleted. This means that when you need to write new data, the SSD must perform time-consuming cleaning and maintenance of these blocks before your data is written. With Trim, your blocks can be cleaned instantly when you delete the data, leading to much less operations during the writing process which gives you better speeds and minimizes the wear on the drive.”
Cindori continues:
“In OS X 10.10 (Yosemite), Apple has introduced a new security requirement called kext signing. (A kext is a kernel extension, or a driver, in Mac OS X.)
“Kext signing basically works by checking if all the drivers in the system are unaltered by a third party, or approved by Apple. If they have been modified, Yosemite will no longer load the driver. This is a means of enforcing security, but also a way for Apple to control what hardware that third party developers can release OS X support for.
“Since Trim Enabler works by unlocking the Trim driver for 3rd party SSD’s, this security setting prevents Trim Enabler to enable Trim on Yosemite. To continue to use Trim Enabler and continue to get Trim for your third party SSD, you first need to disable the kext signing security setting.
“It is important to note that the kext-signing setting is global, if you disable it you should be careful to only install system drivers from sources that you trust.”
NOTE: Read their entire FAQ here: www.cindori.org/Trim-enabler-and-yosemite/
THE BAD NEWS
The only workaround is to turn off kext-signing, which, as Cindori describes is similar to “taking a sledgehammer to crack a nut,” because this affects every driver on your system, not just the SSD.
WHAT TO DO
If you have a 3rd-party SSD drive, check with the manufacturer to see if it works on Yosemite. (Assume that it does not.) At this point, you have two options:
Also, let Apple know – via Send Feedback to Apple inside Final Cut Pro, or other Apple applications – that they need to reconsider their policy. Speed is essential to all media creators. Apple needs to find a way to support Trim functions on all SSD drives, not just Apple systems.
SUMMARY
This is a big deal. If you have a 3rd-party SSD, you have the potential to be dead in the water on upgrade. For this reason, please contact the manufacturer of your SSD system – and read the supporting articles – before upgrading to Yosemite. Make sure you KNOW that your drive will work before you have problems.
Remember, Apple-supplied SSDs work fine. The issue is only with 3rd-party SSD drives.
OTHER IMPORTANT LINKS
OWC reports that their SSD drives don’t need Trim. You can read their entire article here:
blog.macsales.com/21641-with-an-owc-ssd-theres-no-need-for-Trim
Read the entire Cindori Software FAQ here: www.cindori.org/Trim-enabler-and-yosemite/
2,000 Video Training Titles
Edit smarter with Larry Jordan. Available in our store.
Access over 2,000 on-demand video editing courses. Become a member of our Video Training Library today!
Subscribe to Larry's FREE weekly newsletter and
save 10%
on your first purchase.
92 Responses to CAUTION! SSD Drives and Yosemite [u]
← Older Comments Newer Comments →-
Andrey says:
November 19, 2014 at 9:18 am
-
Chris says:
November 19, 2014 at 9:21 am
-
Rod says:
November 19, 2014 at 12:55 pm
-
Colin says:
November 19, 2014 at 7:35 pm
-
Rod says:
November 23, 2014 at 8:50 pm
-
LarryJ says:
November 23, 2014 at 9:07 pm
-
Woody says:
November 24, 2014 at 1:45 pm
-
Angelbird SSDs for Mac with TRIM support for "Yosemite" says:
November 25, 2014 at 3:44 pm
-
Apple,Yosemite and Trim says:
November 28, 2014 at 8:07 am
-
Rod Mitchell says:
December 1, 2014 at 10:19 am
← Older Comments Newer Comments →Where do I get a proper list of apple-certified drives that will support TRIM in Yosemite? Contacting Samsung for example might take months.
I just talked with Crucial and they said regarding their SSD drives… “It does not need TRIM. It has awesome garbage collection that is so spectacular in every way that it’s entirely self-sufficient.” So It has some built in firm ware functions that take care of it when the drive is idle. So no TRIM needed on Crucial SSD drives.
Any claims from a manufacturer needs to be tempered with an objective third party analysis. All SSDs perform better with native TRIM.
I’m by no means an expert, but I wrote this article recently to explain why TRIM is important:
https://www.ramcity.com.au/blog/all-about-trim-for-ssds/139473
For further reading:
1. Presentation about TRIM and Garbage Collection from Kent Smith of LSI
http://www.lsi.com/downloads/Public/noindex/LSI_PRS_FMS2011_T1A_Smith.pdf
2. Articles from Tweaktown, written by Chris Ramseyer, their senior SSD Editor and in my opinion one of the leading experts on SSDs in the journalist world
http://www.tweaktown.com/news/41180/third-party-ssd-vendors-address-apple-trim-issue/index.html
http://www.tweaktown.com/articles/4870/lsi_sandforce_5_series_ssd_firmware_trim_lost_and_found_performance_investigated/index.html
Andrey,
Only SSD drives that are Apple identified will have TRIM enabled. The script referenced above does some trickery to the IOAHCIBlockStorage kernel extension that bypasses the test to see if the drive is an Apple identified drive (I think it’s the serial number or Model) and loads the kernel extension regardless.
If it’s not an Apple drive (OEM) it won’t support TRIM without TRIM enabler, or hacking the kernel.
-colin.
My other comment is still in moderation, so here’s a shorter version:
For further reading:
1. Presentation about TRIM and Garbage Collection from Kent Smith of LSI
http://www.lsi.com/downloads/Public/noindex/LSI_PRS_FMS2011_T1A_Smith.pdf
2. Articles from Tweaktown, written by Chris Ramseyer, their senior SSD Editor and in my opinion one of the leading experts on SSDs in the journalist world
http://www.tweaktown.com/news/41180/third-party-ssd-vendors-address-apple-trim-issue/index.html
http://www.tweaktown.com/articles/4870/lsi_sandforce_5_series_ssd_firmware_trim_lost_and_found_performance_investigated/index.html
Sorry, Rod.
I didn’t see your earlier comment. Both are now approved.
Larry
Same issue here with an iMac 24″ 2009 model. I had OWC 240 SSD with Mavericks 10.9.3 running as boot disk and upgraded the original 1 TB internal from 10.9.3 to Yosemite and locked up turning on File Vault. Disk Utility showed “Incompatible Disk” on both drives! After 4 days of reading and trying everything possible I had to wipe both drives and I reinstalled Mavericks on both.
Then restored them from Time Machine BU’s and now disk permissions are corrupted on the 1 tb internal and the OWC SSD 240
will not mount. Disk Utility shows ” 33 KB Sandforce 200026BB Media” where SSD240 used to be!
Called OWC and they are sending an advance replacement drive (means have my CreditCard till the return arrives back) and have to tear apart my iMac again to install new drive when it arrives……. Not camping with a smile anymore!
If anyone has a work around for this Unmountable SSD drive I would much rather send the new one back
All comments appreciated
[…] more about compatibility issues with third party SSD drives and Yosemite HERE. Posted in Featured Gear, […]
[…] to open up the terminal window and manually put in code-to me thats scary! Trim Enabler | Cindori CAUTION! SSD Drives and Yosemite | Final Cut Pro Training & Classes Scott Bushey Husband to Tina, father to Nicole, Danielle and Zoe Attending Holy Trinity […]
I just shoot using SSD’s – All I need to do is transfer the video files from SSD to hard drive via a Mac… Does this trim issue afffect me?