17/30
Part 5 of 7 · A fleet that follows trafficLearn

Scale on requests waiting and cache in use, not on how busy the GPU looks

How busy a GPU looks says little about how full it is.

Two moments on the shop's GPU, at 2,000 tokens a conversation
busy, batch 8
100%
cache, batch 8
1.7%
busy, batch 400
100%
cache, batch 400
84%

Busy is the share of time the GPU is running a step, about all of it at both batches. Cache is the batch's caches over the 54.8 GB of room: 0.9 GB at batch 8, 45.9 GB at batch 400.

A GPU that's decoding is busy every millisecond, whether the batch holds 8 sequences or 400, because each step reads all the weights either way. So the usual busy-time metric reads near 100% at both moments, and autoscaling on it would scale up a server that's almost empty.

Scale on what tracks the room left. vLLM exports both: vllm:num_requests_waiting, the requests waiting to be processed, and vllm:kv_cache_usage_perc, the share of the cache in use. The engineers serving ChatGPT named the same pair: the combination of batch size and KV cache utilization was the primary metric they focused on (1 source). Add capacity when the queue holds requests for longer than the TTFT budget allows, or when the cache stays above a target like 70%.