QUOTE(babylon52281 @ Dec 30 2023, 06:58 PM)
That means you dont have a point then. And you dont understand what SSD DRAM does. Its not just the mapping table that HMB do. Go read up some more.
HMB already allows the controller to access preserved part of the DRAM attached to your CPU, to act as it's DRAM.
Some DRAM-less design, like WD Blue or Phison PS3111-S11 do come with a small amount SRAM to store the metadata table instead of thrashing the data. That is fixed since the algorithm ran in the controller has deterministic in terms of space complexity, i.e. 128GB of space has 16MB of metadata.
To add things into complexity, HMB only lets SSD controller to get an amount of RAM attached to your CPU, and it is up to the controller to store data it wants into that portion. The data structure & algorithm comes into place. With this layer, it can request size like 1GB and use it like a SSD with DRAM, but usually it is overkill. You only see they request like 32MB-64MB in real life, reason being :
- Windows does have write caching, which still writes the data into RAM first and flush it to the drive asynchronously in background
- SSD controller receives write request, it can first buffer the data in the HMB portion but this is useless since the data is already in RAM anyway (refer to the earlier step, but this can work if the OS doesn't work that way)
Next...
- SSD controller writes the data to SLC cache if it is not full yet, then only back off to TLC mode (where the speed starts dipping)
- Throughout this process, the SRAM or HMB portion of cached metadata can be used in searching the empty page / updating the metadata
- Periodically / every X round of writes / by strategy (i.e. LRU, FIFO, weighted access or some kind of smart AI you name it), the metadata will be flushed back to the NAND flash for persistent storage.
Here is an IEEE paper that shows it is entirely possible for using HMB as both metadata table and data cache, and what's stopping controller firmware engineer from implementing this? One of the author was from Samsung memory.

Your "drive swap" problem is now solved.
https://ieeexplore.ieee.org/stamp/stamp.jsp...rnumber=8868151It is too early (late, for now) to conclude that every single DRAM-less design is evil when you have so many things that come into play in the
Write amplication ratio, which is the term that you didn't even mention in your post.
To add salt to the injury, WD offers both SN570/SN580 and SN850X 5 years warranty and rated them at the same TBW, so this clearly goes against what you mentioned about the shorter warranty thingy.
This post has been edited by kingkingyyk: Dec 30 2023, 08:25 PM