What is TRIM in SSD | How to enable TRIM | Various TRIM commands - Info | Remo Software

What is TRIM in SSD | How to enable TRIM | Various TRIM commands

The universal fact that an SSD is faster than a normal hard disk drive is undisputed. Although HDDs are cheaper it is definitely wise to spend a few extra bucks on a SSD when looking for speed.

But do you know that there can be degradation in the performance of an SSD if a proper Background garbage collection method is not enabled in your SSD?

This is where TRIM comes into play.

What is TRIM?
TRIM as mentioned above is a command that enables your operating system to tell the solid state drive that certain blocks on your solid state drives are no longer needed and they can be erased internally. This gives SSD, the power to overwrite / replace new data on the existing data present on the block.

Why is TRIM important?

  • TRIM command when enabled can not only increases the life of your SSD but it can also boost the data access speeds on the computer.
  • The fundamental methodology of storing data on SSD is erasing and writing. When you have data written on an SSD that is no longer needed, the sector on the SSD is first erased and then rewritten which accounts for the delay.
  • TRIM enables the SSD to overwrite the data without erasing the existing information that decreases the significant delay.
  • This command additionally enhances the security of your data saved on the solid state drive. It simply makes data recovery difficult on your SSD. Hence the data once deleted is overwritten when new data is saved on the drive. However if the data is not overwritten you can retrieve deleted data from SSD drive

How does TRIM command work?

  • The memory on a SSD is divided into blocks and the blocks are further divided into pages. SSDs unlike operating systems do not understand file system and hence only understand blocks rather than pages.
  • When a trim command is run, the operating system sends a signal to SSD to trim the specific page information on the block that needs to be marked as ready to use, so that the existing data is over written.
  • As the number of read, write and erase cycles on pages /blocks increases the SSD’s life cycle decreases. Hence by using this command the erase cycles on the pages marked for deletion is completely avoided and the life expectancy of the SSD is increased as a result.

How to check if trim command is enabled in the computer?
Today most SSD’s come with TRIM feature enabled by default. However we provide the following step by step procedure to check if TRIM is enabled on your SSD:

Step 1: Type cmd in the start menu.
Step 2: Right click on the cmd suggestion and select Run as Administrator.
Step 3: In the command screen displayed type the command: “fsutil behavior query disabledeleteNotify” and hit enter
Check TRIM is enabled in SSD
Step 4: if “DisableDeleteNotify=0” is displayed TRIM is enabled on the computer else if the value “DisableDeleteNotify=1” is displayed TRIM is disabled.
SSD TRIM Enabled

How to enable TRIM in command prompt?

Step1: Type cmd in the start menu.
Step2: Right click on the cmd suggestion and select Run as Administrator.
Step3: once the Administrator command prompt is open type the command: “fsutil behavior set DisableDeleteNotify=0” and hit enter
Step4:DisableDeleteNotify=0” is displayed when the trim is enabled.

How to disable TRIM?

Step1: Type cmd in the start menu.
Step2: Right click on the cmd suggestion and select Run as Administrator.
Step3: once the Administrator command prompt is open type the command: “fsutil behavior set DisableDeleteNotify=1” and hit enter.

How to recover data when TRIM is enabled?
A few SSD data recovery techniques can recover data as long as data on the SSD is not overwritten. However if the data is overwritten, data unfortunately cannot be retrieved.

What is TRIM in SSD | How to enable TRIM | Various TRIM commands was last modified: July 31st, 2018 by Remo Software

Leave a Reply

Your email address will not be published. Required fields are marked *

*