Introduction
In large-scale High-Performance Computing (HPC) systems, reliability is a critical challenge. As GPU components shrink and systems scale to tens of thousands of nodes, they become increasingly susceptible to "soft errors"—transient faults such as bit-flips caused by cosmic rays or voltage fluctuations. Currently, the industry standard is to keep Error Correction Code (ECC) permanently enabled. However, ECC imposes a significant performance overhead, potentially reducing GPU memory bandwidth and storage efficiency by up to 10%. This "performance tax" often leads researchers to disable ECC, risking silent data corruption.
This paper explores a data-driven alternative: using machine learning to predict when an error is likely to occur, allowing for dynamic ECC activation only when necessary.
The TwoStage Prediction Framework
To address the extreme class imbalance inherent in HPC error data—where over 98% of runs are error-free—the researchers developed a "TwoStage" prediction framework.
- Stage 1 (Filtering): This stage identifies potential "offender" nodes based on historical error data. Since Single Bit Errors (SBEs) tend to cluster in specific hardware locations, filtering out known "safe" nodes significantly reduces the complexity for the subsequent machine learning model.
- Stage 2 (Prediction): For the remaining nodes, a machine learning model predicts the likelihood of an error during a specific job run. The authors evaluated several architectures, including Logistic Regression (LR), Support Vector Machines (SVM), Neural Networks (NN), and Gradient Boosting Decision Trees (GBDT).
Feature Engineering and Dataset
The models utilize a comprehensive set of features categorized into temporal and spatial domains. Temporal features include application metadata, runtime, and historical environmental metrics (mean and standard deviation of temperature and power). Spatial features are particularly innovative, incorporating the physical location of the node and the environmental profiles of neighboring nodes within the same slot or cage.
The study leverages a massive real-world dataset from the Titan supercomputer at Oak Ridge National Laboratory. The dataset spans six months (February to June 2015) and covers 18,688 NVIDIA K20X GPUs, totaling over 60 million node hours. Environmental metrics were sampled every minute, providing high-granularity data for the analysis.
Key Insights: The Neighbor Effect
A primary finding of the study is the "Neighbor Effect." A GPU's thermal profile is not solely a result of its own workload; it is significantly influenced by the power consumption and heat dissipation of neighboring CPUs and GPUs in the same chassis. These environmental correlations are strong predictors of error rates.
Furthermore, the researchers emphasized that in system reliability, recall is more important than precision. While a false positive (unnecessary ECC activation) results in a minor performance hit, a false negative (missing an error) can lead to the failure of a long-running simulation.
Results and Performance
The Gradient Boosting Decision Tree (GBDT) model emerged as the most effective, achieving an F1 score of 0.81, with a recall of 0.87 and precision of 0.76. The model proved robust across various sub-datasets and application types. Notably, its accuracy increased to 95% when predicting "Extreme" error events characterized by high SBE counts.
From a practical standpoint, the GBDT model is highly feasible for real-time deployment. Training took approximately 40 seconds, and inference is nearly instantaneous, allowing it to be integrated into HPC job schedulers without introducing latency.
Conclusion and Future Work
While the model demonstrates high predictive power, some limitations remain. The current approach cannot distinguish between external causes (like cosmic rays) and internal hardware aging. Additionally, some features, such as exact temperature profiles, are only known post-run. Future research will focus on using time-series forecasting (e.g., LSTMs) to predict these environmental features before an application begins, enabling proactive error management.
Summary updated