Sweep position and wall time of GB10 MLP slow segments
Post-hoc. The archived sweeps establish recurrence at fixed point positions under the agreed decision rule. The wall-time reconstruction does not establish a common period or a particular preceding-load trigger. A timing and order control is proposed below for review. The frozen v0.2 conclusions stand. Sweep-position analysis
What the archive can time
The five host-qualified processes per mode log CUDA event durations and outer UTC bounds. Warmups, flushes, CUDA initialization and submission gaps lack timestamps in this capture. The markers and segment definition are carried over from the position analysis.
The reconstruction adds three terms to the timed prefix.
- Three point warmups, each estimated from that point's median timed launch.
- A read-only flush before each cold warmup and sample, including the first sample at a point. The two original-condition trials in the separate five-point study measured median flush times of 1.095 ms for 256 MiB and 0.401 ms for 96 MiB. The 256 MiB value also serves as a proxy for the strided sweep's same-sized flush. The observed control ranges were 1.083 to 1.506 ms and 0.397 to 0.458 ms, respectively.
- A 0.012 ms inter-launch host-gap proxy, measured as the median residual between adjacent sample timestamps in the two original trials. The warm L2 section has no flush term.
These estimates have an unknown offset from launch of the host process. The outer envelope exceeds the estimated sweep span by 0.61 to 0.79 s for contiguous MLP, 0.65 to 0.73 s for strided MLP, and 0.74 to 0.76 s for active-SM. Residual time includes setup, unobserved gaps and output/telemetry tail. Its allocation between those terms is unknown. For a separate conservative bound, bracket each onset from its cumulative CUDA event prefix to the outer wall duration minus the remaining timed events. This bound uses no transferred flush or startup assumptions.
Starts, durations and gaps
The table uses cold points and all adjacent slow-segment starts within each process. Estimated durations include flush and host-gap proxies between the first and last samples of a segment.
| Mode | Adjacent onset gaps | Estimated gap min / median / max (ms) | Gaps at least 100 ms | Estimated segment duration min / median / max (ms) |
|---|---|---|---|---|
| Contiguous MLP | 70 | 7.8 / 37.3 / 602.8 | 25 | 4.0 / 6.1 / 16.3 |
| Strided MLP | 44 | 7.9 / 49.4 / 620.4 | 19 | 4.2 / 4.9 / 14.7 |
| DRAM active-SM | 11 | 7.8 / 11.2 / 29.3 | 0 | 3.9 / 6.6 / 15.1 |
Median gaps within individual runs vary from 32.9 to 51.5 ms, 34.2 to 191.4 ms, and 10.6 to 26.0 ms, respectively. Short gaps on the order of several samples recur, including about 8 ms in all modes. Their recurrence is compatible with a short repeated disturbance and with the cost of progressing through the same number of samples. The wider gap distribution does not support reading the observed starts as a common fixed cadence of hundreds of milliseconds. A periodic disturbance visible only in susceptible geometries could lose events in the plateau, so an unobserved period remains possible.
The five largest gaps for contiguous MLP all begin at point 13
(cp_async, 152 KiB) and end at points 25 to 27 (the low end of the
vector path). For strided MLP they all begin at point 21 (16 KiB) and
end at points 33 to 35 in the final stride group. For active-SM they
all stay within the 1- or 2-SM points. This is consistent with the
geometry dependence and carries no independent clock phase.
For the contiguous 128 KiB witness, the segment covering global sample 176 begins at 525.2 to 529.4 ms on the proxy clock. Its conservative process-relative upper bound is 2.21 to 2.39 s, depending on the run. That is evidence for index repeatability under the fixed order. The uncertainty is much larger than the four-millisecond spread of the proxy onset estimates.
Why the short control matters
The first cold point already contains a slow segment in all five contiguous processes (4 KiB) and all five active-SM processes (1 SM). The reconstructed first starts are 9.8 to 31.6 ms and 6.4 to 14.0 ms after the estimated sweep begins. From outer and timed durations alone, those starts are no later than 2.16 s and 0.83 s after process launch respectively.
The two stable original-condition five-point controls had timed samples spanning about 0.381 to 2.792 s and 0.324 to 2.724 s after host launch. Their recorded launch counts, order and time per geometry differ from the full sweeps. A simple explanation in which slowing starts only after the shorter processes have finished conflicts with the first-onset bounds. The differing order and flush/load history are compatible with state established by the workload or session. A wall-clock event whose visibility depends on the active geometry is also compatible. The control lacks an onset to align, so it cannot distinguish these explanations. Five-point control
Protocol design for review
This proposal changes capture order and observability only. It requires review and a fresh freeze before GPU work. Keep every frozen geometry, per-sample steps, source and flush sizes, three warmups, 15 timed samples and the host and dispersion rules. The original one-process full sweep is the positive control. The following comparisons diagnose the protocol. Profile updates require a qualified capture with the chosen protocol.
- Replay the full sweep with timestamps. Record the process UTC and monotonic anchor, point and sample ordinals, and host monotonic timestamps at flush, warmup and launch submission and at the existing synchronization points. Record CUDA events around the flush and warmup, then read their durations after the existing timed-launch synchronization. Keep queue ordering and avoid per-flush synchronization. Preserve existing host and clock telemetry. Store samples in memory and write after the sweep. Reuse the existing kernels for the primary capture. Any supplemental device instrumentation gets a separate binary and is compared to the kernel without instrumentation before interpreting it. Archive the execution order as well as the canonical geometry keys. If the replay cannot reproduce the archived slow segments, report a failed positive control and stop interpreting the contrasts.
- Displace time while preserving predecessor order. Replay the order with fixed offsets of 173 and 431 ms before the full sweep, after a common readiness marker. Apply the same cache preparation and record actual start time. Compare sharp onsets in both elapsed time and sample coordinates, inspecting actual coverage of susceptible points. Keep timestamp windows and complete cases, including missed target times, in the audit. An offset also changes initial idle state, so its effect is evidence about timing and state together.
- Change the predecessor while matching target time. Use a pilot to choose a common slot time for the 128 KiB and 64 KiB contiguous witnesses and freeze it before the contrast. At each target, alternate the original predecessor and a fixed plateau predecessor from the same issue path. Schedule any padding before the predecessor, so every target still follows its own flush immediately. Use actual timestamps to confirm comparable target slots within one median inter-sample cycle fixed from the pilot. Unmatched slots remain in the record. Compare with the time-displacement runs to separate a predecessor-sensitive result from a change in elapsed phase.
- Choose the allocation of samples after the contrasts. If the slow episodes track elapsed phase across schedules, test a frozen interleaved sweep in which each of 15 passes contributes one timed sample per point. Each sample still gets its own flush. If they follow a predecessor at matched times, test the reviewed point order or a fixed inter-point gap. If both effects persist or the replay supplies insufficient timestamps, retain the provisional profile and record the unresolved comparison. Report all runs and apply the existing qualification rules to any subsequent profile candidate. Use five independent processes per proposed contrast and freeze the run order before timing. Keep the five original processes as the control.
Consecutive samples and points are kept in the evidence. An arbitrary point reorder without measured target times changes both variables. The design therefore uses timestamped contrasts before choosing a profile capture protocol.
Reproduction
CUDA_VISIBLE_DEVICES="" python -m microbench.estimate_mlp_slow_timing \
results/v03-mlp-long/gb10-83408c3/slow-position-analysis.json \
/home/Kei/scratch/vgpu8/runs/dram-bimodal-2.json \
/tmp/gb10-slow-timing-analysis.json
The flush-control input SHA-256 is
f40ac9a4d4f6ab85b29c9dd6629ef304da6105da132d86ede5912c9d411d8bd5.
The reconstruction SHA-256 is
83dbd93420ca3626ed9bc006972a0a6fb1a43994229f480173e416e9dd7993ee.