Prefill-Decode Disaggregation
Prefill-decode disaggregation separates the two phases of LLM inference onto different worker instances or GPU pools. Prefill processes the prompt and produces a key-value (KV) cache; decode uses that state to generate output tokens. Separating the phases lets operators tune time to first token (TTFT) and latency between output tokens independently. It can reduce interference from long prompts, but adds KV-cache transfer and scheduling costs. Its value depends on the workload, hardware and latency targets.
Also known as: Disaggregated Prefill and Decode, PD Disaggregation, Disaggregated LLM Serving
Origin and context
Splitwise appeared as a preprint on 30 November 2023 and was published at ISCA 2024. DistServe was submitted on 18 January 2024 and published at OSDI 2024. The papers examined separate resource allocation for prompt processing and token generation, with different optimization objectives and evaluations. Mooncake later described a KV-cache-centered serving platform with separate prefill and decode clusters. A September 2026 vLLM guide describes how to run disaggregated serving and where transfer overhead can defeat its benefits; implementation details should be checked against the version deployed.
Why it matters
Prefill is often compute-intensive, while decode often depends heavily on memory bandwidth; batch size and model architecture affect both. Sharing resources can couple prompt-processing latency to ongoing generation. Separate workers make different parallelism and capacity choices possible. DistServe evaluates goodput: requests served within both TTFT and per-token latency limits. That is different from raw tokens per second. The vLLM guide cautions that splitting the same GPUs does not necessarily increase raw throughput. A deployment decision should compare latency targets, KV-transfer time and resource use on the same workload, rather than assume a universal speedup.
Example
For an illustrative assistant handling long documents, a router first assigns a request to a prefill worker. That worker computes the prompt state and transfers the KV cache to a decode worker, which generates the answer. Compare this path with colocated serving at the same arrival rate and prompt/output length distribution. Measure time to first token, tail inter-token latency, transfer bytes and transfer time, and requests meeting both latency targets. Queueing or KV transfer can still delay the answer. The example specifies a measurement plan, not a verified production configuration or guaranteed improvement.
Maturity and evidence
Maturity remains 3: the architecture has peer-reviewed systems research and accessible implementations, including Mooncake and vLLM. These establish that the technique can be implemented and evaluated, not that it suits every service. The vLLM guide documents both benefits and transfer overhead in a specific configuration. Smaller services, shorter prompts and constrained interconnects may favor colocated serving; compare systems under the intended workload before adopting a split architecture.
Limits and open questions
KV-transfer volume depends on the model, sequence length, KV representation and cache reuse. A suitable network or fabric must carry that state within the latency budget; bandwidth alone does not describe queueing, contention or connector behavior. Likewise, CPU memory or SSD cache tiers are not automatically the best choice: moving state through an extra tier can save GPU capacity but adds transfer work. Benchmark the deployed connector and memory path, and account for imbalance between prefill and decode pools. Disaggregation does not remove these bottlenecks.
References
- DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model ServingZhong et al. / OSDI 2024 (arXiv) · 2024-01-18 · class A
- Splitwise: Efficient Generative LLM Inference Using Phase SplittingPatel et al. / Microsoft Research & ISCA 2024 · 2023-11-30 · class A
- Mooncake: A KVCache-centric Disaggregated Architecture for LLM ServingQin et al. / Moonshot AI & Tsinghua University (FAST 2025) · 2024-06-24 · class A
- Taking vLLM Apart: A Practical Guide to Disaggregated ServingMartin Hickey / vLLM project · 2026-09-29 · class A
Last updated: 2026-11-06
This term is also covered in the Skills Atlas as llm inference serving skill.
This term is also covered in the Skills Atlas as inference optimization skill.
This term is also covered in the Skills Atlas as gpu acceleration skill.
This term is also covered in the Skills Atlas as vllm skill.
Read the vLLM implementation guide: Taking vLLM Apart: A Practical Guide to Disaggregated Serving.
Referencing this analysis in documentation, research, or an engineering write-up? Copy a formatted link or citation below:
Show citation text & canonical URL
[Prefill-Decode Disaggregation — AI Glossary — Skills Intelligence](https://www.skillsintelligence.tools/glossary/term/prefill-decode-disaggregation)Skills Intelligence. (2026). Prefill-Decode Disaggregation — AI Glossary. Skills Intelligence AI Glossary. Retrieved from https://www.skillsintelligence.tools/glossary/term/prefill-decode-disaggregation