Abstract
In recent years, several HPC facilities have started continuous monitoring of their systems and jobs to collect performance-related data for understanding performance and operational efficiency. Such data can be used to optimize the performance of individual jobs and the overall system by creating data-driven models that can predict the performance of pending jobs. In this paper, we model the performance of representative control jobs using longitudinal system-wide monitoring data to explore the causes of performance variability. Using machine learning, we are able to predict the performance of unseen jobs before they are executed based on the current system state. We analyze these prediction models in great detail to identify the features that are dominant predictors of performance. We demonstrate that such models can be application-agnostic and can be used for predicting performance of applications that are not included in training.
Introduction: The Challenge of Performance Variability
In high-performance computing (HPC), "run-to-run variability" is a persistent challenge. Identical code executed with the same inputs can yield significantly different execution times. This phenomenon occurs because supercomputers are shared environments; while compute nodes are dedicated, users share high-speed networks and filesystems. This variability complicates allocation estimates for users and reduces the efficiency of system schedulers.
While most research focuses on diagnosing issues during execution, this study asks a proactive question: Can we analyze the system state immediately before a job starts to predict its performance?
Methodology
The authors developed a data pipeline to transform raw hardware counters into predictive insights on the Cori supercomputer at NERSC.
Data Collection and Engineering
Using the Lightweight Distributed Metric Service (LDMS), hardware counters were captured from Aries routers every second. The researchers focused on the five-minute window preceding a job's start. High-dimensional data from thousands of routers were aggregated into 14 interpretable "derived features," including network stalls and flit (flow control unit) counts.
Modeling Approaches
Two primary machine learning techniques were employed:
- Gradient Boosting Regressors (GBR): Utilized to identify the strongest hardware counter predictors (feature importance).
- Neural Networks (NN): Developed to create application-agnostic models capable of generalizing across different software workloads.
The study tested "control jobs" using standardized applications: AMG (Algebraic Multigrid), MILC (MIMD Lattice Computation), and miniVite (graph analytics).
Key Results and Insights
The research demonstrated that the network state in the five minutes prior to execution is a powerful predictor of performance.
Prediction Accuracy
The models achieved high accuracy, with a Mean Absolute Percentage Error (MAPE) of less than 5% for AMG and less than 10% for the more variable MILC workloads.
Locality and Placement
A significant finding was that monitoring only the routers assigned to a specific job ("My routers") provided sufficient data for high-quality predictions. Additionally, job placement emerged as a dominant signal; the feature NUM_GROUPS (the number of physical dragonfly groups a job spans) was a key predictor. Spreading a job across more groups increases the probability of encountering congested global links.
Generalizability
Models trained on AMG and MILC successfully predicted the performance of the unseen miniVite application. This suggests that network congestion impacts diverse applications in fundamentally similar ways, allowing for application-agnostic performance forecasting.
Conclusion and Future Work
This paper proves the feasibility of predicting HPC job performance based on pre-execution system telemetry. Such models can statistically distinguish between "likely fast" and "likely slow" jobs, offering a path toward more intelligent job scheduling.
Future work will explore filesystem contention, another major source of variability, and expand the library of application signatures. The ultimate goal is integrating these predictive models into live schedulers to automatically defer jobs during periods of high congestion.
Summary updated