Skip to content

Research notes / NAND data movement

NAND copyback: faster relocation is not fewer writes

Published 2026-10-11 · Updated 2026-11-22 · Literature analysis, illustrative arithmetic and source-helper execution

Copying a flash page internally can save channel transfers while still programming a destination page. Treat transfer cost, physical writes and error correction as separate questions.

On this page9 sections

Which boundary does the copy cross?

In the NAND organization described by Hu and colleagues, copyback moves a page through a local register without taking its payload across the external I/O bus. Their command has same-chip, same-die, same-plane and odd/even page-address restrictions. These are constraints of the studied interface, not universal rules for every NAND generation. [1, section 2.2]

At the controller boundary, Han and colleagues explain the reliability issue: an internal transfer can bypass the controller's ECC check. They describe checking alongside copying, or restricting consecutive copies, as possible responses. A host-level copy request alone does not reveal which physical path or checking policy was used. [2, section 2.1]

During garbage collection, live data must be preserved elsewhere before the victim block is erased. Copyback is one possible relocation mechanism; it is not an alternative to preserving live data.

A copy budget is conditional

Hong and colleagues characterized 81,920 pages from 20 chips of 1x-nm MLC NAND. Their restricted-copyback design bounds consecutive uncorrected moves using wear and retention requirements, then routes data through off-chip ECC. The proposed controller also reserves copyback opportunities for periods of higher demand. [3, sections 3-4]

The restricted-copyback counter follows uncorrected relocation history. In rcFTL, pages move between blocks grouped by that count; an off-chip corrected copy returns them to count zero. The threshold still depends on wear and retention. Resetting this counter does not rejuvenate the flash. [3, sections 3.2 and 4.1]

The reliability characterization and performance evaluation are different evidence: throughput was evaluated in a configured 64-GB emulated system using four workload traces. Neither establishes a safe copy count for a current TLC or QLC product. We use the versioned 2018 manuscript, not an assumed product implementation. [3, section 5]

One third remaining, two thirds avoided

The manuscript's introduction describes a one-third reduction in transfer time, while its later rule sends the third migration off-chip after two copybacks. Count the moves explicitly: in that repeating three-move cycle, one off-chip copy remains instead of three. With equal payloads, one third of relocation-channel bytes remains and two thirds is avoided. This resolves the denominator for the stated cycle; it does not reproduce a timing measurement. [3, sections 1-3]

A copy limit alone cannot determine that fraction over a short observation window. The following exact examples stipulate a limit of two, compatible destinations and copyback whenever eligible. Every move still programs one destination page.

Same copy limit, different observed transfer counts
HistoryTotal movesInternal copiesOff-chip copies
One page, three moves321
Three pages, one move each330
Three pages, budget exhausted303
One page, six moves642

All histories start at count zero except the exhausted-budget row, where each page starts at count two. For a page with initial count c, m moves and limit L, the greedy model gives floor((c + m) / (L + 1)) off-chip copies. Carry the final counter into the next interval; resetting it at the reporting boundary invents eligibility.

Actual rcFTL can also correct earlier during lighter demand, reserving copyback opportunities for a busy period. That scheduling policy and channel contention are outside this count model. The reported 54% average throughput improvement belongs to rcFTL4 in the paper's four-trace emulated evaluation, not to the two-copy arithmetic above. [3, sections 4.2 and 5]

Histories, assumptions and exact results and model source extend the existing accounting packet. The supplied limit is not a safe threshold for any NAND part.

A successful program is not a corrected copy

Cypress S34ML02G1/S34ML04G1 provide copyback Error Detection Code (EDC); S34ML01G1 does not. In the x8 parts, detection covers one erroneous bit per 528-byte unit, including spare bytes. This is detection, not correction. [4, sections 3.8-3.8.1]

After completion, the EDC register reports separate program, validity and error fields. Selected combinations below are interpretations of Table 9, not device measurements.

