How to enable SSD solid state drive TRIM under Win10

Time: 2022-04-08Source: Huajun Informationauthor:

What is TRIM?

How to turn on TRIM of SSD solid state drive?

The TRIM of the solid-state drive can prevent the SSD from treating useless data as useful data during garbage collection, thereby extending the life of the SSD. In HDD mechanical hard disks, the logical locations of deleted files will be marked, so that when data is stored in the future, the logical locations of these useless data can be directly overwritten. However, SSD solid state drives do not have this mechanism. The master does not know that the data is useless until new data is required to be written to the block. This will cause useless data to be treated as useful data during the garbage collection (GC) process, which will undoubtedly greatly reduce the efficiency and service life of the hard disk. Therefore, the emergence of TRIM can make up for the shortcomings of this problem.

IT Home Academy: How to enable SSD solid state drive TRIM under Win10?

▲SSD solid state drive (left) and HDD mechanical hard drive internal structure (right)

So how can you check whether TRIM is turned on in Win10?

You can view it with just one command. The steps are as follows:

1. Right-click on the Start button and run "Command Prompt" as administrator

2. Execute the following command:

fsutil behavior query disabledeletenotify

IT Home Academy: How to enable SSD solid state drive TRIM under Win10?

3.If the return value is "0", it means that TRIM has been turned on; if the return value is "1", it means that the current computer's SSD has not turned on TRIM..

How to turn on TRIM of SSD solid state drive?

The method is not difficult, the specific method is as follows:

1. Right-click on the Start button and run "Command Prompt" as administrator

2. Execute the following command:

fsutil behavior set disabledeletenotify 0

IT Home Academy: How to enable SSD solid state drive TRIM under Win10?

Similarly, if you want to turn off this function, just execute:

fsutil behavior set disabledeletenotify 1

The above method is also applicable toWin7/Win8.1system.However, not all solid-state drives support this function. Some manufacturers can also extend the life of SSDs by using other methods. For example, they can recycle unused flash memory blocks and add load balancing algorithms to prevent the SSD from slowing down after long-term use and extend the life of the SSD. Flash memory service life, the process is completely completed inside the solid state drive. Any hard drive that supports TRIM requires the firmware support of the SSD itself, not the operating system alone.

Related articles更多>>

Popular recommendations