
Sudo touch /System/Library/Extensions & sudo kextcache -prelinked-kernel /System/Library/Caches//Startup/kernelcache -K /System/Library/Kernels/kernel /System/Library/Extensions Make sure Add "kext-dev-mode=1 in boot flags)ĭelete previous kext in sys/lib/extensions Trim enabler on hackinotosh yosemite 10.10 Only the deletion process takes a little longer. Why is this better? Because ultimately, the SSD’s write performance will remain unaffected over time. Simply put, TRIM is a command sent from the system to the SSD, telling it to perform the read-erase-modify-write cycle whenever a file is deleted instead of waiting until there is new data to be written.

This is called the read-erase-modify-write cycle. the entire block has to be first cached (read and stored in memory cache), the block erased, then the cached block is modified to include the new data and finally written on the flash media again. And deletion procedures can only be carried out on the block level i.e. On an SSD, this process slightly different: data is stored in flash memory cells that are grouped into pages. Whenever the system needs to write new data on that space, it firsts deletes any occupying data and then writes the new data on it. After you empty the Trash (or Recycle Bin), the system just flags the space occupied on that particular part of the drive as empty or “free”.
:max_bytes(150000):strip_icc()/003-enable-trim-for-any-ssd-in-os-x-ccc69e66a9124135aaa478e0c9b69f33.jpg)

You see, a regular spinning hard disk writes data linearly and actually doesn’t remove data immediately. To first explain what TRIM is, you’ll need to understand how data is written and deleted on hard disks.
