The TRIM command has been designed to address the performance degradation of Solid State Drives over time. TRIM allows the operating system to notify the SSD's controller that data blocks are no longer in use and may be wiped and reused as a consequence.
Before TRIM, SSDs degraded in performance over time due to the way the storage devices handle write operations.
Some manufacturers addressed this with reset tools at first which had to be run regularly to keep the performance of the Solid State Drive at an acceptable level. Finally, some added garbage collection to the controller. Garbage Collection could run defragment operations or use TRIM to optimize the storage.
Now, the difficult thing with TRIM is that it is only supported by Windows 7, Windows Server 2008 R2 and Linux at the moment, and newer versions of those systems. Users who do not run those operating systems do not have access to TRIM.
Windows users need to make sure that TRIM is working properly, especially if they notice that the performance of the Solid State Drive seems to drop significantly over time.
We would like to introduce three options to find out if TRIM is enabled in the operating system.
The portable software program performs a scan of all drives and will report if Windows Filesystem Delete Notifications (ATA TRIM) is enabled or not. All it takes is to execute the program, wait some seconds for the scan to complete to see the results in the main program interface.
Drive Controller Info can be downloaded by clicking on this link.
Trimcheck is an open source command line tool which you need to run twice to find out whether TRIM is enabled.
The first run creates random data and deletes the data, the second run checks whether TRIM was run on the drive.
While that may work automatically, it sometimes may be necessary to reboot the PC or run software that runs the TRIM command manually.
The second option requires no third-party software. Users need to start a command prompt with elevated rights. This is done by clicking on the start orb, then All Programs, Accessories, right-clicking on Command Prompt and selecting Run as Administrator.
Another option is to press the Windows-key, type cmd.exe, hold down the Shift-key and the Ctrl-key, and select the result.
Now execute the command fsutil behavior query DisableDeleteNotify and take a look at the result.
Two results are possible:
If TRIM is not active on the system, which can be the case if the SSD has not been properly recognized, if it is to slow or if drivers have not been properly installed.
TRIM can be enabled with a similar command if it is not enabled in Windows 7. To activate TRIM issue the command fsutil behavior set DisableDeleteNotify 0.Advertisement
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.