Observation: GB10 L2 steady state near capacity differs between runs
Post-hoc observation, not a mechanism. Seen in the GB10 wave-rescan microbenchmarks (v0.3-gb10-h3-h4-posthoc.md); it explains why none of them passes the cross-run capture rule, and it bears on how L2 capacity is measured and on holdout shapes whose working set sits near it.
What was seen
A grid of CTAs streams GEMM-like B panels along K and re-reads them wave after wave. Each timed launch follows a read-only flush, so every run starts from the same clean L2.
- From about 0.75 to 1.25 times the 24 MiB L2, the time of a re-reading wave differs between runs of the same binary and geometry, while the 15 samples inside each run agree:
wave-rescan-long, 0.91 times L2, one CTA per SM, forward, 100 waves: 3528 us in one run, 1701 us in the next (mostly missing against mostly hitting).wave-rescan-v3, 1.25 times L2: one run re-reads 25% faster than the other two at every occupancy (hit fraction 0.31 to 0.40 against 0.01 to 0.09); at 0.75 times L2 a different run re-reads 16% to 110% slower than the other two.
- Away from that band the runs agree: at 0.5 times L2 every re-read hits, and at 1.5 to 3 times L2 forward re-reads hit -0.01 to 0.09 in all seven runs of three versions.
- It is not host interference: the third
wave-rescan-v3run carries a host CPU trace (busy share at most 7.4%, no other process above 5% of a CPU for two samples) and is one of the runs that differs.
What it affects
- The model. Cross-wave reuse is a step at
l2_effective_capacity_bytes(design 6.4, 9.3). Near capacity the hardware is not a single function of the footprint, so no single value of that field, and no smoothing of the step, can match every run. Predictions for working sets from about 0.75 to 1.25 times L2 carry a large uncertainty. - The profile.
l2_effective_capacity_bytesandl2_rescan_hit_rate_by_working_setcome from one sweep in one run. Near capacity a second run may land in the other state, so their uncertainty there is larger than one sweep shows. - The v0.3 holdout. Shapes whose working set sits near the L2 capacity (the
l2-working-setandresident-wavekinds) are to be marked in advance as having a large prediction uncertainty, as a known limit of the preregistration. The candidate list is not changed because of it.
Not done
Why the state differs between runs (L2 hashing, replacement state, or something else) is not known; a dedicated experiment on the distribution of states near capacity is listed for after v0.3. wave-rescan is closed.