TL;DR
This paper introduces CDEF, a novel approach to proactively predict disk errors in cloud systems before they cause service disruptions. By combining disk sensor data (SMART) with system-level signals and employing a cost-sensitive ranking model, CDEF significantly improves cloud service availability and has been successfully deployed in Microsoft Azure.
What Problem Does This Paper Address?
High availability is paramount for cloud services, yet disk errors are a major cause of downtime, leading to significant financial losses and user dissatisfaction. Traditional systems often treat failures as binary (operational or failed), but disk errors are often "gray failures" – subtle issues like sector errors or latency spikes that degrade performance without causing immediate, obvious failure. These gray failures can impact upper-layer services and VMs long before a disk completely fails. Existing prediction methods often rely solely on SMART data and struggle with the extremely imbalanced nature of disk failure data and the dynamic, time-sensitive environment of cloud systems.
Methods
The core of CDEF lies in its innovative approach to feature engineering and prediction:
- Feature Engineering: CDEF combines traditional disk-level SMART data with system-level signals (e.g., OS events, file system errors). Crucially, it employs a novel feature selection method to identify and retain only stable and predictive features, pruning those that are time- or environment-sensitive and thus unreliable for online prediction. This is achieved by simulating online prediction within the training set.
- Cost-Sensitive Ranking Model: Instead of a binary classification, CDEF frames the problem as ranking disks by their "error-proneness." This approach inherently handles the extreme class imbalance (many healthy disks vs. few faulty ones). A cost-sensitive ranking model is trained to minimize misclassification costs, prioritizing the identification of the most likely faulty disks to minimize the impact of false positives (unnecessary migrations) and false negatives (missed failures). The FastTree algorithm is used for this ranking.
Datasets
The paper utilizes real-world data collected from a large-scale Microsoft cloud service system. The dataset comprises one month of data for training and another month for testing, with a healthy-to-faulty disk ratio of approximately 10,000:3.
Key Insights and Ideas
- System-level signals are crucial: Beyond SMART data, system-level signals provide early indicators of disk degradation, offering a more comprehensive view of disk health.
- Online prediction is essential: Cross-validation, while common, can be misleading in dynamic cloud environments by allowing training data to "see" future patterns. True online prediction, mimicking real-world deployment, is necessary for accurate evaluation.
- Ranking beats classification for imbalanced data: Framing the problem as ranking error-prone disks, rather than classifying them as faulty or not, effectively mitigates the challenges posed by extreme class imbalance.
- Cost-sensitivity is key for practical deployment: Prioritizing the reduction of false positives (costly migrations) over false negatives (missed failures) aligns with the operational realities of large-scale cloud systems.
Key Results
- CDEF significantly outperforms baseline methods (Random Forest, SVM) in predicting disk errors, achieving higher AUC values (e.g., 0.93 on Dataset 1 compared to 0.85 for Random Forest).
- The proposed feature engineering method, incorporating system-level signals and feature selection, leads to substantial improvements in True Positive Rate (TPR) at a low False Positive Rate (FPR).
- The cost-sensitive ranking model achieves the minimum misclassification cost across all datasets, demonstrating its effectiveness in balancing prediction accuracy with operational costs. For instance, on Dataset 2, CDEF achieved a cost reduction of 187.92% compared to Random Forest.
- In practice, CDEF has been deployed in Microsoft Azure, leading to an average reduction of 63,000 minutes of VM downtime per month.
Limitations and Future Work
- Subject Systems: The current evaluation is based on data from a single cloud service provider. Future work aims to generalize CDEF by evaluating it on more diverse systems.
- Data Noise: The presence of noise in disk failure labels (due to repairs and re-use of disks) is acknowledged.
- Evaluation Metrics: While FPR/TPR and AUC are standard, the authors suggest exploring a broader set of metrics like Recall and Precision for more comprehensive validation.
- Future Directions: The authors plan to extend CDEF to other disk types (e.g., SSDs), explore synergies with other cloud failure detection techniques, and investigate unsupervised learning methods. They also aim to better estimate the cost of recovery operations to further enhance prediction utility.
Summary updated