# AI Responses Have Two Latency Targets. Do They Need Two GPU Pools?

**Plutonous** | November 25, 2026 | 7 min read

> Why the time to start an answer and the pace of the stream need separate budgets, and when transferring the KV cache is worth it.

Tags: AI Infrastructure, LLM Serving, Inference, Prefill, Decoding, KV Cache, Latency, Goodput

---

**TL;DR: DistServe, first posted on January 18, 2024, sized prefill and decode GPU pools against a joint 90% latency attainment target.<sup><a href="#source-1">[1]</a></sup> In the worked example below, two systems each complete 100 requests per second, but the one with more on-time starts delivers only 84 requests per second that meet both latency limits, versus 90 for the alternative. Splitting the work makes sense when the reduction in interference is worth the KV-cache transfer and the cost of maintaining two pools.**

A customer asks a chatbot to read a long report. On a shared inference worker, that new prompt can interrupt the token stream of someone already reading an answer. Assign the prompt and the stream to different workers and the interruption can disappear. The service then has to carry the first worker's attention state to the second one. That trade is the point of splitting prefill and decode.<sup><a href="#source-1">[1]</a></sup><sup><a href="#source-2">[2]</a></sup>

This analysis revisits research from 2023 through 2025. The earlier [KV-cache guide](/news/kv-cache-memory-concurrency-ai) asks whether the live state fits and how many sessions it leaves room for. Here the question is where that state has to go, how long it takes to get there, and what the user gets for the extra infrastructure.


### Why This Matters Now

Sending longer prompts to an assistant can change the service experienced by users who send short ones. Compare deployment designs against the same mix of requests and the same latency targets before buying additional GPUs.


## The Queue: One Scheduler, Two Clocks

Prefill processes the input prompt and builds the key-value cache, the attention state required for subsequent generation. A conventional implementation computes across many input positions together and can produce the first output token on the prefill worker. Decode then generates the remaining tokens in sequence. Batching lets one decode iteration advance many requests, with each active request consuming state that grows as output accumulates. Splitwise characterized the two phases on NVIDIA A100 and H100 machines and explored provisioning machines separately for them.<sup><a href="#source-2">[2]</a></sup>

**Time to first token (TTFT)** is the interval from the chosen request start to the first output token. At the service boundary it includes waiting in queues. **Time per output token (TPOT)** is a per-request average across the intervals after the first token, typically calculated by dividing the time from first to last token by the number of remaining tokens. Report the tail of individual token gaps too. A stream with one long pause can still have an acceptable average.<sup><a href="#source-1">[1]</a></sup><sup><a href="#source-6">[6]</a></sup>

On shared workers, a long prefill scheduled between decode iterations can lengthen those gaps. Separate workers remove that particular contention, and their pool sizes can track different demand. Reports that are long to read and short to summarize load the prompt pool. A conversational service that generates lengthy responses can load the decode pool. The right ratio changes with the mix.<sup><a href="#source-1">[1]</a></sup><sup><a href="#source-2">[2]</a></sup>

## The Metric: Count Requests That Meet Both Targets

Give the product two explicit limits. For example, measure a text service against TTFT of at most 500 ms and average TPOT of at most 40 ms for multi-token responses. These are illustrative targets. When the product also promises no distracting pauses, check individual token gaps separately. Define the clock at the same boundary in every test. Keep original requests in the denominator even when they time out or are rejected, and record retry attempts separately.

At a fixed offered load, the useful completion rate counts requests that satisfy **both** targets per second. DistServe calls the maximum offered load that maintains a specified attainment fraction, normalized by provisioned GPUs, per-GPU goodput. The two measures answer different questions. The observed passing rate tells you what you delivered at one load. A load sweep tells you how much traffic the service can admit under its SLO.<sup><a href="#source-1">[1]</a></sup>


### An earlier start can still mean fewer requests meet both targets
Worked example

Two hypothetical schedules, each offered and completing 100 multi-token requests per second. Limits are TTFT ≤ 500 ms and average TPOT ≤ 40 ms.

- label: Schedule A; description: 96 on-time starts and 93 on-pace streams per second.; value: 90; displayValue: 90 req/s
- label: Schedule B; description: 99 on-time starts and 84 on-pace streams per second.; value: 84; displayValue: 84 req/s

100

Requests meeting both targets per second

0

100 req/s

LLM Rumors calculated these outcomes from hypothetical request counts. Joint attainment counts a request once. See DistServe [1] for the original evaluation methodology.


In schedule A, 96 requests per second meet the start deadline, 93 meet the pace limit, and one misses both. That is 100 − (4 + 7 − 1) = 90 joint passes. In schedule B, the corresponding counts are 99, 84, and one, giving 100 − (1 + 16 − 1) = 84. Multiplying the two passing fractions would assume independent failures. The service can measure the intersection directly for every request.

