how to enable TRIM
Starting with 10.10.4, you can now enable Trim for 3rd party disks without resorting to 3rd party tools. Apple have included a new command line utility called trimforce
.
Beware, the name was not picked acccidentally. Trimforce forces TRIM activation on all 3rd party SSDs regardless of whether they support it or not, so use at your own discretion. Generally, it should be safe to use if your disk manufacturer recommends having TRIM turned on, but only your own testing will confirm that. As always, be sure you have full and regular backups of your disks in case of data corruption.
Note that trimforce
requires sudo
— meaning you’ll need an admin password to do this:
sudo trimforce enable
The new command line utility doesn’t have a --status
option, so if you want to check the current TRIM status from the command line, you’ll need this command:
system_profiler SPSerialATADataType | grep 'TRIM'
🙂
Posted on July 1, 2015, in Yosemite and tagged TRIM, trimforce, yosemite. Bookmark the permalink. Comments Off on how to enable TRIM.