Earlier quoted context omitted.
this is like blaming ftx's collapse on sloppy accounting
Yeah, I am being generous.
I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
31–40 of 261 posts
Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#32I'm thinking of this example, but also more generally USB devices, Bluetooth devices, etc.
Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#33Earlier 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?
6.8 Flush command
The Flush command shall commit data and metadata associated with the specified namespace(s) to non-volatile media. The flush applies to all commands completed prior to the submission of the Flush command.
Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#34Twitter yuk, can somebody just post the names of the four tested drives and which passed/failed please?
Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#35Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#36Well, yes, but which were those 2 out of 4 vendors ?
There were a few more listed deeper in the thread. Fyi, the nitter version is actually readable: https://nitter.net/xenadu02/status/1495693475584557056#m Samsung 970 Evo Plus: MZ-V7S2T0, 2021.10: Pass WD Red: WDS100T1R0C-68BDK0, 04Sept2021: Pass Crucial P2 250GB CT250P2SSD8, FW P2CR046: Pass Samsung 980 250GB MZ-V8V250, 2021/11/07: Pass WD Black SN750 1TB WDS100T1B0E, 09Jan2022: Pass WD Green SN350 240GB WDS240G20C,…
Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#37The posting is from Feb 2022, nearly 2 years ago. How is this suddenly trending on Hacker News?
Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#38[flagged]
Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)
#39Losing flushes is obviously bad. I wonder how much perf is on the table in various scenarios when we can give up needing to flush. If you know the drive has some resilience, say, 0.5s of time it can safely writeback during, maybe you can give up flushes (in some cases). How much faster is the app then? It's be neat to see some low-cost improvements here. Obviously in most cases, just get an enterprise drive with supe…
Flush+FUA requires the data to be stored to non-volatile media. Capacitor-backed RAM dumping to flash is non-volatile. When a drive knows it has enough capacitor-time to finish flushing all preceding writes from the cache, it can immediately say the flush was completed. This can all be handled on the device without the software having to make guesses at how long something has to be written before it's durable.