← Latest papers
🤖 machine learning

Breaking the Ice: Analyzing Cold Start Latency in vLLM

This paper presents the first systematic analysis of vLLM's cold start latency, identifying it as predominantly CPU-bound through a six-step breakdown, and leverages these insights to create an accurate analytical model for predicting startup times to aid resource planning in large-scale inference environments.

Original authors: Huzaifa Shaaban Kabakibo, Animesh Trivedi, Lin Wang

Published 2026-06-08
📖 5 min read🧠 Deep dive

Original authors: Huzaifa Shaaban Kabakibo, Animesh Trivedi, Lin Wang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a high-tech, super-fast restaurant kitchen (vLLM) designed to cook up answers for a giant AI chef (a Large Language Model). When the restaurant is already open and the chefs are ready, serving a customer is instant. But what happens when the restaurant has been closed all night, and a customer walks in? That moment of waking up the kitchen, turning on the ovens, and getting the ingredients ready is called the "Cold Start."

This paper is like a detective story where the authors break down exactly what happens during that "waking up" phase to figure out why it sometimes takes so long.

Here is the breakdown of their findings in simple terms:

The Big Surprise: It's Not the Oven, It's the Chef

You might think that because these AI models are huge and run on powerful graphics cards (GPUs), the "cold start" delay is because the GPUs are slow to heat up.

The paper's main discovery is the opposite: The delay is almost entirely caused by the CPU (the computer's main brain), not the fancy GPU (the oven).

  • The Analogy: Imagine a master chef (the GPU) who can chop vegetables in a millisecond. But before the chef can start, a slow, overworked manager (the CPU) has to unlock the back door, find the recipe book, read the instructions, and set up the cutting board. No matter how fast the chef is, they have to wait for the manager. The paper found that 80% of the wait time is the manager doing paperwork, not the chef cooking.

The Six Steps of "Waking Up"

The authors broke the startup process into six distinct steps, like a checklist for opening the restaurant:

  1. Waking the Staff (Framework Bootstrapping): The system turns on the lights and gets the basic software running. This takes a fixed amount of time, regardless of how big the menu is.
  2. Reading the Dictionary (Tokenizer Initialization): The AI needs to learn how to turn human words into numbers it understands. The bigger the dictionary (vocabulary), the longer it takes to read it. It's a straight line: bigger dictionary = longer wait.
  3. Unpacking the Ingredients (Model Loading): This is when the actual AI model (the recipe) is loaded from the hard drive into memory.
    • Finding: If you have a bigger model, it takes longer to load, just like moving a bigger couch takes more time.
    • Surprise: If you load from a super-fast SSD (a high-speed delivery truck), it's faster, but it only saves a tiny bit of total time because this step isn't the biggest bottleneck anyway.
  4. Translating the Recipe (Torch Compilation): The system translates the recipe into a super-efficient format that the GPU can understand instantly later. This is like a translator rewriting a complex book into a simple comic strip.
    • Finding: The more complex the recipe (more layers in the model), the longer the translator takes.
  5. Measuring the Pan (KV Cache Profiling): The system runs a "dummy" test to see how much memory it needs to store the conversation history.
    • Finding: This takes a little longer for bigger models, but it's mostly a quick calculation.
  6. Recording the Moves (CUDA Graph Capturing): The system records the exact sequence of moves the GPU will make so it doesn't have to think about them later.
    • Finding: This takes longer if the model is huge or if the restaurant expects many customers at once (batch size).

The "Hardware" Test

The authors tested this kitchen with different equipment:

  • Different Ovens (GPUs): They tried a super-expensive oven (H100) and a slightly cheaper one (L40S). Result: The expensive oven didn't make the "waking up" process any faster. The manager (CPU) was still the bottleneck.
  • Different Managers (CPUs): They swapped the manager for a faster one. Result: The kitchen woke up noticeably faster. This proves the CPU is the real speed limit.

The "Crystal Ball" (Predictor)

Because they understood exactly how each step worked, the authors built a predictor (a mathematical formula).

  • How it works: If you tell the predictor, "I have a model of this size, running on this specific computer," it can guess exactly how many seconds the cold start will take.
  • Why it matters: It's like a weather forecast for your restaurant opening. If you know it's going to take 20 seconds to wake up, you can plan your staffing and resources better, rather than guessing and having customers wait in the dark.

Summary

The paper concludes that to make AI services start faster, we shouldn't just buy faster graphics cards. Instead, we need to optimize the CPU work that happens before the AI even starts thinking. They also provided a tool to predict exactly how long this wait will be, helping cloud providers plan better.

Note: The paper focuses strictly on the startup mechanics of the vLLM software. It does not claim to solve medical issues, diagnose diseases, or apply these findings to clinical settings. It is purely about making the software start up faster.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →