Abstract
As multi-core processors scale, the demand for high-capacity last-level caches (LLCs) grows. While Spin-Transfer Torque RAM (STT-RAM) is a promising non-volatile alternative to leaky SRAM, Multi-Level Cell (MLC) variants—which store two bits per cell—often suffer from significant performance and energy penalties. This study introduces a dynamic MLC STT-RAM cache architecture that utilizes stripped data mapping, dynamic associativity, and read/write-aware swapping to achieve high density without sacrificing efficiency.
Introduction
The transition to sub-20nm process nodes has made SRAM leakage current a primary bottleneck in processor design. STT-RAM offers a solution with zero leakage and high density. MLC STT-RAM further enhances density but introduces asymmetric access times and higher energy consumption for its "hard" and "soft" domains. Standard MLC implementations often suffer from high read/write latencies because accessing a single cache line requires interacting with both domains.
Proposed Architecture
The proposed architecture employs three primary techniques to mitigate the overheads of MLC storage and leverage its inherent asymmetries:
Stripped Data-to-Cell Mapping
Instead of storing two bits of a single cache line in one MLC, the design maps different cache lines to the "hard" and "soft" domains separately. This allows for heterogeneous access characteristics across the cache. Half the cache lines are mapped to hard domains (yielding fast reads but high-energy writes), while the other half are mapped to soft domains (yielding slow reads but low-energy writes).
Dynamic Associativity
The hardware monitors cache set utilization. Underutilized sets are transitioned to SLC mode by disabling extra ways, which instantly improves read latency and write energy for those specific sets. This ensures that the capacity benefits of MLC do not penalize workloads that do not require high associativity.
Read/Write-Aware Swapping
Data is dynamically moved between domains based on access patterns. Read-intensive blocks are promoted to fast-read domains (hard domains), while write-intensive blocks are moved to low-energy-write domains (soft domains). This intelligent placement preserves cell lifetime and optimizes energy consumption.
Evaluation Methodology
The architecture was evaluated using the Gem5 simulator for an 8-core processor, with power modeling via McPAT, CACTI, and NVSim. Benchmarks included PARSEC-2 and SPEC-CPU 2006, categorized by L3 cache miss intensity to observe behavior under varying levels of memory pressure.
Key Results and Discussion
The dynamic MLC architecture demonstrated a 12% average improvement in Instructions Per Cycle (IPC) compared to an iso-area SLC STT-RAM baseline, reaching up to 29% for associativity-dependent workloads. It reduced L3 access energy by 26% and conflict misses by 43%. Furthermore, the design maintained over 70% of the lifetime of an SLC cache, a significant improvement over standard MLC usage which typically degrades endurance much faster.
Conclusion
By treating the inherent asymmetries of MLC STT-RAM as an opportunity for optimization rather than a penalty, this architecture provides a path toward extremely dense, energy-efficient caches for future multi-core systems. Future work may extend these techniques to other emerging non-volatile memories like ReRAM or PCM.
Summary updated