DistServe increases per-GPU goodput by up to 7.4x over DeepSpeed-MII and 5.7x over vLLM (and tightens latency SLOs by up to 12.6x) by placing prompt prefill and autoregressive token decoding on separate GPU pools. Published by Yinmin Zhong, Shengyu Liu, Junda Chen, Jianbo Hu, Yibo Zhu, Xuanzhe Liu, Xin Jin, and Hao Zhang (Peking University, StepFun, and UC San Diego), the system targets a blind spot in earlier engines: maximizing raw token throughput breaks tail latency when prefill and decode compete on the same chip.

In standard iteration-level batching engines such as vLLM, a single long prompt delays every ongoing decode step in the batch, while locking both phases to one model-parallel layout forces tradeoffs between time to first token (TTFT) and time per output token (TPOT).

  • 7.4x higher chatbot goodput: On ShareGPT traces across OPT-13B, OPT-66B, and OPT-175B (90% SLO attainment), DistServe sustains 2.0x to 4.6x higher request rates than vLLM and 1.6x to 7.4x higher rates than DeepSpeed-MII.
  • 12.6x tighter summarization SLOs: On LongBench (OPT-66B), disaggregation delivers 4.3x higher throughput and 12.6x stricter latency targets than vLLM, and 1.8x higher throughput than DeepSpeed-MII.
  • 5.7x higher code-completion rate: On HumanEval (OPT-66B, 0.125s TTFT target), DistServe serves 5.7x more requests per GPU than vLLM and 1.6x more than DeepSpeed-MII.
  • Under 0.1% KV transfer overhead: Even on OPT-175B over a 25 Gbps cross-node cluster, NVLink-colocated pipeline stages keep KV-cache transmission under 30 ms for over 95% of requests.
Why disaggregation raises goodput on a 13B LLM (1x A100-80GB)
Colocated baseline (prefill + decode together)1.6 req/s per GPU
Bottlenecked by prefill-decode interference; fails TPOT target long before decode compute saturates.
2 Prefill GPUs + 1 Decode GPU (5.6 and 10 req/s pools)3.3 req/s per GPU (2.1x)
10 req/s total across 3 GPUs without phase contention; higher is better (90% SLO attainment, 512 in / 64 out).
Isolated decode-only pool ceiling10.0 req/s per GPU
Memory-bound decode absorbs multiple prefill streams into larger batches without missing TPOT.

Source: Zhong et al. (2024), Section 1 and Figure 1.

How It Works

Prefill is compute-bound: on an A100 GPU running a 13B model, a single 512-token prompt saturates compute, so batching more prompts just stretches TTFT. Decoding is memory-bandwidth bound: each step reads the full model weights and active KV caches to emit one token per sequence, so batching aggressively improves GPU utilization. Colocating both phases forces every GPU into one parallelism plan and lets long prefills stall decoding steps.

Splitting prefills into chunks (as in DeepSpeed-MII or Sarathi-Serve) softens decode stalls but introduces a different tax. Each chunk must reload all preceding chunks’ KV cache from GPU memory, turning linear O(N) reads into quadratic O(N^2) reads across N chunks while still forcing a compromise between TTFT and TPOT.

DistServe removes this coupling with two deployment-aware placement algorithms backed by an analytical execution simulator (within 2% error of real cluster SLO attainment):

  • High node-affinity clusters (InfiniBand): When cross-node bandwidth exceeds the KV transfer rate (such as 800 Gbps InfiniBand, well above the ~90 Gbps needed to hide 10 req/s of 512-token OPT-66B KV caches), Algorithm 1 searches tensor parallelism (intra_op) and pipeline parallelism (inter_op) independently for prefill and decode, then replicates each pool to match traffic.
  • Low node-affinity clusters (25 Gbps Ethernet): Because KV transfer only happens between matching model layers, Algorithm 2 splits prefill and decode into pipeline stages and colocates matching stages inside the same 8-GPU node. That keeps all KV transfers over 600 GB/s intra-node NVLink, even for OPT-175B (350 GB weights, too big to fit two full replicas on one 640 GB node).

At runtime, decoding instances pull KV caches asynchronously from prefill GPU memory via cudaMemcpy or NCCL, turning prefill DRAM into a shock absorber against request bursts.

Key Findings

Evaluated on a 32-GPU cluster (4 nodes of 8x A100-80GB with NVLink and 25 Gbps cross-node links) across OPT-13B, OPT-66B, and OPT-175B in FP16, DistServe consistently beats both vLLM and DeepSpeed-MII at 90% and 99% SLO attainment.

DistServe gains by workload at 90% SLO attainment (32x A100 cluster)
Chatbot (ShareGPT)

OPT-13B/66B/175B (0.25s to 4s TTFT, 0.1s to 0.2s TPOT): 2.0x to 4.6x rate vs. vLLM; 1.6x to 7.4x vs. DeepSpeed-MII.

Code (HumanEval)

OPT-66B (0.125s TTFT, 0.2s TPOT): 5.7x rate vs. vLLM and 1.6x vs. DeepSpeed-MII, with 1.4x tighter SLOs.

Summary (LongBench)

OPT-66B (15s TTFT, 0.15s TPOT): 4.3x rate and 12.6x tighter SLO vs. vLLM; 1.8x rate vs. DeepSpeed-MII.

Source: Zhong et al. (2024), Table 1 and Section 6.2.

The placement solver chooses asymmetric layouts an operator would rarely guess by hand. For OPT-175B on ShareGPT, it assigns TP=3, PP=3 to prefill and TP=4, PP=3 to decode. Under 99% SLO attainment, DistServe sustains 3x to 8x higher request rates than vLLM and 1.32x to 8x higher rates than DeepSpeed-MII.

Crucially, tuning parallelism without disaggregation does not close the gap. In an ablation (vLLM++) that searched all tensor-parallel degrees for colocated vLLM on OPT-66B, the default TP=4 layout was already optimal and still hit the same interference ceiling. DeepSpeed-MII could not run OPT-175B at all because its kernels required vocab_size / TP to be a multiple of 8 (invalid at TP=8, out-of-memory at TP=4).

Caveats and Builder Takeaway

  • Wrong fit for offline batch jobs or tiny clusters: When latency SLOs do not matter (offline scoring or batch extraction), chunked prefill with piggybacking fills GPUs better. On 1 to 4 GPUs, splitting pools leaves too little room to scale either phase independently.
  • Fault coupling and FCFS head-of-line blocking: DistServe’s prototype lacks request preemption and fault isolation; a crash on one decode instance serving multiple prefill nodes can stall upstream work, and FCFS prefill queuing allows long prompts to block short ones.
  • Experimental boundaries: Benchmarks used Poisson arrival rates and OPT models with multi-head attention (more KV-heavy than grouped-query attention), with LongBench prompts capped at 2,048 tokens; periodic replanning takes under 1.3 minutes to solve but several minutes to reload weights on major traffic shifts.

For multi-node online deployments serving interactive chatbots, coding assistants, or long-document pipelines with strict TTFT and TPOT targets, disaggregating prefill from decode (as also explored in Splitwise) turns wasted over-provisioning into usable serving capacity.