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

iceman4321

macrumors newbie
Original poster
Oct 5, 2015
11
1
hi guys - I have a Samsung SSD 850 EVO ready to replace my HDD in my old MBP (early 2009) however wanted to check how to enable TRIM before I install the OS ElCap on it as I rather not write anything to it without TRIM enabled first :)

I have a USB to SATA cable that I plan to use to clean install the OS on my SSD and then open my MBP, replace my HDD with the SSD.

Had a quick look at terminal and tried "trimforce enable" does seem to popup the y/n confirmation question (I quit by setting it to N for now). I am not sure if I should run this and set to "y" first (assume this will have no effect on my HDD) and then try to install ElCap on my SSD?

So what is the sequence of steps to proceed:
1) trimforce enable + reboot
2) plug the SSD in via my USB / SATA cable
3) Install OS El Capitan - I have the file downloaded from app store for OS install
4) Open MBP and replace HDD with SSD

Will this work OR do I need to run (1) AFTER I do (2)?

Thoughts for a newbie?

cheers all!
 

randomgeeza

macrumors 6502a
Aug 12, 2014
620
462
United Kingdom
TBH I would enable it after the install... Today's SSD's are not that reliant on TRIM... And as far as I understand it, anything deleted or trashed on the SSD prior to the install will be trimmed after, once you enable the function.

I read somewhere, that you can, if you wanted, enable TRIM once in a while to do 'it's thing' and then disable it again.

Another thing you might want to note, Samsung do recommend not using TRIM on their EVO series as it can lead to unexpected results. Although, I have it enabled on my older MBP 17 (mid2009).

YMMV, and really you need to decide what you feel is right for your circumstances and setup.

Good luck.
 

Hitrate

macrumors 6502
Mar 25, 2009
450
194
Copenhagen
1. TRIM will not work over USB.
2. Absolutely zero point in force-enabling TRIM (see 1) before installing. The SSD will be just as good if you enable TRIM once El Capitan is installed as Apple intended.

would u recommend enabling it? (i have the exact same hdd but already installed it and running on latest cabitan beta)
 

KALLT

macrumors 603
Sep 23, 2008
5,361
3,378
TRIM is not going to have such an impact in a short timespan, it’s a minuscule difference that you won’t ever notice and that will not bring you any advantages. If you’re doing this to maximise the lifespan of your SSD: this undertaking will not make the slightest difference. Your SSD is new and empty, the installer will simply copy the system files. SSDs still have the usual garbage collection and although it’s true that TRIM will make garbage collection more efficient and result in fewer write operations over a certain timespan, this will barely matter here. Just install the system, boot, turn on TRIM and reboot.

would u recommend enabling it? (i have the exact same hdd but already installed it and running on latest cabitan beta)
You can enable it whenever you want and I see no reason why you shouldn’t. It’s always good to have.
 

Lolito

macrumors 6502
Mar 20, 2013
397
34
here
As a raid user, I would personally recommend not to use it. I enabled it after doing the raid, and I had like one crash per week, and before the raid and enebling trim I did not have the issue. Now on el capitan, i did not enable trim, the system seems very very stable so far, so i don't plan on enabling it just yet, I think it will work better without it, using RAID.
 

hwojtek

macrumors 68020
Jan 26, 2008
2,274
1,276
Poznan, Poland
It's a well known issue with TRIM and RAID. And yes, for a single, non-RAID drive I'd switch TRIM on and never even care what it does if it does anything.
 
  • Like
Reactions: KALLT

iceman4321

macrumors newbie
Original poster
Oct 5, 2015
11
1
Thanks everyone! I appreciate that TRIM might not make *that* much of a difference, however looking at this video on YouTube, I'd rather help the garbage collection as much as possible!

Skip to 1min 10seconds -


Given TRIM will not work over USB (any idea why?) and assuming I am adamant about enabling it before installing the OS - will the following work?

1) Use Diskmakerx to create bootable USB with El Cap
2) replace HDD with SSD in MBP
3) Boot Mac with USB, fire up terminal, mount SSD and enable TRIM
4) Install El Cap from USB

........
given I am a newbie, will (3) actually work? e.g. can I fire up Terminal when booting from a El Cap USB drive? and can I run trimforce enable on the mounted SSD?

Thanks all.... I appreciate the input so far, but I'd rather enable TRIM from the get go. I really feel there must be a way to do this by just mounting the drive somehow so I see "TRIM Support = Yes".


cheerio! :)
 

KALLT

