arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.18143

RadixFlow: Filling Execution Bubbles in Prefix-Cached Hybrid LLM Serving

Huihao Jing, Wenbin Hu, Shaojin Chen, Haochen Shi, Haoyu Huang, Sirui Zhang, Yuxuan Liu, Zhongwei Xie, Haoran Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Prefix reuse improves LLM inference by sharing the KV cache of common prompt prefixes. This helps only if the scheduler can execute a matched branch in the current worker round. Schedulers assume that a matched prefix is ready, which holds for full attention but fails for hybrid LLMs. There, a branch (the consumer) may need recurrent state that another branch (the producer) is still computing in the same round. The native scheduler stops its waiting-queue scan at this blocked consumer, and the resulting head-of-line blocking creates execution bubbles: idle batch slots that independent work could fill. We introduce RadixFlow, which decouples prefix matching from state readiness. Its state-ready traversal turns a global scan barrier into a local wait: only the consumer is blocked until the next round, while feasible independent branches keep filling the batch under the native state check. On five hybrid models, RadixFlow lowers mean latency by 3% to 24% and worker rounds by 11% to 44% at almost unchanged reuse. On the larger Qwen3.5 models, ablations show that most of the gain comes from traversal, which adds little on a full-attention control. Heavier rounds limit how much of this saving reaches latency.

All techniques have been implemented and integrated into vllm-jev.

1 Introduction

Efficient LLM inference in online settings increasingly involves long shared contexts. Retrieval-augmented generation, multi-turn dialogue, and agent pipelines send queries that repeat the same documents, system prompts, or histories, placing inference in a prefill-dominated regime (Dexter et al., 2025; Patel et al., 2023). An important approach to improving efficiency in this regime is prefix reuse, which keeps the KV cache of shared prefixes (Kwon et al., 2023; Zheng et al., 2024; Gim et al., 2024; Yu et al., 2023). Under a stream of queries, however, its benefit depends on how the scheduler groups the remaining work into worker rounds (Zhong et al., 2024).

Existing schedulers take one step for granted: a branch that matches a cached prefix can run. This holds for full attention, where a matched prefix needs only its KV pages (Kwon et al., 2023; Zheng et al., 2024). Hybrid LLMs break it, because resuming a branch also requires recurrent and convolutional state at the match boundary (Gu and Dao, 2023; Dao and Gu, 2024; Yang et al., 2024; Pan et al., 2025a; Zhang and SGLang Team, 2026). Following operating-system terminology, we call the branch that computes this state the producer and a branch that must read it the consumer. When both fall in the same worker round, the consumer has a same-round dependency: its prefix is known, but its state is readable only after the producer executes. In the evaluated vLLM path, the consumer's allocation failure ends the waiting-queue scan (vLLM Contributors, 2026c,b), causing head-of-line blocking. In Figure 1, A must wait for P, so the scan also excludes the independent branch D, although D passes the native state check and fits the remaining budget. We call such legally fillable idle capacity an avoidable execution bubble.

We introduce RadixFlow, a batch-construction policy that separates a prefix match from state readiness. Its state-ready traversal blocks only the consumer, which waits in a wait queue and is woken for a recheck in the next round, while independent branches join the current batch. Other allocation outcomes keep their native handling. Flexible admission control briefly collects arrived work before the scan. In any fixed round, RadixFlow selects a superset of the native batch. On five hybrid models, RadixFlow lowers mean client latency by 3% to 24% while prefix reuse stays within 0.03 percentage points of Radix. Traversal contributes most of the gain on the larger Qwen3.5 models and little

†^{\dagger}Corresponding author.

(a) Radix baseline

Figure

(b) RadixFlow

Figure

4 rounds

Figure 1: Consumer A waits for P, while independent D can still enter the round. Both panels share the same prefix structure and fifteen work fragments. The baseline stops at consumer A, whose state depends on producer P; RadixFlow blocks only A and keeps scanning. Blue outlines mark first-round selections, dashed cells are empty, and shaded lengths show token load. Blocked consumers are woken for a recheck in the next round. These idealized schedules process the same 12,970 tokens in six versus four rounds.

on a full-attention control. The remaining rounds carry more work, so their cost decides how much of the 11% to 44% round reduction reaches latency (Agrawal et al., 2024; Pan et al., 2025b).

Our contributions are:

• A cache hit is not a runnable branch. We identify same-round dependencies in hybrid LLM serving, formalize readiness and avoidable execution bubbles, and show how head-of-line blocking leaves feasible work unscheduled despite a prefix match and spare capacity.

• Block the consumer, not the queue. We develop state-ready traversal, which blocks only the consumer and keeps selecting independent work, and prove its fixed-round feasibility and selection properties without changing cache storage or native state checks.

• Fewer rounds, faster serving. RadixFlow lowers mean latency by 3% to 24% on five hybrid models at nearly unchanged reuse. Ablations, round-occupancy traces, and worker-cost accounting relate the gains to batch construction.

References (44)