Disaggregated Prefill-Decode Serving
Disaggregated prefill-decode serving separates compute-bound prompt prefill instances from memory-bandwidth-bound token decode instances in production LLM clusters. It coordinates high-speed KV-cache transfer, cache-aware routing and tenant isolation to meet strict first-token and per-token latency targets.
What it is
In standard colocated LLM serving, the same GPU instance executes both the compute-intensive prefill phase (processing the full input prompt in parallel) and the memory-bandwidth-bound decode phase (generating output tokens autoregressively). Long prompts stall ongoing decode batches, causing spikes in time-to-output-token (TPOT), while decode reservations underutilize tensor compute during prefill. Disaggregated serving places prefill and decode on separately configured and independently scaled node pools. Once prefill computes the initial attention keys and values, the runtime transfers those KV-cache blocks over high-bandwidth interconnects (such as NVLink or RDMA) to a decode worker that continues streaming tokens.
What the work involves
Profile workload prompt-to-output length ratios and goodput service-level objectives (TTFT and TPOT targets) before choosing a prefill-to-decode instance ratio. Configure the serving framework (such as vLLM, SGLang or llm-d) with a low-latency KV-cache transport layer and cache-aware request router so repeated prefixes land on prefill workers that already hold valid cached blocks. Enforce strict cryptographic or namespace isolation on shared KV-cache pools so cross-tenant prefix reuse cannot leak prompt state across organizational boundaries. Benchmark under bursty long-context arrivals and verify fallback behavior when interconnect bandwidth saturates.
Illustrative example
A platform team serves an enterprise coding assistant whose traffic mixes 40,000-token repository prefills with interactive 200-token completions. On colocated GPUs, incoming repository prefills repeatedly push active completions past their 40 ms per-token SLA. By splitting the cluster into compute-dense prefill nodes and bandwidth-optimized decode nodes connected via RDMA, the team isolates decode jitter, raises cluster goodput by over 35 percent at the same p99 latency and verifies that tenant KV namespaces never cross-match.
Limits and common mistakes
Disaggregation adds network transfer overhead and orchestration complexity; for short prompts or low-concurrency workloads over slow interconnects, transferring the KV cache can cost more latency than colocated execution. Failure domains also multiply because a dropped KV transfer mid-request requires coordinated retry or recomputation. Engineers must validate actual interconnect throughput, memory accounting and tenant isolation rather than assuming disaggregation improves every workload.
Prerequisites
Disaggregating serving phases builds directly on continuous batching, scheduling and online LLM service architecture.
Phase splitting requires paged KV allocation, block serialization, prefix-cache routing and memory-bandwidth budgeting.
Related skills
- → is subcategory of: LLM Inference Serving
Sources and further reading
- DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving
Establishes the performance model and goodput advantages of separating prefill and decode phases across distinct GPU instances.
- Splitwise: Efficient Generative LLM Inference Using Phase Splitting
Analyzes hardware utilization differences between compute-bound prompt processing and memory-bound token generation.
- vLLM Disaggregated Prefill Documentation
Documents production configuration, KV-cache connector architecture and operational trade-offs for disaggregated serving.
Last updated: 2026-11-02
Referencing this analysis in documentation, research, or an engineering write-up? Copy a formatted link or citation below:
Show citation text & canonical URL
[Disaggregated Prefill-Decode Serving: Skills, Definition & Prerequisites — Skills Intelligence](https://www.skillsintelligence.tools/atlas/genai-2026/skill/disaggregated-inference-serving)Skills Intelligence. (2026). Disaggregated Prefill-Decode Serving: Skills, Definition & Prerequisites. GenAI 2026 Skills Atlas. Retrieved from https://www.skillsintelligence.tools/atlas/genai-2026/skill/disaggregated-inference-serving