Host Memory Buffer (HMB) in SSDs: What It Is and Whether It Matters


Host Memory Buffer (HMB) is an NVMe feature that lets a solid-state drive borrow a small slice of system RAM to hold its mapping table. It exists because the table is large, the drive's own cache is small, and a few dozen megabytes of host memory cost the manufacturer nothing. Cheaper NVMe drives use it to close part of the performance gap with drives that have their own DRAM.

It is not a setting you enable, and it is not a substitute for DRAM. Understanding what it does explains why two drives with similar capacity and similar sequential speeds can feel very different under real workloads.

What HMB Is

HMB is part of the NVMe specification, introduced with NVMe 1.2. The host operating system reserves a contiguous buffer in system memory and tells the SSD where it is. The drive then uses that buffer as a cache for the logical-to-physical mapping table, which records where each block of data actually lives in the NAND.

Typical buffer sizes are 32 to 64 MB. The drive requests a size, the operating system grants what it can, and the two agree on the layout during initialisation.

Why an SSD Wants DRAM

Every read and write needs an address translation. A 1 TB drive with 4 KB pages has about 268 million mapping entries. Storing that table in the controller's small SRAM is impossible, so drives either add a DRAM chip or keep only a cached subset in SRAM and fetch the rest from NAND.

When the needed entry is not cached, the controller performs an extra NAND read before it can serve the request. That added latency is the main reason DRAM-less drives feel slower in random workloads even when their sequential benchmark numbers look respectable.

How HMB Works

What It Helps and What It Does Not

HMB improves the cases where the mapping table is the bottleneck:

It does not fix the other weaknesses of a budget drive:

How to Check Whether It Is Active

The feature is negotiated at the hardware level, so there is no Windows toggle to inspect. Use HWiNFO or the vendor's SSD toolbox and look for the NVMe drive's feature list. Some tools label the drive as "HMB supported" and report the granted size; others show nothing even when the feature is working.

In Linux, nvme id-ctrl /dev/nvme0 reports the HMB preferences the drive advertises. If the value is zero, the drive does not request a buffer.

The practical test is a benchmark you can repeat: run a random 4K read test on the same drive in two machines, one with an older operating system and one with a current one. A large difference in IOPS, with identical hardware, usually points at host-side features such as HMB.

What to Buy

For a general-purpose laptop or desktop, an HMB drive is a sensible choice. The price difference is real, and the performance gap in everyday use is smaller than the spec sheet suggests. Pay for DRAM when the workload is sustained and random:

If you are replacing a drive, cloning keeps the installation and avoids a reinstall. Qiling Disk Master can copy the old disk to the new NVMe drive, and the destination is selected explicitly so the source is never at risk.

Step 1. Install the new NVMe drive in a compatible slot or enclosure, then launch Qiling Disk Master, open Tools and utilities and click Disk/Partition clone.

open Disk/Partition clone for an SSD upgrade

Step 2. Select the current system disk as the source and click Next.

select the current system disk as the clone source

Step 3. Select the new drive as the destination and click Next.

select the new NVMe drive as the clone destination

Step 4. Review the layout, click Proceed, then shut down and boot from the new disk before you reuse the old one.

review the clone layout and click Proceed

Can I turn HMB on or off?

No. It is negotiated automatically between the drive and the operating system. There is no supported user setting in Windows.

Does HMB make a DRAM-less SSD as fast as a DRAM SSD?

It narrows the gap in random reads, but it does not close it. A good DRAM-based drive still wins in sustained mixed workloads.

Do all NVMe drives support HMB?

No. Drives with their own DRAM do not need it, and some DRAM-less controllers do not request it. Check the model's specification or a review that inspects the controller.

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!


QilingTech uses cookies to ensure you get the best experience on our website.  Learn more  Got it