Aneto: Predicting System Performance by Exploiting Cross-Workload Regularity
Abstract
Predicting how a workload responds to a change in memory technology requires estimating how much of each cache miss actually stalls the processor. Obtaining this stall fraction accurately has traditionally demanded detailed simulation, repeated measurements, or heavy profiling. Lighter one-shot alternatives exist but sacrifice accuracy. We observe that hardware counters from a single native run suffice to infer the stall fraction without simulation. Across more than 100 workloads with diverse code patterns spanning integer, floating-point, graph, and AI benchmarks, the relationship between CPI and the maximum memory stall per instruction follows a predictable pattern on each microarchitecture. Aneto is a mechanistic-empirical regression model that exploits this observation. Once fitted on a machine across a small set of reference workloads, the model estimates the performance-latency sensitivity of any new workload from a single run, enabling first-order CPI prediction under any memory configuration. On seven platforms spanning five microarchitectures and two cycle-level simulators, Aneto achieves 14.6% median CPI error at 8× memory-latency extrapolation and has 2× lower error than the best prior one-shot predictor. Additionally, Aneto provides qualitative insights into workloads and architectures.
Read the source