English

BucketServe: Bucket-Based Dynamic Batching for Smart and Efficient LLM Inference Serving

Distributed, Parallel, and Cluster Computing 2026-01-06 v1 Artificial Intelligence

Abstract

Large language models (LLMs) have become increasingly popular in various areas, traditional business gradually shifting from rule-based systems to LLM-based solutions. However, the inference of LLMs is resource-intensive or latency-sensitive, posing significant challenges for serving systems. Existing LLM serving systems often use static or continuous batching strategies, which can lead to inefficient GPU memory utilization and increased latency, especially under heterogeneous workloads. These methods may also struggle to adapt to dynamic workload fluctuations, resulting in suboptimal throughput and potential service level objective (SLO) violations. In this paper, we introduce BucketServe, a bucket-based dynamic batching framework designed to optimize LLM inference performance. By grouping requests into size-homogeneous buckets based on sequence length, BucketServe minimizes padding overhead and optimizes GPU memory usage through real-time batch size adjustments preventing out-of-memory (OOM) errors. It introduces adaptive bucket splitting/merging and priority-aware scheduling to mitigate resource fragmentation and ensure SLO compliance. Experiment shows that BucketServe significantly outperforms UELLM in throughput, achieving up to 3.58x improvement. It can also handle 1.93x more request load under the SLO attainment of 80% compared with DistServe and demonstrates 1.975x higher system load capacity compared to the UELLM.

Keywords

Cite

@article{arxiv.2507.17120,
  title  = {BucketServe: Bucket-Based Dynamic Batching for Smart and Efficient LLM Inference Serving},
  author = {Wanyi Zheng and Minxian Xu and Shengye Song and Kejiang Ye},
  journal= {arXiv preprint arXiv:2507.17120},
  year   = {2026}
}

Comments

9 pages

R2 v1 2026-07-01T04:14:28.632Z