Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Kryptik.Kode

macrumors member
Original poster
Mar 8, 2012
79
0
Ontario, Canada
I put an OCZ Vertex 4 SSD in my 2012 Mac Mini. I have heard mixed reviews about TRIM. Some people say use it, some people say don't. Some say use TRIM Enabler. Some say TRIM Enabler is risky and you should run the terminal commands to enable TRIM yourself. I am looking for some feedback on this topic.
 

maflynn

macrumors Haswell
May 3, 2009
73,447
43,358
I believe the OCZ Vertex uses the Sandforce controller and so it handles the garbage collection on the controller so TRIM is not needed.

I had enabled TRIM on my older MBP without any ill-effects, but YMMV
 

prisstratton

macrumors 6502a
Dec 20, 2011
542
126
Winnipeg, Manitoba, Canada
My 2 cents…..I enable trim because Apple enables trim on the SSD's that it provides. I currently use Grant Pannell's trim enabler, here:

http://digitaldj.net/2011/07/21/trim-enabler-for-lion/

On his web page he describes how the trim enabler application used to use an older version kext to provide this functionality and that this method is dangerous. The trim enabler application does have a new version (2.0 versus the one that Grant references 1.1 and 1.2), but I do not know what mechanism it uses and until I find out I will not use it. Trim enabler, here:

http://www.groths.org/?page_id=322

More recently I have been reading another thread on the subject where the person has expanded on Grant's work, here:

https://forums.macrumors.com/threads/1409151/

Essentially what this person found was that if you replace the APPLE SSD string in the appropriate kext file, with the 9-character text string of your drive, it will enable trim.
 

Mattjeff

macrumors 6502
Jun 2, 2008
261
3
Not trying to hijack this post but I recently bought the Samsung 830 256GB and don't know much about TRIM and its purpose. Will I need it with this drive or does it just make it faster?

Thanks
 

50548

Guest
Apr 17, 2005
5,039
2
Currently in Switzerland
I put an OCZ Vertex 4 SSD in my 2012 Mac Mini. I have heard mixed reviews about TRIM. Some people say use it, some people say don't. Some say use TRIM Enabler. Some say TRIM Enabler is risky and you should run the terminal commands to enable TRIM yourself. I am looking for some feedback on this topic.

For the last time: TRIM IS NOT NEEDED IN SANDFORCE-ENABLED SSDs!

Forget the bad advice by some people here - even OWC itself has already explained that TRIM is NOT only redundant but also potentially harmful to your SSD's performance.

Don't bother about it; just use your Vertex just like I do, without any performance or reliability hits.
 

lixuelai

macrumors 6502a
Oct 29, 2008
957
327
For the last time: TRIM IS NOT NEEDED IN SANDFORCE-ENABLED SSDs!

Forget the bad advice by some people here - even OWC itself has already explained that TRIM is NOT only redundant but also potentially harmful to your SSD's performance.

Don't bother about it; just use your Vertex just like I do, without any performance or reliability hits.

Except the Vertex 4 doesn't use a Sandforce controller.
 

lixuelai

macrumors 6502a
Oct 29, 2008
957
327
I thought it did, as said by someone else above. In this case, the case is less clear, although I would still assume that garbage-collection tech is a given in the new Everest 2 model...

http://www.anandtech.com/print/5719

All modern SSD controllers have garbage collection. The Vertex 4 uses a Marvell controller and OCZ just rebranded it. Trim is still beneficial nonetheless.

btw you are right trim isn't absolutely "needed". It is more an issue of you can have the cake and eat it too and 99% of the time (osx trim issues were mostly Sanforce 12xx related which is really old), you can.
 
Last edited:

hadees

macrumors newbie
Feb 11, 2008
7
0
I have a Vertex 4 too and I feel like the issue is still fuzzy. So enabling TRIM would help because it isn't using Sandforce? Or is the firmware garbage collection just as good?

If I do decide to enable trim what is the best method to use? Trim Enabler was rewritten. Is the new way it works the "safe" way?

On a related note do I need to turn off spotlight? Or the other tricks i've heard to extend the ssd life like disabling noatime flags, local timemachine snapshots, and hibernation? Are these not problems on Apple's SSDs because Mountain Lion detects them as SSDs?

I doubt I'll get the exact answers I want because it seems like there is a lot of speculation going on.
 
Last edited:

davidlv

macrumors 68020
Apr 5, 2009
2,291
874
Kyoto, Japan
Check this link out: http://chameleon.alessandroboschini.it/index.php
I used this without any issues on an Intel 335 SSD MBP late 2011.
It also allows you set other functions, noatime, etc.
The Trim Enabler app has been revised and now patches the related kext file rather than using an old version, so it works well too.
The issues with Sandforce controllers largely depends on the firmware employed, and you can get info on each model here on the forums or other sources on the web. Judging from their web site info, OWC obviously has done enough testing to confirm that trim shouldn't be used on their SSDs, but I have had no problems with my Intel SSD, which also uses a Sandforce controller, but with Intel's firmware.
 

jon08

macrumors 68000
Nov 14, 2008
1,885
104
Hey guys, I've been using a Crucial M4 512GB SSD for almost 2 months now. I still have about 300GB of free space left and I'm contemplating enabling TRIM.

But before I do so, should I do anything else? I think I read somewhere that you should TRIM the free space first or something?
 

dusk007

macrumors 68040
Dec 5, 2009
3,411
104
You should trim the free space after you enable trim. Which just means write stuff over all the free space and delete it with Trim enabled so the SSD knows that all these stuff is actually free space.

What a lot of people don't seem to understand is that all SSDs have some form of garbage collection but that only works best with Trim enabled. Without the Trim one effectively runs an SSD that is constantly filled up 100% except for the spare area. GC can otherwise only try to work with the spare area (which drives like the M4 have almost nothing of), it can only collect stuff that has been overwritten.
 

Krazy Bill

macrumors 68030
Dec 21, 2011
2,985
3
Hey guys, I've been using a Crucial M4 512GB SSD for almost 2 months now. I still have about 300GB of free space left and I'm contemplating enabling TRIM.
You don't need TRIM hacks enabled for the Crucial.

I have the exact same drive. 18 months now, no TRIM and no change in speed. This drive is used heavily too.
 

lukester

macrumors 6502
Dec 2, 2009
455
6
RI
I just put in a Vertex 4 in my mid 2010 MBP and I am using Trim enabler.
It says it is working fine.
should I use it or not?
 

greenbreadmmm

macrumors 6502a
Jun 4, 2007
566
1,184
Hey guys, I've been using a Crucial M4 512GB SSD for almost 2 months now. I still have about 300GB of free space left and I'm contemplating enabling TRIM.

But before I do so, should I do anything else? I think I read somewhere that you should TRIM the free space first or something?

Crucial has its own cleaning software that runs in the background when system is idle, no need to enable trim.
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,128
15,593
California
I know it has a garbage collection thing, but I'm just not convinced if that's enough...

Look at it this way... even if you do not enable TRIM and two years later you notice write speeds have dropped due to no TRIM, all you do is enable TRIM then run "fsck -fy" from single user mode and this erases all free space making the drive like new again. So there is not danger/damage to any SSD by not running TRIM.

I fall on the conservative side of not hacking core system files, but that's just me.

----------

Should trim be enabled after formatting and before the old drive is cloned to the SSD?

You would need to do it after the clone with the OS on the SSD.
 

Krazy Bill

macrumors 68030
Dec 21, 2011
2,985
3
Look at it this way... even if you do not enable TRIM and two years later you notice write speeds have dropped due to no TRIM, all you do is enable TRIM then run "fsck -fy" from single user mode and this erases all free space making the drive like new again. So there is not danger/damage to any SSD by not running TRIM.
I tried this once when my system did slow down a tad after reverting back to Snow Leopard. It didn't do any good. To get back to fast SSD speeds I:

1.) Cloned my SSD to an external
2.) Did a normal 10 second erase of the SSD
3.) Cloned the external back to the SSD.

Normal SSD speeds came back. No problems since.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.