Apple Mac OS X 10.10.4 the way to unlock third party SSD trim
What is trim?
TRIM is a system-level command that allows better communication between the operating system and solid-state drives, determines which areas on the SSD are not used, and is ready to erase and write back. For solid-state drives (SSD), because of the inherent nature of flash memory, you must erase the associated blocks before updating the page. If you do not turn on the trim, the blocks that have already been deleted in the file system are physically storing the original data, and the SSD master cannot know that the block is useless until a new data requirement is written to the block. Physically storing useless data is treated as a useful data in the process of SSD garbage collection (GC), which is very detrimental to the lifetime of a solid-state drive and leads to reduced productivity and performance.
How do I turn on trim support?
In OS X 10.10.4, we simply open the terminal application and enter the following command:
sudo trimforce enable
When you have finished typing, you need to enter a password and then enter Y (yes) and return. The system reboots automatically, and the TRIM support is turned on when the reboot is complete.