What happens in the Simulator stays in the Simulator. Opinions are my own.
Feb 21, 2022 • 18 tweets • 3 min read
Fun story: I tested a random selection of four NVMe SSDs from four vendors. Half lose FLUSH’d data on power loss. That is the flush went to the drive, confirmed, success reported all the way back to userspace. Then I manually yanked the cable. Boom, data gone.
The other half never lost data confirmed after a flush (F_FULLFSYNC on macOS) no matter how much I abused them. All four had perf hit from flushing so they are doing some work.
Top two performers on flush? One lost data 40% of the time. The other never lost any.