← Latest papers
💻 computer science

Load Testing for Machine Learning Model Serving Systems at Scale

This paper introduces \sys, an industrial load testing framework that employs an adaptive, feedback-driven search strategy to systematically estimate GPU capacity for ML serving systems, demonstrating through 14 case studies that it significantly improves resource efficiency and operational reliability by reducing estimation errors and preventing SLO violations.

Original authors: Amr S. Abdelfattah, Nakul Tirumalai, Indu Mohanan, Xiao Li, Pengchao Wang, Dinakar Dhurjati, Eric Sung

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

Original authors: Amr S. Abdelfattah, Nakul Tirumalai, Indu Mohanan, Xiao Li, Pengchao Wang, Dinakar Dhurjati, Eric Sung

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 are the manager of a massive, high-tech restaurant kitchen. This kitchen doesn't cook food; it processes millions of complex math problems every second using powerful graphics cards (GPUs) to run Artificial Intelligence (AI) models.

The big problem? You don't know exactly how many chefs (GPU resources) you need.

  • If you hire too few, the kitchen gets overwhelmed, orders get delayed, and customers get angry (this is called violating "Service Level Objectives" or SLOs).
  • If you hire too many, you are paying for empty chairs and idle chefs, wasting a huge amount of money and energy.

For a long time, figuring out the right number of chefs was a guesswork game. This paper introduces a new system called Vanguard that acts like a super-smart "stress test" manager to find the perfect number of chefs.

Here is how Vanguard works, explained through simple analogies:

1. The Problem with Old Tools

Standard stress-testing tools (like JMeter or k6) are like generic fitness trainers. They are great for testing a human running on a treadmill, but they don't understand the quirks of an AI kitchen.

  • The "Warmup" Issue: When you turn on a high-performance GPU, it's like a race car engine. It needs a few minutes to heat up, cache its parts, and get ready. If you test it immediately, it looks slow and sluggish. Old tools think the engine is broken; Vanguard knows to wait for the engine to warm up before judging its speed.
  • The "Batching" Issue: AI systems often group requests together (like a bus picking up passengers) to be efficient. If the bus is half-empty, it's fast. If it's full, it might slow down. This relationship isn't a straight line; it's a curve. Old tools assume a straight line; Vanguard understands the curve.
  • The "Hardware" Issue: A model might run perfectly on one type of GPU but struggle on another. Vanguard tests the specific hardware you actually use.

2. How Vanguard Works: The "Smart Search"

Instead of just guessing a number and hoping for the best, Vanguard uses a feedback-driven search strategy. Think of it like tuning a radio to find the clearest station.

  • The Adaptive Search: Vanguard starts with a low number of requests. It slowly turns up the volume (adds more requests).
  • Dampening (The Shock Absorber): As it gets close to the limit where the system might crash, it slows down its steps. It doesn't slam on the brakes; it gently eases off to avoid overshooting the limit.
  • Spike Tolerance (Ignoring the Noise): Sometimes, the system has a tiny, momentary hiccup (a "spike"). A dumb system might panic and stop testing. Vanguard ignores these tiny blips, knowing they are just noise, and keeps going until it sees a real, sustained problem.
  • Convergence (Knowing When to Stop): It keeps testing until it's sure it has found the "sweet spot"—the maximum number of requests the system can handle without breaking its promises to the user.

3. The "Health Check" Engine

Vanguard doesn't just look at one number (like speed). It looks at a dashboard of vital signs, similar to a doctor checking a patient.

  • It checks if the system is Healthy (plenty of room to breathe).
  • It checks if it's Warning (getting close to the limit).
  • It checks if it's Critical (about to crash).
  • To avoid false alarms (like a heart rate monitor glitching), it uses a "hysteresis" rule: the system must stay in a "Warning" state for a few minutes before the system officially declares it's in trouble. This prevents panic over temporary glitches.

4. What They Found (The Results)

The team tested Vanguard on 14 different AI models (like recommendation engines, image recognizers, and text generators) at Meta. Here is what they learned:

  • Real Traffic is King: The biggest mistake people make is using fake, made-up data to test. The paper found that using recorded real-world traffic (replaying actual user requests) reduced errors from 30% down to just 2–6%. It's the difference between testing a car on a smooth track versus testing it on the actual bumpy road it will drive on.
  • Warmup Matters: Ignoring the "warmup" period caused a 22% error in predictions. You simply cannot judge a car's top speed the second you turn the key.
  • The "Crowded Room" Effect: When multiple models share the same GPU (co-location), they interfere with each other, like people talking over each other in a crowded room. This is a major source of error that is hard to predict.
  • Accuracy: With all the right settings, Vanguard predicted the capacity with 94% accuracy.
  • Real-World Impact: By using Vanguard, the company was able to cut down on wasted GPU resources by 15% to 83% for different models and significantly reduced the number of times their services crashed due to being understaffed.

5. The Takeaway

The paper concludes that you can't just use generic tools to test AI. You need a specialized approach that understands:

  1. Warmup: Let the system get hot before testing.
  2. Real Data: Test with real traffic, not fake data.
  3. Smart Patience: Don't panic at small glitches; look for sustained trends.

By following these rules, companies can save massive amounts of money on hardware while keeping their services fast and reliable.

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 →