I guess it's time for `fsync_but_really_actually_sync_it_please(2)` (and the lower level equivalents in SATA, NVMe etc.)?
I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
11–20 of 261 posts
Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#12Name the offenders please. I am sure it might be easy to see visually - a lack of substantial capacitor on the board would indicate a high likelihood of data loss.
Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#13Name the offenders please. I am sure it might be easy to see visually - a lack of substantial capacitor on the board would indicate a high likelihood of data loss.
None of the tested drives use power loss protection capacitors.
Not scenarios where the data is in the cache when the power drops and the drive is expected to write out the cache with internal power alone.
Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#14Earlier quoted context omitted.
None of the tested drives use power loss protection capacitors.
We're talking about scenarios where the drives report (untruthfully) that the data has been committed to non-volatile storage _before_ the power is removed Not scenarios where the data is in the cache when the power drops and the drive is expected to write out the cache with internal power alone.
Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#15Earlier quoted context omitted.
We're talking about scenarios where the drives report (untruthfully) that the data has been committed to non-volatile storage _before_ the power is removed Not scenarios where the data is in the cache when the power drops and the drive is expected to write out the cache with internal power alone.
Aren't those the same scenario?
Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#16Earlier quoted context omitted.
We're talking about scenarios where the drives report (untruthfully) that the data has been committed to non-volatile storage _before_ the power is removed Not scenarios where the data is in the cache when the power drops and the drive is expected to write out the cache with internal power alone.
Aren't those the same scenario?
The first scenario is for consumer disks, they don't report 'committed' until the data is actually committed. That makes them a whole assload slower. (Unless they lie.)
Looking up the definitions of write-back vs write-thru caching will help you out here
Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#17Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#18Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#19Wondering if anything changed since the original tests...