Interleaved Driver Benchmarking#637
Conversation
|
To demonstrate the significance of interleaving, I ran a head-to-head comparison against our current benchmark suite. MethodologyThree "families" of benchmarks were evaluated across both suites: normalization, casting, and grouped GEMM. The We consider them false positives due to being introduced by transient noise rather than genuine kernel differences. From the eyes of the test, they are "true" positives in that they are genuinely different, albeit due to noise. This distinction is subtle but worth noting. Note that there should be zero significant results since the runs are meant to be identical. Both suites were tested with While some configs differ between the benchmarks, resulting in different number of configs, this was normalized by calculating the False Positive Rate (FPR) rather than a direct count. ResultsThe
ConsiderationsThis was NOT performed under performance determinism mode or pure hardware isolation. Anecdotally, performance determinism mode helps bridge the gap, but interleaving still provides a superior FPR reduction. True hardware isolation is difficult to guarantee in workload environments. Either way, the core message here is that interleaving meaningfully mitigates / improves a genuine existing problem. |



Description
Provides an alternative driver-based implementation of the micro benchmarking suite. This implementation includes cold-caching and interleaving as orthogonal features. This PR is structured as a clean addition for ease of review.
Each individual benchmark file is <60 LOC with configs handled in a central
models.pyfor housing configs, and a single driver which parses the benchmarks to be run AOT allowing for arbitrary scheduling.This PR includes the significance testing changes introduced in #614
This suite is designed for detecting performance regressions across a shape sweep, not just point-estimating a single kernel. Samples are collected round-robin across benchmarks and re-shuffled each round, so time-correlated GPU drift (thermal ramp, power/voltage fluctuation, a neighbor on a shared GPU) becomes shared variance instead of a systematic bias between benchmarks.
Type of change
Changes
Please list the changes introduced in this PR:
Checklist: