Optimizing SLO-oriented LLM Serving with PD-Multiplexing
Weihao Cui, Yukang Chen, Han Zhao, Ziyi Xu, Quan Chen, Xusheng Chen, Yangjie Zhou, Shixuan Sun, Minyi Guo
TL;DR
Drift presents PD multiplexing to resolve the long-standing trade-off between SLO guarantees and high throughput in LLM serving. By enabling in-place compute partitioning with phase decoupling on shared GPUs, Drift preserves KV-cache locality while coordinating prefill and decode phases through adaptive gang scheduling and contention-free modeling. The offline-online framework, combined with a SLO-aware dispatcher, yields substantial throughput gains (average 5.1x, up to 17.5x) across real-world and synthetic workloads while consistently meeting SLO targets. This approach eliminates the need for heavy KV-cache transfers or brittle chunking, offering a robust, scalable solution for complex, multi-turn LLM services.
Abstract
Modern LLM services demand high throughput and stringent SLO guarantees across two distinct inference phases-prefill and decode-and complex multi-turn workflows. However, current systems face a fundamental tradeoff: out-of-place compute partition enables per-phase SLO attainment, while in-place memory sharing maximizes throughput via KV cache reuse. Moreover, existing in-place compute partition also encounters low utilization and high overhead due to phase-coupling design. We present Drift, a new LLM serving framework that resolves this tension via PD multiplexing, enabling in-place and phase-decoupled compute partition. Drift leverages low-level GPU partitioning techniques to multiplex prefill and decode phases spatially and adaptively on shared GPUs, while preserving in-place memory sharing. To fully leverage the multiplexing capability, Drift introduces an adaptive gang scheduling mechanism, a contention-free modeling method, and a SLO-aware dispatching policy. Evaluation shows that Drift achieves an average $5.1\times$ throughput improvement (up to $17.5\times$) over state-of-the-art baselines, while consistently meeting SLO targets under complex LLM workloads.