macrumors 603
Sep 23, 2008
5,361
3,378
Given TRIM will not work over USB (any idea why?) and assuming I am adamant about enabling it before installing the OS - will the following work?

1) Use Diskmakerx to create bootable USB with El Cap
2) replace HDD with SSD in MBP
3) Boot Mac with USB, fire up terminal, mount SSD and enable TRIM
4) Install El Cap from USB

........
given I am a newbie, will (3) actually work? e.g. can I fire up Terminal when booting from a El Cap USB drive? and can I run trimforce enable on the mounted SSD?

Have you understood how this works? It is the OS that uses TRIM when it deletes files. That means that your OS must have that function enabled when it boots, which isn’t the case here. Your drive is pristine and has garbage collection. There isn’t that much room for wasting write operations when you just enable it soon after the first boot. Just install the OS, boot, open a Terminal window as soon as you can and reboot.

The only solution I can think of is installing the system on another partition or drive, booting from it, enabling TRIM and then copying that entire install to your new SSD. Then it should boot with TRIM enabled. That’s hypothetical though, you’d have to test it yourself. The only problem is that you will not have a Recovery OS, so it’s not a preferable solution. All in all this is rather theoretical and there is no assurance that it all works out.
 
Last edited:

iceman4321

macrumors newbie
Original poster
Oct 5, 2015
11
1
@KALLT thanks. I will just clean install and then enable TRIM soon as I can.

@Hitrate Care to expand why? Anything we are missing here? do you think it has an adverse impact of any sort? cheers
 

DesertMC

macrumors newbie
Oct 31, 2011
18
7
I did a clean install from yosemite to el capitan with trim enabled and it did get reset back to off/disabled so you wouldn't have any choice than enable after the clean install.
 

iceman4321

macrumors newbie
Original poster
Oct 5, 2015
11
1
@coz2001 - thanks for the note! much appreciated, going to enable it after install :)

I am not just pondering on the best way to install Ubuntu & Windows i.e. triple boot ... will refit still work on el cap etc. probably need another thread for that !

cheers :)
 

heckofagator

macrumors newbie
Oct 19, 2014
22
0
Hey guys, I just updated my late 2012 M6ac Mini with a Samsung 850 EVO and 16gb RAM and installed El Capitan from SD Card. I have been reading on TRIM and would like to turn it on, but I'm finding that the Samsung 800 series drives seem to be on the "blacklist", according to several sites including http://www.howtogeek.com/222077/how-to-enable-trim-for-third-party-ssds-on-mac-os-x/

Is it safe?

ximg_559cd03592e74.png.pagespeed.ic.NKJYsbztm3.png
 

uajafd

macrumors member
Jun 17, 2015
38
32
There is absolutely no point in enabling TRIM before installing OS X on a clean drive. Enabling it means actually copying a kernel extension (a driver) to a loadable location. You lose that if you wipe clean and reinstall, and guess what, the installer runs without TRIM anyway because it's a separate system with its own set of drivers.
 
  • Like
Reactions: dk206

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,196
15,727
California
Hey guys, I just updated my late 2012 M6ac Mini with a Samsung 850 EVO and 16gb RAM and installed El Capitan from SD Card. I have been reading on TRIM and would like to turn it on, but I'm finding that the Samsung 800 series drives seem to be on the "blacklist", according to several sites including http://www.howtogeek.com/222077/how-to-enable-trim-for-third-party-ssds-on-mac-os-x/

Is it safe?

ximg_559cd03592e74.png.pagespeed.ic.NKJYsbztm3.png
That article is referring to a bug in Linux and has nothing to do with OS X. Give this a read. It is perfectly safe to enable TRIM under El Capitan on those drives.
 

flowrider

macrumors 604
Nov 23, 2012
7,247
2,967
Hey guys, I just updated my late 2012 M6ac Mini with a Samsung 850 EVO and 16gb RAM and installed El Capitan from SD Card. I have been reading on TRIM and would like to turn it on, but I'm finding that the Samsung 800 series drives seem to be on the "blacklist", according to several sites including http://www.howtogeek.com/222077/how-to-enable-trim-for-third-party-ssds-on-mac-os-x/

Is it safe?

A +1 on the above post. I have 5 SSDs mounted in my Mac Pro, all are Samsungs. An SM951, 1 840 Pro, 2 840 Evos and a Series 840. TRIM is and has been enabled since I installed my first SSD more than 3 years ago. IMHO, using TRIM is a must.

Lou
 
  • Like
