- system_profiler SPSerialATADataType | grep -i trim -B 12 -A 3
若是有看到TRIM Support: Yes,代表這個硬碟有支援TRIM。確認有TRIM功能後,可以用下面的指令開啟TRIM支援:
- sudo trimforce enable
IMPORTANT NOTICE: This tool force-enables TRIM for all relevant attached devices, even though such devices may not have been validated for data integrity while using TRIM. Use of this tool to enable TRIM may result in unintended data loss or data corruption. It should not be used in a commercial operating environment or with important data. Before using this tool, you should back up all of your data and regularly back up data while TRIM is enabled. This tool is provided on an “as is” basis. APPLE MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THIS TOOL OR ITS USE ALONE OR IN COMBINATION WITH YOUR DEVICES, SYSTEMS, OR SERVICES. BY USING THIS TOOL TO ENABLE TRIM, YOU AGREE THAT, TO THE EXTENT PERMITTED BY APPLICABLE LAW, USE OF THE TOOL IS AT YOUR SOLE RISK AND THAT THE ENTIRE RISK AS TO SATISFACTORY QUALITY, PERFORMANCE, ACCURACY AND EFFORT IS WITH YOU.上述警告後面就會接著後面的問題,都選yes:
- Are you sure you wish to proceed (y/N)? y
- Your system will immediately reboot when this is complete.
Is this OK (y/N)? y
Enabling TRIM.....Operation succeeded. Your system will reboot momentarily, please wait...系統會重開機,沒有問題的話系統已經為所有硬碟開啟了Trim了~
參考資料
- How to check TRIM status via Terminal
- Mac開啓SSD的TRIM:Mac OS X 10.9 Mavericks之前的系統開啟Trim的方式
- How to Check and Enable TRIM on a Mac SSD:介紹SSD的好文章(圖多)
沒有留言:
張貼留言