spill-latency: one redo of the allocation design, with the reload points sized to twice the capture floor (registration)
Status: adopted on 2026-11-27 (the result). As registered: registered before any implementation or run, and final. This is the only redo of the withdrawn allocation design and the withdrawn serial 1 KiB exception. Both stay as written and withdrawn. Nothing below changes after the redo's capture is taken, and the outcome is final whether the check passes or fails.
Why
The withdrawn design's adoption check had no valid round (the result). All seven rounds were void because the serial 1 KiB point at 128 reloads had launches under the 1.0 ms floor. The pilot sizes a point in one allocation until its fastest of three launches reaches 1.25 ms. For this point its three launches at 128 steps took 1.93 to 1.96 ms, all in the slow state, so the point was frozen at 128 steps. In the capture's allocations its fast state took down to 0.74 ms.
In issue #21 the author of the spill decision chose one redo: every reload point sized to twice the floor, everything else as withdrawn, registered before the run with what was seen in the void rounds, and final whether it passes or fails.
The one change
Every spill-latency point with reloads (48 points: all six frames, both dependency modes, 8, 32, 68 and 128 reloads) is sized by the pilot to twice the capture floor. The pilot grows such a point's steps until the fastest of its three launches reaches 2.0 ms, where the withdrawn design used 1.25 ms. The freeze rejects such a point if its pilot's fastest launch is under 2.0 ms. There is no exception and no other factor.
The points without reloads and the launch-cost points keep the 1.25 ms pilot target: they are read once, in one allocation, as in the withdrawn design.
Is twice enough for the serial 1 KiB points?
This section is arithmetic on the void rounds, done before this registration. It does not change the factor.
- The pilot stops only when its fastest of three launches is at least 2.0 ms. If any of the three is in the fast state, the fast state itself is then at least 2.0 ms, and no launch of the point can fall under 1.0 ms unless it is twice as fast as the fast state.
- The danger is a final pilot attempt with all three launches in the slow state. The fast state is then about the slow launch over the ratio of the two states, and that ratio is about 2.5 (1.93 ms slow over about 0.74 ms fast in the void rounds). A frozen length whose slow launches take just over 2.0 ms then puts fast launches near 0.8 ms, and the rounds are void again. Twice is not enough by construction when the pilot sees only the slow state.
- How often that happens depends on the share of slow launches in the pilot's allocation, which ranged widely between allocations in the void rounds. For the point at 128 reloads, its old frozen length (128 steps) gives about 1.93 ms in the slow state, under 2.0 ms. So an all-slow first attempt makes the pilot scale to about 136 steps and try again, and a void capture needs two all-slow attempts in a row.
- Estimate: the pilot and the capture were replayed by resampling the void rounds' launches, per step, within their allocations. Each replay drew the pilot's allocation and the capture's 15 allocations per round from the 105 recorded ones, and counted a check as failed when more than 2 of 7 rounds had a launch under 1.0 ms. With a 2.0 ms target, the serial 1 KiB points fail in about 2% (128 reloads) and 0.3% to 0.5% (8, 32, 68 reloads) of replays; no other point is above 0.1%. All 48 points clear the floor in about 97% of replays. The same replay with the withdrawn 1.25 ms target clears it in about 40%. Separate runs of the replay, with the same seed and different numbers of replays per point, agreed within these roundings.
- The estimate assumes the launches of an allocation are independent and that the pilot's allocation behaves like the capture's. It is an estimate, not a guarantee: one all-slow pilot of a serial 1 KiB point can still void every round.
Everything else as withdrawn
These are restated here, not changed:
- Allocations. N = 15 allocations per process, each in a new context (
cudaDeviceReset) at the default stack limit. 15 samples and 3 warm-ups per allocation. The first allocation is the process's first context. - Estimate. Each point's estimate is the mean of its 15 per-allocation medians.
- Samples by rank. Sample j is the mean over the allocations of their j-th smallest sample. Every allocation's launches are kept in
allocation_launch_ns, in launch order. - Span and uncertainty.
allocation_spanis stored per point, and the uncertainty is widened exactly as in the withdrawn design's Design section. The per-step time gets at least half the pooled span of the per-allocation medians over its value;extra_ns_vs_zerogets the same absolute half-span over its value, andns_per_reload(the extra over the reload count) the same relative uncertainty as the extra. The larger uncertainty is kept, capped at 1. - The 1.0 ms rule. It applies to every real launch: 225 per point and round.
- Points without reloads. They are read once, in the first allocation.
- The exception. The four serial-chain points at 1 KiB frames with reloads leave rules 1 and 3 on GB10, with the same scope and flag as the withdrawn exception. Rule 2 judges every list.
- The check. GB10,
spill-latencyalone withmicrobench/long_capture.py: pilot and 5 rounds, the usual gates, and at most 2 extra rounds. The redo is adopted when 5 valid rounds pass rules 1 and 2 and rule 3 passes across them. Otherwise both are withdrawn for good. - Reported either way. Every point's per-allocation spans, the rule counts per round, and which points fail.
- Code. The implementation is the withdrawn one (archived as
archive/s8-v03-spill-allocations,31d0347) plus the pilot target above and its freeze check.
One count is stated here as the code computes it, without changing a rule. Rule 1 judges 68 lists: 60 reload points without the four excepted ones, plus the 12 launch-cost lists, which are timed lists too. That allows 3 failures. The withdrawn design's Limits counted 56 lists and 2 failures, leaving out the launch-cost lists. Rule 2 judges 72 lists and allows 10; rule 3 judges 68 points and allows 3.
What we have seen in the void rounds
These quantities were read from the void rounds of the withdrawn check, before this registration. None of them was used to change a criterion, a threshold, N, the exception's scope or the factor.
- Rules on the void rounds (computed after the fact with the capture's own functions):
- Rule 1 failed 1 or 2 lists per round (the batched 1 KiB points at 68 and 128 reloads), against 3 allowed.
- Rule 2 failed 4 lists per round (the four serial 1 KiB points), against 10 allowed.
- Rule 3 counted 3 of 68 over rounds 1 to 5, at the limit: the serial 4 KiB point at 68 reloads (span 0.1004) and the two 1 KiB launch-cost points (0.1008 each). Over all seven rounds it counted 9 of 68.
- 4 KiB points with reloads. Across rounds they spread 8.4% to 10.0% over rounds 1 to 5 and 8.4% to 12.4% over all seven. In the first capture they spread 24% to 31%.
- 2 KiB points. They also move with the allocation: per-allocation medians span 17% to 31% of their median over 105 allocations.
- Serial 1 KiB points with reloads. They switch between their two states launch by launch in all 420 allocations; within each allocation the largest of the 15 launches is at least 1.81 times the smallest. The share of slow launches changes with the allocation.
Sizing to 2.0 ms makes the launches longer. It is not expected to change these spreads, which are ratios. Rule 3, at its limit over the first five void rounds, may fail the redo on its own.
Final
The redo is run once, after its implementation is approved and its run is released. Pass or fail, it is the end of this design for spill-latency on GB10. If it fails, the mode stays as it is, and no further redo, factor, N or exception is proposed.