English

BestServe: Serving Strategies with Optimal Goodput in Collocation and Disaggregation Architectures

Machine Learning 2025-06-09 v1 Distributed, Parallel, and Cluster Computing Performance

Abstract

Serving large language models (LLMs) to millions of users requires efficient resource allocation and parallelism strategies. It is a labor intensive trial-and-error process to find such a strategy. We present BestServe, a novel framework for ranking serving strategies by estimating goodput under various operating scenarios. Supporting both collocated and disaggregated architectures, BestServe leverages an inference simulator built on an adapted roofline model and CPU-GPU dispatch dynamics. Our framework determines the optimal strategy in minutes on a single standard CPU, eliminating the need for costly benchmarking, while achieving predictions within a 20%20\% error margin. It appeals to be practical for rapid deployment planning because of its lightweight design and strong extensibility.

Keywords

Cite

@article{arxiv.2506.05871,
  title  = {BestServe: Serving Strategies with Optimal Goodput in Collocation and Disaggregation Architectures},
  author = {Xiannan Hu and Tianyou Zeng and Xiaoming Yuan and Liwei Song and Guangyuan Zhang and Bangzheng He},
  journal= {arXiv preprint arXiv:2506.05871},
  year   = {2025}
}