SSD DRAT Support

Discussion in 'backup, imaging & disk mgmt' started by Mr.X, Sep 18, 2021.

  1. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    3,985
    Location:
    Mexico
    How to know my SSD supports DRAT reading product's specs?
     
  2. TheRollbackFrog

    TheRollbackFrog Registered Member

    Joined:
    Mar 1, 2011
    Posts:
    4,466
    Location:
    The Pond - USA
    @Mr.X - the easiest way would be to download & run "TrimCheck" (it must be run from the disk you're checking). When you run it (then run it again after first run <wait about 15-20 seconds to do this>), it will show you the DATA returned from the SSD. If the DATA are all the same, the unit is supporting DRAT (or RZAT which is also fine). If the DATA are different, the unit is not supporting DRAT or the TRIM function is not currently enabled in your OS.

    Very rarely will the SSD's product specs say anything about how it's internally dealing with "garbage collection" (DRAT, RZAT or non-deterministic TRIM).
     
  3. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    3,985
    Location:
    Mexico
    Yes I realized when I googled a while ago then I wonder how to know before buying a SSD.
    It seems a bit outdated for me. I wonder what other diagnostic software regularly maintained can do the same tests like TrimCheck. Perhaps CrystalDiskInfo?
     
  4. TheRollbackFrog

    TheRollbackFrog Registered Member

    Joined:
    Mar 1, 2011
    Posts:
    4,466
    Location:
    The Pond - USA
    TrimCheck is the only piece of "trim" code that I've ever seen that's designed to specifically return the SSDs DATA following a TRIM operation. Lots of utilities that will "trim" your drive but none that do what TrimCheck does. TrimCheck was originally designed to test whether an OS was even doing the TRIM operation (early Win7 days) and it did it by returning the deleted DATA to see if it had been changed. That little factor allowed users to see exactly what type of TRIM operation was actually occurring (it wasn't what it was designed for) :)

    I've used it since v0.3 without issue...
     
  5. TheRollbackFrog

    TheRollbackFrog Registered Member

    Joined:
    Mar 1, 2011
    Posts:
    4,466
    Location:
    The Pond - USA
    HDPARM under Linux will do it for you...
     
  6. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    3,985
    Location:
    Mexico
    Great, I put both 33 and 64 bit versions in my Windows Repair Toolbox.

    Thanks a lot.
     
  7. TheRollbackFrog

    TheRollbackFrog Registered Member

    Joined:
    Mar 1, 2011
    Posts:
    4,466
    Location:
    The Pond - USA
    Turns out "Hard Disk Sentinel" claims to be able to determine DRAT status under its SSD specifics. I tried it out on my three SSDs (<2> SK Hynix and a Crucial). HDS said the Crucial was DRAT enabled and the others were not, but when tested, all provided ALL ZEROS following the TRIM operation. Earlier devices of this type were called RZAT (Return ZERO After TRIM). Since that DRAT status is a bit in the ATA Status command to the disk, I'm not sure all devices return it correctly... most likely based on the controller used in the device. Anything that used to be RZAT can be considered DRAT as well... the only difference may be the ATA DRAT status bit.

    So... it all appears to be a crapshoot. For me, TrimCheck is the best determining factor for this information since it actually returns real DATA to be seen. In my use of the utility in the past, I have come across devices which returned ALL ONES following TRIMming and one RANDOM DATA (non-deterministic) but don't remember its brand (think it may have been a Kingston device)... it was an early device.
     
    Last edited: Sep 19, 2021
  8. TheRollbackFrog

    TheRollbackFrog Registered Member

    Joined:
    Mar 1, 2011
    Posts:
    4,466
    Location:
    The Pond - USA
    A further look at the ATA Identify Device DATA block returned from SSDs shows (2) DATA bits associated with this area of SSD mgmt... Supports DRAT and Supports RZAT. My guess with HDS above is that the app only checks the DRAT bit and not the RZAT bit and that's why (2) of my devices above most likely return the RZAT bit rather than the DRAT bit when an inquiry is made. Just a guess on my part without actually looking at a ATA Identify Device DATA block from my devices above (too much trouble... my programming days were over a looooong time ago ;))...
     
  9. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    3,985
    Location:
    Mexico
    Interesting info. Thank you.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.