← Latest papers
🤖 machine learning

Cost-aware Duration Prediction for Software Upgrades in Datacenters

This paper introduces Acela, a cost-aware duration prediction framework that optimizes software upgrade scheduling in datacenters by addressing asymmetric misprediction costs and straggler effects, resulting in significantly improved efficiency, throughput, and reduced cancellation rates in Meta's production systems.

Original authors: Yi Ding, Aijia Gao, Thibaud Ryden, Michal Sedlak, Essam Ewaisha, Igor Marnat, Henry Hoffmann

Published 2026-05-19
📖 4 min read☕ Coffee break read

Original authors: Yi Ding, Aijia Gao, Thibaud Ryden, Michal Sedlak, Essam Ewaisha, Igor Marnat, Henry Hoffmann

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 a massive data center as a giant, bustling city of millions of servers. These servers are the workhorses that power your favorite apps, videos, and searches. But just like any machine, they need regular maintenance and software updates to stay secure and fast.

The problem is that updating these servers is tricky. If you try to update them all at once, the city grinds to a halt. If you update them too slowly, it takes forever. The data center operators at Meta (the company behind Facebook, Instagram, etc.) have been playing it very safe: they assume every single update will take the absolute longest possible time.

The Problem: The "Worst-Case" Traffic Jam
Think of it like a bus driver who assumes every single passenger will take 10 minutes to get on the bus, even though most only take 30 seconds. Because the driver is so cautious, the bus sits idle for hours, wasting time and fuel.

In the data center, this "worst-case" thinking meant their "upgrade windows" (the specific time slots set aside for updates) were only being used 20–40% of the time. They were leaving a lot of potential work on the table, and it took many more cycles to get all the servers updated.

The Solution: Acela, the Smart Traffic Controller
The paper introduces a new system called Acela. Think of Acela as a super-smart traffic controller that doesn't just guess; it predicts exactly how long each specific update will take for each specific server.

But here's the catch: Acela isn't just trying to be "accurate" in a math class sense. It's trying to be cost-aware.

  • Under-predicting (guessing an update will take 10 minutes when it actually takes 20) is dangerous. The server misses its deadline, the update fails, and the whole schedule gets messed up.
  • Over-predicting (guessing 20 minutes when it takes 10) is safe. The server finishes early, but the window sits idle for a bit.

Acela knows that being slightly "safe" (over-predicting) is better than being "risky" (under-predicting). It uses a special math trick called Quantile Regression to intentionally guess a little longer than average, ensuring the job gets done on time without causing a crash.

How Acela Works (The Secret Sauce)

  1. It learns from the past: Acela looks at millions of past updates to see patterns.
  2. It ignores the "weirdos": Sometimes, a server has a hardware glitch and takes forever to update (a "straggler"). If Acela learned from these glitches, it would start guessing that every update takes forever. So, Acela smartly filters out these extreme outliers before learning, so it doesn't get scared into being too conservative.
  3. It picks the best guess: It tries out different prediction strategies and picks the one that finishes the most updates while still keeping the failure rate low.

The Results: A Faster, Smoother City
When the researchers tested Acela in Meta's real data centers, the results were impressive:

  • Better Time Use: They got 1.25 times more work done in the same amount of time. The upgrade windows were finally being used efficiently.
  • More Updates: They were able to schedule 33% more updates and successfully finish 41% more updates.
  • Fewer Failures: Even though they were doing more work, the number of failed or cancelled updates dropped by 2.4 times. They met their safety goals (95% of updates finishing on time) much more reliably.

In a Nutshell
Before Acela, the data center was like a cautious driver stuck in traffic, moving slowly because they were afraid of delays. Acela is like a GPS that knows exactly how long every road trip takes, allowing the driver to take more trips in a day without ever running out of time. It balances the need for speed with the need for safety, making the whole system run much smoother.

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 →