UniNDP: A Unified Compilation and Simulation Tool for Near DRAM Processing Architectures
Tongxin Xie, Zhenhua Zhu, Bing Li, Yukai He, Cong Li, Guangyu Sun, Huazhong Yang, Yuan Xie, Yu Wang
摘要
Near DRAM Processing (NDP) architectures have emerged to be a promising solution for commercializing in-memory computing and addressing the “memory wall” problem, especially for the memory-intensive machine learning (ML) workloads. In NDP architectures, the Processing Units (PUs) are distributed next to different memory units to exploit the high internal bandwidth. Therefore, in order to fully utilize the bandwidth advantage of NDP architectures for ML applications, meticulous evaluations and optimizations of data placement in DRAM and workload scheduling among different PUs are required. However, existing simulation and compilation tools face two insuperable obstacles to achieving these targets. On the one hand, tools for traditional von Neumann architectures only focus on the data access behaviors between the host and DRAM and treat DRAM as a whole part, which cannot support NDP architectures with multiple independent processing and memory units working simultaneously. On the other hand, existing NDP simulators and compilers are designed for specific DRAM technology and NDP architecture, lacking compatibility for various NDP architectures. In order to overcome these challenges and optimize data mapping and workload scheduling for different NDP architectures, we propose UniNDP, a unified NDP compilation and simulation tool for ML applications. Firstly, we propose a unified tree-based NDP hardware abstraction and the corresponding instruction set, enabling the support for various NDP architectures based on different DRAM technologies. Secondly, we design a cycle-accurate and instruction-driven NDP simulator to evaluate hardware performance by accurately tracking the working status of memory elements and PUs. The accurate simulation can provide effective guidance for compilation. Thirdly, we design an NDP compiler that optimizes data partition, mapping, and workload scheduling in different DRAM hierarchies. Furthermore, to enhance the compilation efficiency, we propose a hardware status-guided search space pruning strategy and a fast performance predictor using DRAM timing parameters. Extensive experimental results show that, compared to existing mapping and compilation methods, UniNDP can achieve 1.05-3.43 speedup across multiple NDP architectures and different ML workloads. Furthermore, based on the results of UniNDP, we provide insights for the future NDP architecture design and deployment in ML applications.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- NeuPIMs: NPU-PIM Heterogeneous Acceleration for Batched LLM Inferencing 引用了 TransPIM: A Memory-based Acceleration via Software-Hardware Co-Design for Transformer
- NeuPIMs: NPU-PIM Heterogeneous Acceleration for Batched LLM Inferencing 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
- Bringing Near Data Processing Into the Low-Bit Floating-Point Era 引用了 AttAcc! Unleashing the Power of PIM for Batched Transformer-based Generative Model Inference
- Bringing Near Data Processing Into the Low-Bit Floating-Point Era 引用了 TransPIM: A Memory-based Acceleration via Software-Hardware Co-Design for Transformer
- Bringing Near Data Processing Into the Low-Bit Floating-Point Era 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
- Bringing Near Data Processing Into the Low-Bit Floating-Point Era 引用了 NeuPIMs: NPU-PIM Heterogeneous Acceleration for Batched LLM Inferencing
- Bringing Near Data Processing Into the Low-Bit Floating-Point Era 引用了 Language Models are Few-Shot Learners
- DCC: Data-Centric Compilation of Machine Learning Kernels for Processing-In-Memory Architectures 引用了 AttAcc! Unleashing the Power of PIM for Batched Transformer-based Generative Model Inference
- DCC: Data-Centric Compilation of Machine Learning Kernels for Processing-In-Memory Architectures 引用了 NeuPIMs: NPU-PIM Heterogeneous Acceleration for Batched LLM Inferencing
引用它的顶会 Paper3
- DCC: Data-Centric Compilation of Machine Learning Kernels for Processing-In-Memory ArchitecturesPeiming Yang, Sankeerth Durvasula, Ivan Fernandez, Mohammad Sadrosadati 等ISCA 2026 · 3 次引用
- NasZip: Software and Hardware Co-Design to Accelerate Approximate Nearest Neighbor Search with DIMM-Based Near-Data ProcessingCheng Zou, Shuo Yang, Chen Nie, Yu Zou 等ISCA 2026 · 1 次引用
- Bringing Near Data Processing Into the Low-Bit Floating-Point EraTongxin Xie, Mingyu Gao, Zehao Wang, Zhihao Jia 等ISCA 2026
它引用的 Paper18
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- RecNMP: Accelerating Personalized Recommendation with Near-Memory ProcessingLiu Ke, Udit Gupta, Benjamin Youngjae Cho, David Brooks 等ISCA 2020 · 235 次引用
- TransPIM: A Memory-based Acceleration via Software-Hardware Co-Design for TransformerMinxuan Zhou, Weihong Xu, Jaeyoung Kang, Tajana RosingHPCA 2022 · 142 次引用
- AttAcc! Unleashing the Power of PIM for Batched Transformer-based Generative Model InferenceJaehyun Park, Jaewan Choi, Kwanhee Kyung, Michael Jaemin Kim 等ASPLOS 2024 · 125 次引用
- NeuPIMs: NPU-PIM Heterogeneous Acceleration for Batched LLM InferencingGuseul Heo, Sangyeop Lee, Jaehong Cho, Hyunmin Choi 等ASPLOS 2024 · 121 次引用
相关 Paper
- ABNDP: Co-optimizing Data Access and Load Balance in Near-Data ProcessingBoyu Tian, Qihang Chen, Mingyu GaoASPLOS 2023 · 31 次引用
- NDPBridge: Enabling Cross-Bank Coordination in Near-DRAM-Bank Processing ArchitecturesBoyu Tian, Yiwei Li, Li Jiang, Shuangyu Cai 等ISCA 2024 · 27 次引用
- NearPM: A Near-Data Processing System for Storage-Class ApplicationsYasas Seneviratne, Korakit Seemakhupt, Sihang Liu, Samira Manabi KhanEuroSys 2023 · 6 次引用
- AsyncDIMM: Achieving Asynchronous Execution in DIMM-Based Near-Memory ProcessingLiyan Chen, Dongxu Lyu, Jianfei Jiang, Qin Wang 等HPCA 2025 · 7 次引用
- Newton: A DRAM-maker's Accelerator-in-Memory (AiM) Architecture for Machine LearningMingxuan He, Choungki Song, Ilkon Kim, Chunseok Jeong 等MICRO 2020 · 208 次引用
