Abstract
High-Performance Computing (HPC) performance modeling is frequently compromised by system noise, which causes empirical models to "hallucinate" complexity. This paper introduces a noise-resilient approach that utilizes software counters—such as basic block counts and message sizes—as stable "priors." By anchoring empirical models to these structural metrics rather than volatile execution time, the researchers reduced prediction errors from 84% to 20% while cutting experimental costs by half.
The Challenge of System Noise in HPC
Understanding how an application scales is vital for identifying bottlenecks in supercomputing. Traditionally, researchers use tools like Extra-P to create empirical models based on actual runtime measurements. However, HPC systems are notoriously "noisy" due to background OS tasks, network congestion, and hardware variability, which can cause runtimes to fluctuate by as much as 70%. When modeling tools try to fit curves to this noisy data, they often select mathematical functions that fit the noise rather than the actual algorithmic logic. To compensate, developers typically run experiments dozens of times to obtain a clean average, which is prohibitively expensive in terms of core-hours.
Methodology: Software-Counter-based Modeling
The authors propose a Software-Counter-based (SWC-based) modeling approach. Instead of searching blindly through a space of possible functions, the modeler is provided with a "skeleton" (a dynamic prior) derived from noise-resilient metrics.
As shown in Figure 1, the workflow involves:
- Instrumentation: Using a custom LLVM plug-in within the Score-P framework to count "basic blocks" (straight-line code) and total bytes transferred during MPI communication. These counts are deterministic and unaffected by system noise.
- Deriving Priors: Creating an intermediary model based on these counts to determine the functional "shape" of the scaling (e.g., linear or logarithmic).
- Coefficient Fitting: Fitting the coefficients of this structural skeleton to the actual noisy timing data. This ensures the model's growth rate matches the code's logic, while its magnitude matches observed performance.
Key Results and Evaluation
The approach was evaluated using a synthetic benchmark generator, the Kripke proxy application, and RELeARN, a complex simulation of brain plasticity.
Accuracy and Theoretical Alignment
Under high-noise conditions, the SWC-based approach reduced average prediction error from 84% to 20%. In synthetic tests, the new models matched the theoretical "ground truth" complexity perfectly, maintaining an Exponent Deviation (ED) of zero even as artificial noise increased.
Cost Efficiency
The method requires significantly fewer repetitions. The researchers found they could achieve higher accuracy with just two repetitions (one for time, one for counts) than the classic method could achieve with five, effectively cutting experimental costs by roughly 50%.
Discussion and Limitations
The primary trade-off is instrumentation overhead, which ranged from 60% to 100% in some cases. However, this is offset by the drastic reduction in the total number of runs required. Additionally, because software counters track active work, they do not naturally capture "waiting time" (idle time due to synchronization). While this helps in denoising, it means the model may underestimate total wall-clock time in systems severely bottlenecked by communication delays. Future work includes extending support to OpenMP and GPU kernels.
Summary updated