Writing on dirty flash memory

Yongjune Kim, B. V. K. Vijaya KumarAllerton 2014

Abstract

As NAND flash memory scales to smaller process nodes, inter-cell interference (ICI) becomes a dominant source of errors. This paper, originally presented at the 52nd Annual Allerton Conference (2014), proposes a novel "Writing on Dirty Flash Memory" scheme. By leveraging a pre-read operation to identify cells vulnerable to ICI, the system employs additive encoding to mask potential errors during the write process. This approach significantly enhances reliability without the read-performance penalties associated with soft-decision error correction.

Introduction: The Challenge of "Dirty" Flash

The relentless drive for higher storage density in NAND flash has forced memory cells closer together. This physical scaling introduces significant Inter-Cell Interference (ICI), where the electrical charge programmed into one cell shifts the threshold voltage of adjacent cells via parasitic capacitance.

NAND flash memory array architecture showing the proximity of word lines (WL) and bit lines (BL) that leads to ICI.

Traditionally, engineers combat this interference using stronger Error Correction Codes (ECC) like LDPC. However, high-performance ECC often requires "soft-decision" decoding, which involves reading the same cell multiple times at different voltages to obtain a probabilistic estimate. This process destroys read performance, a critical bottleneck in modern storage systems. The authors propose a different approach: instead of fixing the errors during the read operation, can we use knowledge of the "dirt" (the ICI) to encode data more intelligently during the write operation?

Proposed Method: Writing on Dirty Paper

The authors reframe the ICI problem through the lens of the "Writing on Dirty Paper" (WDP) problem from information theory. In the WDP model, a sender with prior knowledge of channel interference (the "dirt") can choose a message that incorporates or masks that interference so the receiver sees a clean signal.

System model for the "Writing on Dirty Flash Memory" scheme, where the encoder uses pre-read state information $S^n$ to mask interference.

The proposed "Dirty Flash" scheme involves three primary technical steps:

  1. The Pre-read Trick: Before writing a page, the system performs a single "pre-read" of the target cells. Because flash programming can only increase voltage (erasing happens in large blocks), any cell already exhibiting a high voltage due to ICI from its neighbors is treated as a "stuck-at" defect.
  2. Vulnerable Cell Identification: By setting the pre-read threshold lower than the standard read threshold ($\eta_{pre} < \eta$), the encoder can identify "vulnerable" cells—those likely to be pushed over the error threshold by future interference.
  3. Additive Encoding (PLBC): The system utilizes Partitioned Linear Block Codes (PLBC), specifically Partitioned BCH (PBCH) codes. These codes split their redundancy into two parts: $l$ bits for masking (choosing a codeword that matches known defects) and $r$ bits for correcting standard random noise during the read process.

Key Insights and Results

The core innovation is the realization that ICI is not just random noise; it is side information available to the encoder. By proactively identifying and masking vulnerable cells, the system effectively "hides" the message within the existing interference patterns.

Simulations based on 2x nm NAND characteristics demonstrate a significant "sweet spot" for redundancy allocation. The authors show that allocating even a small portion of parity bits (e.g., $l=10$ out of 100) to masking can drastically improve performance. For instance, at an ICI scaling factor of $\alpha = 0.6$, the proposed approach achieved a decoding failure probability nearly two orders of magnitude lower than standard BCH codes.

Conclusion and Future Directions

While the "Writing on Dirty Flash" scheme introduces some write latency due to the pre-read and encoding complexity, it offers a powerful proactive defense against scaling-induced interference. Future work includes extending this model to Multi-Level Cell (MLC) and Triple-Level Cell (TLC) architectures, where the state space for defects is more complex, and optimizing hardware implementations to meet the high-speed requirements of modern SSD controllers.

Summary updated

BibTeX
@inproceedings{kim2014writing,
  author = {Yongjune Kim and B. V. K. Vijaya Kumar},
  title = {{Writing on dirty flash memory}},
  booktitle = {Allerton},
  year = {2014},
  doi = {10.1109/allerton.2014.7028498},
}
Figure