Reducing latency overhead caused by using LDPC codes in NAND flash memory

Wenzhe Zhao, Guiqiang Dong, Hongbin Sun, Nanning Zheng, Tong Zhang

NAND flash memory serves as the primary storage medium for modern computing, from smartphones to enterprise data centers. However, as manufacturers increase bit density through Multi-Level Cell (MLC) and Triple-Level Cell (TLC) technologies, the physical reliability of the memory cells decreases. This degradation is exacerbated by Program/Erase (P/E) cycles, which introduce bit errors over time.

To maintain data integrity, the industry has transitioned from simple BCH codes to powerful Low-Density Parity-Check (LDPC) codes. While LDPC codes offer superior error correction, they often introduce significant read latency—a critical bottleneck in high-performance storage. This paper, published in the EURASIP Journal on Advances in Signal Processing, proposes an adaptive coding strategy to mitigate this overhead.

The Latency Bottleneck: Hard vs. Soft Sensing

The primary source of LDPC-related latency is "soft-decision" sensing. In a standard "hard-decision" read, the memory cell is sensed at a single voltage threshold to determine if a bit is a 0 or 1. If the error rate is low, the LDPC decoder can correct the data using only this single read.

However, as the flash ages and noise increases, hard-decision decoding often fails. The system must then perform soft-decision sensing, which involves reading the cell at multiple additional voltage thresholds to determine the probability (Log-Likelihood Ratio) of the bit's value.

NAND Flash block architecture (a) and threshold voltage sensing levels for soft-decision decoding (b).

As shown in the figure above, soft-decision sensing requires multiple sensing operations ($V_1$ through $V_5$), which can increase read latency by 6x or more compared to a single hard-decision read.

Adaptive Code Construction

The authors' core innovation is the use of Adaptive Quasi-Cyclic (QC) LDPC codes. They discovered a "weight inversion" in how LDPC codes perform across different sensing modes:

  1. Early Life (High-Weight Codes): During the initial thousands of P/E cycles, the raw bit error rate is low. The authors found that LDPC codes with a higher "weight" (more 1s in the parity check matrix) are significantly more effective for hard-decision bit-flipping algorithms. By using high-weight codes early on, the drive can successfully use the fast hard-decision path nearly 100% of the time.
  2. End of Life (Low-Weight Codes): As the flash wears out and soft-decision sensing becomes mandatory, low-weight codes become superior. They provide the "waterfall" performance characteristic required to handle high noise levels at the end of the device's lifespan.

Physical Modeling and Results

To validate this approach, the researchers developed a comprehensive physical model of MLC NAND flash, accounting for Random Telegraph Noise (RTN), cell-to-cell interference, and P/E cycle degradation.

The results demonstrate that the adaptive scheme keeps average read latency near the theoretical minimum for the majority of the drive's life. Furthermore, an ASIC implementation in 65-nm CMOS showed that the reconfigurable decoder adds minimal silicon area while maintaining a high throughput of 2.1 Gbps.

Conclusion

By moving away from a "one-size-fits-all" LDPC code, this research provides a practical path toward high-density, low-latency NAND flash storage. The adaptive use of code weights ensures that the performance penalties of advanced error correction are only paid when absolutely necessary, extending the usable life of flash drives without sacrificing speed.

Summary updated

BibTeX
@article{zhao2012reducing,
  author = {Wenzhe Zhao and Guiqiang Dong and Hongbin Sun and Nanning Zheng and Tong Zhang},
  title = {{Reducing latency overhead caused by using LDPC codes in NAND flash memory}},
  journal = {EURASIP J. Adv. Signal Process.},
  year = {2012},
  doi = {10.1186/1687-6180-2012-203},
}
Figure