mapping-cache · shipping · also cached mapping table, CMT

SSD mapping cache

An SSD mapping cache retains selected logical-to-physical address mappings in memory.

Related Observatory article: Read on hesela.com

The cache stores locations rather than necessarily caching user data. A miss can require reading mapping metadata before the user-data read. This is an I/O dependency, not a universal latency multiplier. [1]

With 4-byte physical addresses, one 2 KB translation page holds 512 consecutive mappings, and a full page-level table takes about 2 MB per 1 GB of flash, about 0.2%. A table that large on a 16 GB device needs about 32 MB of controller memory, which motivates caching only part of it. In DFTL's described miss path, an unchanged victim needs no writeback. A changed victim can require a translation-page read and rewrite before fetching the requested mapping: two metadata reads and one metadata write in that worst case, excluding user-data I/O and garbage collection. [4]

Capacity alone does not establish the hit ratio. Access history and the replacement rule matter. In a FEMU reimplementation of TPFTL, random-read throughput was up to 60% below sequential-read throughput; a cache holding 50% of mappings reached a 25.9% hit ratio. These are configuration-specific emulator results. [1]

A mapping-cache miss need not become a translation-page read. LearnedFTL can use a bitmap-qualified model prediction instead. Its model coverage and cache hit ratio are separate quantities. [1]

Relations

related
Flash translation layer (FTL), SSD DRAM cache, Host memory buffer (HMB), FTL translation page, Least recently used replacement, Cache pollution, Page-level mapping (FTL), Global Translation Directory (DFTL), Working set, Locality of reference, Block-level mapping (FTL), LazyFTL, TPFTL, LeaFTL, Page validity bitmap, LearnedFTL

Advantages

  • Keeping only recently used page-level entries in memory lets the controller avoid block-level merge operations without holding the whole table. [4]

Limitations

  • Entries changed since loading must be written back to translation pages on eviction, which adds flash writes. Batching updates to one translation page reduces but does not remove them. [4]

Citations

  1. Wang et al. LearnedFTL: A Learning-Based Page-Level FTL for Reducing Double Reads in Flash-Based SSDs. HPCA 2024, pp. 616-629, sections II-IV. (accessed 2026-11-09)
  2. Gupta, Kim and Urgaonkar. DFTL: A Flash Translation Layer Employing Demand-based Selective Caching of Page-level Address Mappings. ASPLOS 2009. (accessed 2026-11-09)

Further reading

  1. SSD mapping caches: why DRAM size is not a speed rating (accessed 2026-10-12)
  2. Hesela: Flash Translation Layer technology guide (accessed 2026-10-18)
Sources & caveats
  • dftl read 2026-10-23, sections 2 and 3, for translation-page capacity, table size, worst-case miss cost and batched write-back.
  • learned read 2026-10-23, sections II-B and III, for random-read throughput and hit ratio versus cache share.
  • A companion analysis with cold, scan and return phases is listed but not used in prose. A companion technology guide is listed but not used in prose.
  • DFTL section 3.2 rechecked 2026-11-09: the quoted worst case concerns translation overhead for that design, not a device-wide I/O or latency bound.
  • LearnedFTL sections II-B and IV-A rechecked 2026-11-09: the named TPFTL baseline was reimplemented in FEMU, not measured on a commercial SSD.

JSON: /data/terms/mapping-cache.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. SSD mapping cache. Hesela. 2026-11-22. https://hesela.dev/terms/mapping-cache/