5 ms·
I don't know if I'm getting exactly what you're saying, but a sudden power off isn't going to wipe your SSD's SLC cache like it would do the DRAM cache on more
by undersuit 8y ago
I don't know if I'm getting exactly what you're saying, but a sudden power off isn't going to wipe your SSD's SLC cache like it would do the DRAM cache on more expensive drives.
- nightfly 8y agoBut if the controller gets into a weird state and "forgets" to flush the cache and then doesn't even look at the SLC cache on the next boot...
- undersuit 8y agoThe SLC cache is managed by the controller, it's not going to forget to write it to the flash cells being managed as TLC/QLC, the controller is transparently storing your data in both. The controller knows if put some data in the SLC cache and some data in the QLC, and that that data needs to move from SLC to QLC, and that that other data in the SLC was marked deleted so now it can return that entire block to being addressed as QLC. I don't know. I'm just trying to say that since flash isn't volatile the SLC cache isn't treated as volatile cache either.
- ptman 8y agoIt's probably more like the superblock not being updated to point to the newest data. Instead it points to old data that hasn't been garbage collected.