Abstract
Catastrophic server failures in large-scale datacenters cause significant financial losses and operational disruptions. Predicting these rare events is challenging due to extreme class imbalance. We present DC-Prophet, a two-stage framework that first filters anomalies using a One-Class SVM and then classifies failure types using a Random Forest. Evaluated on the Google Cluster Data, DC-Prophet achieves an $F_3$-score of 0.88, significantly outperforming single-stage baselines while maintaining low inference latency.
Introduction
In industrial datacenters, a single server failure can trigger a "chain effect" of workload shifts, leading to data loss, resource congestion, and financial hits costing up to $17,000 per minute. Predicting these failures is a "needle in a haystack" problem due to extreme class imbalance—failure events represent less than 1% of datacenter data. Standard machine learning models often fail by simply predicting all machines are healthy. Furthermore, the cost of a False Negative (missed crash) far outweighs a False Positive (unnecessary migration). DC-Prophet addresses these challenges by prioritizing recall and handling imbalance through a specialized two-stage pipeline.
Methodology: The DC-Prophet Framework
DC-Prophet utilizes a two-stage approach to isolate and then categorize potential failures:
- Stage 1: Anomaly Filtering (One-Class SVM): Trained exclusively on normal operational data, the OCSVM acts as a high-pass filter. It discards the vast majority of normal data points, flagging any deviation as a potential anomaly.
- Stage 2: Failure Categorization (Random Forest): Flagged anomalies are passed to a Random Forest classifier to identify the specific failure type.
The model categorizes failures into three types based on recovery duration, as visualized in the distribution of failure events:
- Immediate-Reboot (IR): Quick recovery, typically within 30 minutes.
- Slow-Reboot (SR): Longer recovery exceeding 30 minutes due to system checks or software re-installs.
- Forcible-Decommission (FD): Permanent removal from the cluster.
Feature Engineering
The framework utilizes 72 features derived from six resource types: CPU, Disk I/O, Disk Space, Memory, Page Cache, and Memory Access.
Datasets
The study uses the Google Cluster Data (2011), comprising 12,500 machines over 29 days. Despite over 104 million events, only 8,957 were actual machine failures, highlighting the sparsity and difficulty of the prediction task.
Key Insights and Ideas
The "30-Minute Rule"
Statistical analysis using partial autocorrelation functions (PACF) revealed that resource usage data older than 30 minutes has a rapidly diminishing correlation with current machine status. By selecting six 5-minute intervals (30 minutes total) preceding an event, the model remains computationally lean without losing predictive accuracy.
Prioritizing Recall with $F_3$-score
Unlike the standard $F_1$-score, the authors employ the $F_3$-score, which weights Recall three times more than Precision. This aligns the model's performance with the economic reality that missing a failure is far more costly than a false alarm.
Peak Usage as a Predictor
Analysis showed that peak values, particularly for local disk usage, are often more discriminative than average values for predicting impending crashes.
Key Results
- High Predictive Power: DC-Prophet achieved an AUC of 0.93 and an $F_3$-score of 0.88.
- Superiority over Baselines: It outperformed one-stage methods like standard SVM or Logistic Regression by an average of 39.45% in $F_3$-score.
- Real-time Readiness: With an inference latency of less than 9 milliseconds, the model is suitable for live integration into cloud schedulers like Google's Borg.
- Filtering Efficiency: The OCSVM stage mispredicted only 11 failures as normal events out of nearly 9,000.
Discussion and Future Work
While highly effective, DC-Prophet faces challenges in accurately identifying "Forcible-Decommission" (FD) failures, likely due to their similarity to Slow-Reboots or trace limitations. Future work aims to integrate the model directly with cloud schedulers to automate preventive actions like task migration upon failure prediction.
Summary updated