LLM Query Scheduling with Prefix Reuse and Latency Constraints
Not on the map. Why?
Abstract (arXiv)
The efficient deployment of large language models (LLMs) in online settings requires optimizing inference performance under stringent latency constraints, particularly the time-to-first-token (TTFT) and time-per-output-token (TPOT). This paper focuses on the query scheduling problem for LLM inference with prefix reuse, a technique that leverages shared prefixes across queries to reduce computational overhead. Our work reveals previously unknown limitations of the existing first-come-first-serve (FCFS) and longest-prefix-match (LPM) scheduling strategies with respect to satisfying latency constraints. We present a formal theoretical framework for LLM query scheduling under RadixAttention, a prefix reuse mechanism that stores and reuses intermediate representations in a radix tree structure. Our analysis establishes the NP-hardness of the scheduling problem with prefix reuse under TTFT constraints and proposes a novel scheduling algorithm, k-LPM, which generalizes existing methods by balancing prefix reuse and fairness in query processing. Theoretical guarantees demonstrate that k-LPM achieves improved TTFT performance under realistic traffic patterns captured by a data generative model. Empirical evaluations in a realistic serving setting validates our findings, showing significant reductions in P99 TTFT compared to baseline methods.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Feb 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 1; 2026: 7.
8 papers.
- 2026CacheWise: Understanding Workloads and Optimizing KVCache Management for Efficiently Serving LLM Coding Agentscited by 8
- 2025Don't Pay Attentioncited by 1
- 2026GORGO: Online Tuning for Cross-Region Network-Aware LLM Servingcited by 1
- 2026PRISM: Fast Online LLM Serving via Scheduling-Memory Co-designcited by 1
- 2026RouteBalance: Fused Model Routing and Load Balancing for Heterogeneous LLM Servingcited by 1
- 2026Scheduling Mixed RL Rollouts Beyond Prefix Localitycited by 1
- 2026PEEK: Predictive Queue-Informed KV Cache Management for LLM Servingcited by 0
- 2026Inference Auctionscited by 0
- 2026Inference Auctions30 Sep 2026
- 2026Scheduling Mixed RL Rollouts Beyond Prefix Locality11 Aug 2026
- 2026RouteBalance: Fused Model Routing and Load Balancing for Heterogeneous LLM Serving16 Jun 2026
- 2026CacheWise: Understanding Workloads and Optimizing KVCache Management for Efficiently Serving LLM Coding Agents15 Jun 2026
- 2026PEEK: Predictive Queue-Informed KV Cache Management for LLM Serving10 May 2026
- 2026PRISM: Fast Online LLM Serving via Scheduling-Memory Co-design9 May 2026
- 2026GORGO: Online Tuning for Cross-Region Network-Aware LLM Serving12 Feb 2026
- 2025Don't Pay Attention12 Jun 2025