Re:USB memory sticks are getting worse
by choilive on Wednesday February 14, 2024 @10:22PM
(#39378724)
I feel like this is not ideal for an external enclosure. Sudden power loss could lead to corruption and data loss if the data is buffered in DRAM.
[ Parent
| on HN ]
Re:USB memory sticks are getting worse
by jsheard on Thursday February 15, 2024 @07:26AM
(#39381849)
It will depend on the SSD controller, but AFAIK the DRAM usually isn't used for write caching. It's used to hold a copy of the bookkeeping structures which map virtual block locations to physical flash locations, which are mirrored on the non-volatile flash anyway, but are much quicker to random-read from DRAM.
If you use a DRAM-less drive in a situation where it can't DMA host memory, such as in a USB enclosure, it has to read those structures from flash on-the-fly which is obviously slower.