Prime Drag Race results, 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 and its entry in results/2026-10-05.summary.json were removed and 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.
Environment: Linux-hosted GB10 (kernel 7.0.0-1019-nvidia, NVIDIA GB10, driver 580.173.02). This is NOT AIENOS. Nothing here measures the AIENOS kernel.
Final run receipt: evidence/2026-10-05/0947ba6292bce06d37f8e34d1aa691963fa83324f34f7b091397e933be37f9cd.json (verdict PASS, "every audit and trial validated PASS"). Task: Sieve of Eratosthenes to 1,000,000 (78,498 primes). The earlier receipt 832d0cc8... is the first run, superseded (see "First run, superseded").
What ran
| Name | Label | Environment | What it is |
|---|---|---|---|
| cpu-c-base | aien-cpu-c-base | linux-host-cpu | Conventional C, one thread, base algorithm, 1 bit per number, faithful to the upstream rules |
| gb10-native | aien-gb10-native | linux-hosted-gb10-native | AIEN native GB10 GPU path (omega GPU engine, no CUDA), C host plus native kernel, algorithm "other", not faithful |
Correctness evidence
- Runner verify for the final run, 638 limits x 3 audit passes: PASS for both. Outputs:
evidence/2026-10-05/verify-final/{cpu-c-base,gb10-native}.txt(omega c7086da, runner d66cd2a). Reference pi(1,000,000) = 78498. The same sweep also passed for the first run (evidence/2026-10-05/{cpu-c-base,gb10-native}.txt). - The run receipt itself did 5 audit passes at limit 1,000,000 against a deterministic Miller-Rabin reference with a full bitmap compare, and every trial validated.
- GB10 chip test history, kept on purpose:
- FAIL
69db1465...(omega 43ed7e3): "limit 9: mismatch", the bitmap differed from the independent oracle. The mutant check also did not catch the planted fault (mutant_caught false). Log blob eb721014... - Root cause: a host-side integer square root overflowed. Fixed in omega e95c7b5.
- PASS
9f5f1eba...(omega e95c7b5): 586 audit runs, 1172 passes checked against the oracle byte for byte, timed smoke pass, mutant caught. Log blob 4a44ec03...
- FAIL
- Blobs (bitmaps and logs) referenced by the receipts are in
evidence/2026-10-05/blobs/(each under 1 MB; 1.2 MB total with receipts). Each file hashes to its name.
Timed results (final run, 0947ba62)
Protocol (from the receipt): n = 10 trials per implementation, at least 5 s per trial, 1 warm-up declared and discarded, round-robin interleaved, one at a time. Unit: passes per second (higher is better). Generated from the receipt with jq, not typed by hand.
| Implementation | Median | Min | Max | Mean | SD | CV | n |
|---|---|---|---|---|---|---|---|
| cpu-c-base | 2069.43 | 2066.77 | 2071.49 | 2069.04 | 1.81 | 0.09% | 10 |
| gb10-native | 971.48 | 962.37 | 974.98 | 969.47 | 4.45 | 0.46% | 10 |
Upstream-format lines (from the receipt, label;passes;seconds;threads;flags, first trial of each):
aien-cpu-c-base;10334;5.000062;1;algorithm=base,faithful=yes,bits=1
aien-gb10-native;4868;5.000083;8192;algorithm=other,faithful=no,bits=1
All upstream lines are in the receipt under upstream_lines.
Conditions (final run)
- CPU governor: performance. Load average at start: 1.27 1.37 1.27; at end: 0.97 1.21 1.23.
- The shared quiet flag was held during the run (receipt: "Prime_Drag_Race_final_window__retry___verify___timed_trials", 18:59:55Z to an expected 19:19:55Z).
- Operator note (not in the receipt): an idle third-party image server was resident on the GPU, and another session was making network-bound calls during the window. The machine was not otherwise isolated.
Exact sources and binaries (from the receipt)
| Item | Source commit | Binary sha256 |
|---|---|---|
| cpu-c-base | aien-spark/omega@c7086da992ff37e4cc955cbdc9c7f042e49d6f27 | b71725b52afa241745164ddbf3688f761e1b9c0132b3b91744664390108d557b |
| gb10-native | aien-spark/omega@c7086da992ff37e4cc955cbdc9c7f042e49d6f27 (physics@6d7cf0d) | 54350b5ebcf244aa100b75c1efdefdb0423582107c670e3d593d98d32627bb89 |
| runner | aien-spark/benchmarks@d66cd2a0d7556de2d4afff1b6c1ec368cec54693 | c7a4a65ae00d9fcf43d17cbeb84b1eec85308a345ef5870cdfa1ccc459c25524 |
In this run each binary's own build report matches the declared source commit.
Reproduction
From the receipt's reproduction.runner_argv field, with the withdrawn CUDA mirror arguments removed:
/home/drakestapleton/workspace/primes-race/benchmarks/prime-drag-race/target/release/prime_race run --impl cpu-c-base=/home/drakestapleton/workspace/primes-race/omega-gpu/bench/prime_race/build/cpu_base --impl gb10-native=/home/drakestapleton/workspace/primes-race/omega-gpu/bench/prime_race/build/gb10_native --declare cpu-c-base=algorithm=base,faithful=yes,bits=1,threads=1 --declare gb10-native=algorithm=other,faithful=no,bits=1 --source cpu-c-base=aien-spark/omega@c7086da992ff37e4cc955cbdc9c7f042e49d6f27 --source gb10-native=aien-spark/omega@c7086da992ff37e4cc955cbdc9c7f042e49d6f27 --build cpu-c-base=make prime-race-cpu (cc -O3 -mcpu=native) --build gb10-native=make PHYSICS_DIR=<physics@6d7cf0d> prime-race-gb10 (cc -O3 -mcpu=native; libomega_gpu omega CFLAGS -O2) --trials 10 --warmup 1 --limit 1000000 --min-seconds 5 --audit-passes 5 --evidence-dir /home/drakestapleton/workspace/evidence/prime-race/runs --runner-commit aien-spark/benchmarks@d66cd2a0d7556de2d4afff1b6c1ec368cec54693 --quiet-flag-file /home/drakestapleton/workspace/.spark-quiet
Summary file generation (jq program, run against the receipt):
jq --arg digest 0947ba6292bce06d37f8e34d1aa691963fa83324f34f7b091397e933be37f9cd \
--argjson s "$(jq .summary RECEIPT)" --arg v "$(jq -r .verdict RECEIPT)" \
'{schema:"aien-prime-race/summary/v1",contract_version:.contract_version,receipt_sha256:$digest,created_utc:.created_utc,unit:"passes_per_second",limit:.correctness.limit,environment_note:"Linux-hosted GB10, not AIENOS",implementations:[.implementation|to_entries[]|.key as $k|{name:$k,labels:.value.labels,environment:.value.environment,median:$s[$k].median,min:$s[$k].min,max:$s[$k].max,mean:$s[$k].mean,sd:$s[$k].stddev,cv:$s[$k].cv,n:$s[$k].n,verdict:$v}]}' RECEIPT > results/2026-10-05.summary.json
First run, superseded (832d0cc8)
Receipt 832d0cc8b24f95e14c13fdf37cfb4e5fed01a2ca14c369f6640bb9fcaefd13f2.json, sources omega 2f1de85, runner 499ad0b. Kept as the record; the final run above replaces it.
| Implementation | Median | Min | Max | Mean | SD | CV | n |
|---|---|---|---|---|---|---|---|
| cpu-c-base | 2069.65 | 2064.33 | 2104.71 | 2072.39 | 11.53 | 0.56% | 10 |
| gb10-native | 970.8 | 962.96 | 976.09 | 970.84 | 4.32 | 0.44% | 10 |
Nonconforming notes
NONCONFORMING for upstream PlummersSoftwareLLC/Primes drag-race (pinned a2899c96752b65ac1b08a0e1418ab7e708040ed0): AGPL-3.0-or-later license vs required BSD-3-Clause, language eligibility. Experimental.
- License: this suite is AGPL-3.0-or-later; the upstream drag race requires BSD-3-Clause.
- Language eligibility: a C host plus a native GB10 kernel is not an Omega-language entry.
- Only cpu-c-base is declared faithful to the upstream algorithm rules.
What this does and does not show
- It shows a correct, reproducible measurement of one small workload on a Linux-hosted GB10, with receipts anyone can re-hash.
- A prime sieve result is not overall AIEN performance. It says nothing about AIENOS, models, or other workloads.
- On this workload the native GB10 path was slower than our single-thread CPU baseline (median ratio 2.13x).
- Run-to-run spread is small (CV under 1% for both in the final run: see table), so the gaps are not noise.
Where the native time goes (diagnostic)
DIAGNOSTIC, not a benchmark result. Source: omega bench/prime_race/tests/gb10_launch_cost.c (commit dc7a3d7). Logs: ~/workspace/investigations/2026-10-05-prime-sieve-chip/runs/e4.log and e5.log (local investigation folder, not in this repo). 200 launches each, time from submit to marker2:
| Case | Median |
|---|---|
| empty kernel, 64 CTAs x 128 threads | 104.0 us (min 56.8) |
| empty kernel, 1 CTA x 128 threads | 103.1 us |
| sieve limit 1e6, 64 CTAs | 1028 us |
| sieve limit 1e6, 32 CTAs | 1833 us |
| sieve limit 1e6, 16 CTAs | 3460 us |
| sieve limit 1e6, 1 CTA | 50086 us |
| sieve limit 1000 | 103.8 us |
- OBSERVED: kernel time minus the ~104 us launch floor is 3356, 1729 and 924 us at 16, 32 and 64 CTAs. It about halves each time the CTA count doubles. INFERRED (medium): the kernel has too little parallel work to hide memory and instruction latency. This does not by itself prove latency is the only cause; each candidate fix below needs its own measurement.
- INFERRED, improvement 1: occupancy. The 64-CTA launch cap (omega open investigation I42) and only 4 warps per CTA limit how much latency can be hidden.
- INFERRED, improvement 2: the emitter fully serializes instructions and waits on every uncached global load (167 table loads per word). Caching or staging the table and overlapping loads is general code generation work.
- INFERRED, improvement 3: a fixed cost of about 104 us per launch (shader-cache invalidate, L2 flush, two markers; the marker wait polls with usleep(50)). That is about 10% of one 1.03 ms pass: removing it entirely would raise throughput by at most about 11%, so it is not the main cost.