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 / evidence / 2026-10-05-campaign / astra / brief.md

63 lines · 6016 bytes Raw Blame History Source

Brief for GPT-6 Astra: why is our native GB10 prime-sieve kernel slow, and why did shared memory make it slower?

You are a precision investigator. ANALYSIS + HOST-ONLY experiments. Report back; the orchestrator runs any chip test.

Hard rules

The code

Measurements on the chip (all OBSERVED, medians, 10 x 5 s each, correctness verified every time)

Frozen baseline: 971.48 passes/s (64 CTAs). CUDA yardstick 19591.67 passes/s, kernel-only 35.8 us. CPU 2069.

Questions (answer in this order)

  1. What bounds the prime loop? Estimate cycles per prime-loop iteration and per mark-loop iteration from the actual control words (stall counts, waits, yields) in the nvdisasm listing of the default kernel (sha 22a27c6c) vs the latency tables in NAK. Compare the predicted device time at 64 and 123 CTAs with the measured 821 / ~519 us. Leading hypothesis (INFERRED by orchestrator, unverified): fixed stall counts (6 for every ALU op, 13 for every ISETP) with ~1 warp per scheduler make the loop issue-latency bound. Confirm or refute with numbers.
  2. Why is C3 (staged, sha 418f1295) slower at 64 CTAs by ~97 us/launch? Candidates: staging loop cost, BAR.SYNC, LDS latency/control words, shared memory config/carveout in the QMD (word 36; see src/omega_blackwell_qmd.c and ~/workspace/.ref/mesa/src/nouveau/headers/nvidia/classes/clcec0qmd.h), something else.
  3. Propose the smallest scheduling change that is safe: correct per-op stall counts from NAK's latency table instead of the blanket 6/13, letting independent instructions overlap, not waiting on scoreboards that aren't needed, dual issue, etc. It must keep the host test's scoreboard hazard checker at 0 hazards (and extend the checker if the change introduces a new hazard class, e.g. fixed-latency RAW with too-short stall). Implement it in your worktree as a GENERAL emitter change if possible (benefits every Omega elementwise kernel), host-test it (all checks PASS), save git diff to /home/drakestapleton/.claude/jobs/ab7b59e1/tmp/astra-out/astra.patch.
  4. For each claim, give the one-variable chip experiment that would confirm it (what to run, what number would confirm, what would refute). Keep CTA count fixed at 64 for the scheduling A/B.

Deliverable

Write /home/drakestapleton/.claude/jobs/ab7b59e1/tmp/astra-out/REPORT.md: findings with tags, cycle model table, the patch summary + host test output summary, proposed chip experiments. Keep it under ~250 lines. Plain, precise.