Hacker News new | ask | show | jobs
by zozbot234 83 days ago
> Many consumer SSDs ... under synchronous writes, will regularly produce latency spikes of 10 seconds or more

Surely "regularly" is a significant overstatement. Most people have practically never seen this failure mode. And if it only occurs under a heavy write workload, that's not something that's supposed to happen purely as a result of swapping.

2 comments

Very easy to reproduce: 1. Buy cheap QLC drive. 2. Fill with Steam games. 3. Delete some steam games and download new games. 4. Watch write speeds tank to zero for long periods when downloading.

It's due to garbage collecting on very slow QLC NAND. You won't see it until the drive starts to get 60%+ full. Until then, the drive pretends it is an SLC with very fast writes, but then it starts to show its true colors. Yuck.

Online-upgrading a rolling distro with a browser running is enough to see it happen regularly.