atlas

Research map / Large language models / Reasoning and chain of thought

LLM Query Scheduling with Prefix Reuse and Latency Constraints

NeurIPS 2025 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Analyzes query scheduling under RadixAttention prefix reuse with TTFT constraints, proves NP-hardness, and proposes k-LPM, which interpolates between FCFS and LPM and reduces P99 TTFT in SGLang experiments.

Problem

LLM query scheduling with prefix reuse (RadixAttention) under latency constraints (TTFT); existing FCFS and LPM schedulers can produce large TTFT spikes under heavy traffic.

Approach

A formal computational model of RadixAttention scheduling shows decision of TTFT feasibility is NP-hard; the k-LPM algorithm performs k greedy longest-prefix-match steps then serves the oldest query, generalizing FCFS (k=1) and LPM (k=inf) and provably lowering max TTFT on a tree-structured random arrival model.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use k-LPM (k=4) instead of FCFSLLM query scheduling with prefix reuse · Regular Arrival Shuffled Queue (u=1000, d=5000), 80 requests/sMedian TTFT: 3466.21 -> 1940.35Helped
Use k-LPM (k=4) instead of FCFSLLM query scheduling with prefix reuse · Regular Arrival Shuffled Queue (u=1000, d=5000), 80 requests/sP90 TTFT: 5604.33 -> 8610.27Hurt
Use k-LPM (k=4) instead of LPMLLM query scheduling with prefix reuse · Regular Arrival Shuffled Queue (u=1000, d=5000), 80 requests/sMedian TTFT: 677.07 -> 1940.35Hurt
Use k-LPM (k=4) instead of LPMLLM query scheduling with prefix reuse · Regular Arrival Shuffled Queue (u=1000, d=5000), 80 requests/sP90 TTFT: 11297.53 -> 8610.27Helped
Use k-LPM (k=4) instead of FCFSLLM query scheduling with prefix reuse · Regular Arrival Shuffled Queue (u=3000, d=3000), 80 requests/sMedian TTFT: 509.93 -> 177.40Helped
Use k-LPM (k=4) instead of LPMLLM query scheduling with prefix reuse · Regular Arrival Shuffled Queue (u=3000, d=3000), 80 requests/sMedian TTFT: 176.32 -> 177.40Hurt
Use k-LPM (k=4) instead of LPMLLM query scheduling with prefix reuse · Regular Arrival Shuffled Queue (u=3000, d=3000), 80 requests/sP90 TTFT: 1245.15 -> 821.41Helped
Use k-LPM (k=4) instead of FCFSLLM query scheduling with prefix reuse · Regular Arrival Shuffled Queue (u=5000, d=1000), 80 requests/sP90 TTFT: 524.91 -> 273.55Helped
Use k-LPM (k=4) instead of LPMLLM query scheduling with prefix reuse · Regular Arrival Shuffled Queue (u=5000, d=1000), 80 requests/sP90 TTFT: 216.88 -> 273.55Hurt

Surprising findings

Limitations

Experimental setup

Datasets: 360Brew industrial prompt dataset (8k context prompts)

Benchmarks: SGLang serving benchmark on 360Brew-derived prompts

Metrics: P99 TTFT P50 TTFT P90 TTFT P95 TTFT TPOT

Baselines: FCFS LPM

Builds on: RadixAttention SGLang LPM scheduler roofline model

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy