﻿# A queueing-model autoscaler: fewer missed cycles, more replicas

The vLLM queueing-model study sizes replicas for mean latency. Read its separate SLO scenarios, missed-cycle counts and added capacity together.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/queueing-model-vllm-slo-autoscaling-capacity-trade/
Language: en

The queueing-model autoscaling study asks how many inference replicas are needed to meet explicit latency targets. It models continuous batching rather than treating each request as one fixed-duration job. Its benefit is a small, recalibrated analytical model; its limits come from the arrival assumptions and the kind of latency being predicted.

## Three fitted parameters connect work to time

The [research summary](https://arxiv.org/abs/2609.20957) identifies baseline iteration overhead, per-token compute cost and KV-cache access cost as the model's parameters. The [full paper](https://arxiv.org/html/2609.20957v1) combines these with batch occupancy and mean input/output lengths to predict mean first-token and inter-token latency.

The fitted values are aggregate model parameters, not direct kernel-profiler measurements. They must be estimated for the model–accelerator combination and refreshed as operating conditions change. A physically plausible coefficient can support interpretation without proving that a particular kernel runs at that exact fraction of peak hardware throughput.

## Mean latency and burst assumptions bound the claim

Poisson arrivals make the occupancy analysis tractable. The authors explicitly acknowledge that burstier real arrivals can make waiting-time and first-token predictions optimistic, especially near saturation. Re-estimating an interval's mean arrival rate does not capture every correlation within that interval.

Offline validation excludes the highest-load runs near saturation. Its errors therefore describe light-to-moderate load, rather than proving accuracy at overload. The [benchmark guide](/journal/inference-benchmark-method/) provides related discipline: an average, a tail percentile and a deadline-miss fraction are distinct outcomes. A controller targeting a mean cannot automatically promise a request-level tail SLO.

## The two control scenarios have different targets

The controller experiment serves Llama-3.1-8B through vLLM 0.21.0 on OpenShift, with one H100 per replica and prefix caching disabled. Both scenarios use a 44-minute load profile, but their latency constraints differ.

| Scenario | TTFT target | ITL target |
| --- | --- | --- |
| Long-prompt, TTFT-bound | 50 ms | 25 ms |
| Long-generation, ITL-bound | 200 ms | 13 ms |

Combining the strictest number from each row would invent a third experiment. The comparison instead evaluates two deliberately chosen operating conditions, using the same controller harness and workload seed within each scenario.

## Fewer missed cycles require more provisioned capacity

Across the two scenarios, the queueing-model arm exceeds a target in 7 of 127 control cycles; the reproduced decode-throughput analyzer does so in 27 of 128. These are counts of cycles evaluated using cycle-mean latency, not counts of individual failed requests.

Mean provisioned replicas are 1.88 versus 1.81 in the TTFT-bound case, and 2.27 versus 1.64 in the ITL-bound case. Thus the reported improvement is a capacity–latency trade, not simultaneous proof of minimum cost. The baseline component does not accept explicit latency targets, and the authors retain its pinned defaults rather than optimizing it for these targets.

## Control timing remains part of useful readiness

A measurement window lasts 30 seconds, while a complete cycle takes about 42 seconds including collection and actuation. Those intervals should not be described as instantaneous reaction to a burst. The [GPU cold-start guide](/journal/autoscaling-gpu-cold-start/) explains why a requested replica and a ready serving replica are different states.

A new deployment assessment would preserve request-shape distribution, measurement windows, target definitions and both provisioned and ready counts. The paper offers a bounded example of using explicit mean-latency constraints in replica sizing. It does not establish a universal server count or guarantee that its analytical approximation covers a different burst pattern, model or accelerator.
