Skip to main content
QUICK REVIEW

[Paper Review] A Nearly Optimal Construction of Flash Codes

Hessam Mahdavifar, Paul H. Siegel|ArXiv.org|May 10, 2009
Advanced Data Storage TechnologiesComputer Science3 citations
TL;DR

This paper presents a novel flash code construction that reduces write deficiency in flash memory to O(qk log k) for q ≥ log₂k, approaching the theoretical lower bound of Ω(qk) within a logarithmic factor. By eliminating index cells and introducing a recursive, stacked binary indexing scheme, the method efficiently reuses memory cells across multiple write phases, significantly improving write endurance without block erasures.

ABSTRACT

Flash memory is a non-volatile computer memory comprised of blocks of cells, wherein each cell can take on q different values or levels. While increasing the cell level is easy, reducing the level of a cell can be accomplished only by erasing an entire block. Since block erasures are highly undesirable, coding schemes - known as floating codes or flash codes - have been designed in order to maximize the number of times that information stored in a flash memory can be written (and re-written) prior to incurring a block erasure. An (n,k,t)_q flash code C is a coding scheme for storing k information bits in n cells in such a way that any sequence of up to t writes (where a write is a transition 0 -> 1 or 1 -> 0 in any one of the k bits) can be accommodated without a block erasure. The total number of available level transitions in n cells is n(q-1), and the write deficiency of C, defined as δ(C) = n(q-1) - t, is a measure of how close the code comes to perfectly utilizing all these transitions. For k > 6 and large n, the best previously known construction of flash codes achieves a write deficiency of O(qk^2). On the other hand, the best known lower bound on write deficiency is Ω(qk). In this paper, we present a new construction of flash codes that approaches this lower bound to within a factor logarithmic in k. To this end, we first improve upon the so-called "indexed" flash codes, due to Jiang and Bruck, by eliminating the need for index cells in the Jiang-Bruck construction. Next, we further increase the number of writes by introducing a new multi-stage (recursive) indexing scheme. We then show that the write deficiency of the resulting flash codes is O(qk\log k) if q \geq \log_2k, and at most O(k\log^2 k) otherwise.

Motivation & Objective

  • To close the gap between the best-known flash code write deficiency and the theoretical lower bound of Ω(qk).
  • To eliminate the need for dedicated index cells in prior constructions, such as the Jiang-Bruck flash codes.
  • To develop a recursive, multi-stage indexing scheme that reuses memory cells across multiple write phases.
  • To achieve a write deficiency that scales nearly optimally with k, especially for large k and q ≥ log₂k.

Proposed method

  • Proposes a recursive, multi-stage encoding and decoding framework that partitions information bits into groups and uses a hierarchical indexing system.
  • Introduces a 'stacked binary indexing' technique that reuses the same physical cells across multiple write phases by leveraging different voltage level ranges (e.g., 0–1, 1–2, etc.).
  • Uses binary representation of indices instead of base-q, enabling multiple indexing stages to be packed into the same cell locations.
  • Employs a sequence of encoding maps E₀, E₁, ..., Eₛ₋₁ and decoding maps D₀, D₁, ..., Dₛ₋₁ to manage transitions across multiple write phases.
  • Applies a modified indexing block allocation strategy where 2(k−1) index blocks are allocated per stage, with levels reused across q−1 phases.
  • Analyzes write deficiency by bounding unused cell transitions, showing it is dominated by the stacked indexing overhead.

Experimental results

Research questions

  • RQ1Can the write deficiency of flash codes be reduced to within a logarithmic factor of the theoretical lower bound Ω(qk)?
  • RQ2Is it possible to eliminate dedicated index cells while maintaining high write endurance?
  • RQ3How can memory cell levels be reused across multiple write phases to maximize transition utilization?
  • RQ4What is the optimal trade-off between code rate, number of writes, and alphabet size q?

Key findings

  • The proposed flash code C′ achieves a write deficiency of O(qk log k) when q ≥ log₂k, approaching the theoretical lower bound of Ω(qk) within a logarithmic factor.
  • For q < log₂k, the write deficiency is bounded by O(k log²k), still significantly improving upon prior constructions with O(qk²) deficiency.
  • The stacked binary indexing scheme allows up to q−1 indexing phases to be packed into the same physical cells, reusing cell levels across phases.
  • The method reduces write deficiency by eliminating index cells and enabling recursive reuse of memory cells through level-based phase management.
  • The construction maintains high write endurance even for large k, with performance scaling nearly optimally in k and q.
  • For constant-rate flash codes (k/n = R), the scheme guarantees Ω(nq / log k) writes, improving upon prior methods via multi-phase indexing with binary or higher-radix encoding.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.