design doc: 2026-11-02 update (census, B0 built, on-the-fly candidate not built)
This commit is contained in:
@@ -9,6 +9,15 @@ Nothing here is a performance claim (AGENTS.md): every speed statement about a f
|
||||
Owner requirements this page answers: (1) "dual use of memory is stupid" on the 5090 profile; (2) session state that moves to RAM must not be reserved at full-window size:
|
||||
allocate on use, hard cap, evict under pressure, compress when parked.
|
||||
|
||||
## Update 2026-11-02 (claude/single-copy): census, decision, what is built
|
||||
|
||||
* The census was run on the real archive (T1): a sparse copy is **16,000,348,672 B in 2 extents (14.901 GiB, 28.94 %)**; 39,295,180,800 B (36.596 GiB, 71.06 %) are never read. Section 0 and A.4 are confirmed, no longer E.
|
||||
The 144 routed-expert records of the archive are 262,144,256 B each: 35.16 GiB for all 24,576 experts against 46.84 GiB in the GGUF bank (0.7506; 1.952 MiB -> 1.465 MiB per expert).
|
||||
* B0 is built on top of the O_DIRECT bulk reader (`bulk_read`): the copy of the extents never enters the page cache, hash passes evict what they read (`readahead.rs`), `rtx5090-32g` has `memfd_extents: ple_only`
|
||||
and the pinned extents digest `7568b121...af72143` is compiled in. The alternatives measured against it are in `scripts/e2e/decode/single-copy-ab.sh` (main with the full memfd / sparse memfd / `rtx5090-32g-file`).
|
||||
* Candidate "KAR on the fly" (experts decoded from the compressed archive, no GGUF bank): not built. Reasons recorded in the task report: level-2 experts are lossy (relative L2 about 0.33 against 0.165 at level 3),
|
||||
the only GPU path (`kar_expert_source`) decodes to an F32 scratch (18.75 MiB per expert against 1.95 MiB read today) and is refused together with the optimized MMQ owners, and the CPU leg consumes GGUF block layouts.
|
||||
|
||||
## 0. Result in ten lines
|
||||
|
||||
1. **The two big host tables are not the same bytes, but the sealed memfd does hold a second copy of the model.** The 55.3 GB memfd is the pinned level-2 KAR archive. The engine reads
|
||||
|
||||
Reference in New Issue
Block a user