Accelerating bandwidth-bound deep learning inference with main-memory accelerators
摘要
DL inference queries play an important role in diverse internet services and a large fraction of datacenter cycles are spent on processing DL inference queries. Specifically, the matrixmatrix multiplication (GEMM) operations of fully-connected MLP layers dominate many inference tasks. We find that the GEMM operations for datacenter DL inference tasks are memory bandwidth bound, contrary to common assumptions: (1) strict query latency constraints force small-batch operation, which limits reuse and increases bandwidth demands; and (2) large and colocated models require reading the large weight matrices from main memory, again requiring high bandwidth without offering reuse opportunities. We demonstrate the large potential of accelerating these small-batch GEMMs with processing in the main CPU memory. We develop a novel GEMM execution flow and corresponding memory-side address-generation logic that exploits GEMM locality and enables long-running PIM kernels despite the complex address-mapping functions employed by the CPU that would otherwise destroy locality. Our evaluation of StepStone variants at the channel, device, and within-device PIM levels, along with optimizations that balance parallelism benefits with data-distribution overheads demonstrate 12× better minimum latency than a CPU and 2.8× greater throughput for strict query latency constraints. End-to-end performance analysis of recent recommendation and language models shows that StepStone PIM outperforms a fast CPU (by up to 16×) and prior main-memory acceleration approaches (by up to 2.4× compared to the best prior approach).
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- MeNDA: a near-memory multi-way merge solution for sparse transposition and dataflows 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
- PIM-MMU: A Memory Management Unit for Accelerating Data Transfers in Commercial PIM Systems 引用了 Pathfinding Future PIM Architectures by Demystifying a Commercial PIM Technology
- PIM-MMU: A Memory Management Unit for Accelerating Data Transfers in Commercial PIM Systems 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- PIM-MMU: A Memory Management Unit for Accelerating Data Transfers in Commercial PIM Systems 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
- PIM-MMU: A Memory Management Unit for Accelerating Data Transfers in Commercial PIM Systems 引用了 NeuPIMs: NPU-PIM Heterogeneous Acceleration for Batched LLM Inferencing
- PIM-MMU: A Memory Management Unit for Accelerating Data Transfers in Commercial PIM Systems 引用了 Language Models are Few-Shot Learners
- Pathfinding Future PIM Architectures by Demystifying a Commercial PIM Technology 引用了 Newton: A DRAM-maker's Accelerator-in-Memory (AiM) Architecture for Machine Learning
- Pathfinding Future PIM Architectures by Demystifying a Commercial PIM Technology 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
- NeuPIMs: NPU-PIM Heterogeneous Acceleration for Batched LLM Inferencing 引用了 Pathfinding Future PIM Architectures by Demystifying a Commercial PIM Technology
- NeuPIMs: NPU-PIM Heterogeneous Acceleration for Batched LLM Inferencing 引用了 RecNMP: Accelerating Personalized Recommendation with Near-Memory Processing
- Turbocharge ANNS on Real Processing-in-Memory by Enabling Fine-Grained Per-PIM-Core Scheduling 引用了 PIM-MMU: A Memory Management Unit for Accelerating Data Transfers in Commercial PIM Systems
- Turbocharge ANNS on Real Processing-in-Memory by Enabling Fine-Grained Per-PIM-Core Scheduling 引用了 NeuPIMs: NPU-PIM Heterogeneous Acceleration for Batched LLM Inferencing
引用它的顶会 Paper8
- NeuPIMs: NPU-PIM Heterogeneous Acceleration for Batched LLM InferencingGuseul Heo, Sangyeop Lee, Jaehong Cho, Hyunmin Choi 等ASPLOS 2024 · 121 次引用
- Pathfinding Future PIM Architectures by Demystifying a Commercial PIM TechnologyBongjoon Hyun, Taehun Kim, Dongjae Lee, Minsoo RhuHPCA 2024 · 62 次引用
- MeNDA: a near-memory multi-way merge solution for sparse transposition and dataflowsSiying Feng, Xin He, Kuan-Yu Chen, Liu Ke 等ISCA 2022 · 28 次引用
- PIM-MMU: A Memory Management Unit for Accelerating Data Transfers in Commercial PIM SystemsDongjae Lee, Bongjoon Hyun, Taehun Kim, Minsoo RhuMICRO 2024 · 23 次引用
- Turbocharge ANNS on Real Processing-in-Memory by Enabling Fine-Grained Per-PIM-Core SchedulingPuqing Wu, Minhui Xie, Enrui Zhao, Dafang Zhang 等USENIX ATC 2025 · 8 次引用
它引用的 Paper8
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用
- RecNMP: Accelerating Personalized Recommendation with Near-Memory ProcessingLiu Ke, Udit Gupta, Benjamin Youngjae Cho, David Brooks 等ISCA 2020 · 235 次引用
- Newton: A DRAM-maker's Accelerator-in-Memory (AiM) Architecture for Machine LearningMingxuan He, Choungki Song, Ilkon Kim, Chunseok Jeong 等MICRO 2020 · 208 次引用
- DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation InferenceUdit Gupta, Samuel Hsia, Vikram Saraph, Xiaodong Wang 等ISCA 2020 · 149 次引用
相关 Paper
- UpDLRM: Accelerating Personalized Recommendation using Real-World PIM ArchitectureSitian Chen, Haobin Tan, Amelie Chi Zhou, Yusen Li 等DAC 2024 · 9 次引用
- DECA: A Near-Core LLM Decompression Accelerator Grounded on a 3D Roofline ModelGerasimos Gerogiannis, Stijn Eyerman, Evangelos Georganas, Wim Heirman 等MICRO 2025 · 5 次引用
- Optimizing CPU Performance for Recommendation Systems At-ScaleRishabh Jain, Scott Cheng, Vishwas Kalagi, Vrushabh Sanghavi 等ISCA 2023 · 25 次引用
- BlockPIM: Optimizing Memory Management for PIM-enabled Long-Context LLM InferenceZhichun Li, Jun Zhou, Xueqi Li, Ninghui SunDAC 2025 · 3 次引用
- RecFlow: Unlocking GPU Efficiency for DLRM Inference via Fine-Grained Parallelism and Incremental BatchingSiheng Pan, Shaolong Li, Minwei Zhang, Shuxi Guo 等INFOCOM 2026
