Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/benchmarks-mv/blob/main/native/queueflow/RESULTS.md # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `benchmarks-mv / native / queueflow / RESULTS.md` 138 lines · 10462 bytes Raw Blame History Rendered 1 # DRA-190 results: the orbital-flow analogy, bounded 2 3 Preregistration: `PREREG.md` sha256 ``0413ef07c418d817fa0babc00f1a72cc461c3b3da3c7d9a3dcc9172200eb342c``, 4 frozen on hive branch `hive/t_`3fc453be`-queue-flow` @``df77ac9a`` and posted on the hive BOARD at 5 2026-11-07T03:58:21Z (`~/handoffs/hive-breathe/astra.log` line 1272), before any held-out metric was 6 computed. The freeze is ``df77ac9a`` (the hash on the BOARD and in the hive branch); its tree is the 7 tree of the first commit on benchmarks-mv that adds `native/queueflow/`. Held-out evaluation: 2026-11-07T03:58:52Z (`heldout.sh`, spark-b87b host CPU, cores 8 10-11 under the queen pool lock). Compiler for the held-out run: omc sha256 ``3ad9f10f`...3194` 9 (omega-mv ``f4df8239``), recorded in `evidence/heldout/IDENTITY.txt`, which predates the later edits 10 to the source headers. The gate now runs on the build named in `omc.pin` and reproduces every output 11 byte for byte. Every number below is either an integer printed by `flow.om` / `kflow.om` or a 12 Wolfram evaluation kept in `evidence/wolfram/`. 13 14 Order of the windows trace (T1) against the freeze: attested only by the author. The windows export 15 skipped window `20261107T035518Z-00bbaa` as open; its `held` mtime is 03:55:18Z and its `close.json` 16 reads 04:07:05Z, so the export ran within [03:55:18Z, 04:07:05Z), an interval that contains the 17 03:58:21Z freeze post. No independent timestamp of the T1 held-out run was found; the 03:58:52Z 18 evaluation time above is the author's own record. The kanban trace (T2) was exported at 19 04:02:48Z (epoch `1794024168`), after the freeze post. 20 21 ## Verdict 22 23 **Frozen rule: NOT EXCLUDED (optimistic bound). Author's call: stop here (deviation 4).** By the 24 frozen rules the spark-window result is NOT EXCLUDED. That holds only as an optimistic replay bound. 25 The analogy policy C shows a small modeled improvement over the plain baseline B (3807 s in total, 26 12.24 s per window, 2.50 % of B's own gain), which these traces do not separate from noise and which 27 no live measurement has tested. Nearly all of the modeled gain comes from the plain baseline. On the 28 kanban board there is no retry circulation to remove, so the verdict there is STOP. Nothing here 29 links probability current to LLM, model or hive performance. The physics resemblance gave two 30 bookkeeping facts: continuity (proved for the model in Lean; measured to hold on these traces) and the split between transport and 31 circulation. Both are standard queueing/flow-network facts. 32 33 | Check (PREREG section 7) | Value (Wolfram) | Threshold | Result | 34 |---|---|---|---| 35 | V1 T1 validity: anomalies, replayerr, viol, overlap; flow.om == oracle.wl | 0, 0, 0, 0 in every arm; byte-identical | all 0, identical | PASS | 36 | H1 keep = acc_C / acc_A | 311/312 = 0.9968 | >= 0.99 | PASS | 37 | H2 R2 = (sumw_B - sumw_C) / sumw_A | 423/250 = 1.692 | >= 0.10 | PASS (upper bound, see below) | 38 | H3 harm = worse60(C vs B) / K | 3/311 = 0.0096 | <= 0.05 | PASS | 39 | T1 decision | | | NOT EXCLUDED (optimistic bound only) | 40 | V2 T2 validity: sys mismatch, run mismatch, conc max, overcap_s | 0, 0, 8, 0 | 0, 0, <= 12, 0 | PASS | 41 | H5 retry fraction r = extra / runs | 0/46 = 0; R = 1 arm drops 0 runs | r <= 0.01 and dropped = 0 | holds: STOP (no circulation to remove) | 42 | Control (DRA-185 board): extra, bad, mismatches | 7, 6, 0, 0 (r = 7/50 = 0.14) | extra > 0, bad > 0, 0, 0 | PASS (kflow sees retries) | 43 44 ## T1: spark-window GPU queue, held-out 2026-11-01T00:17:46Z .. 2026-11-07T03:55:18Z 45 46 319 windows (316 held), K = 311 windows accepted in all five arms; the slot is free at the end of the 47 last dev window (2026-10-31T12:14:28Z) before the first held-out row. 48 49 - Magnitude: under the optimistic in-line arrival model, the plain baseline B (each service capped at 50 its own lease) starts K windows 152428/311 = 490.1 s earlier on average than the current dispatch A. 51 Most of that figure comes from the arrival model (a window is assumed to arrive at its observed 52 request time, and time spent in line is not logged), not from a measured wait. 53 The analogy policy C (B plus bounded retry plus eligible-first backpressure) adds 3807/311 = 12.24 s 54 per window, which is 3807/152428 = 2.50 % of the baseline's own gain. The bounded-retry part adds 55 nothing on K (Ch and C agree on K). It parks one window, and that window was accepted (lostacc 1): 56 what it removed was transport (a window that would have been served), not circulation. 57 - Why R2 passes: the denominator is the observed wait, sumw_A = 2250 s, a mean of 2250/311 = 7.23 s. 58 spark-window writes `requested` only when a `--wait` ticket reaches the head of the line, and a 59 refused open leaves no record at all (PREREG 3.1). Time spent in line is therefore invisible, and 60 the observed waits are a lower bound. R2 is an upper bound by construction. With waits this 61 close to zero, the frozen ratio is not informative. The defect was already visible in the dev data 62 before the freeze: dev R2 = 12979/4463 = 2.908 with sumw_Ch = -26440 (a negative wait sum, 63 `evidence/wolfram/dev-ratios.txt`), and the rule was frozen anyway. It is recorded here without 64 changing the frozen verdict. 65 - Circulation: in A, the share of slot time held without accepted service is f_circ = 66 26619/94399 = 0.282 (dev: 0.789). Most of it is lease overrun: capping at the lease removes 67 185756 - 147626 = 38130 s of service. Slot utilization is rho_A = 0.3495, rho_B = 0.2778 and 68 rho_C = 0.2775. 69 - Harm: C starts 3 of the 311 K windows more than 60 s later than B and 6 more than 60 s earlier. B 70 never starts a window later than A (worse60(B vs A) = 0). That is what Lean theorem L1 predicts for 71 held windows; never-held windows are outside the theorem, and section "Proofs" bounds what they 72 can add. 73 - On dev the same frozen rule gave STOP: harm 4/63 = 0.0635 > 0.05 (PREREG section 8). 74 75 ## T2: aien-hive kanban board, exported 2026-11-07T04:02:48Z 76 77 - Continuity holds exactly: 71 created, 36 closed, 35 open in both the events and the task table. 78 46 runs started, 38 ended, 8 running in both. Peak concurrency is 8 against the cap of 12, and no 79 second was spent above the cap. An independent awk recount (`kcheck.sh`) agrees on every shared 80 field. 81 - Retry/cycle traffic: 0 extra runs. No run crashed, timed out, failed to spawn, gave up or was 82 reclaimed. Bounded retry has nothing to remove, as the analogy predicts for zero circulation. 83 - Accepted completions: 36 tasks done, all 36 with a completed run. Created-to-done latency: mean 84 146261/18 = 8125.6 s, nearest-rank p95 15495 s (1033/240 = 4.30 h). Created-to-first-start 85 (includes dependency waits): mean 291603/46 = 6339.2 s. 86 - Utilization: 128013 run-seconds over 12 slots x 16769 s gives U = 42671/67076 = 0.636. 87 - Where kanban circulation would hide: 43 of the 46 runs name the 2-core pool-10-11 lock. They hold 88 37046/42671 = 86.8 % of all run-seconds. The frozen pool metric is E_p = (busy - union)/busy = 89 (111138 - 16162)/111138 = 47488/55569 = 0.855 (kflow `KQ pool p=1 runs=43 busy=111138 union=16162 90 maxc=7`). E_p is not the share of slot time shared with another run (deviation 5): the 91 independent review's awk recount of the same trace (r5 verdict) finds 5, 6 or 7 pool-10-11 runs at 92 every instant of the 16162 s union (142 s, 1712 s and 14308 s; Wolfram: 142·5 + 1712·6 + 14308·7 = 93 111138), so 111138/111138 = 100 % of pool-10-11 slot time overlapped at least four other runs on a 94 2-core lock. Any pool-lock waiting is inside those runs and is not logged, so a backpressure arm on 95 pools cannot be identified from these traces. It is NOT_RUN. Neither figure is a measured wait. 96 97 ## Proofs (evidence/lean.txt) 98 99 - L1 `starts_capped_le`: in the FCFS replay, capping services never makes any start later. 100 PROVED, axioms [propext, Quot.sound]. Model: held windows of `flow.om` `fcfs` / `frontt`, 101 hand-copied. 102 - L2 `conservation`: arrivals minus departures up to t equals the number in the system, and so is 103 never negative, whenever no departure precedes its arrival. PROVED, axioms [propext, Quot.sound]. 104 - Negative controls, PROVED by `decide`: a departure before its arrival gives -1; lengthening a 105 service delays the next start; the limit of the model is that a never-held window can make an 106 earlier slot time later by at most its poll gap (<= 3 s), so L1 is stated for held windows only. 107 108 ## Deviations from PREREG 109 110 1. `evidence/wolfram/fix-dev.call.wl` is what `mkcall.sh` writes, with 0 in the four columns the 111 oracle does not read (5, 6, 10, 11). The evaluated text passed the full 11-column rows for f1 and 112 dev. The oracle reads only columns 1-4 and 7-9, so the result is the same; both calls are 113 pre-freeze. 114 2. The held-out export has 319 windows; the survey had 318. One more window closed before 115 evaluation, and one window that was still open (no close.json) was skipped. 116 3. The T2 export includes this card's own running task. It is one of the 8 running. 117 4. The verdict. The frozen T1 rule gives NOT EXCLUDED; the author stops anyway. Reason: R2 is an 118 upper bound with a normalization already known to be uninformative (see T1), and C's own 119 increment over B is 2.50 % of B's gain with no noise estimate. The stop is the author's judgment, 120 not the outcome of the frozen rule. 121 5. PREREG §7 glosses busy - union as "slot time in which a run shared its pool with another run". That 122 gloss is wrong: with c(t) runs active, busy - union = ∫(c-1)[c≥1] dt, while shared slot time is 123 ∫c[c≥2] dt (two runs on [0,10]: 10 against 20). E_p is reported under its formula; PREREG stays 124 frozen. 125 6. `heldout.sh` was first committed in `306f168`, 25 minutes after the freeze ``df77ac9a``, and later 126 pointed at `omc.pin` (`7dd0e29`), so at this head it refuses the `3ad9f10f` build that 127 `evidence/heldout/IDENTITY.txt` records for the actual run. The procedure it runs is fixed by 128 PREREG §2-4 and the frozen `export-windows.sh` and `flow.om`. 129 130 ## Labels 131 132 IMPLEMENTED: `native/queueflow/` on benchmarks-mv. EXERCISED: spark-b87b host CPU (cores 10-11), 133 read-only traces. TESTED: `gate.sh`; the run for the landed head, with its head and omc sha256, is in that head's landing receipt. Not 134 DEPLOYED. 135 136 NOT_RUN: a live A/B of any dispatch policy; pool-lock wait measurement inside kanban runs (not 137 logged); spark-window ticket join times and refused opens (not logged); post-DRA-97 traces (the 138 crumb repair has not landed); any GPU, model or LLM measurement; the repository's cargo gates.