S34ML02G1/S34ML04G1 status fields after completion
Program bit 0Validity bit 2Error bit 1Interpretation
0 (pass)0 (invalid)EitherNo valid EDC result
0 (pass)1 (valid)1 (error)Source-read error detected
0 (pass)1 (valid)0 (none)No error detected within EDC scope

EDC requires the specified programming and data-input rules. Modifying an EDC unit during copyback requires writing the whole unit. If a valid error persists after the documented retry, correction uses external ECC. A clear program-failure bit alone therefore cannot certify source integrity.

The overlooked cost: finding a destination

Hu's SSDsim study examines how satisfying copyback address constraints can waste free pages and affect erasures. A fast command can therefore interact badly with an allocation policy. Its performance results are simulator results, not measurements of arbitrary commercial drives. [1, section 4.3]

Han's ZNS+ research similarly distinguishes ordinary compaction from copyback-aware placement. Allocating extra destination space can increase copyback use but weaken space reclamation; the paper leaves a detailed treatment of that tradeoff outside its scope. ZNS+ is a research extension, not a synonym for standard ZNS. [2, section 3.3.1]

Keep the decoding settings with the bytes

NAND data randomization changes the programmed pattern and reverses that transform on readback. It is distinct from ECC and encryption. Favalli and colleagues show why horizontal bit balance alone need not control patterns along a vertical NAND string. Their TLC stress study does not establish a universal endurance gain. [5, sections 2-4]

Compatibility is implementation-specific. Linux v6.12's sunxi driver selects randomizer state using page address and block geometry; its spare-area state also depends on ECC step size. Macronix AN1051 separately documents volatile randomizer settings and coverage for named NAND families. These are different implementations, not one combined controller design. [6] [9]

Hesela executed the pinned sunxi two-byte marker helper: with 64 pages per block and 512-byte ECC steps, applying page 0 then page 1 transforms ffff into c67a. Using page 0 or page 64 for the second transform restores ffff. These are software pre/post-transform bytes, not physical bad-block marker values. This is neither whole-page decoding nor a copyback experiment; a matching seed alone does not authorize raw relocation. [10]

When checking fewer bytes changes the answer

NXP's dated ERR008650 describes erased-page reads returning incorrect data with the BCH randomizer enabled on i.MX 6SoloX. Linux's separate generic erased-chunk helper checks deviations from FF across the supplied data, ECC and extra OOB under one chunk-level budget. Successful classification normalizes the supplied buffers to FF. [8, p. 79] [7]

Constructed input: 24 data bytes contain one zero bit; eight ECC bytes contain eight zero bits; four extra OOB bytes are FF. The buffers are not asserted to be valid ECC codewords. Results below come from the original Linux helper.

One payload, different supplied evidence
Supplied buffersBit budgetReturnFirst data byte after check
Data + ECC + extra OOB4EBADMSG (rejected)FE
Data + extra OOB; ECC omitted41FF
Data + ECC + extra OOB99FF

Dropping ECC changes rejection into acceptance and changes FE to FF. A nearly empty payload therefore cannot justify discarding the original representation. This classifier also does not prove that an erase operation happened. Preserve page addresses, raw-versus-processed read mode, geometry, ECC/OOB layout and randomizer settings in a recovery manifest; this is an engineering recommendation, not a live-device procedure.

Reproduction instructions and limits, exact results and source-helper runner. The five-helper replay checks 98,304 state transitions, 256 OOB seeds, 42 address/marker configurations and eight constructed buffer cases. No NAND media or ECC decoder was exercised.

One controlled comparison, two different totals

This is Hesela's synthetic accounting example, not a device measurement. Fix 100 host-written pages and 60 relocated pages in one interval. Every page holds 16,384 payload bytes. Each host write and relocation programs exactly one page. Only the relocation path changes.

Let H be host-written pages, G relocated pages, C copyback pages and P payload bytes per page. Then programmed bytes = (H + G)P, write amplification = (H + G)/H, and relocation-channel bytes = 2(G - C)P. The factor two counts the outward and return payload transfers of each off-chip relocation.

