Pages: [1]   Go Down
  Print  
Author Topic: OS X Yosemite and trim support: What is it and should you use it?  (Read 391 times)
HCK
Global Moderator
Hero Member
*****
Posts: 79425



« on: July 02, 2015, 03:00:17 pm »

OS X Yosemite and trim support: What is it and should you use it?

<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p><a href='http://www.imore.com/os-x-10104-and-trim-support-should-you-turn-it' title="OS X Yosemite and trim support: What is it and should you use it?"><img src='http://www.imore.com/sites/imore.com/files/styles/large_wm_brw/public/field/image/2015/06/mac-hard-drive-hero.jpg?itok=eYRAIUfP' />[/url]</p> <p class="intro">If you've upgraded your Mac with a third-party solid state drive, a new Terminal command in 10.10.4 may improve performance.</p> <p>OS X Yosemite has been updated to version 10.10.4 and with it Apple has surfaced a trim command in Terminal. Trim enables more efficient "garbage collection" on Macs equipped with some third-party solid state drives (SSDs). Not all SSDs are created equal, though, and that raises some issues to consider before you pull the trim trigger.</p> <!--break--> <p>Let me point out right off the top that if you're using a Mac with built-in SSD storage, none of this applies to you. Trim support in 10.10.4 is only relevant to Macs with upgraded third-party SSD. And even then, trim may only be relevant to a subset of those Macs.</p> <p>"Trimming" is a technique used by operating systems to do "garbage collection" on an solid state disk. Trimming enables the SSD to consolidate blocks of flash memory to make sure performance remains high. Without garbage collection, an SSD can slow down over time as more data is written to the drive.</p> <p>If you bought your Mac with an SSD factory-installed by Apple, you don't have to worry. First party SSDs do their own garbage collection, so no changes are necessary for those systems. Third-party SSDs equipped with SandForce controllers, like the ones sold by Other World Computing (OWC), don't need any help, either.</p> <p>With Mavericks and previous OS X releases, some Mac users who had upgraded their computers with third-party SSDs used Trim Enabler and other tools to get trim support to work on their drives. That went away with the release of Yosemite, which enforced a new security measure called "kext signing." Kernel extensions, or kexts, are system drivers. Kext signing makes sure system drivers stay unaltered to prevent potential security problems. Unfortunately, this meant that utilities which altered the way SSD drivers work stopped working on Yosemite.</p> <p>While kext signing is still Yosemite's law of the land, 10.10.4 introduces a new "trimforce" command that enables trim on SSDs. OS X 10.10.4's new "trimforce" command is entered through the Terminal:</p> <p><tt>sudo trimforce enable</tt></p> <p>The operating system barks back a long and potentially scary message about how using trimforce may cause "unintended data loss or data corruption" before turning it on.</p> <p>The problem is that not all SSDs implement trim support the same way, and some models from some manufacturers appear to have very buggy trim implementations all together.</p> <p>So why did Apple enable this? Well, it looks like this is an early implementation of something we expected in El Capitan, but many newer third-party SSDs don't have any trouble with trim support and will benefit from it, so it's a net positive.</p> <p>Again, if you're using a Mac equipped with a factory-installed SSD or one that uses an SSD that has a SandForce controller, this doesn't apply. If you're using a third-party SSD, use this command at your own risk. I'd strongly recommend checking with user support forums and any other online resources for your SSD maker before enabling trimforce on your Mac, and whatever you do, back up early and often.</p> </div></div></div><br clear='all'/>

<a href="http://rc.feedsportal.com/r/233194066456/u/49/f/616881/c/33998/s/47c02d24/sc/15/rc/1/rc.htm" rel="nofollow"><img src="http://rc.feedsportal.com/r/233194066456/u/49/f/616881/c/33998/s/47c02d24/sc/15/rc/1/rc.img" border="0"/>[/url]

<a href="http://rc.feedsportal.com/r/233194066456/u/49/f/616881/c/33998/s/47c02d24/sc/15/rc/2/rc.htm" rel="nofollow"><img src="http://rc.feedsportal.com/r/233194066456/u/49/f/616881/c/33998/s/47c02d24/sc/15/rc/2/rc.img" border="0"/>[/url]

<a href="http://rc.feedsportal.com/r/233194066456/u/49/f/616881/c/33998/s/47c02d24/sc/15/rc/3/rc.htm" rel="nofollow"><img src="http://rc.feedsportal.com/r/233194066456/u/49/f/616881/c/33998/s/47c02d24/sc/15/rc/3/rc.img" border="0"/>[/url]

<img src="[url]http://da.feedsportal.com/r/233194066456/u/49/f/616881/c/33998/s/47c02d24/sc/15/a2.img" border="0"/>[/url]<img width="1" height="1" src="http://pi.feedsportal.com/r/233194066456/u/49/f/616881/c/33998/s/47c02d24/sc/15/a2t.img" border="0"/><img width='1' height='1' src='' border='0'/><img src="http://feeds.feedburner.com/~r/TheIphoneBlog/~4/NL9CQkonLAY" height="1" width="1" alt=""/>

Source: OS X Yosemite and trim support: What is it and should you use it?
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: