ML-based Modeling to Predict I/O Performance on Different Storage Sub-systems

Yiheng Xu, Pranav Sivaraman, Hariharan Devarajan, Kathryn M. Mohror, Abhinav Bhatele

TL;DR

Researchers have developed PrismIO, a Python-based tool and machine learning workflow that predicts whether High-Performance Computing (HPC) applications should use Burst Buffers (BB) or Parallel File Systems (PFS) for optimal I/O performance. By analyzing I/O traces, their model achieves over 95% accuracy in recommending the best storage subsystem for real-world scientific applications, eliminating the traditional trial-and-error approach.

What Problem Does This Paper Address?

In the world of supercomputing, "I/O bottlenecks" are a major headache. While processors have become incredibly fast, storage systems haven't kept pace. To bridge this gap, architects introduced Burst Buffers (BB)—fast, intermediate storage layers (often SSD-based) that sit between compute nodes and the slower, disk-based Parallel File System (PFS).

However, using a Burst Buffer isn't a guaranteed win. Depending on an application's I/O patterns—like how much data it writes at once (transfer size) or whether it reads after writing—a BB might actually be slower than the traditional PFS. Currently, storage experts have to manually experiment to find the best setup, a process that is tedious, unscalable, and often specific to just one application.

Methods

The authors tackle this by treating storage selection as a machine learning classification problem. Their approach consists of two main parts:

  1. PrismIO: A new Python library built on top of Pandas. It takes complex I/O traces (specifically from the Recorder tracing tool) and converts them into a "programmable" format called an IOFrame. This allows researchers to easily extract features like transfer sizes, I/O types (e.g., Read-After-Write), and metadata operation times.
  2. ML Modeling: They trained several classifiers (Decision Trees, Random Forests, etc.) to predict the "best" subsystem. The input features include I/O interface (POSIX vs. MPI-IO), transfer size, file count, and access patterns. The output is a binary choice: BB or PFS.

The workflow is designed to be user-friendly: a researcher runs their app once with a tracer, feeds the trace into PrismIO, and the model outputs a "file placement plan" for future runs.

Datasets

  • Training Data: The authors generated a massive dataset using the IOR benchmark. They performed ~35,000 runs on the Lassen supercomputer at Lawrence Livermore National Laboratory (LLNL), covering 2,967 unique combinations of I/O characteristics.
  • Evaluation Data: To test "real-world" performance, they used four major scientific applications:
  • LAMMPS: Molecular dynamics simulator.
  • CM1: Extreme climate simulator.
  • Paradis: Dislocation dynamics simulator.
  • HACC-IO: A proxy for a cosmology simulator.

Key Insights and Ideas

  • The Transfer Size "Flip": One of the most interesting findings was that for small transfer sizes, Burst Buffers are significantly faster. However, as transfer sizes increase, the Parallel File System (GPFS in this case) often overtakes the BB in performance.
  • The Metadata Mystery: Using PrismIO’s visualization, the authors discovered a bottleneck in GPFS where one node would become a "metadata server" for a directory, causing a massive load imbalance where one node performed much faster than others.
  • BB Cache Sensitivity: Burst Buffer performance is highly dependent on the SSD hardware cache. If the total I/O volume overwhelms the cache, performance tanks. The ML model successfully learned these nuances, which are often invisible to human users.
  • Granular Placement: The model predicts the best storage for individual files rather than the whole application. This is crucial because a single app might have some files that belong on a BB and others that are better suited for the PFS.

Key Results

  • High Accuracy: The Decision Tree classifier (the top performer) achieved 94.47% accuracy on unseen IOR benchmark scenarios.
  • Real-World Success: When tested on the four production scientific applications, the workflow achieved an average accuracy of 95.86%.
  • Application Specifics: The model was perfect (100% accuracy) for HACC-IO and stayed above 92% for the complex LAMMPS simulations.
  • Feature Importance: "Transfer size" and "Read/Write per open-to-close" were identified as the most critical features for making an accurate prediction.

Limitations and Future Work

  • Hardware Specificity: The current model was trained specifically on Lassen, which uses node-local Burst Buffers. The authors acknowledge that shared Burst Buffer architectures (like those on the Cori supercomputer) might behave differently.
  • Extraction Overhead: While the prediction is fast, the initial feature extraction from raw traces can be slow for very large applications. The authors plan to optimize these algorithms.
  • Platform Generalization: Future work involves applying this methodology to other flagship systems like Summit to see how well the ML insights transfer across different hardware generations.

Summary updated

BibTeX
@inproceedings{xu2024ml,
  author = {Yiheng Xu and Pranav Sivaraman and Hariharan Devarajan and Kathryn M. Mohror and Abhinav Bhatele},
  title = {{ML-based Modeling to Predict I/O Performance on Different Storage Sub-systems}},
  booktitle = {HiPC},
  year = {2024},
  doi = {10.1109/hipc62374.2024.00030},
}
Figure