Skip to main content
QUICK REVIEW

[论文解读] A Nearly Optimal Construction of Flash Codes

Hessam Mahdavifar, Paul H. Siegel|ArXiv.org|May 10, 2009
Advanced Data Storage TechnologiesComputer Science被引用 3
一句话总结

本文提出了一种新型闪存码构造,将闪存中的写入缺陷降低至 O(qk log k),当 q ≥ log₂k 时,接近理论下限 Ω(qk) 的对数因子。通过消除索引单元并引入递归、堆叠的二进制索引方案,该方法在多个写入阶段中高效重用存储单元,显著提升了写入耐久性,且无需擦除块。

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.

研究动机与目标

  • 缩小已知最佳闪存码写入缺陷与理论下限 Ω(qk) 之间的差距。
  • 消除先前构造(如 Jiang-Bruck 闪存码)中对专用索引单元的需求。
  • 开发一种递归的多阶段索引方案,实现在多个写入阶段中对存储单元的重用。
  • 实现写入缺陷在 k 上近乎最优的扩展,尤其适用于大 k 及 q ≥ log₂k 的情况。

提出的方法

  • 提出一种递归的多阶段编码与解码框架,将信息位划分为组,并使用分层索引系统。
  • 引入一种“堆叠二进制索引”技术,通过利用不同的电压电平范围(例如 0–1、1–2 等),在多个写入阶段中重用相同的物理单元。
  • 使用索引的二进制表示而非基 q 表示,使多个索引阶段可打包至相同的单元位置。
  • 采用一系列编码映射 E₀, E₁, ..., Eₛ₋₁ 和解码映射 D₀, D₁, ..., Dₛ₋₁,以管理多个写入阶段之间的转换。
  • 应用一种改进的索引块分配策略,每阶段分配 2(k−1) 个索引块,且在 q−1 个阶段中复用电压电平。
  • 通过限制未使用的单元转换数来分析写入缺陷,表明其主要受堆叠索引开销支配。

实验结果

研究问题

  • RQ1是否可将闪存码的写入缺陷降低至理论下限 Ω(qk) 的对数因子范围内?
  • RQ2是否可能在不牺牲高写入耐久性的情况下,消除专用索引单元?
  • RQ3如何在多个写入阶段中重用存储单元电平,以最大化转换利用率?
  • RQ4在码率、写入次数与字母表大小 q 之间,最优权衡是什么?

主要发现

  • 当 q ≥ log₂k 时,所提出的闪存码 C′ 的写入缺陷为 O(qk log k),接近理论下限 Ω(qk) 的对数因子。
  • 当 q < log₂k 时,写入缺陷被限制在 O(k log²k) 以内,仍显著优于先前构造中 O(qk²) 的缺陷。
  • 堆叠二进制索引方案可将最多 q−1 个索引阶段打包至相同物理单元中,实现阶段间电平重用。
  • 该方法通过消除索引单元并利用基于电平的阶段管理实现递归重用,从而降低写入缺陷。
  • 即使在 k 较大时,该构造仍保持高写入耐久性,且在 k 和 q 上的性能扩展近乎最优。
  • 对于恒定码率闪存码(k/n = R),该方案保证可实现 Ω(nq / log k) 次写入,通过多阶段索引结合二进制或更高进制编码,优于先前方法。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。