arXiv:2610.36370cs.DCOct 2026

Manuscript Offprint

arXiv:2610.36370

IOSage: Detecting HPC I/O Bottleneck Patterns to Guide LLM Recommendations

Mahdi Banisharif, Tabassum Mahmud, Ahmad Tarraf, Suren Byna, Ali Jannesari

Mahdi Banisharif*, Tabassum Mahmud*, Ahmad Tarraf†, Suren Byna‡, Ali Jannesari*

*Iowa State University, USA, {msharif, tmahmud, jannesar}@iastate.edu

†Technical University of Darmstadt, Germany, ahmad.tarraf@tu-darmstadt.de

‡The Ohio State University, USA, byna.1@osu.edu

Abstract—HPC applications often leave much of their parallel file system's bandwidth unused, and turning their Darshan logs into concrete I/O fixes still requires a scarce I/O expert. Rule-based tools flag counters against thresholds set by experts, and in tools built on large language models (LLMs), such as ION and IOAgent, the LLM decides which bottlenecks a log contains. We present IOSage, in which a classifier trained on many labeled logs, not the LLM, makes that decision, since a single log gives an LLM no baseline for what is abnormal. The LLM receives the I/O bottleneck patterns the classifier detects, the job's configuration files, per-file Darshan evidence, and for each pattern a card built from benchmark training runs, and writes recommended changes. Applied by hand and measured in repeated paired runs, the changes IOSage names speed up median total wall time 4.38×4.38\times for an openPMD kernel ( 4.02×4.02\times on a second storage tier) and 1.42×1.42\times for hourly WRF restarts. For 5 of the 6 application scenarios with a helpful change, IOSage with Claude Sonnet 4 names the helpful change, including the change for 10-minute WRF restarts, where it speeds up median total wall time up to 1.93×1.93\times; with GPT-4o and Llama 3.1 as well, the classifier and cards name more helpful changes than the LLM alone. On 78 benchmark test runs without a pattern, the LLM deciding alone proposes changes for 64; with the classifier, for 9. The classifier reaches 0.929 Micro-F1 on 488 labeled benchmark test runs (0.916 as the gate; 0.832 on the 158 from configurations and jobs outside training), above Drishti's rules, WisIO, and IOAgent's pipeline without its literature retrieval. On TraceBench's nine expert-labeled traces from production systems, it has the highest precision of the tools compared (0.82), with 2 false positives against 12 for the keyword-mapped LLM diagnoses shipped with TraceBench and 5 for Drishti, on the five issue labels that match registered patterns.

Index Terms—parallel I/O, Darshan, I/O performance, machine learning, large language models

I. INTRODUCTION

Applications on high-performance computing (HPC) systems often use only a fraction of the available I/O bandwidth [1], [2]. On Polaris at the Argonne Leadership Computing Facility (ALCF) [3], 131,151 of a collection of 1.40 million Darshan [4] logs meet our cleaning criteria (Section II), and in about 46% of them the IOSage classifier detects at least one bottleneck pattern, such as small transfer sizes, random access on a parallel file system, or independent instead of collective MPI-IO. These logs hold 97.8% of the I/O time Darshan records, summed over ranks.

Recognizing the patterns requires an I/O specialist who can read Darshan counters, reason about Lustre striping and MPI-IO hints, and relate the counters to application code. Few application teams have such a specialist [5].

