Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Windows 7 has support for the TRIM command which should help ensure that the performance of an SSD drive remains good through it's life.

How can you tell if a given SSD drive supports TRIM?

See here for a description of TRIM.

Also the following from a Microsoft presentation:

Microsoft implementation of “Trim” feature is supported in Windows 7 NTFS will send down delete notification to the device supporting “trim” File system operations: Format, Delete, Truncate, Compression OS internal processes: e.g., Snapshot, Volume Manager Three optimization opportunities for the device Enhancing device wear leveling by eliminating merge operation for all deleted data blocks Making early garbage collection possible for fast write Keeping device’s unused storage area as much as possible; more room for device wear leveling.

share|improve this question

migrated from serverfault.com May 26 '10 at 23:15

This question came from our site for system and network administrators.

    
I have a sneaking suspicion it'll show up under "Capabilities" in the details tab for the device in device manager, or perhaps somewhere in /proc if you boot a linux CD. Despite searching around, though, I'm not finding much. I do know there has been chatter on LKML about detecting TRIM support and enabling optimizations recently... –  leander May 10 '09 at 22:26
    
This really is a very useful question. Searching around i see many people wonder if TRIM is working, or enabled, or if their device has it, or is a firmware upgrade will include it. But there's no way to know for sure if it's working. –  Ian Boyd Feb 21 '11 at 13:33

4 Answers 4

up vote 6 down vote accepted

An answer to this question was published in the comments section on the Engineering 7 blog post about SSD and Windows 7.

To find out if Windows 7 is sending the TRIM command you can run the following command from an elevated prompt:

>fsutil behavior query DisableDeleteNotify

and how to interpret this based on a comment.

"...if fsutil reports that "DisableDeleteNotify" is 0, then Trim is enabled. (The feature is sometimes referred to using different names: Trim == Delete Notification == Unused Clusters Hint.) The setting is written in terms of disabling something because we like to use values of 0 for defaults.

Have Trim enabled according to this setting, which you do, means that the filesystem will send Trim commands down the storage stack. The filesystem doesn't actually know whether this command will be supported or not at a lower level. When the disk driver receives the command, it will either act on it or ignore it. If you know for sure that your storage devices don't support Trim, you could go ahead and disable Trim (enable DisableDeleteNotify) so the filesystem won't bother to send down these notifications. However sending down the notifications is pretty lightweight and I haven't seen any performance improvement by disabling them, so I don't recommend disabling this setting. If you have an SSD which does support Trim, then you definitely don't want to disable it, because there are some performance gains to be had for leaving the setting in its default form."

It seems that this still won't tell you if the drive and or firmware for the drive supports TRIM. Sigh.

share|improve this answer
    
This isn’t very useful. fsutil only tells you that your filesystem supports TRIM (and that no one has manually disabled it). We already know that. See illmortal’s answer below to find out if TRIM is actually enabled on your drive. –  Nate Feb 26 '12 at 22:18

The easiest way to know if your SSD supports TRIM is to use CrystalDiskInfo.

share|improve this answer

Download and install the Intel SSD Toolbox.

If your drive is not an Intel SSD, the only option available will be View Drive Information. Click that. Scroll down to

Word 169, Bit 0 - Data Set Management Supported

If this is 1, you have TRIM. If 0, you don't.

enter image description here

share|improve this answer
    
This is the correct answer. –  Nate Feb 26 '12 at 22:17

Sending the disabledeletenotify command to the SSD only checks if the TRIM command is being sent. The drive, of course, needs to support TRIM. The best way of doing that is to go to the manufacturer's website and check in the detailed spec for your drive.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.