What is SSD TRIM, why is it useful, and how to check whether it is turned on

In the last couple of years, solid state drives have increasingly gained popularity. It is also probable that you have read or at least heard someone else talking about how fast an SSD (Solid State Drive) is compared to traditional hard drives. If you are already using one or you want to buy an SSD to improve your computer's performance, you should know that TRIM support is essential. What is SSD TRIM, why does it matter for SSDs, and how do you check whether it is turned on, in Windows? You can find the answers to these questions, in this guide:

Contents

  1. What is TRIM for SSD drives?
  2. Why is TRIM useful for SSD drives?
  3. How to check whether Windows has turned on TRIM for your SSD
  4. How to enable SSD TRIM in Windows
  5. How to disable SSD TRIM in Windows
  6. Is TRIM turned on your SSD? What SSD do you have?

What is TRIM for SSD drives?

TRIM is a command with the help of which the operating system can tell the solid state drive (SSD) which data blocks are no longer needed and can be deleted, or are marked as free for rewriting. In other words, TRIM is a command that helps the operating system know precisely where the data that you want to move or delete is stored. That way, the solid state drive can access only the blocks holding the data. Furthermore, whenever a delete command is issued by the user or the operating system, the TRIM command immediately wipes the pages or blocks where the files are stored. This means that the next time the operating system tries to write new data in that area, it does not have to wait first to delete it.

What is SSD TRIM, why is it useful, and how to check whether it is turned on

SSD, TRIM

Let's dig a bit further into this notion: to understand what TRIM is and what it does you first need to know how SSDs work and how they handle the information stored on them.

A solid-state drive is nothing more than a device full of flash memory chips. The operating system needs to be able to read and manipulate the data on these chips. To do that, the SSD has to have a way to arrange this data. Information stored on an SSD is divided into blocks of data. These blocks are, in turn, divided into pages of data. To better exemplify, imagine that the SSD is a library. The library has lots of shelves, and these shelves are filled with books.

What is SSD TRIM, why is it useful, and how to check whether it is turned on

SSD, TRIM

However, what happens when you no longer want to keep one of these books? Say you want to sell it or lend it to a friend. It would seem obvious that you only have to take the book out of that shelf. Well, if your library is a solid-state drive, things would not work that way. On an SSD, if you decide to delete some data, it would not matter if it only occupies a page from a block. The whole block would need to be removed! All the information on the other pages would move to a temporary buffer memory, then be put back on the original block. It is like emptying a whole shelf from your library whenever you want to take a book out or replace it with a new one. Then, you would have to put all the other books back in their places. It is not efficient!

To conclude, for a solid state drive to write new data on a previously occupied space, it first has to wipe it completely. Doing it every time you move or delete data on your SSD translates into reduced performance for data writing speeds.

Why is TRIM useful for SSD drives?

You already know by now that when deleting and rewriting data, a solid state drive that does not use TRIM has to partially move significant pieces of information, wipe out all the block(s) containing it and, finally, write the new data onto those blocks. On the one hand, this means that the device's performance is poor. On the other hand, it means that the SSD does lots of erasing and rewriting. These all pile up and cause fast wear of the flash memory chips that are found inside the SSD.

TRIM ensures that both these issues are prevented, by eliminating the need to erase and rewrite large chunks of memory continually. Instead of managing whole blocks, a TRIM enabled SSD can work with the smaller memory clusters called pages. Even more, whenever a delete command is issued by the operating system or the user, the SSD automatically sends a TRIM command to wipe the storage space being erased. This ensures a faster writing speed when new data is stored in that area.

How to check whether Windows has turned on TRIM for your SSD

If you want to check whether TRIM is enabled or disabled on your solid state drive, you have to use the Command Prompt. A quick way to launch it is to use the search. There are also many other methods, which we have shown in this guide: 10 ways to launch the Command Prompt in Windows.

What is SSD TRIM, why is it useful, and how to check whether it is turned on

SSD, TRIM

Then, in the Command Prompt window, type this command: fsutil behavior query disabledeletenotify.

What is SSD TRIM, why is it useful, and how to check whether it is turned on

SSD, TRIM

Press Enter on your keyboard and, after a short while, Command Prompt displays a message that contains one of these two options:

  • "NTFS DisableDeleteNotify = 0" - means that the TRIM feature is enabled on your SSD.
  • "NTFS DisableDeleteNotify = 1" - means that the TRIM feature is disabled on your SSD.

What is SSD TRIM, why is it useful, and how to check whether it is turned on

SSD, TRIM

NOTE: You might have noticed that on our test PC, which runs on Windows 10, the above command also issued another response: "ReFS DisableDeleteNotify is not currently set." This is nothing to worry about and means that the TRIM feature is automatically enabled if you connect an SSD that uses ReFS. ReFS, also known as Resilient File System, is a Microsoft proprietary file system that is not commonly used on Windows home PCs. You can read more about it on Wikipedia.

How to enable SSD TRIM in Windows

If you run the command for finding out whether TRIM is enabled or not on your Windows PC, and you found that it is disabled, you might want to turn it on. To do so, you have to open Command Prompt as administrator, enter this command: fsutil behavior set disabledeletenotify 0, and press Enter on your keyboard.

What is SSD TRIM, why is it useful, and how to check whether it is turned on

SSD, TRIM

If you get the message "NTFS DisableDeleteNotify = 0", it means that TRIM has been enabled on your SSD.

How to disable SSD TRIM in Windows

Although there are no reasons for doing this, in case you want to disable TRIM on your Windows PC, you can do that too. Open Command Prompt as administrator, enter the command: fsutil behavior set disabledeletenotify 1, and press Enter on your keyboard.

