Plan: a saturating, reproducible DRAM read probe for GB10
Plan, not a result. Written after the post-hoc GB10 H4 analysis (v0.3-gb10-h3-h4-posthoc.md). It uses microbenchmarks only; no GEMM or attention timing chooses any geometry or threshold here.
Why
GB10's DRAM read rate differs by session: the 0.21.0 single runs give 245 to 259 GB/s, the 0.22.0 five-run medians 259 to 263, the repeat file 239 to 244, and the GEMM reached 258 in the v0.2 holdout capture. The core combines curves and ceilings from different sessions in absolute GB/s, and in resident-wave a 2% disagreement between them decided the ranking. The probe used in the b-stream capture (ld.global.cg over 256 MiB, one 16-byte load in flight per thread) is not a ceiling: it moved between 226 and 249 GB/s within five minutes, one block went from 246 to 226, and most streams beat it, by up to 9%.
The question is whether a fixed, independent probe measured beside each block makes ratios more repeatable than absolute values, within and across sessions. Only then is a profile change discussed.
Probe candidates
A new mode, dram-saturation-probe, reusing the existing read, timing and read-only flush code. Each candidate has a fixed, versioned geometry; none is the maximum of any curve.
| Candidate | Geometry | Note |
|---|---|---|
| P1 | cp.async, 2 CTAs per SM, 3 stages of 16 KiB | 98 KiB per SM with the 1 KiB reservations, near the 100 KiB limit |
| P2 | cp.async, 4 stages of 4 KiB, 96 CTAs | the existing MLP plateau geometry (16 KiB in flight per CTA), as a lighter control |
| P3 | ld.global.v4, 4 and 8 loads in flight per thread | after checking registers and occupancy |
- All read one cold 256 MiB region once per launch, about 1 ms, after a separate read-only flush that is outside the timed interval. The bytes counted are checked against the bytes the kernel reads.
- Before any capture: occupancy, registers and carveout from the occupancy API and the assembler report, two CTAs per SM where intended, and the SMs a launch actually touches (48).
- Saturation before stability. A small sweep of CTAs per SM and loads in flight around each candidate, on the same region and protocol, shows whether more bytes in flight still gain. A candidate is frozen only where they no longer do.
Capture
- A small driver wraps probe-before, workload, probe-after in one short
flockper block and releases the lock between blocks; the 30 s gaps are outside the lock. Candidates alternate order.repeat_mlp.pyis not changed. - Each block records samples and UTC for both probes and the workload, plus, before and after:
/proc/statCPU deltas,/proc/vmstatswap and reclaim deltas,/proc/pressure/memorytotal deltas,MemAvailable, and GPU processes, clocks, temperature, power and throttle reasons.topandpsonly at session boundaries or on anomalies. RSS shows occupancy and PSI shows stalls; neither proves the memory bus idle, and no DRAM counter is claimed unless a validated one is available, otherwise it is recorded as missing. - Quiet windows by agreement: our own memory-heavy jobs pause; a session with known concurrency, swap or reclaim is postponed and logged. No other process, power setting or affinity is touched.
- The GB10 thermal gate of
repeat_mlp.pyruns before each session.
Analysis
- Within a session: a probe every 30 s for 10 minutes, with the existing MLP plateau points as the workload.
- Across sessions: several sessions hours apart and in different thermal and process states; the session is the independent unit.
- For absolute GB/s and for workload over the paired probe (normalized per block, then aggregated, ratios above 1 kept), report the within-session and across-session coefficients of variation with intervals. Blocks whose two probes differ by more than a pilot-frozen bound are flagged as drift, kept, and shown in a sensitivity result.
- Whether drift follows any recorded variable (temperature, clocks, power, CPU or memory pressure) is reported, not modeled.
Decision rule
The ratio is adopted only if, for the same workload, its across-session coefficient of variation is at most half that of the absolute values and the two 95% intervals do not overlap, on data captured after this plan and the pilot bounds are frozen. Then, and only then: keep the absolute profile fields and add an optional per-block reference (value, protocol and issue mode, active SMs, cache preparation, UTC before and after, samples, one reference ID); errors of values sharing one reference are treated as correlated. Otherwise the probe is recorded as not helping and the drift is carried as profile uncertainty.
Owners: the profile owner (5) and the GB10 GEMM analysis (7); review by 6.
Pilot (2026-11-26, Spark 1), frozen before the formal sessions
- Saturation (saturation-sweep.json, 21:36 to 21:42 UTC, 9 samples per point): above about 768 KiB in flight over the GPU, more bytes in flight no longer gain. The 31
cp.asyncand 20ld.global.v4geometries at or above that lie between 232 and 257 GB/s with no upward trend, and the four candidates are inside it (P1 253.3, P2 241.6, P3a 246.8, P3b 245.2 GB/s). All four are kept as frozen. - Stability within one session (pilot-session.json, 8 blocks 30 s apart, 21:44 to 21:48 UTC): the block medians of each candidate vary by 0.2% to 0.3% (coefficient of variation), the MLP plateau workload (
cp_async, 1.5 MiB or more in flight) by 0.3% absolute and 0.3% to 0.5% over each probe. The largest difference between a block's probe before and after is 2.04% (P1), 1.34%, 0.88% and 0.77% for the others. P2 gave 241.6 in the sweep and 250 in the pilot six minutes later. - Frozen drift bound: a block is flagged as drift for a candidate when its probes before and after differ by more than 3% of their mean. Flagged blocks are kept and reported with and without them.
- Formal sessions: four sessions at least two hours apart, 20 blocks each, 15 samples per point, same binary and driver (
probe_blocks.py), in quiet windows agreed with the profile owner. The decision rule above is applied to the four sessions only; the pilot does not count.