You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Do I need to turn TRIM support ON?

Hi, there!


I replaced Apple HDD to third party SSD in my Mac mini. Do I need to turn TRIM support ON? Will my Mac mini faster or slower with TRIM support turned ON?


Thanks.


Mac mini late 2012.

MacOS X 10.10.5


Posted on Jun 22, 2020 11:30 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 22, 2020 12:29 PM

What SSD did you use?


It's probably best to check with the SSD manufacture and see if they encourage or discourage enabling Trim on their SSD


I can't speak for what is best for different SSD's, but the PNY SSD's in my 2010, 2011and both 2012 Mac Mini's all Support Trim.


6 replies

Jun 22, 2020 3:30 PM in response to AirGraph

It's very unlikely a manufacturer will make a specific recommendation regarding TRIM. As for myself, if the solid-state drive is less than three years old I turn on TRIM.


However, before you make this change make sure your Time Machine back up is current and I would do a clone of the hard drive using Carbon Copy Cloner.

Jun 23, 2020 5:54 PM in response to AirGraph

If you don't enable TRIM, then I suggest you uncheck "Put hard drive to sleep when possible" in the Energy Saver System Preferences so that the SSD's internal Garbage Collection routines have time to run when the computer isn't being used.


TRIM is a bit tricky as it requires both the OS and the SSD to operate correctly, but I've seen a lot of reports where TRIM doesn't always work as intended so data loss is possible. The Linux kernel has lots of block lists to prevent certain SSDs from automatically using TRIM (some SSDs' TRIM features aren't implemented correctly or has a bug). From the Linux community I've found that it is not recommended to use automatic TRIM, but to run a TRIM command manually once a week or so. I haven't read up enough to understand the details exactly how the two versions differ. Of course macOS is different as well, but these issues are why Apple does not automatically enable TRIM on third party SSDs and at one time did their best to prevent users from using TRIM at all for third party SSDs. I am not aware of any utility for macOS which you can manually initiate a periodic TRIM command like Linux has.


Here is a Crucial article regarding their take on TRIM support:

https://www.crucial.com/support/articles-faq-ssd/trim-and-os-x-operating-systems



Jun 24, 2020 2:58 AM in response to Ziatron

Ziatron wrote:

It's very unlikely a manufacturer will make a specific recommendation regarding TRIM. As for myself, if the solid-state drive is less than three years old I turn on TRIM.

Thank you for reply.

However, before you make this change make sure your Time Machine back up is current and I would do a clone of the hard drive using Carbon Copy Cloner.

Sure, thanks.

Jun 24, 2020 3:04 AM in response to HWTech

HWTech wrote:

If you don't enable TRIM, then I suggest you uncheck "Put hard drive to sleep when possible" in the Energy Saver System Preferences so that the SSD's internal Garbage Collection routines have time to run when the computer isn't being used.

TRIM is a bit tricky as it requires both the OS and the SSD to operate correctly, but I've seen a lot of reports where TRIM doesn't always work as intended so data loss is possible. The Linux kernel has lots of block lists to prevent certain SSDs from automatically using TRIM (some SSDs' TRIM features aren't implemented correctly or has a bug). From the Linux community I've found that it is not recommended to use automatic TRIM, but to run a TRIM command manually once a week or so. I haven't read up enough to understand the details exactly how the two versions differ. Of course macOS is different as well, but these issues are why Apple does not automatically enable TRIM on third party SSDs and at one time did their best to prevent users from using TRIM at all for third party SSDs. I am not aware of any utility for macOS which you can manually initiate a periodic TRIM command like Linux has.


Thank you, helpful reply, but "Helpful" button is dimmed under your post… Don't know why…


Here is a Crucial article regarding their take on TRIM support:
https://www.crucial.com/support/articles-faq-ssd/trim-and-os-x-operating-systems


I saw this article, thank you.

Do I need to turn TRIM support ON?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.