What is SSD TRIM, why is it useful, and how to check whether it is turned on

SSD, TRIM

If you get the message "NTFS DisableDeleteNotify = 1", it means that TRIM has been disabled on your SSD.

Is TRIM turned on your SSD? What SSD do you have?

Solid state drives offer lots of performance. When it comes to their read or write speeds, they are much faster than traditional hard drives. However, because of the way they work with data, SSDs must use specific firmware commands to prevent excessive wear and performance degradation. Now you know why TRIM is essential and what it does, so we are curious: is TRIM enabled on your SSD? What SSD do you have? Is it an affordable one or is it a gamer superfast model? Leave a comment in the comments section and let's discuss.

Sign up and earn $1000 a day ⋙

How To Access An Android Phone With A Broken Screen

How To Access An Android Phone With A Broken Screen

Dealing with a broken screen on your Android phone is a hassle. Although phone screens are pretty tough, one nasty drop can shatter them completely. Given that most people have a lot of irreplaceable content on their phones, it is

Find out how to find friends and family using online services

Find out how to find friends and family using online services

In today's world, where information is more accessible than ever before, finding long-lost friends or relatives has become much easier. Online services for finding people provide convenient and effective tools that allow you to restore lost connections.

IObit Uninstaller 13 - One Click to Uninstall All Unwanted Programs

IObit Uninstaller 13 - One Click to Uninstall  All Unwanted Programs

In the busy software utilities industry, the available uninstallation tools are often overshadowed by more glamorous alternatives. Nonetheless, an excellent way of removing programs on a PC is vital for optimal system performance and the elimination of unwanted applications.

Instructions for creating Moon phase trend

Instructions for creating Moon phase trend

Instructions for creating a Moon phase trend. The Moon trend is extremely popular on TikTok, creating an unprecedented fever. Through Moon phase will help you know the date

How to edit videos posted on YouTube without losing views

How to edit videos posted on YouTube without losing views

How to edit videos posted on YouTube without losing views, You forgot to blur sensitive content in videos posted on YouTube. Don't worry, here's how to adjust it

How to enable dark mode on TikTok

How to enable dark mode on TikTok

How to turn on dark mode on TikTok, How to turn on dark mode on TikTok is not difficult. The article will guide you in detail how to change the TikTok interface to black on Samsung

Shirt size chart - How to choose the most accurate shirt size

Shirt size chart - How to choose the most accurate shirt size

Shirt size chart - How to choose the most accurate shirt size, What is the shirt size chart? Shirt size means only the size and size of the shirt or pants. Shirt size varies according to direction

Instructions for drawing prizes to receive Lucky Money on ZaloPay

Instructions for drawing prizes to receive Lucky Money on ZaloPay

Instructions for drawing prizes to receive Lucky Money on ZaloPay. Recently, Zalo has launched the program "Amazing lucky money, Happy Spring Luck" taking place from January 29, 2021 to

How to view and recover Microsoft Outlook password

How to view and recover Microsoft Outlook password

How to view and recover Microsoft Outlook password, How to view Outlook password on computer is not difficult. This article will guide you how to view and recover Outlook password

Instructions for creating and searching for draft posts on Facebook

Instructions for creating and searching for draft posts on Facebook

Instructions for creating and searching for draft articles on Facebook. Currently, we can save articles that we have created but have not yet posted on Facebook. Here, WebTech360 invites

How to set up LibreOffice Writer to work like Microsoft Word

How to set up LibreOffice Writer to work like Microsoft Word

How to set up LibreOffice Writer to work like Microsoft Word, If you're planning to switch from Microsoft Word to LibreOffice Writer but want a similar experience

Instructions for turning off saving videos on TikTok are extremely simple

Instructions for turning off saving videos on TikTok are extremely simple

Instructions for turning off saving videos on TikTok are extremely simple, to help people block others from downloading and saving their videos simply and easily. So today, WebTech360

Instructions for creating genealogical and organizational charts on Google Sheets

Instructions for creating genealogical and organizational charts on Google Sheets

Instructions for creating genealogical charts and organizing them on Google Sheets. Google Sheets is an online office application that helps us easily edit online spreadsheets,

How to import and manage multiple email accounts in Gmail

How to import and manage multiple email accounts in Gmail

How to import and manage multiple email accounts in Gmail, Want to manage all emails in Gmail? Let's learn how to manage and add multiple accounts with WebTech360

Instructions for using Photoshop filters for beginners

Instructions for using Photoshop filters for beginners

Instructions for using Photoshop filters for beginners, Each filter in Photoshop has its own algorithm and uses. Below are instructions for using the internal filter

How to create automatic clicks on Macrorify

How to create automatic clicks on Macrorify

How to create automatic clicks on Macrorify, Macrorify helps you create automatic click tasks and detect images. In this article, let's find out how with WebTech360

Instructions for logging out of Instagram account remotely

Instructions for logging out of Instagram account remotely

Instructions for remotely logging out of your Instagram account. If you don't know how to remotely log out of your Instagram account, today WebTech360 would like to introduce

Instructions for remotely logging out of Tik Tok account

Instructions for remotely logging out of Tik Tok account

Instructions for remotely logging out of Tik Tok account. To help people quickly log out of Tik Tok accounts from other devices, today WebTech360

Instructions for blurring photos on B612

Instructions for blurring photos on B612

Instructions for blurring photos on B612. Recently, the B612 application has updated the image blur effect. Next, WebTech360 will introduce the article Instructions for blurring photos

How to fix the error of printing blank pages in Microsoft Excel

How to fix the error of printing blank pages in Microsoft Excel

How to fix the error of printing blank pages in Microsoft Excel. Why do some Excel documents not display data or contain blank pages when printed? Below are the reasons