How to turn on third party SSD TRIM on Apple Mac computer

Source: Internet
Author: User
Tags garbage collection trim

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.