User Tools

Site Tools


other:hardware:ssd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
other:hardware:ssd [2020/01/25 00:19] – created rodolicoother:hardware:ssd [2020/01/25 00:38] rodolico
Line 3: Line 3:
 ===== Calculate Lifetime ===== ===== Calculate Lifetime =====
  
-Most vendors beyond the $10 120G specials will have a TBW parameter on their spec sheet. This is the estimated number of Terabytes Written before failure of the SSD begins.+Most vendors beyond the low end consumer devices will have a TBW parameter on their spec sheet. This is the estimated number of Terabytes Written before failure of the SSD is likely. All vendors appear to grossly underestimate this value, but this is normally the extent of their warranties.
  
-Using smartctl for various Unix systems, you can read the values of most SSD's and calculate the remaining lifetime.+Using smartctl for various Unix systems, you can read the values of most SSD's and calculate amount of data written to date.
  
 <code bash> <code bash>
-apt install smartmontools+apt install smartmontools # Devuan Linux 
 +pkg install smartmontools # FreeBSD
 # record number of Logical Bytes that makes up a sector # record number of Logical Bytes that makes up a sector
 smartctl /dev/sda -a |grep "Sector Size" smartctl /dev/sda -a |grep "Sector Size"
Line 16: Line 17:
  
 Now, multiply the above two values (rightmost column on both). That is the number of bytes written to the SSD since it was manufactured. Now, multiply the above two values (rightmost column on both). That is the number of bytes written to the SSD since it was manufactured.
 +
 +Nothing I'm aware of has less than a 10 TBW, and most high end consumer grade SSD's are rated at many times that. For example, a Samsung 850 Pro SATA 250G SSD is rated at 70 TBW, but tests show it can get up to 150 TBW.
 +
 +Note that, using the same technology, a larger capacity will have a linearly greater TBW value. The TBW value is based on between 3000 and 100,000 writes per cell depending on the technology. If you have a larger capacity drive, it has more cells, so it would have more TBW.
  
 You can find the make/model of the drive with the following two commands: You can find the make/model of the drive with the following two commands:
Line 26: Line 31:
  
 NOTE: some vendors do not include ID 241 in their output, so all you can do is guess. One good thing to try is simply take the output of smartctl -a and pipe it to less, then read through it (not that big). NOTE: some vendors do not include ID 241 in their output, so all you can do is guess. One good thing to try is simply take the output of smartctl -a and pipe it to less, then read through it (not that big).
 +
 +===== Links =====
 +  * https://www.ontrack.com/blog/2018/02/07/how-long-do-ssds-really-last/ (this is a service company, and towards the bottom is some advertisement for their service, but the article appears to be very fair).
 +
 +
  
other/hardware/ssd.txt · Last modified: 2020/01/25 21:06 by rodolico