Performance Modeling and Workload Analysis of Distributed Large Language Model Training and Inference
Not on the map. Why?
Abstract (arXiv)
Aligning future system design with the ever-increasing compute needs of large language models (LLMs) is undoubtedly an important problem in today's world. Here, we propose a general performance modeling methodology and workload analysis of distributed LLM training and inference through an analytical framework that accurately considers compute, memory sub-system, network, and various parallelization strategies (model parallel, data parallel, pipeline parallel, and sequence parallel). We validate our performance predictions with published data from literature and relevant industry vendors (e.g., NVIDIA). For distributed training, we investigate the memory footprint of LLMs for different activation re-computation methods, dissect the key factors behind the massive performance gain from A100 to B200 (~ 35x speed-up closely following NVIDIA's scaling trend), and further run a design space exploration at different technology nodes (12 nm to 1 nm) to study the impact of logic, memory, and network scaling on the performance. For inference, we analyze the compute versus memory boundedness of different operations at a matrix-multiply level for different GPU systems and further explore the impact of DRAM memory technology scaling on inference latency. Utilizing our modeling framework, we reveal the evolution of performance bottlenecks for both LLM training and inference with technology scaling, thus, providing insights to design future systems for LLM training and inference.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 21 of its 38 references that are in the map. First posted on arXiv 19 Jul 2024.
Builds on
21 of 38 references.
References · 21
- 2017Attention Is All You Needcited by 60,361
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2016Training Deep Nets with Sublinear Memory Costcited by 848
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
- 2022Efficiently Scaling Transformer Inferencecited by 539
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 407
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 302
- 2018Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency Analysiscited by 156
- 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 152
9 more
- 2020Memory-Efficient Pipeline-Parallel DNN Trainingcited by 134
- 2020Data Movement Is All You Need: A Case Study on Optimizing Transformerscited by 108
- 2024Understanding LLMs: A Comprehensive Overview from Training to Inferencecited by 59
- 2023ASTRA-sim2.0: Modeling Hierarchical Networks and Disaggregated Systems for Large-model Training at Scalecited by 47
- 2018Interstellar: Using Halide's Scheduling Language to Analyze DNN Acceleratorscited by 34
- 2021Mind Mappings: Enabling Efficient Algorithm-Accelerator Mapping Space Searchcited by 24
- 2021CoSA: Scheduling by Constrained Optimization for Spatial Acceleratorscited by 22
- 2023A Hardware Evaluation Framework for Large Language Model Inferencecited by 14
- 2022DeepFlow: A Cross-Stack Pathfinding Framework for Distributed AI Systemscited by 6
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 5.
9 papers.
- 2025Forecasting LLM Inference Performance via Hardware-Agnostic Analytical Modelingcited by 7
- 2025MaZO: Masked Zeroth-Order Optimization for Multi-Task Fine-Tuning of Large Language Modelscited by 4
- 2025Efficient Fine-Grained GPU Performance Modeling for Distributed Deep Learning of LLMcited by 4
- 2026RPU -- A Reasoning Processing Unitcited by 1
- 2026Dissecting GPU Utilization for LLM Inference on Nvidia Hoppercited by 1
- 2024A System Level Performance Evaluation for Superconducting Digital Systemscited by 0
- 2026Think Before You Grid-Search: Floor-First Triage for LLM Servingcited by 0
- 2026The Cost and Network Limits of Space-Based AI Computecited by 0
- 2026Leaky Language Models: Stealing Architecture and Inference Optimizations via Per-Token Timingcited by 0
- 2026Dissecting GPU Utilization for LLM Inference on Nvidia Hopper11 Sep 2026
- 2026Leaky Language Models: Stealing Architecture and Inference Optimizations via Per-Token Timing22 Jul 2026
- 2026The Cost and Network Limits of Space-Based AI Compute15 Jul 2026
- 2026Think Before You Grid-Search: Floor-First Triage for LLM Serving7 Jul 2026
- 2026RPU -- A Reasoning Processing Unit20 Feb 2026
- 2025Efficient Fine-Grained GPU Performance Modeling for Distributed Deep Learning of LLM26 Sep 2025
- 2025Forecasting LLM Inference Performance via Hardware-Agnostic Analytical Modeling29 Jul 2025
- 2025MaZO: Masked Zeroth-Order Optimization for Multi-Task Fine-Tuning of Large Language Models17 Feb 2025
- 2024A System Level Performance Evaluation for Superconducting Digital Systems13 Nov 2024