Network 23 wrote:
If I understand this right, there's not much point in running Disk Utility if a TRIM utility hasn't been running already.
So to summarize what I learned from the two answers so far: For Yosemite the best thing to do is buy an SSD that is known to not need TRIM in the first place, and the 840 EVO is thought to be into that category. If you aren't forcing a TRIM utility to work in Yosemite, repairing the disk in Disk Utility is not going to be an effective workaround. If you must have TRIM you must turn off kernel signing but be prepared in case the Mac won't boot.
Because the operating system can write to an SSD's pages but must erase groups of pages (a block) at a time, and that can include pages which are still valid and which must be preserved by being copied and moved, using TRIM to identify the pages which can be ignored and just erased reduces the amount of data being rewritten, but if TRIM isn't active at the time a deletion occurs, the SSD treats the deleted file's page as still good, so it's unnecessarily written along with the good stuff. At the same time, I doubt any current SSD needs TRIM in order to function; it just doesn't function as well over the long term.
As far as the 840 EVO goes, this review addresses TRIM functioning with a surprise, which may be fixed with the firmware update garrettra recommends. And this review, for a different Samsung 840, seems to show that TRIM does, indeed, make a positive difference in Samsung SSD performance.
Another point as that while you can force "Trimming" using Disk Utility, it isn't necessary because the Garbage Collection routines can make use of the TRIM info (if it was generated in the first place) in their normal background process. Moreover, you can take other steps, beyond TRIM, to give the SSD a helping hand. One reflects the fact that SSD's silently do "wear-leveling" and make use of whatever "over-provisioning" space is built into most SSD's. You can add to that space by partitioning your SSD to leave some of its available space as free space (i.e., your partition is smaller than the maximum size you can make it) because it's accessible to the SSD controller even though it isn't to you.
While the driver signing in Yosemite is another effort by Apple to improve security, we've gotten by without out it since the beginning of OS X. My own solution has been to stay with an earlier OS for the time being. YMMV.😉