Skip to content

Instantly share code, notes, and snippets.

@sogaiu
Last active July 20, 2025 11:04
Show Gist options
  • Save sogaiu/67ef51aa4d5398c2281f41e6293253b1 to your computer and use it in GitHub Desktop.
Save sogaiu/67ef51aa4d5398c2281f41e6293253b1 to your computer and use it in GitHub Desktop.
ssd device life smart notes
  • Converting "Data Units Written" to "Total Host Writes"
    • At least for one disk CrystalDiskInfo reported both
      • Specific examples values
        • Total Host Writes (THW): 239GB (value reported in "top rightish" of window - screenshot in article)
        • Data Units Written (DUW): 0x7ac9a = 502938 (hex value reported in some row of table in "lower halfish" of window)
    • Adapting sample formula
      • (DUW * 1000 * 512) / (1024 * 1024 * 1024)
      • (502938 * 1000 * 512) / (1024 * 1024 * 1024)
      • 239.81952667236328
    • One reason to bother with this calculation is that it may be easier to obtain THW via gsmartcontrol (e.g. on a linux box) - that makes using windows unnecessary to make the measurement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment