# Making Preemption Productive in Long-Output LLM Serving

Ziji Shi, Xinyi Wan, Chaoyi Ruan, Guangxing Huang, Min Lin, Jialin Li · arXiv · 2026-11-15

- **Problem** Long reasoning outputs keep KV caches in GPU memory for minutes, so a preempted request can repeatedly lose and rebuild its state while producing little new output.
- **Method** Stint keeps a preempted request's KV in a contiguity-first CPU pool, picks victims by predicted remaining length, and readmits stalled requests with a protected turn of fresh decoding.

![Figure 6: Allocation in the same 24-block pool: A, B and C each need six blocks; release B, then request eight blocks for D. (a) Uniform eight-block chunks adm…](https://refivu.com/papers/9b0d4dbe-5b49-451b-bbf8-332c064c718b/figures/figure-ff5385efa8d463f2b496081356e0f6fb.png?thumb=512)

**Figure 6** .Allocation in the same 24-block pool: A, B and C each need six blocks; release B, then request eight blocks for D. (a) Uniform eight-block chunks admit D but retain four padding blocks (internal fragmentation). (b) The FIFO- reclaim ring holds B’s released gap behind A (external frag- mentation under this policy), so D waits. (c) Exact extents admit D using6+ 2blocks and leave four free. All sizes are illustrative KV-block counts.

[Original paper](https://arxiv.org/abs/2611.20106v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ziji Shi, Xinyi Wan, Chaoyi Ruan, Guangxing Huang, Min Lin, Jialin Li · Making Preemption Productive in Long-Output LLM Serving · Original paper figure · Extracted the figure area from page 8 of the original PDF.

## Why long decodes make preemption costly

Reasoning models solve hard problems by writing long intermediate steps, and every generated token adds entries to the KV cache. The AIME means span 1,657 to 13,733 tokens, while the two conversational datasets sit between 314 and 2,173 tokens. Longer outputs hold GPU memory for more time, so memory exhaustion becomes a routine event rather than a rare one.

When the GPU runs out of space, the scheduler evicts a running request, and its KV either moves to CPU memory or is dropped for later recomputation. In both cases the victim waits for GPU room and rebuilds its state before it can emit another token. The harder case is repetition: the victim can be evicted again soon after it returns, and each cycle spends recovery work while adding few tokens.

The authors call this KV thrashing. Figure 2 shows this pattern in the LCB200 replay, with a single request paused repeatedly while decoding little between pauses.

About one request in six waited more than five minutes, and under recomputation a single pause could take up to 72% of a request's lifetime.

## Why capping admission moves the wait

Limiting how many requests run at once keeps memory from filling, so nothing is evicted. The authors argue that this only shifts the wait to before the first token, where it is paid as admission delay. FIFO64 is one cap policy rather than a tuned bound on admission control, so the comparison shows a trade-off rather than an optimum.

## Three conditions for productive preemption

The authors name three conditions that a productive scheme must meet. The server must choose a victim whose eviction is worth making, saving and restoring KV must be cheap, and restoration must lead to real progress.

Victim choice is hard because cache size does not reveal remaining work, so a large cache may belong to a request that is nearly finished. Cheap save and restore is hard because CPU memory is limited, reserving large chunks wastes space, and moving scattered GPU blocks one at a time adds transfer overhead. Progress is hard because a saved request can wait while other requests keep growing their caches, and it can be preempted again before it produces much output.

## How Stint connects victim choice, storage and return

Stint treats preemption as a loop: it picks a victim, stores the victim's KV when CPU space allows, restores it, and then grants decoding time. Four parts carry this loop: remaining-length prediction guides victim choice, a CPU pool holds snapshots, fused transfers move them, and age-based protected recovery brings requests back.

The parts depend on each other, because a quick reload gains nothing if the request is evicted before it decodes. Restoration therefore has to be scheduled together with the storage and transfer path, not treated as a separate step.

## Estimating remaining length from hidden states

The predictor reads hidden states from selected layers that the model already computes during decoding, so it needs no extra forward pass through the LLM. It estimates the fraction of the answer already generated, and after \\(d\\) generated tokens an estimated completed fraction \\(\\hat{p}\\) implies a total length of \\(d/\\hat{p}\\), so the remaining length is \\(\\hat{r}\_i = d/\\hat{p} - d\\).

Successive estimates are smoothed to reduce fluctuation, while the predictor weights stay fixed during serving; only the estimates change as the answer develops. Sparse online inference caches the predicted total length, subtracts newly generated tokens, and refreshes the prediction every \\(K\\) decoding steps, with \\(K = 64\\) in the evaluated configuration.

Stint decides which requests need an update before the forward pass and saves only their hidden states from selected layers, so most decoding steps skip feature collection and predictor execution. The small predictor compresses the selected states on the GPU, so only scalar predictions return to the CPU.

## Choosing victims and returning requests

The victim is the eligible request with the largest predicted remaining output, written as \\(\\text{victim}=\\arg\\max\_{i\\in E}\\hat{r}\_i\\). The eligible set \\(E\\) excludes requests already chosen for the current step and the request under protected recovery, and ties go to earlier arrivals and then to request ID. This is the SRJF victim policy: evicting the longest predicted remaining job keeps nearly complete requests on the GPU.

If any eligible candidate lacks a usable prediction, the choice falls back to physical-largest, which evicts the request releasing the most GPU blocks. A request with much output left may hold a small cache, while a nearly finished request can hold a large cache that is costly to move.

After a victim is chosen, the scheduler tries to allocate CPU space for its snapshot; success leads to offloading.

## Fixed-length snapshots and bulk transfers

GPU KV keeps growing during decoding, but an offloaded snapshot stops growing, so its size is known. The allocator can therefore reserve exactly that size, preferring one contiguous extent, without room for future tokens.

Fused K/V kernels gather a request's scattered GPU blocks into staging buffers, so the CPU–GPU copy moves contiguous ranges, and they scatter reloaded KV back into the request's blocks. Double buffering lets the copy engine move one buffer while the GPU gathers or scatters the other.

## Workloads, systems and metrics

The three long-output workloads are IMO-AnswerBench with all 399 valid questions, AIME1000 with 1,000 requests from 355 distinct AIME tasks, and LCB880 with 880 LiveCodeBench tasks.

Every system receives the same prompts, and each request runs to the length that a greedy natural-completion run produced, so the decoding work matches across systems. Restricting the analysis to the 299 questions outside that training set gives the same direction, with p99 TPOT down by 53.56% relative to recomputation.

Each main comparison uses three matched runs, and percentage changes average paired ratios.

## Throughput and tail TPOT on IMO-AnswerBench

Both gains held in every matched run against every baseline. Figure 8 places throughput and p99 TPOT for each system side by side, with three runs shown as dots.

The AIME throughput difference changed sign across runs, so that comparison does not support a consistent throughput gain.

Stint preempted 2.7 times as often as recomputation, yet it recorded zero recomputation events because it kept the KV state in every preemption. Median TPOT rose from 38.2 to 40.9 ms, pooled p99 ITL rose from 47.9 to 78.0 ms, and mean TTFT rose by 14.81%.

Lower TPOT did not mean an earlier finish for every request: 74% of the 1,197 requests finished later under Stint, with a median slowdown of 5%. Even so, Stint lowered IMO-AnswerBench's p99 completion time by 4.16%, and the gain sits in the slowest requests. On AIME and LCB, p99 completion time rose by 1.30% and 2.43%.

The authors attribute the throughput gain to two effects: saved snapshots preserve work that would otherwise be rebuilt, and readmission returns stalled requests to decode batches instead of leaving them idle. Stint recorded 1,344–1,392 swaps and zero recomputations per run, against 506–514 recomputation preemptions with recompute.

## Bounded stalls and what they cost

Under the baselines, 21–23% of requests paused for more than one minute and about 16% for more than five minutes, and the longest single pause reached 11–14 minutes. Under recomputation, the 90th-percentile request spent 45% of its lifetime in one pause, and the worst request spent 72%.

No Stint request paused for more than 49.3 s, and no pause exceeded 8.4% of the request's lifetime, with a median share of 3.1%. The authors credit age-based readmission for this bound. Figure 10 shows the longest output pause per request for each system across three runs, with Stint's tail far shorter and its typical pause longer.

By output-length tercile, a pause above 10 s affected 30%, 87% and 99% of the shortest, middle and longest thirds under Stint, against 21–31% of each third under recomputation.

No Stint request exceeded 60 s or 300 s in that table, while 23.2% and 15.9% of recomputation requests exceeded those limits.

## Controlled comparisons inside Stint

Table 9 lists controlled comparisons inside Stint, each changing one mechanism while holding the others fixed.

The authors treat prediction-guided selection as a latency policy rather than a throughput source.

Protected recovery raised throughput by 1.99% over age-only readmission and reduced offloads from 494 to 286. On Llama AIME1000 at DP8/TP1 with two runs per arm, raising the protected turn from Q64 to Q1024 raised throughput by 16.68% and reduced mean repeat rescues from 4,622.5 to 37.5 per run.

In the serving ablation on AIME300 and LCB200, p99 ITL fell by 4.02% and 8.14%, while throughput changed by −0.96% and +0.33%.

## Prediction accuracy and serving cost

On AIME, the Stint predictor ranked lengths best among the compared predictors, with Kendall's \\(\\tau\_b\\) of 0.34, although LTR had lower absolute error. Figure 12 plots predicted against ground-truth output lengths for Stint, LTR, S3 and PiA on common step-500 survivors.

The authors read this as hidden states giving useful ordering information, while prompt-time prediction stays competitive on code.

Enabling K64 reduced throughput by 0.58% on AIME1000 and by 0.26% on LCB880 across three Qwen runs at DP4/TP2. K64 makes 97.13% fewer batched prediction calls than K1, but call counts do not measure the time saved.

## Limitations

Fixed-output replay does not measure answer quality, and only 4 of 1,197 IMO-AnswerBench responses had identical text under recompute and Stint. Length predictions therefore see hidden states from trajectories that differ from the one that defined each length.

Stint shows no gain on short-output summarization and BurstGPT replays. Evaluated models are dense Qwen3-32B and Llama-3.1-8B, with up to two GPUs per replica or four in the allocator study, on vLLM 0.9.2; mixture-of-experts models were not measured.

## Positioning against prior preemption and offloading systems

FastServe uses multilevel feedback queues and proactively swaps KV based on estimated next execution time, while CacheOPT orders preemption victims by latency SLO and estimated remaining time. Stint adds a guarantee about what follows preemption: stall age bounds the wait, and only fresh output counts toward the protected quantum. The authors did not benchmark these complete systems, so the comparison here is about design rules.

LMCache pipelines prefix-aware storage and loading, and SuperInfer's DuplexKV makes a block's layers contiguous, whereas Stint allocates CPU space around each snapshot's known length.

## Paper info

- **Authors**: Ziji Shi, Xinyi Wan, Chaoyi Ruan, Guangxing Huang, Min Lin, Jialin Li
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-15
- **Added**: 2026-11-17
- **Updated**: 2026-11-15
- **Version**: v1
- **arXiv**: 2611.20106
- **Category**: cs.DC · cs.AI · cs.OS
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.20106v1) · [PDF ↗](https://arxiv.org/pdf/2611.20106v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

Reasoning LLMs generate long outputs whose key--value (KV) caches occupy GPU memory for minutes. When memory fills, the server preempts requests, and a preempted request can repeatedly lose and recover its state while producing little new output. We call this behavior KV thrashing. In certain cases, existing systems leave more than a fifth of requests stalled for over a minute. Because preemption cannot be avoided without delaying admission, we ask how to make it productive. We present Stint, a serving system that preserves a preempted request's work, bounds how long it waits, and gives it fresh output after it returns. Stint stores fixed-length KV snapshots in a contiguity-first CPU pool with an exact-extent allocator, and moves them with fused K/V gather/scatter kernels and double buffering. Age-based readmission brings stalled requests back, and protection gives them a turn of fresh decoding before another preemption. Remaining-length estimates from decoding hidden states guide victim selection. On olympiad-math replays with Qwen3-32B on H200 GPUs, no request pauses for more than 50 seconds under Stint and p99 time per output token falls by 50.7\\% relative to recomputation in the same engine. The replay as a whole finishes 10.7\\% sooner (12.0\\% higher throughput), because the requests that baselines starve no longer finish last.

## Quote from the paper

Ziji Shi, Xinyi Wan, Chaoyi Ruan, Guangxing Huang, Min Lin, Jialin Li (2026). Making Preemption Productive in Long-Output LLM Serving. arXiv:2611.20106v1. https://arxiv.org/abs/2611.20106v1

**BibTeX**

```
@misc{shi2026making,
  title = {{Making Preemption Productive in Long-Output LLM Serving}},
  author = {Ziji Shi and Xinyi Wan and Chaoyi Ruan and Guangxing Huang and Min Lin and Jialin Li},
  year = {2026},
  eprint = {2611.20106},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20106v1}
}
```

## Other paper commentary

- [Agentic On-Policy Distillation Implicitly Reshapes LLMs' ReAct Patterns](https://refivu.com/en/papers/55212eb2-2bf0-44da-9bd0-02b1a8938860-agentic-on-policy-distillation-implicitly-reshapes-llms.md)
- [OmitEHR: Scalable Omission Detection in LLM-Generated Clinical Summaries](https://refivu.com/en/papers/0f462e1f-4873-4a64-a64d-577f1ec2ce80-omitehr-scalable-omission-detection-in-llm-generated.md)
- [Does a completed simulation run mean a usable urban wind result for AI agents?](https://refivu.com/en/papers/74b7f1fe-00ec-4d7c-9d3c-c0bed37b7054-does-a-completed-simulation-run-mean-a-usable.md)
- [Interactive Program Induction with Language Model Priors](https://refivu.com/en/papers/92ea057b-2bf7-43ba-8d48-9e24e96e388c-interactive-program-induction-with-language-model-priors.md)
- [JFinBench: A Continuously Refreshable Japanese Financial Benchmark from the Latest Certification Exams](https://refivu.com/en/papers/507f003d-f0bb-48de-a7b8-b4a9727995ee-jfinbench-a-continuously-refreshable-japanese-financial.md)
- [PerfArena: Ranking LLMs by Code Performance](https://refivu.com/en/papers/c040cebb-8cde-4fb3-b12d-79a3fe746bfa-perfarena-ranking-llms-by-code-performance.md)
- [Prompt Re-Specification and Target-Mask Availability in Mask-Conditioned Visual Reinforcement Learning for Moving-Platform Landing](https://refivu.com/en/papers/ac0eb982-44a9-4346-bc38-4eecca20ff8f-prompt-re-specification-and-target-mask-availability-in.md)
- [Latent World Modeling for Point-Cloud Video Pretraining](https://refivu.com/en/papers/30e3c251-d354-49fe-b4cd-b50f6ce5b11a-latent-world-modeling-for-point-cloud-video-pretraining.md)
- [Decode Early, Verify Late: Streaming Offline Speech Recognizers Without Accuracy Loss](https://refivu.com/en/papers/2278ddf0-1374-4673-bc6f-4c55215520e4-decode-early-verify-late-streaming-offline-speech.md)
- [CECAR: Cache & Expert Co-Aware Routing Accelerates On-Device Inference of MoE LLMs](https://refivu.com/en/papers/4e886007-b40a-4b34-ae15-82829e661e98-cecar-cache-expert-co-aware-routing-accelerates-on.md)
- [Centered Ablation: Why Last-Layer Directional Ablation Under-Fires or Collapses, and a Closed-Form Fix](https://refivu.com/en/papers/e522068b-b9e0-411d-8146-73a3b153eaba-centered-ablation-why-last-layer-directional-ablation-under.md)
- [Rank, Don't Regress: A 279M Text Ranker Beats 2B and 7B VLMs on Referential Urdu GUI Grounding](https://refivu.com/en/papers/5a7d040f-008d-489c-8a14-f3f675c91bbd-rank-don-t-regress-a-279m-text-ranker.md)

## Terms in this paper

- [vLLM](https://refivu.com/en/terms/fe3c96648564-vllm)
- [Qwen3-32B](https://refivu.com/en/terms/33745a3b0744-qwen3-32b)
- [Recomputation](https://refivu.com/en/terms/aad7a3f653a4-recomputation)
- [LMCache](https://refivu.com/en/terms/ad42549d4821-lmcache)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/9b0d4dbe-5b49-451b-bbf8-332c064c718b-making-preemption-productive-in-long-output-llm-serving)
