The authors of the VelServe preprint studied why language model streaming sometimes pauses even when average performance looks good. A delayed decoding step can affect an entire batch, and a long response encounters enough steps for rare delays to matter.
How token gaps become a serving problem
The paper distinguishes time to first token from time between tokens. A first token can arrive promptly while subsequent tokens arrive irregularly. In combined serving, prompt processing and token generation share resources, so the work admitted for new prompts can affect requests already streaming.
Separating prompt processing from decoding mitigates some interference but introduces other scheduling decisions. The paper reports that steps admitting new requests can still run late in this arrangement. That makes average token timing a poor substitute for checking the slow end of the distribution.
What VelServe changes
VelServe uses a tail-calibrated token budget. The scheduler leaves room for unusually slow iterations instead of budgeting all available time against a central estimate. When the serving phases run separately, the approach also uses a timing rule for when to admit work.
How throughput changed in the experiments
On three attention families, the authors report that VelServe sustained 2.4 to 2.9 times the goodput of the strongest baseline in combined serving under a 150-millisecond target for the 99th-percentile token gap per request. In a separated setup on eight GPUs, more than twice as many requests met the objective as with vLLM and Niyama.
The paper defines goodput using the request rate at which at least 90 percent of requests meet the latency objective. The result is tied to that definition and the tested workloads. Teams comparing schedulers can use the same tail-latency and goodput measures to check how much traffic their own applications would sustain.
Comments