At a glance
- The pool ratio is an operating point determined by prompt length, output length and arrival rate.
- Set it from measured per-token costs on your own traffic, not from published ratios.
- Rebalance on a schedule and on signal; a fixed ratio silently degrades as the mix shifts.
- Overload behaviour must be defined per pool, or one saturated stage stalls the other.
Disaggregation separates the compute-heavy prefill stage from the memory-heavy decode stage, which is why it can improve both latency and utilization. It also introduces a capacity question that a monolithic deployment does not have: how much of the fleet belongs to each stage.
There is no universal answer. The ratio is an operating point, determined by the workload and by the hardware on each side, and it changes as traffic changes. For the architecture itself, see Heterogeneous P/D Disaggregation: A Primer.
Three inputs set the ratio
- Prompt length. Sets how much prefill work each request carries. Long-context tasks push demand toward the prefill pool.
- Output length. Sets how much decode work follows. Long answers push demand toward decode.
- Arrival rate and concurrency. Determines how much queueing each stage absorbs and how much of the theoretical capacity is actually usable.
Two workloads with the same average prompt length can require different ratios if their output distributions differ. Size from the joint distribution, not from one average.
Measure per-token cost on your hardware
Start with a benchmark on your own configuration: time prefill per thousand prompt tokens and decode per output token at the target batch size, on each pool's hardware. The ratio of total prefill time to total decode time per request, weighted by the traffic mix, gives the starting split.
Then add the usual margins: queueing headroom for bursts and enough spare capacity to survive replacement delay. The benchmark method is in How to Benchmark P/D Disaggregation Honestly, and the hardware differences that drive per-token cost are in Prefill vs Decode: Different Hardware, Different Jobs.
Rebalance on signal, not on habit
A fixed split is a snapshot of one week's traffic. Build two signals into the deployment: utilization per pool and queue depth per stage. When decode utilization runs high while prefill has headroom, shift capacity toward decode; the reverse applies in the other direction.
The movement does not have to be automatic. A weekly review that adjusts the split from measured signals catches most drift. Automatic rebalancing pays off when the mix swings within hours, but it needs guard rails so a transient spike does not trigger a costly reshape.
Define overload behaviour per pool
In a monolithic deployment, overload is one phenomenon. In a disaggregated one, each stage can saturate separately, and the failure modes differ.
- Prefill saturated. First-token latency rises; decode capacity waits. Admission control should decide which requests to delay, not let the queue grow without bound.
- Decode saturated. Inter-token latency degrades across all in-flight requests, which is often worse for users than a slower first token.
- Transfer saturated. Both stages have capacity but requests wait on the link. This looks like a mystery until transfer time is measured separately.
Write down what the service does in each case. For latency targets and goodput, see Goodput Is the Throughput That Bills. For whether separation is worth the complexity at all, see When P/D Disaggregation Pays Off.
What we watch
- Whether the pool split was derived from measured per-token costs on the actual hardware.
- Whether utilization and queue depth are reported per stage.
- Whether the split is reviewed as traffic mix shifts.
- Whether overload behaviour is defined for each stage and the transfer path.
Sizing two pools is harder than sizing one, and that is the point: the ratio forces the team to state its assumptions about prompt length, output length and load, and to watch them. A disaggregated fleet with a stale ratio is often slower than the monolithic one it replaced — not because separation was wrong, but because nobody revisited the operating point.
Questions buyers ask
What ratio of prefill to decode capacity is typical?
There is no universal ratio. It follows from how much compute each stage needs per request, which depends on prompt length, output length and the hardware assigned to each pool. Teams should measure on their own traffic rather than adopt a published figure.
Why does the ratio change over time?
Because the traffic mix changes. A product shift toward longer documents raises prefill demand; a shift toward longer answers raises decode demand. A ratio that was correct at launch can drift out of balance within weeks.
What happens when one pool is undersized?
The undersized stage becomes the bottleneck. If prefill is short, first-token latency rises and decode capacity sits partly idle waiting for work. If decode is short, requests queue after prefill, and goodput falls even though prefill looks busy.