## The Handoff: Saved Work Becomes Network Traffic

Use the earlier guide's hypothetical model at a 16,384-token prompt. Assume 32 full-attention layers, eight KV heads, a head dimension of 128, and two bytes per element. The cache carries two tensors, keys and values, so a full uncompressed copy is 2 GiB. At a sustained payload rate of 50 decimal GB/s, copying 2,147,483,648 bytes takes 42.95 ms, rounded to two decimals. That is the serialization time under the stated assumptions. Network queueing, setup, packing and unpacking can add time, while cache reuse and overlap can reduce the portion visible to the user.<sup><a href="#source-2">[2]</a></sup><sup><a href="#source-8">[8]</a></sup>

Where that time appears matters. Splitwise generates the first token on the prompt worker. It can begin transferring state by layer while prompt processing continues, and the remaining handoff can delay the next token if it lands on the critical path. CacheGen examines a related transfer problem in context loading. It encodes KV state and changes the compression level in response to available bandwidth. An operator evaluating compression needs to account for decoding cost and output quality as well as bytes saved.<sup><a href="#source-2">[2]</a></sup><sup><a href="#source-5">[5]</a></sup>

## The Alternatives: Chunking, Sharing and Splitting

Sarathi-Serve, first posted March 4, 2024, keeps the phases on shared workers and breaks prefill into smaller chunks that can be scheduled alongside generation. This gives the scheduler a way to limit interference without introducing a mandatory cross-worker handoff. A batch that reserves too much work for decode can still leave fresh prompts waiting. The chunk size and the amount of work allowed in each iteration are operational choices.<sup><a href="#source-3">[3]</a></sup>

Mooncake places a shared cache and its scheduler at the center of serving for Kimi, using resources including CPU memory, SSDs and the network. A reusable prefix can change which worker is best placed to serve a request, and overload can make admission policy part of the decision. The August 4, 2025 TaiChi preprint explores a hybrid that changes the mix of prefill-heavy and decode-heavy workers as the objectives change. The vLLM documentation describes split prefill as experimental and emphasizes tuning first-token latency and the tail of token gaps separately. These approaches address different operating conditions.<sup><a href="#source-4">[4]</a></sup><sup><a href="#source-6">[6]</a></sup><sup><a href="#source-7">[7]</a></sup>

## The Decision: Pay for Requests That Stay Within Budget

Start with measurements from the current service. Replay the same input and output length distributions, arrival bursts, and hot and cold cache states against shared batching, chunked prefill, and split pools. Fix the model, precision, hardware budget, and decoding settings. Specify any speculative decoding and its acceptance rate. Report offered and admitted load, end-to-end latency, TTFT, TPOT, token-gap tails, transfer volume and joint attainment with the same benchmark harness. Keep spending per passing request beside the capacity figures.

Choose the design that meets the targets at the lowest total cost for the tested workload. If splitting improves predictability, charge the second pool, network capacity and idle headroom to that improvement. If chunking meets the targets using the equipment you already own, the scheduler has solved the immediate problem.


### Watch the handoff when traffic spikes

The transfer result on an idle link tells you little about the delay when many long prompts finish together. Measure the queue at the transfer boundary and count missed deadlines, failed requests and rejections against the traffic the service was actually offered.


The economic test is how many users receive a timely, steady response for each dollar spent. A split is worthwhile when it raises that number under the traffic the product attracts.


## Sources

<a id="source-1"></a>
1. [DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving](https://arxiv.org/html/2401.09670v3)

<a id="source-2"></a>
2. [Splitwise: Efficient generative LLM inference using phase splitting](https://arxiv.org/abs/2311.18677)

<a id="source-3"></a>
3. [Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve](https://arxiv.org/abs/2403.02310)

<a id="source-4"></a>
4. [Mooncake: Trading More Storage for Less Computation](https://www.usenix.org/conference/fast25/presentation/qin)

<a id="source-5"></a>
5. [CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Serving](https://arxiv.org/abs/2310.07240)

<a id="source-6"></a>
6. [Disaggregated Prefilling (experimental)](https://docs.vllm.ai/en/latest/features/disagg_prefill/)

<a id="source-7"></a>
7. [Prefill-Decode Aggregation or Disaggregation? Unifying Both for Goodput-Optimized LLM Serving](https://arxiv.org/abs/2508.01989)

<a id="source-8"></a>
8. [Efficient Memory Management for Large Language Model Serving with PagedAttention](https://arxiv.org/abs/2309.06180)


*Last updated: November 25, 2026*

---

*Source: [LLM Rumors](https://www.llmrumors.com/news/prefill-decode-split-inference-goodput)*
