interplane.Get Omega
Read in your language

benchmarks-mv

Measurement harnesses and evidence bundles for AIEN on the NVIDIA DGX Spark GB10. Speed is reported against the machine's physical limit and my own previous run. Attachment of AienOS.

Brought by drakestapleton

branch main Branches Tags History

benchmarks-mv / prime-drag-race / CAMPAIGN-2026-10-05.md

143 lines · 10086 bytes Raw Blame History Source

Prime Drag Race optimization campaign, 2026-10-05

Note of 2026-10-15: the CUDA mirror entry was withdrawn from this record under AIEN's rule that we never compare ourselves with other people's systems: speed is measured against the machine's physical limit, and correctness against our own reference. Its rows stay in git history. The sealed run receipts under evidence/ still hold the withdrawn CUDA runs, because each receipt is named by its own digest and cannot be edited.

The record in RESULTS-2026-10-05.md is frozen and is not changed here. This file reports each optimization step of the native GB10 implementation against that frozen baseline, one variable per step, with correctness re-proved on the chip before every timed run.

Frozen baseline: receipt 0947ba62 (omega c7086da, runner d66cd2a), limit 1,000,000, 10 trials of at least 5 s each, medians in passes per second:

cpu-c-basegb10-native
2069.43971.48

Claim tags: OBSERVED (measured, receipt cited), DOCUMENTED (quoted source), INFERRED (reasoned, with confidence), UNKNOWN.

Result

On the DGX Spark under Linux, AIEN's native GPU prime sieve ran 20.3x faster end to end than the frozen native baseline, with correctness checked against our own reference on the chip.

Same-session run with the best native configuration (receipt 1a3eafe9, omega c505e7f, 128-CTA budget, 2000 us marker spin; CPU program unchanged from the frozen run):

cpu-c-basegb10-native
2068.3719701.34

OBSERVED: gb10-native is 20.3x the frozen 971.48 and 9.5x the CPU base (native sd 100.7). All verdicts in the receipt are PASS (5-pass audits, warmup, 10 trials per implementation).

Steps (each against the frozen baseline; A-B-A or A-B-C-A order inside one quiet window)

StepOne changeTimed medians (passes/s)EffectReceipts
C1CTA budget setting (PR_GB10_CTA_BUDGET), default 64 unchanged966.32 @64, 1605.09 @128, 965.69 @641.66xd929e3cc, 159dd3fd, 7dd501e3
C2aThree table loads issued together, one wait (ld_group)966.29 old, 1207.15 new, 967.97 old; 1939.78 new @1281.25x @648c8c2a9b, 6a6e6766, 7ad7eeec, c680704c
C3Prime table staged in shared memory1210.46 C2a, 1082.09 C3, 1209.58 C2a; 1914.68 C3 @1280.89x (slower)15310126, bdea5434, c1c17c02, fa0577a3
C4Marker wait spins up to 2000 us before the 50 us sleep-poll1083.28 off, 1145.92 on, 1079.75 off; 2034.94 on @1281.06x @6493436c5e, c3ba5638, 0de6873f, 29817dce
C2bMesa NAK-derived fixed-latency scheduling (by GPT-6 Astra)1146.63 base, 1169.77 sched1.02x @6457394a4e, df51af20
C5Sieve mark loop with a warp-uniform trip count9138.76 @64, 1145.70 base; 19704.31 @1287.81x @6425caf969, 4173eef3, 20e469ea
C7Staged table on or off (PR_GB10_TABLE auto vs global), one binary, after C59181.66 auto, 11364.76 global, 9122.05 auto, 11333.47 global @64; 19718.99 auto, 17012.24 global, 19665.75 auto @128shared 0.81x @64, 1.16x @128a9528fc7, e984949b, 8e4dd91e, f8bfeff1, 2c0b0912, c294fb88, b00ddaa8

All CTA counts above are budgets; a budget of 128 gives a grid of 123 at this limit. C2b and C5 legs all use the C4 spin. C7 used omega 9dee7b1 (C5 code plus the table switch, default unchanged). Full receipts: evidence/2026-10-05-campaign/c1 to c7.

Correctness before every timed run (OBSERVED, verify/ per step): runner verify sweep (638 limits, 3 audit passes, tiny sizes and partition edges) at budgets 64 and 128; big limits 999,999 to 2^24 + 1 at budgets 64 and 1024; from C3 on also 127,667,399 to 127,667,402, where the shared-memory table stops fitting. The mutant build (one correction dropped) was caught on the bitmap at budgets 64 and 1024 in every window from C2 on. C1's mutant control was invalid (rejected on its name, not its bitmap) and was redone in C2.

Causes

General FORGE/Omega wins vs sieve-only

General (shared Omega GPU code; coverage limited to what was tested):

Sieve-only: the C5 loop rewrite itself, the C3 staged kernel (default at limits up to 127,667,400; after C5 it is the measured winner at 128 CTAs and the loser at 64, see C7), and the CTA budget value for this grid.

Limits

Post-merge check (omega main 2041f24, 2026-10-06)

Omega #303, #307 and #310 (structured reconvergence, #308) were merged by the merging session after the CAND-3 freeze, rebased onto main with content identical to the measured branch heads. One sanity pass on the combined main 2041f24, under a quiet hold: build plus host checks (172/172 sieve host checks, 24/24 elementwise host checks), runner verify sweep at 128 CTAs, big limits at 1024 CTAs, mutant caught, the 31-check elementwise chip gate, and one short timed run (5 trials, same settings as the best-configuration run).

OBSERVED: median 19761.74 passes/s against the screen of 0.95 x 19701.34 = 18716 (receipt 3dda5591, executable SHA-256 3a2719ab..., all 8 verdicts PASS). No regression after integration. This is a screen only; the campaign result stays on the same-session receipt 1a3eafe9. Evidence: evidence/2026-10-05-campaign/postmerge-2041f24/.

Integration

Every measured revision is preserved as a tag so squash merges and branch deletion cannot lose it: omega prime-race/measured-<short> for c7086da (frozen), dea8b5c, 0dc96dc, 75c43c2, d6632db, 028f69c, 888a011, c505e7f (best configuration) and 9dee7b1 (C7); this repo prime-race/measured-runner-d66cd2a.

Merge order (the merging session does this): retarget omega #307 to main, merge #303, rebase #307 and merge it; the same for #15 over #14 here; aien-architecture #140 in any order. After #307 is on omega main, the combined code is rebuilt, host-tested, verify-swept and given one short timed run at the recorded settings, compared against receipt 1a3eafe9. The short run only screens for an obvious regression; the campaign result rests on the repeated same-session receipt 1a3eafe9. The post-merge check writes a new receipt that records the merge revision and the SHA-256 of each executable.

Automated checks at hand-off: omega #307 at 9dee7b1 has 29 passed and 8 skipped. Six skipped jobs (turing, brownian, polyglot, algebra, path, argus) run only when a change touches their own paths, which this one does not; test-numeric-transc-full is too long for a hosted runner (every 32-bit input, twice); test-m17 needs the GB10 chip. This repository (benchmarks) has no automated checks configured.