drisc-prefetch: land pfdual13 probe + design + inert verdict (from #186) #233

Merged
Grok merged 2 commits from land-186-pfdual13 into master 2026-10-10 00:33:55 +02:00
Owner

Rebased landing of #186's unique content onto master 7077a88 (E ship). #186 itself is 300+ files behind (branched pre-E-ship).\n\nCarries:\n- bench/probes/drisc_prefetch_1card/ 1-card dual-sender probe (--pf-roles, matched ring/MR weights, DRAM/L1 measurements)\n- docs/analysis/drisc-prefetch-lever-design-20261006.md + step-4 verdict\n- records drisc-prefetch-dual13/real/shared13 (1 card: B1/4k -0.78ms, B8/4k -0.74ms < 1.5ms gate; served lever not built)\n\nDecisions already on master: D-2026-10-06-prefetch-dram/parked. Closes #186.

Rebased landing of #186's unique content onto master 7077a88 (E ship). #186 itself is 300+ files behind (branched pre-E-ship).\n\nCarries:\n- bench/probes/drisc_prefetch_1card/ 1-card dual-sender probe (--pf-roles, matched ring/MR weights, DRAM/L1 measurements)\n- docs/analysis/drisc-prefetch-lever-design-20261006.md + step-4 verdict\n- records drisc-prefetch-dual13/real/shared13 (1 card: B1/4k -0.78ms, B8/4k -0.74ms < 1.5ms gate; served lever not built)\n\nDecisions already on master: D-2026-10-06-prefetch-dram/parked. Closes #186.
Before: the owner approved +3.5 GiB/chip for a receiver-contiguous w1/w3 copy
(D-2026-10-06-prefetch-dram). The bet was that w1/w3 alone keep a useful share
of the all-roles step-2 saving (-4.2..-4.7 ms per pass), because they were the
roles that hid on the ring (16 us vs 61 us MR).

Evidence (1 card, 64-layer verify pass, dx CONTROL overlay):
- B1/4k -0.78 ms, B8/4k -0.74 ms (-0.84 ms at GCB 720 KiB), B8/32k -0.75 ms.
  The gate was >= 1.5 ms at B8/4k.
- The ring matmuls do hide, but the prefetcher refills the next layer's w1/w3
  during MR w2 (59 -> ~131 us). The stream moves onto another DRAM-bound read
  instead of onto non-weight work.
- Extra DRAM: 3.516 GiB/chip; the allocator delta equals the arithmetic.
- The GCB occupies the top of worker L1 (bottom at 823,552 B for 600 KiB).
- pcc vs MR is 0.9985 from a clean GDN state.

Changes:
- probe: --pf-roles, matched ring/MR weights, a clean-state correctness check,
  and the DRAM/L1 measurements;
- design doc: step-4 verdict;
- LEVERS: inert row;
- records: the two runs and the verdict.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
bench/runs: bring the two prefetcher records the design doc cites
All checks were successful
cards-fresh cards: not needed (C1) fp=2f628083416fa7ed
tt-stack-ci / Report upstream drift (pull_request) Successful in 1m43s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 3m8s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 1m0s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
bb3a21c3b0
The doc cites the step-2 real-layer record and the step-3 shared13 record. Both
lived only on the drisc-prefetch / drisc-prefetch-lever branches, so CI's
cited-records check failed the PR (run 7259).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner

verdict: approve
tier: T0 (additive research probe + docs + bench records; no served path, no .nix, no config/workflow change)

rationale: Pure additive landing of #186's unique content onto master: new 1-card probe scripts, a design doc, run records, and a single row in docs/LEVERS.md. Nothing touches served code, nix, or CI config. The verdict record is self-consistent (INERT: B8/4k −0.74 ms, B1/4k −0.78, B8/32k −0.75 — all below the 1.5 ms D-2026-10-06-prefetch-dram gate; lever not built).

concerns:

  • [nit] CI on the head (bb3a21c, "bench/runs: bring the two prefetcher records") was still waiting in the Actions queue at review time (not failed) — confirm the cited-records check is green before merge.
  • [nit] bench/probes/.../run.sh / run_real.sh are marked 755 and ssh/docker/rsync into cfx-llm2 — expected for this repo's probe harness (same shape as the existing prefetcher_1card runner), not a new surface.

Secret scan: clean (no tokens/keys/.env/sops-bypass in the diff). Safe to merge once CI is green.

**verdict:** approve **tier:** T0 (additive research probe + docs + bench records; no served path, no `.nix`, no config/workflow change) **rationale:** Pure additive landing of #186's unique content onto master: new 1-card probe scripts, a design doc, run records, and a single row in `docs/LEVERS.md`. Nothing touches served code, nix, or CI config. The verdict record is self-consistent (INERT: B8/4k −0.74 ms, B1/4k −0.78, B8/32k −0.75 — all below the 1.5 ms D-2026-10-06-prefetch-dram gate; lever not built). **concerns:** - [nit] CI on the head (`bb3a21c`, "bench/runs: bring the two prefetcher records") was still `waiting` in the Actions queue at review time (not failed) — confirm the cited-records check is green before merge. - [nit] `bench/probes/.../run.sh` / `run_real.sh` are marked `755` and `ssh`/`docker`/`rsync` into `cfx-llm2` — expected for this repo's probe harness (same shape as the existing `prefetcher_1card` runner), not a new surface. Secret scan: clean (no tokens/keys/`.env`/sops-bypass in the diff). Safe to merge once CI is green.
Grok merged commit a7631340bd into master 2026-10-10 00:33:55 +02:00
Grok deleted branch land-186-pfdual13 2026-10-10 00:33:55 +02:00
Author
Owner

agent-gateway closeout (merged): cleared agent:* labels.
Hermes kanban card (if any) is left for Hermes to archive/complete.

agent-gateway closeout (merged): cleared `agent:*` labels. Hermes kanban card (if any) is left for Hermes to archive/complete.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitpartner/tt-stack!233
No description provided.