From b7ff47f044f26651447417aec685b89fcd732563 Mon Sep 17 00:00:00 2001 From: Pavlo Ratushnyi Date: Sun, 8 Nov 2026 08:32:59 +0100 Subject: [PATCH] Speed program lever 2: closed with no change (CPU leg equals vanilla per expert; the excess is the miss count, lever 3); lever 6 and lever 7 logit gate queued Co-Authored-By: Claude Sonnet 5.5 --- docs/experiments/codex-compare-speed-gap.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/experiments/codex-compare-speed-gap.md b/docs/experiments/codex-compare-speed-gap.md index 4d882784..7c559dcb 100644 --- a/docs/experiments/codex-compare-speed-gap.md +++ b/docs/experiments/codex-compare-speed-gap.md @@ -184,3 +184,9 @@ Release package `17e372944279`, `LELEKA_ROUTE_TAIL_SKIP=7`, `LELEKA_ROUTE_TAIL_S * **CRM 56/56 is not met in any of the three runs.** The failing check is `frontend src: a board with one column per stage (all five stages and a loop)` in r1, r2 and r3 (`no file with all five stages and a loop`), plus one backend e2e test in r3 (`deals.e2e-spec.ts`, passed=41 failed=1). All nine baseline sessions (LEL, VAN, VANL, three each) passed 56/56. Three of three against zero of nine is not noise at this size; the lossy skip changes what the model writes on this task, and the gate in AGENTS.md ("do not enable lossy optimizations by default until their separate quality gate passes") is not passed. Verdict: the route tail skip stays **experimental and off by default**; no default or profile was changed for it. The logit gate (`q_tail_gate`, teacher-forced `night5-long-256k`, `rt-c10`) is queued as `spd-l7id` for the record; it cannot overturn the CRM failure above. + +### Lever 2 (waitCPU / PCIe), decision after re-reading `cpu-service2-5090.md` (2026-11-08, no new GPU run) + +The CPU leg already costs what vanilla's costs per expert: the server bench of the dispatch gives 41-51 us per CPU expert (15 workers, 54-57 GB/s of expert bytes, near this host's DRAM bandwidth) and vanilla's PcieAuto line reports 44 us; the host-callback stages are 0.06-1.08 ms/round each and already trimmed (eager admission +4.24 %, AVX2 `q8_k`); pool tasks per thread, PCIe share 0.45-0.65 and the fused commit graph are flat or neutral. What remains of the `waitCPU` + `PCIe group` excess (about 1 ms of ~19 ms per window) scales with the number of misses per window, i.e. it is lever 3 (hit rate 90.2 % against 92.8 %), not a separate host-side defect. A per-miss instrumented build would only re-split a quantity that the miss count already explains, so none is built. Lever 2 is closed with **no change**; the remaining miss-leg work moves to lever 3 (placement-class gate) and, lossy, lever 7. + +Queued next: lever 6 (`spd-l6a`, `spd-l6b`: D = adaptive window at floor 0.5 against shipped A, 10 block pairs, exact speculative decoding) and the lever 7 logit gate `spd-l7id`.