nand-page-pairing · shipping · also Paired pages, Shared pages

NAND page pairing

NAND page pairing is the grouping of pages whose bits occupy the same physical memory cells.

In a cell that stores several bits, each bit belongs to a different page, so programming one page changes cells that already hold its partner's data. Linux MTD describes the relation with a pair index and a group, the bit position in the cell, and lets drivers convert between page numbers and pairs. Its documented example maps the 256 pages of an MLC block into 128 pairs, with page 0 paired with page 4, and the same structure allows TLC groups of three pages. [1]

Partner pages are usually not adjacent in page order because two-step programming writes the lower bits of the next wordline before the upper bits of the current one, limiting interference on finished cells. In one measured chip the first page at address n was paired with the second page at address n+6. Device-specific pairing is not a host-LBA adjacency rule. [4] [2]

In power-cut tests the first page's bit error rate reached 25% when power failed 200 to 900 µs into programming its partner, and 50% in another chip with a 50 to 100 µs cut, although the first program had completed. [2]

Relations

related
NAND flash, Multi-level cell (MLC), Flash translation layer (FTL), NAND program interference

Advantages

  • A pairing map lets an FTL program and retire each pair as one unit, or keep its own metadata only on second pages, which the power-cut tests never corrupted retroactively. [2]

Limitations

  • A raw-NAND pairing map is not exposed by this MTD API as an NVMe logical-block map. [1]
  • Interrupted programming of a partner page can corrupt earlier data in the studied MLC devices; this is not a current-fleet failure rate. [2]

Citations

  1. Linux v6.12, include/linux/mtd/mtd.h: mtd_pairing_info and mtd_pairing_scheme (accessed 2026-10-22)
  2. Tseng, Grupp and Swanson. Understanding the Impact of Power Loss on Flash Memory. DAC 2011, sections 2-3 and 4.1. DOI: 10.1145/2024724.2024733 (accessed 2026-10-22)
  3. Cai, Ghose, Haratsch, Luo and Mutlu. Errors in Flash-Memory-Based Solid-State Drives: Analysis, Mitigation, and Recovery. arXiv:1711.11427v2, 2018 (accessed 2026-10-22)

Further reading

  1. Hesela: NAND paired pages and durability boundaries (accessed 2026-10-11)
Sources & caveats
  • linux is the v6.12 mtd.h header, read in the mtd_pairing_info and mtd_pairing_scheme comments, including the 128-pair example.
  • tseng is the DAC 2011 paper by authors at the University of California, San Diego, read in sections 2, 3 and 4.1.1-4.1.3.
  • survey is the Carnegie Mellon, Seagate Technology and ETH Zurich arXiv review of flash errors, read in sections 2.4 and 3.2 on two-step programming and program errors.
  • 256 pages restates the header example, pairs 0 to 127 times two groups; n+6, 25% and 50% come from tseng section 4.1.2.
  • Power-cut figures come from a handful of 2011-era MLC chips on one test platform.

JSON: /data/terms/nand-page-pairing.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. NAND page pairing. Hesela. 2026-10-22. https://hesela.dev/terms/nand-page-pairing/