Balancing Page Endurance Variation Between Layers to Extend 3D NAND Flash Memory Lifetime

Jialin Wang, Yi Fan, Yajuan Du, Siyi Huang, Yu WanMicromachines 2024 · DOI

TL;DR

This paper tackles the problem of uneven wear in 3D NAND flash memory, where bottom layers degrade faster due to manufacturing variations. They propose "LA-Write," a novel strategy that intelligently skips writes to weaker bottom layers and directs them to more robust top and middle layers, significantly extending the overall lifespan of SSDs.

What Problem Does This Paper Address?

As storage demands skyrocket, 3D NAND flash memory has become the go-to for high-capacity, cost-effective solutions. This is achieved by stacking memory layers vertically. However, the manufacturing process for these intricate 3D structures introduces variations, leading to significant differences in endurance (how many write/erase cycles a cell can withstand) between the stacked layers. Specifically, the bottom layers are found to be much weaker than the middle and top layers. This disparity causes premature failure of entire blocks, even if many pages within those blocks are still healthy, leading to underutilization and a shortened SSD lifespan. Existing solutions often don't fully address this layer-specific endurance variation.

Methods

The core of this paper is the proposed LA-Write strategy. It introduces two key components:

  1. Write-Skip Unit: This mechanism allows LA-Write to skip writing to a currently selected page. Instead of writing to the page designated by the Flash Translation Layer (FTL), LA-Write can "skip" it and move to the next page. This reduces the wear pressure on pages with lower endurance.
  2. Layer-Aware Table: This table stores probabilities for performing a write-skip operation for each layer (bottom, middle, top). Based on experimental findings that bottom layers are weakest, LA-Write assigns a higher probability of write-skipping to bottom layer pages. This ensures that write operations are more likely to be redirected away from the weakest layers and towards the more durable middle and top layers.

The LA-Write mechanism integrates with the FTL to determine the active page for a write request. It then consults the layer-aware table to decide whether to perform a write-skip, effectively balancing the wear across different layers.

Datasets

The paper does not introduce new datasets. Instead, it uses the DiskSim simulator with its SSD extensions to evaluate the proposed LA-Write strategy. The experiments are conducted using seven real-world storage workloads from the MSR Cambridge trace and UMass Trace Repository (stg1, prn0, proj1, w0, ts0, prn1, and proxy0). These workloads cover a range of read/write ratios to provide a comprehensive evaluation.

Key Insights and Ideas

  • Layer-Specific Endurance is the Bottleneck: The paper strongly emphasizes that the primary limiter of 3D NAND lifespan isn't just general wear, but the significant endurance variation between layers, with the bottom layers being the critical weak point.
  • Write-Skipping as a Targeted Relief: The write-skip mechanism isn't just about avoiding writes; it's about strategically offloading wear from the most vulnerable components to the more resilient ones.
  • Probabilistic Layer Awareness is Key: Simply skipping writes isn't enough. The LA-Write's layer-aware table, which assigns probabilities for skipping based on layer endurance, is crucial for achieving balanced wear and maximizing lifetime. The specific probabilities (20% for bottom, 10% for top, 5% for middle) are derived from experimental observations.
  • Underutilization is a Major Issue: The paper highlights that in traditional schemes, when a block fails due to weak bottom pages, the healthy top/middle pages are left unused, representing a significant waste of storage potential. LA-Write aims to rectify this.

Key Results

  • Significant Lifetime Extension: LA-Write demonstrated an average 31% increase in SSD lifetime compared to the baseline sequential writing scheme.
  • Superiority over Existing Methods: It outperformed other existing schemes like BPM (Bad Page Management) by 10% and GuardedErase by 5% on average.
  • Minimal Performance Overhead: The performance impact of LA-Write was minimal, with an average decrease of only 3% in read/write performance. This is attributed to the efficient implementation of the layer-aware table in DRAM and the write-skip unit.
  • Balanced Layer Utilization: Experimental results showed that LA-Write leads to a more balanced BER across all layers in a block, indicating that the middle and top layers are being utilized more effectively, preventing premature block failure.

Limitations and Future Work

  • Probability Tuning: The paper acknowledges that the optimal probabilities for the layer-aware table might vary depending on the specific NAND flash technology and workload. While they identified (20%, 10%, 5%) as optimal for their experiments, further research could explore adaptive probability tuning.
  • Performance Impact in High Write Scenarios: The paper notes that workloads with a very high write request ratio (like proxy0) can experience a slightly higher performance degradation due to more frequent write-skip operations. Future work could investigate optimizations for such scenarios.
  • Real-World Device Validation: While the experiments were conducted on the DiskSim simulator, the authors believe LA-Write can work on real devices. Future work could involve implementing and validating LA-Write on actual 3D NAND flash hardware.

Summary updated

Abstract

With vertical stacking, 3D NAND's flash memory can achieve continuous capacity growth. However, the endurance variation between the stacked layers becomes more and more significant due to process variation, which will lead to the underutilization of many pages and seriously affect the lifetime of 3D NAND's flash memory. We investigated the endurance variation characteristics between layers and divided the stacked layers into the top, middle, and bottom layers according to the endurance characteristics. We found that the endurance of the bottom layer pages is much weaker than that of the other two layers, which is the primary factor that affects the lifetime of 3D NAND's flash memory. In response to this endurance variation feature, we proposed a new layer-aware write strategy, called LA-Write. First of all, the write-skip unit in LA-Write will reduce the wear pressure of the pages through write-skip operations. Secondly, LA-Write maintains a layer-aware table, which stores the probability of pages in different layers performing the write-skip operation. Setting the probability of the bottom pages to the highest value will result in more write-skip operations on the bottom layers, mitigating endurance variations between layers. We carried out our experiments of LA-Write on DiskSim, a popular SSD simulator. Compared to existing schemes, experimental results show that LA-Write can greatly increase SSD's lifetime.
BibTeX
@inproceedings{wang2024balancing,
  author = {Jialin Wang and Yi Fan and Yajuan Du and Siyi Huang and Yu Wan},
  title = {{Balancing Page Endurance Variation Between Layers to Extend 3D NAND Flash Memory Lifetime}},
  booktitle = {Micromachines},
  year = {2024},
  doi = {10.3390/mi15121447},
}
Figure