Reactions: Weaselboy

Ethosik

Contributor
Oct 21, 2009
7,829
6,761
Honestly, TRIM is not really worth it. Take a look at the benchmarks. It doesn't help THAT MUCH. I have been running without TRIM for YEARS and have had no issues. Even when filling my drive to 99% full constantly.
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,196
15,727
California
Honestly, TRIM is not really worth it. Take a look at the benchmarks. It doesn't help THAT MUCH. I have been running without TRIM for YEARS and have had no issues. Even when filling my drive to 99% full constantly.
TRIM won't really make the drive much faster now, but it definitely will prevent repeated writes to the drive from slowing it down. There are quite a few posts on here from members who never used TRIM and the drive slowed, then after enabling TRIM and TRIMing unused blocks on the drive, performance was back like brand new.
 
  • Like
Reactions: flowrider

Ethosik

Contributor
Oct 21, 2009
7,829
6,761
TRIM won't really make the drive much faster now, but it definitely will prevent repeated writes to the drive from slowing it down. There are quite a few posts on here from members who never used TRIM and the drive slowed, then after enabling TRIM and TRIMing unused blocks on the drive, performance was back like brand new.

Even the benchmarks of the TRIM Enabler program shows VERY LITTLE amount of difference. It is not worth the hassle. Just because TRIM is enabled, doesn't mean the drive is immune to slowdowns. I have it on my Windows 7 install and it slows down.
 
  • Like
Reactions: baypharm

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,196
15,727
California
Even the benchmarks of the TRIM Enabler program shows VERY LITTLE amount of difference. It is not worth the hassle. Just because TRIM is enabled, doesn't mean the drive is immune to slowdowns. I have it on my Windows 7 install and it slows down.
I am not saying TRIM speeds up the drive. What I am saying is that without TRIM, over time some drives will begin to have much slower write speeds. Having TRIM enabled prevents this.

I'm not sure what you mean by hassle? With the latest Yosemite and now El Capitan all you do is enter the command "sudo trimforce enable" in Terminal and you are done. No hassle at all and no third party apps like TRIM Enabler are needed.
 
  • Like
Reactions: leventozler

Ethosik

Contributor
Oct 21, 2009
7,829
6,761
I am not saying TRIM speeds up the drive. What I am saying is that without TRIM, over time some drives will begin to have much slower write speeds. Having TRIM enabled prevents this.

I'm not sure what you mean by hassle? With the latest Yosemite and now El Capitan all you do is enter the command "sudo trimforce enable" in Terminal and you are done. No hassle at all and no third party apps like TRIM Enabler are needed.

The hassle is, some SSDs are buggy (even the Samsung suffered from this) where TRIM would delete the wrong data. We had this happen to a few OCZ drives too. TRIM offers very little benefit and can be a hassle when it deletes wrong data.
 
  • Like
Reactions: baypharm

LexS

macrumors newbie
Nov 18, 2015
15
1
hi guys - I have a Samsung SSD 850 EVO ready to replace my HDD in my old MBP (early 2009) however wanted to check how to enable TRIM before I install the OS ElCap on it as I rather not write anything to it without TRIM enabled first :)

I have a USB to SATA cable that I plan to use to clean install the OS on my SSD and then open my MBP, replace my HDD with the SSD.

Had a quick look at terminal and tried "trimforce enable" does seem to popup the y/n confirmation question (I quit by setting it to N for now). I am not sure if I should run this and set to "y" first (assume this will have no effect on my HDD) and then try to install ElCap on my SSD?

So what is the sequence of steps to proceed:
1) trimforce enable + reboot
2) plug the SSD in via my USB / SATA cable
3) Install OS El Capitan - I have the file downloaded from app store for OS install
4) Open MBP and replace HDD with SSD

Will this work OR do I need to run (1) AFTER I do (2)?

Thoughts for a newbie?

cheers all!
_________>>>
I strongly advise against the Trim command. It may corrupt files on the SSD. GarbageControl is very good on modern SSDs and can be helped by leaving more free space on the SSD. There are even SSDs blocked in the Linux kernel:
http://www.howtogeek.com/222077/how-to-enable-trim-for-third-party-ssds-on-mac-os-x/
The reason that Apple warns against the use of the trimforce command is not for nothing. Apple has their own controllers inside their SSDs. Your Samsung is even in the list thus it would not activate Trim.
 
  • Like
Reactions: baypharm

chrfr

macrumors G5
Jul 11, 2009
13,546
7,069
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.