Existing tools follow three approaches. Rule-based tools such as Drishti [6] flag metrics that cross thresholds set by experts, and WisIO [7] maps metrics to bottlenecks with an extensible rule set. They are fast and their decisions are easy to trace, and their thresholds and rules are written by experts rather than learned from logs. Learned approaches such as AIIO [8] train models on Darshan counters and show which counters explain slow I/O, but they predict throughput, not which patterns are present, and they do not recommend changes. Tools built on large language models (LLMs), such as ION [9] and its successor IOAgent [5], which adds retrieval over 66 I/O papers, explain the I/O behavior in a Darshan log in natural language; in both, the LLM decides which patterns a log contains. On our labeled benchmark test runs (Section IV), most patterns that IOAgent's diagnosis pipeline, run from its public code on the log alone, like the classifier, without its literature retrieval (IOAgent without retrieval below), reports with GPT-4o [10] are absent from the labels: its precision (the share of reported patterns that are present) is 0.218 under our mapping of its text to the labels. STELLAR [11] has LLM agents read Darshan counters, tune Lustre parameters for the workload, measure each attempt, and keep the rules they learn for later workloads; it tunes the file system for a workload, while IOSage decides which patterns the log of a finished job shows and recommends changes to the application's I/O.

Deciding which patterns a log shows needs a baseline of what is normal, and a single log does not contain one. A classifier trained on many labeled logs learns that baseline from data. IOSage therefore gives the pattern decision to a classifier, used as a precision gate: it decides which patterns the prompt names, and the LLM turns those patterns into concrete changes (Fig. 1). Our method is this division of labor and its measurement: removing each part in turn shows what it adds, on applications and on benchmark runs with known labels.

We label benchmark runs by the configuration that induces each pattern, so detection is not scored against a rule over the counters the model reads, and keep part of them for evaluation; the multi-label classifier trains on the rest together with counter-derived labels of production logs, which receive a lower weight (biquality weighting). In IOSage, the prompt names the registered patterns (those the classifier learns to detect) that the classifier finds in the log, with a card for each from a knowledge base (KB) built from benchmark training runs; the prompt also holds the job's configuration files and

Figure

Fig. 1. IOSage architecture. (a) Preparation: configuration-labeled benchmark runs and rule-labeled Polaris logs train one classifier per pattern; the training runs yield one pattern card per pattern (typical counter values and a change template). (b) Per-log analysis: the LLM's prompt holds the detected patterns with their cards, the log's summary and per-file evidence, and the job's configuration files. (c) Validation: a recommended change is applied by hand and its wall-time effect measured. Grey: inputs and outputs; orange: computation; blue: stored products; dashed arrows: products of (a) used in (b).

per-file Darshan evidence. The configuration files and per-file evidence let IOSage tailor a recommendation to an application without reading its source code.

A card shows how a pattern is usually removed, not whether a change helps a given application, so on applications the changes IOSage names are applied by hand and judged by total wall time over repeated runs.

Each card gives a pattern’s counter signature and a generic change template; the LLM turns that template into a concrete change for the application, such as switching the I/O library for WRF [12] restart files. This paper makes three contributions:

• A learned pattern decision before the LLM’s recommendations. A multi-label classifier selects the registered patterns and their pattern cards, and the LLM uses these, per-file Darshan evidence, and the job’s configuration files to propose changes (Section III); on 78 benchmark test runs without a pattern, Claude Sonnet 4 proposes a change for 64 when deciding alone and for 9 within IOSage (Section IV-C).

• Configuration-labeled detection with production data. Benchmark runs are labeled by the configuration that induces each pattern and combined with rule-labeled production logs at a lower weight; the classifier reaches 0.929 Micro-F1 (the harmonic mean of precision and recall pooled over all labels, from 0 to 1, higher better) on 488 labeled test runs, 0.916 as the gate, and 0.832 on the 158 from configurations and jobs outside training (Section IV-D).

• Measured outcomes on applications. We apply the changes IOSage names by hand and compare repeated, paired runs by total wall time (Section IV-B): with Claude Sonnet 4, IOSage names a helpful change for 5 of the 6 evaluated scenarios that have one, the applied changes give 4.38×4.38\times for an openPMD [13] kernel and 1.42×1.42\times to 1.93×1.93\times for WRF restarts, and a change the LLM proposes alone slows Nek5000.

Section II describes the I/O behavior on Polaris that motivates the design, and Sections V and VI cover related work and limitations.

References (55)