Acela: Predictable Datacenter-level Maintenance Job Scheduling

Yi Ding, Aijia Gao, Thibaud Ryden, Kaushik Mitra, Sukumar Kalmanje, Yanai Golany, Michael Carbin, Henry HoffmannarXiv 2022 · DOI

Introduction

In hyperscale datacenters, maintaining hardware health is a continuous and complex operation. Tasks such as firmware updates and OS patches are essential but disruptive. To manage this, operators group servers into Maintenance Units (MUs) and perform updates within strict time budgets. A critical challenge arises in scheduling: underestimating a job's duration leads to servers being forced offline to avoid delaying the entire maintenance cycle, resulting in significant capacity loss.

Traditional scheduling models aim for maximum accuracy by minimizing Mean Squared Error (MSE). However, in the context of datacenter maintenance, costs are fundamentally asymmetric. Underpredicting a duration by even a few seconds can trigger a server shutdown, whereas overpredicting merely results in minor scheduling slack. Acela addresses this by embracing a counter-intuitive principle: intentional overprediction through quantile regression can significantly improve overall system performance.

The Acela Approach: Quantile Regression

Acela shifts the focus from predicting the mean duration to targeting a specific high quantile (e.g., the 90th or 95th percentile). This approach ensures that the predicted duration is greater than the actual duration the vast majority of the time.

Quantile regression (QR) at various levels compared to standard regression (SR). Acela utilizes high quantiles to ensure safety margins.

By using a quantile loss function, Acela mathematically penalizes underprediction more severely than overprediction. This "safe" error bias allows the scheduler to allocate sufficient time for jobs, drastically reducing the frequency of forced offline events. The underlying model utilizes Gradient Boosting Decision Trees (GBDT), which are adept at capturing the non-linear relationships inherent in diverse hardware configurations.

System Architecture

Acela is designed as an end-to-end pipeline that integrates seamlessly with existing datacenter schedulers. The system incorporates Service Level Objectives (SLOs) directly into the model tuning process.

The Acela system architecture, illustrating the flow from data ingestion and SLO-driven quantile tuning to inference and scheduling.

The pipeline consists of several key stages:

  1. Data Pipeline: Ingests production logs and hardware features.
  2. Quantile Tuning: Automatically determines the optimal quantile based on the desired SLO (e.g., ensuring 95% of jobs are overpredicted).
  3. Model Training: Trains GBDT models on historical maintenance data.
  4. Inference & Scheduling: Provides duration estimates to the scheduler, with a feedback loop for periodic retraining.

Evaluation and Real-world Impact

The researchers validated Acela using production data from Meta, covering nearly one million servers across seven datacenters over three months. The dataset focused on the six most common firmware upgrades, representing over 99% of all maintenance activity.

The results demonstrate that Acela's "safety-first" prediction strategy outperforms standard high-accuracy models across all critical metrics:

  • Reliability: Acela reduced the number of servers taken offline by 1.87× to 4.28× compared to traditional ML predictors.
  • Availability: Total server offline time was reduced by 1.40× to 2.80×.
  • Efficiency: Acela achieved a Job Completion Ratio (JCR) of 93%, whereas baseline models struggled between 86% and 91%.

While standard models often have a 50% chance of underpredicting (essentially a coin flip for server downtime), Acela maintained a consistent overprediction rate of 97%, fulfilling its safety objectives.

Conclusion

Acela demonstrates that in systems with asymmetric failure costs, traditional "accuracy" metrics can be misleading. By intentionally biasing predictions toward safety via quantile regression, Acela provides a robust framework for predictable datacenter maintenance. Future work includes exploring adaptive retraining schedules and extending this asymmetric cost approach to software-level maintenance and container migrations.

Summary updated

BibTeX
@misc{ding2022acela,
  author = {Yi Ding and Aijia Gao and Thibaud Ryden and Kaushik Mitra and Sukumar Kalmanje and Yanai Golany and Michael Carbin and Henry Hoffmann},
  title = {{Acela: Predictable Datacenter-level Maintenance Job Scheduling}},
  year = {2022},
  eprint = {2212.05155},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.05155},
}
Figure