Mind the Memory Gap: Unveiling GPU Bottlenecks in Large-Batch LLM Inference. Recasens, P. G., Agullo, F., Zhu, Y., Wang, C., Lee, E. K., Tardieu, O., Torres, J., & Berral, J. L. March, 2025. arXiv:2503.08311 [cs]
Paper doi abstract bibtex Large language models have been widely adopted across different tasks, but their auto-regressive generation nature often leads to inefficient resource utilization during inference. While batching is commonly used to increase throughput, performance gains plateau beyond a certain batch size, especially with smaller models, a phenomenon that existing literature typically explains as a shift to the compute-bound regime. In this paper, through an in-depth GPU-level analysis, we reveal that large-batch inference remains memory-bound, with most GPU compute capabilities underutilized due to DRAM bandwidth saturation as the primary bottleneck. To address this, we propose a Batching Configuration Advisor (BCA) that optimizes memory allocation, reducing GPU memory requirements with minimal impact on throughput. The freed memory and underutilized GPU compute capabilities can then be leveraged by concurrent workloads. Specifically, we use model replication to improve serving throughput and GPU utilization. Our findings challenge conventional assumptions about LLM inference, offering new insights and practical strategies for improving resource utilization, particularly for smaller language models.
@misc{recasens_mind_2025,
title = {Mind the {Memory} {Gap}: {Unveiling} {GPU} {Bottlenecks} in {Large}-{Batch} {LLM} {Inference}},
shorttitle = {Mind the {Memory} {Gap}},
url = {http://arxiv.org/abs/2503.08311},
doi = {10.48550/arXiv.2503.08311},
abstract = {Large language models have been widely adopted across different tasks, but their auto-regressive generation nature often leads to inefficient resource utilization during inference. While batching is commonly used to increase throughput, performance gains plateau beyond a certain batch size, especially with smaller models, a phenomenon that existing literature typically explains as a shift to the compute-bound regime. In this paper, through an in-depth GPU-level analysis, we reveal that large-batch inference remains memory-bound, with most GPU compute capabilities underutilized due to DRAM bandwidth saturation as the primary bottleneck. To address this, we propose a Batching Configuration Advisor (BCA) that optimizes memory allocation, reducing GPU memory requirements with minimal impact on throughput. The freed memory and underutilized GPU compute capabilities can then be leveraged by concurrent workloads. Specifically, we use model replication to improve serving throughput and GPU utilization. Our findings challenge conventional assumptions about LLM inference, offering new insights and practical strategies for improving resource utilization, particularly for smaller language models.},
urldate = {2025-04-25},
publisher = {arXiv},
author = {Recasens, Pol G. and Agullo, Ferran and Zhu, Yue and Wang, Chen and Lee, Eun Kyung and Tardieu, Olivier and Torres, Jordi and Berral, Josep Ll},
month = mar,
year = {2025},
note = {arXiv:2503.08311 [cs]},
keywords = {Computer Science - Distributed, Parallel, and Cluster Computing, Computer Science - Machine Learning},
}
Downloads: 0
{"_id":"DmwLoiZ6tjDScC79S","bibbaseid":"recasens-agullo-zhu-wang-lee-tardieu-torres-berral-mindthememorygapunveilinggpubottlenecksinlargebatchllminference-2025","author_short":["Recasens, P. G.","Agullo, F.","Zhu, Y.","Wang, C.","Lee, E. K.","Tardieu, O.","Torres, J.","Berral, J. L."],"bibdata":{"bibtype":"misc","type":"misc","title":"Mind the Memory Gap: Unveiling GPU Bottlenecks in Large-Batch LLM Inference","shorttitle":"Mind the Memory Gap","url":"http://arxiv.org/abs/2503.08311","doi":"10.48550/arXiv.2503.08311","abstract":"Large language models have been widely adopted across different tasks, but their auto-regressive generation nature often leads to inefficient resource utilization during inference. While batching is commonly used to increase throughput, performance gains plateau beyond a certain batch size, especially with smaller models, a phenomenon that existing literature typically explains as a shift to the compute-bound regime. In this paper, through an in-depth GPU-level analysis, we reveal that large-batch inference remains memory-bound, with most GPU compute capabilities underutilized due to DRAM bandwidth saturation as the primary bottleneck. To address this, we propose a Batching Configuration Advisor (BCA) that optimizes memory allocation, reducing GPU memory requirements with minimal impact on throughput. The freed memory and underutilized GPU compute capabilities can then be leveraged by concurrent workloads. Specifically, we use model replication to improve serving throughput and GPU utilization. Our findings challenge conventional assumptions about LLM inference, offering new insights and practical strategies for improving resource utilization, particularly for smaller language models.","urldate":"2025-04-25","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Recasens"],"firstnames":["Pol","G."],"suffixes":[]},{"propositions":[],"lastnames":["Agullo"],"firstnames":["Ferran"],"suffixes":[]},{"propositions":[],"lastnames":["Zhu"],"firstnames":["Yue"],"suffixes":[]},{"propositions":[],"lastnames":["Wang"],"firstnames":["Chen"],"suffixes":[]},{"propositions":[],"lastnames":["Lee"],"firstnames":["Eun","Kyung"],"suffixes":[]},{"propositions":[],"lastnames":["Tardieu"],"firstnames":["Olivier"],"suffixes":[]},{"propositions":[],"lastnames":["Torres"],"firstnames":["Jordi"],"suffixes":[]},{"propositions":[],"lastnames":["Berral"],"firstnames":["Josep","Ll"],"suffixes":[]}],"month":"March","year":"2025","note":"arXiv:2503.08311 [cs]","keywords":"Computer Science - Distributed, Parallel, and Cluster Computing, Computer Science - Machine Learning","bibtex":"@misc{recasens_mind_2025,\n\ttitle = {Mind the {Memory} {Gap}: {Unveiling} {GPU} {Bottlenecks} in {Large}-{Batch} {LLM} {Inference}},\n\tshorttitle = {Mind the {Memory} {Gap}},\n\turl = {http://arxiv.org/abs/2503.08311},\n\tdoi = {10.48550/arXiv.2503.08311},\n\tabstract = {Large language models have been widely adopted across different tasks, but their auto-regressive generation nature often leads to inefficient resource utilization during inference. While batching is commonly used to increase throughput, performance gains plateau beyond a certain batch size, especially with smaller models, a phenomenon that existing literature typically explains as a shift to the compute-bound regime. In this paper, through an in-depth GPU-level analysis, we reveal that large-batch inference remains memory-bound, with most GPU compute capabilities underutilized due to DRAM bandwidth saturation as the primary bottleneck. To address this, we propose a Batching Configuration Advisor (BCA) that optimizes memory allocation, reducing GPU memory requirements with minimal impact on throughput. The freed memory and underutilized GPU compute capabilities can then be leveraged by concurrent workloads. Specifically, we use model replication to improve serving throughput and GPU utilization. Our findings challenge conventional assumptions about LLM inference, offering new insights and practical strategies for improving resource utilization, particularly for smaller language models.},\n\turldate = {2025-04-25},\n\tpublisher = {arXiv},\n\tauthor = {Recasens, Pol G. and Agullo, Ferran and Zhu, Yue and Wang, Chen and Lee, Eun Kyung and Tardieu, Olivier and Torres, Jordi and Berral, Josep Ll},\n\tmonth = mar,\n\tyear = {2025},\n\tnote = {arXiv:2503.08311 [cs]},\n\tkeywords = {Computer Science - Distributed, Parallel, and Cluster Computing, Computer Science - Machine Learning},\n}\n\n\n\n\n\n\n\n","author_short":["Recasens, P. G.","Agullo, F.","Zhu, Y.","Wang, C.","Lee, E. K.","Tardieu, O.","Torres, J.","Berral, J. L."],"key":"recasens_mind_2025","id":"recasens_mind_2025","bibbaseid":"recasens-agullo-zhu-wang-lee-tardieu-torres-berral-mindthememorygapunveilinggpubottlenecksinlargebatchllminference-2025","role":"author","urls":{"Paper":"http://arxiv.org/abs/2503.08311"},"keyword":["Computer Science - Distributed","Parallel","and Cluster Computing","Computer Science - Machine Learning"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/pa511","dataSources":["MpmemwLeQzDcKDq6x"],"keywords":["computer science - distributed","parallel","and cluster computing","computer science - machine learning"],"search_terms":["mind","memory","gap","unveiling","gpu","bottlenecks","large","batch","llm","inference","recasens","agullo","zhu","wang","lee","tardieu","torres","berral"],"title":"Mind the Memory Gap: Unveiling GPU Bottlenecks in Large-Batch LLM Inference","year":2025}