{
  "slug": "pipelined-read-retry",
  "term": "Pipelined Read-Retry",
  "aliases": [
    "PR2"
  ],
  "definition": "Pipelined Read-Retry overlaps NAND retry sensing with transfer and decoding of earlier attempts.",
  "note": "Park's research design uses CACHE READ and cancels unnecessary speculative work after successful decoding; its SSD evaluation used simulation. [park]\n\nIn regular read-retry each step senses, transfers and decodes before the next begins, so N steps take N x (tR + tDMA + tECC). Because a retry step is another read of the same page, CACHE READ lets the chip sense step k+1 while step k is transferred and decoded, giving N x tR + tDMA + tECC. After a successful decode the one speculative sensing still running is ended with RESET, which takes about 5 µs. [park]\n\nIn a simulated 512 GiB drive over twelve workloads, pipelining alone cut response time by up to 38.3% and by 17.7% on average. [park] With tR = 90 µs, tDMA = 16 µs and tECC = 20 µs, 19.9 steps take about 2,507 µs regularly and 1,827 µs pipelined, and the saving approaches 36 / 126 = 28.6% for many steps.\n\nSequential cache reads of different pages raised block-read speed from 15,633 to 18,285 KiB/s on a small-page chip. [kpatch] The Linux NAND driver enables cache reads only when controller and chip support them, no read-retry modes and no on-die ECC are in use, and the request covers at least two full pages, and some chips lack the command or fail with it. [knand] [kopt]",
  "status": "research",
  "advantages": [
    {
      "text": "No change to the NAND chip is needed, only controller behaviour with an existing command that relies on an extra page buffer in the chip.",
      "citationIds": [
        "park"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Speculative sensing occupies the chip for one extra step and can delay other operations if it is not cancelled promptly.",
      "citationIds": [
        "park"
      ]
    }
  ],
  "related": [
    "read-retry",
    "error-correcting-code",
    "adaptive-read-retry"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "park",
      "title": "Park et al. Reducing Solid-State Drive Read Latency by Optimizing Read-Retry. ASPLOS 2021, sections 6-7. DOI: 10.1145/3445814.3446719",
      "url": "https://people.inf.ethz.ch/~omutlu/pub/Reducing-SSD-Read-Latency-by-Optimizing-Read-Retry_asplos21.pdf",
      "accessed": "2026-10-14"
    },
    {
      "id": "hesela",
      "title": "Hesela: NAND read-retry and stage timing",
      "url": "https://hesela.com/analyses/nand-read-retry-latency/",
      "accessed": "2026-10-14"
    },
    {
      "id": "knand",
      "title": "Linux v6.16 drivers/mtd/nand/raw/nand_base.c, sequential cache read and support checks.",
      "url": "https://github.com/torvalds/linux/blob/v6.16/drivers/mtd/nand/raw/nand_base.c",
      "accessed": "2026-10-16"
    },
    {
      "id": "kpatch",
      "title": "Linux MTD mailing list, January 2023: patch series 'mtd: rawnand: Support for sequential cache reads'.",
      "url": "https://lists.infradead.org/pipermail/linux-mtd/2023-January/096706.html",
      "accessed": "2026-10-16"
    },
    {
      "id": "kopt",
      "title": "Linux MTD mailing list, September 2023: follow-up thread on chips that do not support cached reads.",
      "url": "https://lists.infradead.org/pipermail/linux-mtd/2023-September/101338.html",
      "accessed": "2026-10-16"
    },
    {
      "id": "cai2017",
      "title": "Cai et al. Error Characterization, Mitigation, and Recovery in Flash-Memory-Based Solid-State Drives. 2017, section 5.4.",
      "url": "https://arxiv.org/pdf/1706.08642v3",
      "accessed": "2026-10-16"
    }
  ],
  "updated": "2026-10-22",
  "provenance": [
    "The retry-time results are simulation by the technique's university authors; the abstract gives different headline figures from the evaluation section, whose numbers are used.",
    "The kernel evidence covers sequential cache reads of different pages, not re-reading one page, so it does not confirm that real chips accept CACHE READ on the same page; the driver code gives no reason for the read-retry exclusion.",
    "CACHE READ support is optional in the standards and uneven in practice.",
    "Arithmetic: 19.9 x 126 = about 2,507 µs; 19.9 x 90 + 36 = 1,827 µs, 27.1% less; 8 steps give 1,008 against 756 µs; the mailing-list figures give +17.0% for a block and +5.6% for two pages.",
    "The read-retry survey is university-led with one drive-maker co-author."
  ]
}
