cancel
Showing results for 
Search instead for 
Did you mean: 

fsutil behavior query|set DisableDeleteNotify command to query or set Trim.

idata
Esteemed Contributor III

I've seen many people misunderstand this command thinking it means TRIM is working on the SSD because the command returns a value of 0. The command only means TRIM is enabled by default in Windows 7 and will be on even for mechanical drives!

# re: Support and Q&A for Solid-State Drives

@krish4u:

Correct, 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.

Thursday, May 07, 2009 4:27 PM by craigbarkhouse

Source: http://blogs.msdn.com/e7/archive/2009/05/05/support-and-q-a-for-solid-state-drives-and.aspx http://blogs.msdn.com/e7/archive/2009/05/05/support-and-q-a-for-solid-state-drives-and.aspx

0 REPLIES 0