Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Easy way to 'trim' an SSD Storage Devices
It looks like a simple Disk Repair will trim an SSD.

I got a new SSD and so I booted from a tertiary drive to clone my old SSD onto my new SSD. After the clone I ran Repair Disk and noticed at the end of the repair it "trimmed" my SSD. Maybe I just missed this before, but I don't recall seeing this trim line in repair disk before.
Verify and Repair volume "newsystem"
Checking Journaled HFS Plus volume.
Checking extents overflow file.
Checking catalog file.
Checking multi-linked files.
Checking catalog hierarchy.
Checking extended attributes file.
Checking volume bitmap.
Checking volume information.
Trimming unused blocks.
The volume newsystem appears to be OK.
Volume repair complete.Updating boot support partitions for the volume as required.
So, to force a trim just boot from another drive and run repair disk on the SSD. Disclaimer, I have the third party Trim Enabler tool/hack installed.

[crarko adds: This is another one of those things I don't have the hardware to test. Trimming an SSD is a way of optimizing the read/write/modify process for the device. It's a bit analogous to defragmenting a hard drive.]
    •    
  • Currently 2.86 / 5
  You rated: 4 / 5 (7 votes cast)
 
[20,012 views]  

Easy way to 'trim' an SSD | 16 comments | Create New Account
Click here to return to the 'Easy way to 'trim' an SSD' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Easy way to 'trim' an SSD
Authored by: jdhorner on Jan 18, '12 08:04:25AM

You can also install Cindori's Trim Enabler, available <a href="http://www.groths.org/?p=617">here</a>.

You'll recognize his name if you've used his utility for flashing non-Apple video card upgrades for Mac Pro towers. Anyway, it simply enables the (obviously) already built-in trim support for almost all SSDs, not just those that are Apple-provided.



[ Reply to This | # ]
Easy way to 'trim' an SSD
Authored by: Weaselboy on Jan 18, '12 08:30:51AM

You can do the same thing by booting to single user mode (reboot while holding command-s) and entering "fsck -fy" (without the quotes). If you have the TRIM hack installed, this will TRIM free space on the drive. If the TRIM hack is not installed this will not work.



[ Reply to This | # ]
Easy way to 'trim' an SSD
Authored by: ericdano on Jan 18, '12 08:46:28AM

Of course a ssd from, say OWC, has no need for this. Most of the new SSDs have functions to do garbage collection built into the controller on the drive.

Go look it up on OWCs site.



[ Reply to This | # ]
Easy way to 'trim' an SSD
Authored by: diamondsw on Jan 18, '12 09:34:56AM

Built-in garbage collection is guessing at what needs to be reclaimed. TRIM lets the OS tell the SSD directly "yes, you can free this now".

No amount of clever GC algorithms can compare to a simple instruction that says "do this".



[ Reply to This | # ]
Easy way to 'trim' an SSD
Authored by: dombi on Jan 18, '12 10:04:50AM

I bought a Vertex2 SSD drive over 7 months ago. I don't use TRIM.

I ran a speed test on the drive right after the purchase.
I ran the same test on the drive just recently. The results were the same.

No loss of speed. The built-in SandForce controller does a good job iIMHO.



[ Reply to This | # ]
Easy way to 'trim' an SSD
Authored by: John Frum on Jan 18, '12 11:31:39AM

After reading things on the OWC site and on ancillary blogs maintained by their top personnel, I have lost respect for them. One has to be able to differentiate between technical competence and cleverness in self-promotion. I for one am not going to pay someone premium prices for their ability to BS.



[ Reply to This | # ]
Easy way to 'trim' an SSD
Authored by: felibb on Jan 18, '12 09:27:09AM

I have no second SSD to test. Really curious whether third-party add-on does this, or OS X itself.



[ Reply to This | # ]
Easy way to 'trim' an SSD
Authored by: jimsander on Jan 18, '12 09:54:05AM

My guess is it's a result of the 3rd party TRIM enabler - just did Disk Utility --> Repair on my machine (MacBook 2008 w/ Lion + Crucial SSD) and it didn't say it did a TRIM.



[ Reply to This | # ]
Easy way to 'trim' an SSD
Authored by: sblowes on Jan 18, '12 11:10:02AM

Yeah, don't trim OWC SSDs. Decreases performance. http://blog.macsales.com/11051-to-trim-or-not-to-trim-owc-has-the-answer

---
To err is human, to moo is bovine



[ Reply to This | # ]
Easy way to 'trim' an SSD
Authored by: pagaille on Jan 18, '12 11:15:36AM

Isn't it supposed to happen on the fly ?



[ Reply to This | # ]
Easy way to 'trim' an SSD
Authored by: TonyT on Jan 18, '12 01:35:10PM

Why do you have "Trim Enabler tool/hack installed"?
Lion supports TRIM.
See: System Information->Serial ATA:
TRIM Support: Yes



[ Reply to This | # ]
Easy way to 'trim' an SSD
Authored by: Typhoon14 on Jan 18, '12 03:51:09PM

Lion only enables TRIM for apple-shipping SSDs. Third-party drives will not get it without a hack.



[ Reply to This | # ]
Easy way to 'trim' an SSD
Authored by: allanmarcus on Jan 18, '12 08:38:32PM

'Cus I'm running 10.6.8. I'm an old fart set in his ways.



[ Reply to This | # ]
Easy way to 'trim' an SSD
Authored by: lurch99 on Jan 18, '12 02:06:57PM

This "trim" ability is built into Lion's Disk Utility and 'fsck', and works on supported (Apple) SSD drives.

Trim Enabler is not needed.



[ Reply to This | # ]
Easy way to 'trim' an SSD
Authored by: dombi on Jan 18, '12 10:54:18PM

I installed an SSD into my MacBook Pro over 6 months ago. It is a Vertex2 (with SandForce). I ran some tests on the SSD right after installing it.

Then I ran the same exact test just recently, over six months after the purchase. The performance still the same.

And this is without TRIM.

I think these new SSD drives are doing a great job with doing "housecleaning" on their own.



[ Reply to This | # ]
Easy way to 'trim' an SSD
Authored by: poenn on Jan 20, '12 06:54:13AM

Yes, newer drives donít need this. OWC SSDs are the best there is imho. Iím using their 480 GB 3G model. Iím somewhat glad that my older MBP only does SATA2, otherwise I might not have been able to hold myself back ordering the 6GÖ :-)



[ Reply to This | # ]