[Paper Review] DeepNVM++: Cross-Layer Modeling and Optimization Framework of Non-Volatile Memories for Deep Learning
DeepNVM++ is a cross-layer framework that models and optimizes STT-MRAM and SOT-MRAM for GPU last-level caches in deep learning workloads. By integrating circuit-level NVM characterization with real GPU memory profiling, it demonstrates up to 4.7× EDP reduction and 3.3× higher cache capacity than SRAM under iso-area conditions, with orders-of-magnitude improvements for large caches.
Non-volatile memory (NVM) technologies such as spin-transfer torque magnetic random access memory (STT-MRAM) and spin-orbit torque magnetic random access memory (SOT-MRAM) have significant advantages compared to conventional SRAM due to their non-volatility, higher cell density, and scalability features. While previous work has investigated several architectural implications of NVM for generic applications, in this work we present DeepNVM++, a framework to characterize, model, and analyze NVM-based caches in GPU architectures for deep learning (DL) applications by combining technology-specific circuit-level models and the actual memory behavior of various DL workloads. We present both iso-capacity and iso-area performance and energy analysis for systems whose last-level caches rely on conventional SRAM and emerging STT-MRAM and SOT-MRAM technologies. In the iso-capacity case, STT-MRAM and SOT-MRAM provide up to 3.8x and 4.7x energy-delay product (EDP) reduction and 2.4x and 2.8x area reduction compared to conventional SRAM, respectively. Under iso-area assumptions, STT-MRAM and SOT-MRAM provide up to 2x and 2.3x EDP reduction and accommodate 2.3x and 3.3x cache capacity when compared to SRAM, respectively. We also perform a scalability analysis and show that STT-MRAM and SOT-MRAM achieve orders of magnitude EDP reduction when compared to SRAM for large cache capacities. Our comprehensive cross-layer framework is demonstrated on STT-/SOT-MRAM technologies and can be used for the characterization, modeling, and analysis of any NVM technology for last-level caches in GPUs for DL applications.
Motivation & Objective
- To address the scalability limitations of SRAM in GPU last-level caches for deep learning workloads.
- To evaluate the power, performance, and area (PPA) trade-offs of emerging NVMs like STT-MRAM and SOT-MRAM in GPU architectures.
- To enable design space exploration for NVM-based caches in deep learning workloads through a unified modeling framework.
- To quantify the benefits of NVMs in both iso-capacity and iso-area scenarios across diverse DL workloads.
Proposed method
- Integrates technology-specific circuit-level models of STT-MRAM and SOT-MRAM with actual memory access patterns from GPU workloads.
- Performs extensive memory profiling of DL workloads (training and inference) on real GPU platforms for iso-capacity analysis.
- Uses architecture-level simulation to estimate cache capacity and off-chip memory access for iso-area analysis with variable cache sizes.
- Automatically combines memory statistics with microarchitectural and circuit-level analysis to evaluate PPA metrics.
- Employs energy-delay product (EDP), area, and latency as key performance indicators across different cache configurations.
- Supports scalability analysis by comparing NVMs and SRAM across a wide range of cache capacities.
Experimental results
Research questions
- RQ1How do STT-MRAM and SOT-MRAM compare to SRAM in terms of energy-delay product (EDP) and area under iso-capacity conditions for DL workloads?
- RQ2What are the performance and energy benefits of using NVMs when cache area is fixed (iso-area) compared to SRAM?
- RQ3To what extent do NVMs scale in terms of EDP and capacity as cache size increases, especially for large-scale DL inference and training?
- RQ4How does the integration of circuit-level NVM models with real GPU memory behavior affect the accuracy of PPA estimation?
- RQ5What is the potential for using NVM-based caches to enable additional on-chip resources due to energy and area savings?
Key findings
- Under iso-capacity conditions, STT-MRAM and SOT-MRAM achieve up to 3.8× and 4.7× reductions in energy-delay product (EDP) compared to SRAM.
- STT-MRAM and SOT-MRAM provide 2.4× and 2.8× area reductions, respectively, when replacing SRAM at the same cache capacity.
- Under iso-area assumptions, STT-MRAM and SOT-MRAM deliver up to 2× and 2.3× EDP reduction compared to SRAM.
- SOT-MRAM enables up to 3.3× higher cache capacity than SRAM under the same area budget, with STT-MRAM supporting 2.3× more capacity.
- For large cache capacities, STT-MRAM and SOT-MRAM outperform SRAM by orders of magnitude in EDP, indicating superior scalability.
- The energy and latency savings from NVMs can be leveraged to add more on-chip resources, such as processing units or larger caches, enabling new capabilities.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.