2

This question already has an answer here:

My question is: How to natively enable TRIM in Sierra for a 3rd-party SSD?

A solution I found involves installing an "out of the App Store" app that will probably ask for admin credentials etc which I generally don't like.

Is there a native way in OS Sierra to enable TRIM ? Since many paid apps like the one I mentioned are just GUIs for basic BSD tools already in Sierra.

I'm all new to SSDs and just heard about TRIM and how it can help boost the life of your SSD etc.

Thanks !

marked as duplicate by fsb, IconDaemon, nohillside May 30 '17 at 18:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • sudo trimforce enable worked on El Capitan, not sure if it's possible with Sierra – enzo May 30 '17 at 14:34
5

Open a terminal window, then type sudo trimforce enable. Enter your password into the command line, trim will be turned on. Devices seen below will not work with TRIM commands. If you are unfamiliar with using the command line, I'd see the bottom of this post for guided images.

enter image description here

To enable trim, see below

enter image description here

enter image description here

  • Thanks for your help ! I'm a bit worried about the "as-is" nature of the disclaimer. Is TRIM risky or reliable ? Or is it full experimentation ? Would it be better to use something like Trim Enabler ? : cindori.org/trimenabler – MFJC May 30 '17 at 14:47
  • Only fails on drives that are older... new drives should be fine. – bret7600 May 30 '17 at 14:51
  • But do you need TRIM anyway ? My SSD is recent I think, it's a Crucial MX300. – MFJC May 30 '17 at 18:09
  • In short, no. Your choice of Trim and/or GC won't harm the drive. It'll affect its performance. Both features exist to speed up write performance which would otherwise decline over time. Using both is optimal and recommended for heavier write use but one or the other ought to cope with typical end usage. – bret7600 May 30 '17 at 23:03
  • The code you quote regarding trim support is from the linux kernel. git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/… and isn't about ALL trim but specifically queued trim. Also it sounds like a lot of the Samsung issues were not actually samsung issues, but a kernel bug. forums.fedoraforum.org/… So not sure this list of "SSDs that don't work with TRIM" is really relevant for MacOS. – mattpr Jun 4 '18 at 8:19

Not the answer you're looking for? Browse other questions tagged or ask your own question.