Workload Failure Prediction for Data Centers

Jie Li, Rui Wang, Ghazanfar Ali, Tommy Dang, Alan Sill, Yong Chen · DOI

Abstract

As data centers scale toward exascale computing, the frequency of hardware and software failures becomes a significant bottleneck for productivity. Traditional reactive strategies, such as Checkpoint/Restart (C/R), incur substantial I/O overhead and fail to address the resource waste caused by jobs that run for extended periods before failing. This paper presents a two-stage machine learning framework designed to predict workload failures both at the time of submission (queue-time) and during execution (runtime). By utilizing Random Forest models trained on real-world cluster traces, the framework achieves up to 97.75% precision in identifying failing jobs. Implementation of this system could potentially recover 16.7% of CPU time and 14.5% of memory usage currently lost to failed workloads.

1. Introduction

In the era of high-performance computing (HPC), system reliability is a moving target. While significant research has focused on predicting node or hardware failures, there is a critical gap in addressing workload-centric failures—instances where a job fails due to configuration errors, software bugs, or resource exhaustion. When a large-scale scientific job runs for hours only to fail, it consumes "space-time" that could have been allocated to productive tasks.

Currently, systems rely on reactive measures like checkpointing, which can consume over 15% of total execution time. This research proposes a shift from "cure" to "prevention" by identifying failing jobs early in their lifecycle, allowing system administrators and schedulers to intervene before resources are wasted.

2. Methodology

The researchers developed a dual-model framework to capture failures at different stages of the job lifecycle:

  1. Queue-time Model: This model predicts the likelihood of failure before a job begins execution. It relies on categorical features available at the time of submission, such as User ID, Group ID, and the job name. The authors utilized Natural Language Processing (NLP) to cluster similar job names, allowing the model to recognize patterns in task types.
  2. Runtime Model: This model monitors jobs during execution, incorporating dynamic resource usage metrics. Key features include CPU intensity, average memory consumption, and I/O wait times.

To determine the most effective predictive engine, five machine learning algorithms were evaluated: Gaussian Naive Bayes, Logistic Regression, Linear Discriminant Analysis, Decision Trees, and Random Forest (RF). Random Forest emerged as the superior choice for both models, demonstrating a robust ability to handle non-linear relationships and the high dimensionality of categorical data.

3. Dataset and Experimental Setup

The study utilized two months of workload traces (August to October 2020) from the Quanah Cluster at Texas Tech University’s High-Performance Computing Center. The dataset comprised:

  • 324,358 job instances
  • 204 unique users
  • 467 compute nodes

Eighteen specific features were extracted, ranging from job identifiers and temporal data (submission and start times) to granular resource consumption metrics.

4. Key Insights

4.1 The Disproportionate Impact of Failures

While only 8.5% of the total jobs in the dataset resulted in failure, these failures accounted for 21.1% of total CPU time and 20.2% of total memory usage. This disparity indicates that failing jobs are often "heavy," long-running tasks. This finding underscores the high ROI of accurate failure prediction.

4.2 The Human and Spatial Factors

The research highlighted that failures are not purely stochastic hardware events. A strong correlation was found between user experience and failure rates; inexperienced users or those with low submission volumes contributed to a disproportionate number of failures, often due to improper resource requests or script errors. Furthermore, failures exhibited spatial correlation, with specific racks and chassis showing higher failure densities, suggesting localized environmental or connectivity issues.

4.3 Training Efficiency

A significant practical finding was that model performance plateaus after 30 days of training data. For system administrators, this means that an effective predictor can be maintained using a one-month rolling window, keeping the model computationally lightweight and responsive to recent system changes.

5. Results and Discussion

The Random Forest model demonstrated exceptional accuracy:

  • Queue-time Precision: 90.61%
  • Runtime Precision: 97.75%

High precision is critical in this context to avoid "false positives," where a healthy job is mistakenly terminated. By integrating the runtime model with a job scheduler to proactively terminate jobs predicted to fail, the researchers estimated a potential recovery of 16.7% in CPU time and 14.53% in memory usage.

6. Limitations and Future Work

While promising, the study notes that the runtime data used was synthesized to assume linear resource consumption, as the original logs only provided final usage totals. Real-world usage is typically bursty, which may impact runtime prediction in live environments. Additionally, the current models identify that a job will fail but not why. Future research will focus on provenance-based approaches to provide users with root-cause analysis, helping them debug scripts and improve overall system success rates.

7. Conclusion

By moving failure management from reactive checkpointing to proactive machine learning-based prediction, data centers can significantly reduce resource waste. The two-stage Random Forest framework provides a high-precision solution that is both computationally efficient and capable of substantial resource recovery in production HPC environments.

Summary updated

BibTeX
@inproceedings{li2023workload,
  author = {Jie Li and Rui Wang and Ghazanfar Ali and Tommy Dang and Alan Sill and Yong Chen},
  title = {{Workload Failure Prediction for Data Centers}},
  booktitle = {CLOUD},
  year = {2023},
  doi = {10.1109/cloud60044.2023.00064},
}
Figure