How do I know if my SSD Drive supports TRIM?

23

6

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.

Omar Shahine

Posted 2009-05-09T18:48:48.140

Reputation: 2 409

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 – 2009-05-10T22:26:24.970

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 – 2011-02-21T13:33:28.010

Answers

8

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.

Omar Shahine

Posted 2009-05-09T18:48:48.140

Reputation: 2 409

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 – 2012-02-26T22:18:08.780

8

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

illmortal

Posted 2009-05-09T18:48:48.140

Reputation: 81

This is the correct answer. – Nate – 2012-02-26T22:17:03.150

4

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

jovocop

Posted 2009-05-09T18:48:48.140

Reputation:

3

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.

AndyT

Posted 2009-05-09T18:48:48.140

Reputation: 31

0

Samsung Magician is available only for Windows and provides information about ACHI and TRIM support by your current setup for Sumsung genuine SSD.

Do not forget to enable periodic drive optimization under dfrgui.exe. For SSD drive that mean to issue TRIM commands on unused blocks.

gavenkoa

Posted 2009-05-09T18:48:48.140

Reputation: 1 386