Introduction: Breaking the GPU Memory Wall
As deep neural networks (DNNs) grow in complexity, they face two major hardware hurdles: the Memory Wall (data movement is slower than computation) and the Power Wall (unsustainable leakage power). Modern GPUs rely on large Static Random-Access Memory (SRAM) caches to mitigate these issues. However, SRAM is "leaky"—it consumes significant power just to keep data alive—and has low cell density. As GPU manufacturers push for larger L2 caches to handle massive DL datasets, SRAM's scalability is hitting a breaking point.
This paper introduces DeepNVM++, a cross-layer framework designed to model and analyze non-volatile memory (NVM) as a replacement for traditional SRAM in GPU last-level caches. By leveraging STT-MRAM and SOT-MRAM, the authors demonstrate up to a 4.7× reduction in energy-delay product (EDP) and the ability to fit 3.3× more cache capacity in the same physical area.
Methods: The DeepNVM++ Framework
The authors present DeepNVM++ as a comprehensive framework that bridges the gap between low-level device physics and high-level system performance.
The methodology consists of three main pillars:
- Circuit-Level Characterization: Using 16nm FinFET technology, the authors modeled the physical properties (latency, energy, area) of two NVM types: Spin-Transfer Torque (STT-MRAM) and Spin-Orbit Torque (SOT-MRAM).
- Microarchitecture Modeling: They integrated these bitcell models into NVSim to design optimal cache configurations under iso-capacity and iso-area scenarios.
- System-Level Simulation: The framework uses GPGPU-Sim and actual GPU profiling (via
nvprof) to evaluate how these caches behave under real-world Deep Learning (DL) and High-Performance Computing (HPC) workloads.
Datasets and Workloads
The study evaluates the framework using a variety of standard deep learning models and benchmarks:
- DNN Models: AlexNet, GoogLeNet, VGG-16, ResNet-18, and SqueezeNet (trained on the ImageNet dataset).
- HPC Workload: The High-Performance Conjugate Gradients (HPCG) benchmark for data-intensive scientific computing.
- Frameworks: Workloads were profiled using the Caffe deep learning framework on an NVIDIA GTX 1080 Ti.
Key Insights: STT vs. SOT MRAM
A primary driver of NVM efficiency is the virtual elimination of leakage power, which accounts for up to 83% of total dynamic energy in traditional SRAM. While STT-MRAM is a significant step up from SRAM, SOT-MRAM emerges as the superior choice for high-frequency GPU environments.
As shown in the table above, SOT-MRAM separates the read and write paths, avoiding the high write-latency and energy penalties associated with STT-MRAM. This makes it much more suitable for the write-intensive nature of training workloads. Furthermore, NVM density allows for much larger caches in the same physical footprint; the authors found that increasing cache capacity to 24MB (using NVM in an SRAM-sized footprint) reduced DRAM transactions by nearly 20%.
Key Results
- Energy Efficiency: In the iso-capacity case, STT-MRAM and SOT-MRAM achieved 3.8× and 4.7× EDP reductions, respectively, compared to SRAM.
- Area Savings: NVMs reduced the physical cache footprint by 2.4× (STT) and 2.8× (SOT) for the same capacity.
- Capacity Boost: In the same area as a standard 3MB SRAM cache, SOT-MRAM could accommodate a 10MB cache (3.3× increase).
- Training Robustness: For training workloads, SOT-MRAM provided a 7.2× to 7.6× EDP reduction over SRAM, proving its robustness for both inference and training.
Limitations and Future Work
While promising, NVM technologies face challenges. Write endurance remains a concern for the extreme write-pressure of GPU workloads. Additionally, while the density of NVM creates "whitespace" on the silicon, the architectural exploration of using this space for additional compute logic (ALUs) is left for future research. Finally, while STT-MRAM is maturing, SOT-MRAM remains largely in the research and prototyping phase.
Summary updated