Optimizing Server Allocation for Multi-Tenant GPU Inference With Dynamic Batching: A Queueing Theoretic Approach

IF 5.3 2区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS
IEEE Transactions on Cloud Computing Pub Date : 2026-07-01 Epub Date: 2026-03-25 DOI:10.1109/TCC.2026.3696613
Ryota Okuyama;Yoshiaki Inoue
{"title":"Optimizing Server Allocation for Multi-Tenant GPU Inference With Dynamic Batching: A Queueing Theoretic Approach","authors":"Ryota Okuyama;Yoshiaki Inoue","doi":"10.1109/TCC.2026.3696613","DOIUrl":null,"url":null,"abstract":"Efficient GPU resource management is essential for multi-tenant deep neural network (DNN) inference platforms, where dynamic batching is widely used to improve throughput and energy efficiency. However, batching introduces a trade-off between latency and batch size, particularly when diverse applications compete for a limited server pool. Existing measurement-based tuning approaches often require re-profiling system performance under varying arrival rates, which renders them impractical for dynamic production environments. This paper introduces a queueing-theoretic framework for application-aware server allocation under energy constraints. We model each application’s server using a realistic dynamic batching policy and Erlang interarrival processes, arising from Poisson job arrivals and round-robin job dispatching. We derive closed-form approximations for expected batch size and job latency. These approximations enable a convex optimization that minimizes the maximum average latency across applications while satisfying batch-dependent energy efficiency constraints. The proposed method eliminates the need for exhaustive simulation or empirical profiling across different arrival rates, making it well-suited for dynamic, real-time server provisioning. Experiments on a real GPU server with ResNet-50 and RetinaNet demonstrate that our approach closely approximates optimal allocation strategies while significantly reducing computational overhead. The framework supports both server-based and serverless deployments and is readily applicable to modern DNN inference platforms.","PeriodicalId":13202,"journal":{"name":"IEEE Transactions on Cloud Computing","volume":"14 3","pages":"2017-2032"},"PeriodicalIF":5.3000,"publicationDate":"2026-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Cloud Computing","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/11534992/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/3/25 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0

Abstract

Efficient GPU resource management is essential for multi-tenant deep neural network (DNN) inference platforms, where dynamic batching is widely used to improve throughput and energy efficiency. However, batching introduces a trade-off between latency and batch size, particularly when diverse applications compete for a limited server pool. Existing measurement-based tuning approaches often require re-profiling system performance under varying arrival rates, which renders them impractical for dynamic production environments. This paper introduces a queueing-theoretic framework for application-aware server allocation under energy constraints. We model each application’s server using a realistic dynamic batching policy and Erlang interarrival processes, arising from Poisson job arrivals and round-robin job dispatching. We derive closed-form approximations for expected batch size and job latency. These approximations enable a convex optimization that minimizes the maximum average latency across applications while satisfying batch-dependent energy efficiency constraints. The proposed method eliminates the need for exhaustive simulation or empirical profiling across different arrival rates, making it well-suited for dynamic, real-time server provisioning. Experiments on a real GPU server with ResNet-50 and RetinaNet demonstrate that our approach closely approximates optimal allocation strategies while significantly reducing computational overhead. The framework supports both server-based and serverless deployments and is readily applicable to modern DNN inference platforms.
基于动态批处理的多租户GPU推理服务器分配优化:一种排队理论方法
高效的GPU资源管理对于多租户深度神经网络(DNN)推理平台至关重要,其中动态批处理被广泛用于提高吞吐量和能效。然而,批处理引入了延迟和批大小之间的权衡,特别是当不同的应用程序竞争有限的服务器池时。现有的基于测量的调优方法通常需要在不同的到达率下重新分析系统性能,这使得它们在动态生产环境中不切实际。本文介绍了一种能量约束下应用感知服务器分配的排队理论框架。我们使用实际的动态批处理策略和Erlang到达间进程对每个应用程序的服务器进行建模,这些过程由泊松作业到达和循环作业调度引起。我们导出了预期批大小和作业延迟的封闭近似。这些近似实现了凸优化,使应用程序之间的最大平均延迟最小化,同时满足与批处理相关的能效约束。所提出的方法消除了对不同到达率的详尽模拟或经验分析的需要,使其非常适合动态、实时的服务器配置。使用ResNet-50和RetinaNet在真实GPU服务器上进行的实验表明,我们的方法非常接近最佳分配策略,同时显着减少了计算开销。该框架支持基于服务器和无服务器的部署,并且很容易适用于现代DNN推理平台。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
IEEE Transactions on Cloud Computing
IEEE Transactions on Cloud Computing Computer Science-Software
CiteScore
9.40
自引率
6.20%
发文量
167
期刊介绍: The IEEE Transactions on Cloud Computing (TCC) is dedicated to the multidisciplinary field of cloud computing. It is committed to the publication of articles that present innovative research ideas, application results, and case studies in cloud computing, focusing on key technical issues related to theory, algorithms, systems, applications, and performance.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书