Serving LLM in Distributed GPU Cluster with Fine-Grain Pipeline Constraints
As Large Language Models (LLMs) continue to advance, their parameter sizes are growing exponentially-far outpacing hardware capabilities. This widening gap necessitates distributed computing through pipeline parallelism for efficient inference. However, the uneven distribution of requests across pipeline stages creates significant performance bottlenecks in real-world deployments. To address this challenge, we present <sc xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">P</small>lanck, a performance optimization framework specifically designed for distributed LLM inference. <sc xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">P</small>lanck implements fine-grained control through two key mechanisms: a progressive SLO allocation strategy that dynamically adjusts time constraints based on workload patterns, and stage-specific performance controllers that prevent bottlenecks before they cascade through the system. By intelligently balancing resources across pipeline stages, <sc xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">P</small>lanck effectively eliminates queue buildup-essentially preventing traffic congestion before it forms. Evaluation using diverse workloads in real cloud environments demonstrates that <sc xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">P</small>lanck reduces P99 tail latency by up to 18% and decreases the longest queue lengths by as much as 47.8% across pipeline stages, significantly improving both system responsiveness and resource utilization.
Authors
- Kejiang Ye (ORCID: https://orcid.org/0000-0001-6133-407X)
- Chengzhong Xu (ORCID: https://orcid.org/0000-0001-9480-0356)
- Yanying Lin (ORCID: https://orcid.org/0000-0002-4809-9543)
- Shuaipeng Wu (ORCID: https://orcid.org/0009-0002-4764-2601)
- Yanbo Li (ORCID: https://orcid.org/0000-0002-7324-7712)
- Shijie Peng (ORCID: https://orcid.org/0009-0005-1776-4773)
- Chengzhi Lu (ORCID: https://orcid.org/0000-0002-6421-3828)
Institutions
- University of Macau (MO)
- Shenzhen Institutes of Advanced Technology (CN)
Publication Details
- Journal
- IEEE Transactions on Services Computing
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/tsc.2025.3603576
- Primary Topic
- Advanced Machining and Optimization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00