Lune

USENIX ATC2022Top-tier venue

DVABatch: Diversity-aware Multi-Entry Multi-Exit Batching for Efficient Processing of DNN Services on GPUs

Weihao Cui, Han Zhao, Quan Chen, Hao Wei, Zirui Li, Deze Zeng, Chao Li, Minyi Guo

Abstract

The DNN inferences are often batched for better utilizing the hardware in existing DNN serving systems. However, DNN serving exhibits diversity in many aspects, such as input, operator, and load. The unawareness of these diversities results in inefficient processing. Our investigation shows that the inefficiency roots in the feature of the existing batching mechanism: one entry and one exit. Therefore, we propose DVABatch, a runtime batching system that enables the multi-entry multiexit batching scheme. We first abstract three meta operations, new, stretch, and split, for adjusting the ongoing batch of queries to achieve the multi-entry multi-exit scheme. The meta operations could be used to form different scheduling logics for different diversities. To deliver the meta operations to an ongoing batch, we slice the DNN models into multiple stages. Each stage corresponds to one executor, which is managed by a state transition diagram. Compared with state-of-the-art solutions, our experimental results show that DVABatch reduces 46.4% average latency and achieves up to 2.12× throughput improvement.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving cites Language Models are Few-Shot Learners
  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving cites TurboTransformers: an efficient GPU serving system for transformer models
  • Llumnix: Dynamic Scheduling for Large Language Model Serving cites AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
  • Llumnix: Dynamic Scheduling for Large Language Model Serving cites Efficient Memory Management for Large Language Model Serving with PagedAttention
  • Llumnix: Dynamic Scheduling for Large Language Model Serving cites Language Models are Few-Shot Learners
  • DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference cites MLPerf Inference Benchmark
  • Efficient Memory Management for Large Language Model Serving with PagedAttention cites AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
  • Efficient Memory Management for Large Language Model Serving with PagedAttention cites Language Models are Few-Shot Learners
  • Efficient Memory Management for Large Language Model Serving with PagedAttention cites TurboTransformers: an efficient GPU serving system for transformer models
  • GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding cites Language Models are Few-Shot Learners
  • InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management cites Efficient Memory Management for Large Language Model Serving with PagedAttention
  • InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management cites TurboTransformers: an efficient GPU serving system for transformer models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng et al.SOSP 2023 · 1,016 citations
  2. InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache ManagementWonbeom Lee, Jungi Lee, Junghwan Seo, Jaewoong SimOSDI 2024 · 248 citations
  3. AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning ServingZhuohan Li, Lianmin Zheng, Yinmin Zhong, Vincent Liu et al.OSDI 2023 · 211 citations
  4. Llumnix: Dynamic Scheduling for Large Language Model ServingBiao Sun, Ziming Huang, Hanyu Zhao, Wencong Xiao et al.OSDI 2024 · 189 citations
  5. OliVe: Accelerating Large Language Models via Hardware-friendly Outlier-Victim Pair QuantizationCong Guo, Jiaming Tang, Weiming Hu, Jingwen Leng et al.ISCA 2023 · 151 citations

Builds on10

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen et al.ICLR 2021 · 1,954 citations
  3. MLPerf Inference BenchmarkVijay Janapa Reddi, Christine Cheng, David Kanter, Peter Mattson et al.ISCA 2020 · 517 citations
  4. DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation InferenceUdit Gupta, Samuel Hsia, Vikram Saraph, Xiaodong Wang et al.ISCA 2020 · 149 citations
  5. TurboTransformers: an efficient GPU serving system for transformer modelsJiarui Fang, Yang Yu, Chengduo Zhao, Jie ZhouPPoPP 2021 · 117 citations

Related papers

  1. Harpagon: Minimizing DNN Serving Cost via Efficient Dispatching, Scheduling and SplittingZhixin Zhao, Yitao Hu, Ziqi Gong, Guotao Yang et al.INFOCOM 2025 · 2 citations
  2. ElasticRoom: Multi-Tenant DNN Inference Engine via Co-design with Resource-constrained Compilation and Strong Priority SchedulingLixian Ma, Haoruo Chen, En Shao, Leping Wang et al.HPDC 2024 · 4 citations
  3. Lazy Batching: An SLA-aware Batching System for Cloud Machine Learning InferenceYujeong Choi, Yunseong Kim, Minsoo RhuHPCA 2021 · 65 citations
  4. PREMA: A Predictive Multi-Task Scheduling Algorithm For Preemptible Neural Processing UnitsYujeong Choi, Minsoo RhuHPCA 2020 · 150 citations
  5. NeuStream: Bridging Deep Learning Serving and Stream ProcessingHaochen Yuan, Yuanqing Wang, Wenhao Xie, Yu Cheng et al.EuroSys 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines