In the world of Large Language Model (LLM) serving, "goodput"—the rate of requests that actually meet their latency targets—is the metric that matters most to providers. While much effort has gone into optimizing throughput, interactive applications like voice agents and coding assistants demand predictable, low-latency token delivery.
A new paper from researchers at Sprinklr and Microsoft introduces VelServe, a scheduler designed to conquer the "decode jitters" that plague modern LLM inference engines, delivering up to a 4.4× increase in SLO-attainment capacity.
TL;DR
VelServe is a novel LLM scheduler that eliminates latency violations by leaving a "tail-calibrated" safety margin in every inference step. By measuring its own prediction errors and prioritizing shorter prompts, it sustains 2.4–4.4× the "goodput" of state-of-the-art baselines while meeting strict 99th-percentile latency targets.
What Problem Does This Paper Address?
Interactive LLM services are judged by two main metrics: Time to First Token (TTFT) and Time Between Tokens (TBT). While TTFT is about how fast the model starts talking, TBT is about the "smoothness" of the output. If TBT is inconsistent, the user experiences stuttering.
The authors identify a phenomenon called decode jitters: individual inference iterations that run longer than the TBT target. In a batched serving environment, a single jitter delays every request in that batch. Because a typical response might span hundreds of tokens (and thus hundreds of iterations), even a rare 1% jitter rate means a 300-token response is almost guaranteed (95% chance) to experience at least one late token.
Existing "SLO-aware" schedulers try to pack as much work as possible into each step to maximize throughput, filling the "token budget" until the predicted latency exactly hits the TBT limit. This leaves zero room for mispredictions or minor hardware stalls, leading to frequent SLO violations.
Methods
VelServe introduces a two-pronged approach to scheduling:
- Tail-Calibrated Token Budget: Instead of aiming for the exact latency target ($S_D$), VelServe calculates a safety margin ($Q$) based on the measured tail of its own recent iteration residuals (the difference between predicted and actual time). It fills each iteration only up to $S_D - Q$. This "headroom" absorbs host stalls and prediction errors.
- Shortest-First Order: Leaving a safety margin naturally slows down "prefill" work (processing new prompts). To prevent this from ruining TTFT, VelServe uses a Shortest-Remaining-Processing-Time (SRPT) inspired order. It serves the shortest waiting prompts first. Since short prompts have tighter deadlines and long prompts have more "slack" in their prompt-scaled deadlines, this ordering minimizes head-of-line blocking.
For disaggregated serving (where prefill and decode happen on different GPUs), VelServe introduces an admission gate. It spaces out the "joins" (when a newly prefilled request enters the decode pool) so that no single request is hit by more "join jitters" than its P99 target allows.
Datasets
The authors evaluated VelServe using:
- Mixed Workload: A synthetic workload with Poisson arrivals and a wide distribution of prompt lengths (128 to 120k tokens) and output lengths (64 to 512 tokens).
- Mooncake Trace: A replay of a real-world conversation trace from the Mooncake paper.
- Multi-turn Sessions: Synthetic sessions simulating long-context agentic workflows.
Evaluations were performed across three attention architectures: GQA (Qwen3-8B), MLA (DeepSeek-V2-Lite), and Compressed Attention (DeepSeek-V4-Flash).
Key Insights and Ideas
- The "Tail at Scale" Effect: Jitters that are rare per-step become common per-request. This is why standard "average" metrics like Time Per Output Token (TPOT) are misleading for interactive apps.
- Headroom is Mandatory: Schedulers that plan to the edge of the SLO are doomed to fail because they cannot account for the "residual" noise of a complex system (host stalls, kernel variations).
- Context Matters (Sometimes): For older architectures like GQA, the cost of a token grows with context length. For newer "compressed" architectures like DeepSeek-V4, the cost is nearly constant. VelServe's online cost model automatically detects which model it's running and adjusts its budgeting logic accordingly.
- Joins are the Jitters of Disaggregation: Even when prefill is moved to another GPU, the act of adding a new request to a running decode batch causes a latency spike. VelServe treats these "joins" as scheduled jitters that must be paced.
Key Results
- Goodput Gains: VelServe sustains 2.4–2.9× the SLO goodput of the strongest baseline (Medha) on Qwen3-8B and DeepSeek-V4-Flash.
- Architecture Efficiency: On DeepSeek-V2-Lite (MLA), it achieved at least 4.4× the goodput of baselines.
- Disaggregation Superiority: In an 8-GPU disaggregated setup, VelServe met the SLO for more than twice as many requests as state-of-the-art baselines (35% attainment vs 15-16% at high load).
- Taming the Tail: VelServe effectively kept P99 TBT within the 150ms target, whereas baselines often saw P99 TBTs exceeding 1 second under similar loads.
Limitations and Future Work
- Calibration Lag: The tail-calibration mechanism tracks shifts in the system's noise distribution with a slight lag (it refits every 500 iterations). Sudden, massive changes in system performance might cause temporary SLO misses.
- Extreme Loads: Under sustained extreme overload, even VelServe's SRPT ordering cannot prevent the longest prompts from eventually timing out.
- Hardware Specifics: The current implementation was evaluated on H100 and RTX 6000 GPUs; performance characteristics might vary on different hardware or interconnects (e.g., slower PCIe links in disaggregated setups).
- Future Direction: The authors suggest exploring more complex "deadline promotion" strategies to further optimize the trade-off between TTFT and TBT for medium-length prompts.
Summary updated