WL-WD: Wear-Leveling Solution to Mitigate Write Disturbance Errors for Phase-Change Memory

Moonsoo Kim, Hyokeun Lee, Hyun Kim, Hyuk-Jae Lee

Introduction

Phase-Change Memory (PCM) has emerged as a promising candidate for next-generation main memory systems due to its non-volatility, high density, and byte-addressability. However, PCM faces two significant reliability challenges: limited write endurance and write disturbance errors (WDEs). PCM cells can only withstand a finite number of write cycles before failure. Furthermore, the heat generated during a write operation can leak into adjacent cells, potentially causing unintended bit flips—a phenomenon known as thermal interference or write disturbance.

The Challenge of Unified Reliability

Traditionally, researchers have addressed endurance and WDEs as separate issues. Wear-leveling algorithms aim to distribute writes evenly across the memory to prevent premature cell wear-out. Conversely, WDE mitigation typically involves "Verify-n-Correct" schemes that check for and rectify errors after writes. Implementing these solutions independently often results in significant hardware overhead and increased latency. The WL-WD (Wear-Leveling for Write Disturbance) approach seeks to unify these mechanisms into a single, low-overhead architecture.

Proposed WL-WD Architecture

The core of the WL-WD solution is a hybrid mapping strategy that distinguishes between "hot" (frequently accessed) and "cold" (infrequently accessed) memory addresses. This "divide and conquer" approach recognizes that hot addresses are the primary drivers of both cell wear and thermal interference.

The WL-WD architecture (labeled WDE-WL in design) utilizes a Hot Address Detector to route requests through specialized mapping paths.

As shown in the architecture diagram, incoming addresses are first processed by a Hot Address Detector (HAD):

  • Cold Address Mapping: Addresses identified as cold are mapped using a simple, static linear scheme. This minimizes the resources required for the vast majority of memory.
  • Hot Address Mapping: Hot addresses are directed to a specialized "hot region" that employs active wear-leveling. A mapping table tracks these addresses, while a free queue manages available physical locations.

To further enhance reliability, the system implements a Sliding Hot Region. Periodically, the entire hot region "slides" across the physical memory space. This ensures that no single physical area is permanently subjected to the high-stress activity of hot addresses, effectively distributing wear across the entire chip.

Memory Organization and Mapping

The effectiveness of WL-WD relies on its integration with the underlying memory hierarchy. The PCM is organized into partitions and tiles to manage data access efficiently.

The hierarchical organization of the PCM chip into partitions and tiles facilitates granular address mapping within the system.

Within this structure, the WL-WD mechanism manages the translation from logical to physical addresses. By focusing dynamic remapping on only a small fraction (~1.6%) of total addresses, the system keeps hardware overhead remarkably low—approximately 0.08%.

Evaluation and Results

The researchers evaluated WL-WD using the gem5 architectural simulator coupled with NVMain for detailed non-volatile memory modeling. They utilized memory-intensive workloads from the SPEC CPU 2006 benchmark suite to stress the system.

Key findings include:

  • WDE Mitigation: The algorithm achieved a reduction in write disturbance errors of over 70% compared to baseline PCM configurations.
  • Endurance Improvement: Normalized memory lifetime improved by more than 3% over state-of-the-art algorithms like Start-gap.
  • Efficiency: The performance impact was minimal, with IPC degradation limited to 4-10% depending on configuration. Power consumption overhead was negligible at 0.22% of typical mobile CPU thermal design power.

Conclusion

WL-WD provides a robust, unified solution for PCM reliability. By linking wear-leveling and write disturbance mitigation through hot-address management, it achieves significant gains in memory lifetime and error reduction with minimal impact on system performance and power efficiency. Future work may explore dynamic tuning of the "Slide Interval" to adapt to real-time error rates and extending this logic to other emerging non-volatile memories like ReRAM.

Summary updated

BibTeX
@article{kim2022wl,
  author = {Moonsoo Kim and Hyokeun Lee and Hyun Kim and Hyuk-Jae Lee},
  title = {{WL-WD: Wear-Leveling Solution to Mitigate Write Disturbance Errors for Phase-Change Memory}},
  journal = {IEEE Access},
  year = {2022},
  doi = {10.1109/access.2022.3145986},
}
Figure