Relocation payload crossing the NAND channel, MiB. Zero baseline; 1 MiB = 1,048,576 bytes. Programmed payload remains 2.5 MiB in every scenario.

Exact values behind the comparison. All three scenarios are stipulated, not proven feasible on hardware.

Copyback payload accounting, bytes unless stated otherwise
Copyback pagesHost bytesProgrammed bytesRelocation-channel bytesWrite amplification
0 / 601,638,4002,621,4401,966,0801.6
30 / 601,638,4002,621,440983,0401.6
60 / 601,638,4002,621,44001.6

The conclusion is deliberately narrow: changing only the path cannot change this ratio's numerator. A real policy can also change the number of relocations, placement, retries or metadata writes, so its amplification must be measured independently. Zero relocation-channel payload does not mean zero NAND activity, total device traffic or latency.

Excluded: ECC/spare bytes, compression, parity, metadata, retries and extra migrations. Eligibility is assumed; there is no error model, retention guarantee, confidence interval or performance prediction. This is exact arithmetic under stated assumptions, not a statistical estimate.

Download scenarios and assumptions (JSON) · Model source (JavaScript). The JSON records the model SHA-256. Regenerate in the corpus repository with node scripts/build-copyback-accounting.mjs; test with node --test scripts/copyback-accounting.test.mjs.

What an engineering report should preserve

Our reporting recommendation: record the NAND part and command rules, the exact ECC boundary, the consecutive-copy history, the source and destination placement policy, and any fallback copies. Separately report payload bytes, physical programs, erasures, errors and request latency over the same workload interval.

A host benchmark without internal telemetry cannot identify those mechanisms on its own. Do not turn a conditional firmware optimization into a universal endurance claim.

Structured definitions: NAND copyback, garbage collection and write amplification. Continue with LDPC sensing and decoding costs or ZNS resource limits.

Primary sources and scope

  1. Hu, Jiang, Feng, Tian, Luo and Zhang. Performance Impact and Interplay of SSD Parallelism through Advanced Commands, Allocation Strategy and Data Granularity. ICS 2011, sections 2.2 and 4.3.
  2. Han, Gwak, Shin and Hwang. ZNS+: Advanced Zoned Namespace Interface for Supporting In-Storage Zone Compaction. OSDI 2021, sections 2.1 and 3.3.1.
  3. Hong, Kim, Park, Jung and Kim. Revitalizing Copybacks in Modern SSDs: Why and How. Author manuscript arXiv:1810.04603v1, 2018, sections 3-5.
  4. Cypress. S34ML01G1, S34ML02G1, S34ML04G1. Document 002-00676 Rev. *V, 20 March 2018, sections 3.8-3.8.1 and Table 9, pp. 19-20. Manufacturer datasheet hosted by DigiKey.
  5. Favalli et al. A Scalable Bidimensional Randomization Scheme for TLC 3D NAND Flash Memories. Micromachines 12(7):759, 2021, sections 2-4.
  6. Linux v6.12 sunxi_nand.c: randomizer state selection and software bad-block-marker transform.
  7. Linux v6.12 nand_base.c: nand_check_erased_ecc_chunk and its data/ECC/OOB budget.
  8. NXP. i.MX 6SoloX Chip Errata, Rev. 2, February 2019, ERR008650, p. 79.
  9. Macronix. AN1051 Rev. 1, 2 November 2023: randomizer configuration and coverage, sections 1, 2 and 4.
  10. Hesela. NAND randomizer: pinned source-helper execution, exact results and reproduction instructions.

Reviewed 2026-11-22. Full-text methods and relevant results examined; EDC behavior checked against Cypress document 002-00676 Rev. *V. No paper figures, underlying chip data or performance results reproduced.

Published by Hesela team · Published · Updated

Report a correction · Editorial standards · Reuse guidance

Change history

: first published.

: latest recorded update. A detailed change note is not available for this revision.

New-publication RSS · Correction RSS

Cite this page
Hesela team. NAND copyback: faster relocation is not fewer writes. Hesela. 2026-11-22. https://hesela.com/analyses/nand-copyback-ecc-boundary/