Live data from Hacker News

I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)

twitter.com

21–30 of 261 posts

Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)

#21

Well, yes, but which were those 2 out of 4 vendors ?

SK Hynix and Sabrent: https://x.com/xenadu02/status/1496290369184874497?s=20

Did what, for those of us without Twitter accounts?

Did they Pass or Fail the flush test? (Saved or Lost data respectively?)

Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)

#22
post #11
post #10

I guess it's time for `fsync_but_really_actually_sync_it_please(2)` (and the lower level equivalents in SATA, NVMe etc.)?

Buggy firmware could also screw that up.

this is like blaming ftx's collapse on sloppy accounting

Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)

#23
post #21

Earlier quoted context omitted.

SK Hynix and Sabrent: https://x.com/xenadu02/status/1496290369184874497?s=20

Did what, for those of us without Twitter accounts? Did they Pass or Fail the flush test? (Saved or Lost data respectively?)

> Update 2: models that lost writes:

> SK Hynix Gold P31 2TB SHGP31-2000GM-2, FW 31060C20

> Sabrent Rocket 512 (Phison PH-SBT-RKT-303 controller, no version or date codes listed)

Looks like those two models failed.

Would like to note that these tweets are from Feb 22, 2022. This entire thread should have (2022) on it.

Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)

#24

Well, 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, 02Aug2021: Pass

SK Hynix Gold P31 2TB SHGP31-2000GM-2, FW 31060C20: Fail

Sabrent Rocket 512 (Phison PH-SBT-RKT-303 controller, no version or date codes listed): Fail

Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)

#25
Losing 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 supercapa or batteries onboard. But an ATX power rail that has extra resilience from the supply, or an add-in/pass-through 6-pin sata power supercap... that could be useful too.

Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)

#28
post #19

This is (2022). Wondering if anything changed since the original tests...

> Wondering if anything changed since the original tests...

You're wondering if firmware writers lie to layers higher up in the stack? I think it's a 100% certainly that there's drive firmware that lies.

There's a reason why many vendors have compatibility lists, approved firmware versions, and even their "own" (rebranded from an OEM) drives that you have to buy if you want official support (and it's not entirely a money grab: a QA testing infrastructure does cost money).

Re: I tested four NVMe SSDs from four vendors – half lose FLUSH'd data on power loss (2022)

#29
post #10

I guess it's time for `fsync_but_really_actually_sync_it_please(2)` (and the lower level equivalents in SATA, NVMe etc.)?

> (and the lower level equivalents in SATA, NVMe etc.)?

This is not a technical problem that needs yet another SATA/SAS/etc command to be standardized. It's a 'social' problem that there's no real incentives for firmware writers to tell the truth 100% of the time.

The best you can hope for is if you buy a fancy-pants enterprise storage solution with compatibility lists and approved firmware versions.

Post reply on HN