arXiv:2610.17795cs.DCOct 2026

Manuscript Offprint

arXiv:2610.17795

Quota-Based Aging for Prediction-Guided Scheduling in LLM Serving

Hanzhi Zhang, Anxuan Che, Hang Qi, Qiyue Li, Jingjin Wu

Hanzhi Zhang, Anxuan Che, Hang Qi, Qiyue Li, Jingjin Wu

Guangdong Prov./Zhuhai Key Lab of IRADS, Beijing Normal-Hong Kong Baptist University, Guangdong, P. R. China

Email: t330005063@mail.bnbu.edu.cn; t330018003@mail.bnbu.edu.cn; t330202706@mail.bnbu.edu.cn; t330005026@mail.bnbu.edu.cn; jj.wu@ieee.org

Abstract—Large language model (LLM) serving systems use token-level continuous batching to improve resource utilization, but heterogeneous response lengths complicate request scheduling. Prediction-guided short-first scheduling reduces average latency but can severely delay long requests, while unrestricted aging may over-promote delayed long requests under congestion. We propose Quota-Based Aging (QBA), a lightweight policy that combines predicted short-first admission with quota-bounded, debt-enforced promotion of aged predicted-long requests. We also use a reduced M/G/n queueing surrogate, calibrated from simulator traces, to explain first-order mean-latency trends. QBA is evaluated using a serving-aware event-driven simulator that models decode-priority batching, chunked prefill, token-budget constraints, and KV-cache-safe admission. We compare QBA with FCFS, predicted short-first, and aggressive aging under asymmetric prediction errors on synthetic and production-derived workloads. The evaluation considers queueing delay, throughput, utilization, and class-conditional tail performance. Results show that QBA provides a controllable middle ground between aggressive short-first prioritization and unrestricted aging, substantially reducing long-request tail latency while retaining much of the mean-latency benefit of prediction-guided scheduling.

Index Terms—large language model serving, request scheduling, Quality of Service, aging mechanism, queueing theory

I. INTRODUCTION

Large Language Models (LLMs) support interactive services such as dialogue, coding, and content generation [1], [2]. Once deployed as online services, they must process dynamically arriving requests under stringent latency requirements. Modern serving engines improve resource utilization through token-level continuous batching [3], [4]. However, this execution model couples scheduling to heterogeneous prompt and response lengths, competing prefill and decode stages, a finite token budget, and KV-cache capacity. Scheduling therefore becomes a core performance-control mechanism: it affects not only average responsiveness, but also whether particular request classes experience extreme delay. Accordingly, we use Quality of Service (QoS) here to refer to the joint control of mean latency and class-conditional tail latency.

Length prediction provides a natural signal for exploiting request heterogeneity. Prioritizing requests predicted to be short can reduce mean delay, consistent with classical short-job-oriented scheduling [5], [6], while recent LLM serving work has explored latency- and efficiency-oriented execution mechanisms [7], [8]. However, predicted short-first (PSF) admission can repeatedly defer predicted-long requests and inflate their tail latency, especially under congestion. Generic aging can mitigate starvation [9], but unrestricted promotion may place too many delayed long requests ahead of short ones and erase the mean-delay benefit that motivated prediction-guided scheduling. Accordingly, we ask the following research question: How can an LLM serving scheduler use coarse binary response-length predictions to retain the mean-delay benefit of short-first admission while controlling long-request tail inflation, without aging-based promotions overwhelming the short-first path under token-level serving constraints?

To answer this question, we propose Quota-Based Aging (QBA), a QoS-aware bounded-aging scheduler for prediction-guided LLM serving. QBA prioritizes predicted-short requests while allowing delayed predicted-long requests to become eligible for promotion through a quantile-based waiting threshold. Rather than promoting every aged predicted-long request, QBA earns one promotion opportunity after every k successful short admissions. This opportunity is recorded as promotion debt and is cleared only when an aged predicted-long request is actually admitted. By separating aging eligibility from promotion frequency, QBA provides bounded but enforceable protection for delayed long requests, with k serving as an interpretable control over the mean-tail latency trade-off.

To characterize this trade-off, we further pair QBA with a reduced M/G/n queueing abstraction and a realistic event-driven simulator. The analytical model intentionally collapses implementation details into effective service and parallelism parameters, making the main delay trends interpretable. The simulator then restores practical serving mechanisms, including chunk continuation, KV-cache-safe admission, and token-load-dependent batch service, so that the analytical observations can be checked under realistic dynamics. We additionally test the same scheduling mechanisms, without re-tuning, on production LLM inference traces to examine whether the observed trade-off transfers beyond the synthetic setting.

The main contributions are:

• We propose QBA, a practical QoS-aware bounded-aging policy designed for prediction-guided LLM serving. To the best of our knowledge, it is a novel policy targeting the coupled serving features above. QBA separates aging eligibility from actual admission: delayed long requests become eligible through a quantile-based waiting threshold, while promotion is bounded by a quota cycle and enforced through promotion debt.

  • We develop a tractable M/G/n abstraction that explains how load, service variability, and bounded promotion affect mean delay under token-level continuous batching. By collapsing token-level execution into effective service moments and effective parallelism, the model gives a compact view of why short-first scheduling lowers mean delay, why aggressive aging can over-correct, and why QBA provides a more controlled operating point.

  • We validate the analytical trends using realistic event-driven simulation, showing consistent favorable mean-delay/tail-latency trade-off for QBA. The simulator restores serving details absent from the reduced model, including decode-priority batching, continuation handling, KV-cache-safe admission, token-budget constraints, and token-load-dependent batch service.

  • We further validate QBA on 100 non-overlapping windows of a production Microsoft Azure LLM inference trace [10]. Despite bursty non-Poisson arrivals and a prompt-response composition substantially different from the synthetic workload, the results confirm that QBA remains a stable intermediate operating point without any workload-specific re-tuning.

The implementation and frozen experimental artifacts are publicly available at [11].

Figure

Fig. 1: Workflow of prediction-guided LLM request scheduling, including workload generation, binary response-length prediction, scheduling, token-level continuous batching, evaluation, and latency metrics. The synthetic workload follows Poisson arrivals, while the production trace (Section IV-E) retains its original bursty arrival structure.