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 / AUDIT_SCOPE.md

132 lines · 6983 bytes Raw Blame History Source

Audit scope

Written for an outside, independent security audit. Revision described: 0f369dbc852b2e9364ed55c6e19a7e285cd424c1 on main, 2026-10-26. Everything below is taken from the repository's own files at that revision; items marked NOT_RUN were not executed while writing this document.

What this repository is

Performance measurements from one NVIDIA DGX Spark (GB10, aarch64) and the Rust tools that take and check them. Two crates, both Apache-2.0:

data/ and artifacts/gb10_canonical_1789907893_4d762/ hold withdrawn historical datasets kept as recorded.

What to review, in priority order

  1. src/evidence.rs and src/bin/bench_verify_records.rs: the offline checker for aien-bench-record/1 records and artifact bundles. tests/evidence_records.rs with tests/fixtures/records/bad/ (malformed records, each asserted by its own test with the exact defect lines it must produce) and good/ exercises it.
  2. prime-drag-race/src/exec.rs, runner.rs, validate.rs, receipt.rs: the runner executes the implementation binary it is given (Command::new(imp) with --limit and --audit-passes), reads its report.json, and validates results against reference.rs before any speed number (CONTRACT.md, "Correctness gates").
  3. src/harness/llm_stream.rs and src/harness/sse.rs: streaming client; parses server-sent events from the endpoint named by --llm-host and --llm-port. Tokens are counted only from the server's usage.completion_tokens.
  4. src/harness/standalone.rs, http_bench.rs: the harness's own HTTP server on 127.0.0.1:0.
  5. src/harness/memory.rs, smaps.rs, system.rs: reads /proc and runs system commands (uname -r, rustc --version).
  6. src/perf_index.rs, src/svg_chart.rs, sync-docs: writers that rewrite tracked files. README: measure overwrites data/benchmarks_latest.json and assets/*.svg by default, and sync-docs with no --target writes ../README.md and ../docs/STATE_OF_AIEN.md outside this repository.

Trust boundaries

Threat model summary

Build from source at a pin

README: the Spark used rustc 1.98.1 (48a229cea 2026-09-01). Cargo.lock committed for both crates (262 and 69 packages).

cd prime-drag-race && cargo build && cargo test && cargo run -- --help

The root crate takes five crates (aien-platform, aien-platform-linux, aien-kv-cache, aien-scheduler, aien-inference-abi) as git dependencies pinned to commit 2eb2bdd82fa5c97f7164b66c812b2ecd14ae9259 of the public repository https://interplane.io/drakestapleton/aien-sovereign-core-mv.git; Cargo.lock records that commit. No sibling checkout is needed: an outside auditor can build both the main harness and prime-drag-race/ from public sources. That commit is held in the store by the annotated tag benchmarks-runtime-pin-2eb2bdd8, so it stays reachable if the branches that carry it move.

Run every test

NOT_RUN while writing this document. From README and tests/gates/run.sh:

(cd prime-drag-race && cargo test)
cargo test --verbose                                   # fetches the pinned runtime crates first
cargo run --release -- verify
cargo run --release --bin bench_verify_records -- --tracked records artifacts
cargo run --release --bin bench_index -- --check
sh scripts/check-no-python.sh
tests/gates/run.sh fmt &&
  tests/gates/run.sh check &&
  tests/gates/run.sh clippy &&
  tests/gates/run.sh test &&
  tests/gates/run.sh verify &&
  tests/gates/run.sh generate &&
  tests/gates/run.sh verify-records &&
  tests/gates/run.sh perf-index &&
  tests/gates/run.sh zero-disk-secrets

README reports 33 tests passing with 1 ignored for prime-drag-race on 2026-10-19. Count the #[test] attributes at any revision with grep -rc '#\[test\]' src tests prime-drag-race.

Known limitations and NOT_RUN

Dependencies and provenance

Evidence