Technology card
ShippingHost Memory Buffer (HMB)
NVMe HMB
How host RAM supports a DRAM-less SSD, how HMB differs from controller memory, and what it does not tell you about speed or durability.
Glossary entry on hesela.dev · JSON record · Controller Memory Buffer · NVMe Persistent Memory Region · Mapping-cache analysis
Related
On this page6 sections
In one minute
Host Memory Buffer is an optional NVMe feature that lets a controller use memory allocated by the host.
HMB changes where working memory is obtained. KIOXIA describes cooperation between the host driver and SSD controller, introduced with NVMe 1.2. Its BG4 diagram contrasts an onboard lookup table with one held in host DRAM. That is a documented implementation, not a requirement that all controllers organize their cache identically. [2] [3]
The host supplies memory ranges through the HMB Set Features command. NVMe 1.4a leaves their use vendor-specific and requires correct operation without an allocation. HMB is therefore optional working memory, not extra namespace capacity. [1]
A mapping entry identifies where user data is stored; it is not the user data itself. Micron explains that additional HMB can accommodate larger FTL tables and cache other information. Consequently, asking how much memory exists is only the start: ask what information is cached and how often the workload reuses it. [4]
Controller Memory Buffer (CMB) reverses the location: it is controller-resident memory exposed through PCIe, with supported uses advertised by the controller. It is not another name for HMB or for every internal DRAM chip. [1]
Persistent Memory Region (PMR) is a third interface: optional device memory accessed through PCIe with a persistence contract. Power-protected DRAM is one possible backing. The term identifies an interface, not a particular memory technology. [8]
NVMe 1.4b requires software to enable PMR and wait until it is ready. HSTS is cleared to 000b while PMR is not ready, so a normal health value alone is not a readiness test. PMRCAP.PMRWBM advertises the write-barrier mechanisms: a PMRSTS read establishes persistence only if that mechanism is supported, and errors or degraded health still need checking. Mapping an address or issuing a CPU store alone is not this confirmation. Restore Error is a distinct health state: new writes can remain persistent even though earlier contents were not restored correctly. A new persistence confirmation does not certify recovery of the old buffer. [7]
Persisting a PMR buffer and writing a namespace LBA are separate operations. PMR's reset-survival contract must not be inferred for CMB, whose contents are undefined after the specified resets. Nor does host-resident HMB inherit PMR's guarantees. [7]
The preferred size advertised by a controller is not the actual allocation. In NVMe 1.4a, HMPRE and HMMIN use 4 KiB units, while HSIZE uses the configured controller memory page size (CC.MPS). Check enablement separately. [1]
For a useful comparison, record the SSD model, capacity, firmware, host software, HMB enablement and allocated size. Keep the access range, read/write mix, preconditioning and test duration comparable. These are proposed comparison controls, not a benchmark performed for this card.
A 2020 device study found mapping-cache evidence, but its fixed-allocation SSD-B did not permit the same size-sweep inference as SSD-A and SSD-C. For A and C, the number of separated address regions at which read latency jumped scaled with HMB allocation. That was behavioral evidence for cached translations, not firmware inspection or proof of a universal HMB policy. [6]
Avoid translating a product example into a universal speed claim. The BG4 brief compares named devices under stated test conditions; it does not establish that every HMB drive equals every drive with onboard DRAM. A sequential headline alone cannot diagnose an address-mapping bottleneck. [3]
Memory location is not a durability certificate. Micron distinguishes protection of already-written data from protection of buffered, in-flight writes, including designs with and without onboard DRAM. Check the particular device's guarantee and the application's synchronization requirements. [5]
NVMe 1.4a requires HMB usage not to cause data loss or corruption during surprise removal. This is a conformance requirement, not evidence that a particular SSD passed a power-cut test. [1]
Translation-cache state can cross a software isolation boundary. Juffinger et al. (DIMVA 2025) characterized four SSDs and demonstrated cross-VM timing communication when separate files shared an HMB translation range. Their setup required file creation, timing capabilities and I/O reaching the drive; it did not recover arbitrary file contents. The WD Blue SN550 resisted their fast, reliable eviction method, so four-device characterization does not mean four equivalent attack successes. Our reading: include storage-cache sharing in isolation reviews without treating every HMB device as proven vulnerable. [9]
Compared to neighbors
Separate location, purpose and persistence before comparing SSD cache specifications.
HMB and neighboring memory concepts: what each description establishes
- HMB
- Relevant evidenceHost-allocated memory for controller use. [1]
- Not establishedA fixed cache policy or speed rating.
- CMB
- Relevant evidenceController memory exposed for supported host uses. [1]
- Not establishedThat every onboard DRAM buffer is a CMB.
- NVMe PMR
- Relevant evidenceDevice memory with a persistence protocol. [7]
- Not establishedDurability from address mapping alone, or a completed namespace write.
- Mapping cache
- Relevant evidenceCached address-translation information. [4]
- Not establishedThat user data is cached alongside every mapping.
- Power-loss protection
- Relevant evidenceA stated scope for stored data or in-flight writes. [5]
- Not establishedA guarantee implied by a DRAM-less label.
Uncertainty notes
- Source-based engineering guide; no SSD, host driver or power-loss behavior was tested for this card.
- HMB protocol statements are scoped to NVMe 1.4a; the PMR comparison uses NVMe 1.4b. Vendor examples describe their named designs, not a universal performance ranking.
- No invention date, fixed HMB size or operating-system support matrix is inferred.
Sources
- 01NVM Express Base Specification, revision 1.4a (9 March 2020), sections 4.7, 5.15.2.2, 5.21.1.13 and 8.9. Copyright 2007-2020 NVM Express, Inc. · accessed 2026-10-18
- 02KIOXIA: System technology / HMB technology, 28 August 2018. Vendor explanation and NVMe 1.2 history. · accessed 2026-10-18
- 03KIOXIA: Advanced BG4 Series SSD Capabilities in Comparison to the BG3 Series, version 12/2019, page 1 and Figure 1. Product-specific architecture and vendor testing. · accessed 2026-10-18
- 04Micron: Optimizing storage with host assists for the AI PC of the future. HMB and FTL mapping example; vendor explanation, not an independent benchmark. · accessed 2026-10-18
- 05Micron: Client versus Data Center SSDs, technical brief, page 5. Distinguishes protection of stored data and buffered writes. · accessed 2026-10-18
- 06Kyusik Kim and Taeseok Kim. HMB in DRAM-less NVMe SSDs: Their usage and effects on performance. PLOS ONE 15(3), e0229645 (2 March 2020), section IV and Figure 10; DOI 10.1371/journal.pone.0229645. · accessed 2026-10-18
- 07NVM Express 1.4b (21 September 2020), sections 3.1.20 and 4.7-4.8: PMR health, CMB and PMR. Copyright 2007-2020 NVM Express, Inc. · accessed 2026-10-28
- 08NVM Express: What is Persistent Memory Region? · accessed 2026-10-28
- 09Juffinger, Weissteiner, Steinbauer and Gruss. The HMB Timing Side Channel: Exploiting the SSD's Host Memory Buffer. DIMVA 2025, pp. 169-190; sections 3, 5.1 and 6. DOI: 10.1007/978-3-031-97620-9_10. · accessed 2026-11-22