Run frontier MoE models on hardware you already own β pure C, zero deps, experts streamed from disk. Tiny engine, immense model. π¦
C
docs(experiments): the V4.1 expert-read A/B, with the phase ratio that bounds it
Gawr Gura 07214b9627bf7f4d
diff --git a/docs/experiments/dsv41-direct.json b/docs/experiments/dsv41-direct.jsonnew file mode 100644index 00000000..24222f46--- /dev/null+++ b/docs/experiments/dsv41-direct.json@@ -0,0 +1,61 @@+{+ "commit": "5df0e3590dadfe49569518016900c0e178ed1619",+ "model": "deepseek-ai/DeepSeek-V4.1-Flash, released checkpoint, 48 shards 510.3 GB, fp8 dense + fp4 experts, no conversion",+ "command": "SNAP=/mnt/nvme0/DeepSeek-V4.1-Flash [ENV] ./deepseek_v41 8 /tmp/ref.json (25 prompt tokens, 16 generated, cap=8, page cache evicted per run)",+ "prompt_hash": "79a5bcf37f1920a530cfee5ab7a484e00a1d6bb7f19d9a7418beaa53c14b454b",+ "hardware": {+ "cpu": "2x Intel Xeon Platinum 8555C, 52 cores/socket, 2 threads/core, 208 CPUs, 4 NUMA nodes",+ "ram": "1007 GiB",+ "storage": "nvme0n1 Samsung MZQL2960HCJR 894 GB ext4 noatime (/mnt/nvme0); md0 = RAID0 of 2x Samsung MZQLB7T6HMLA 7.6 TB ext4 (/mdr5); independent controllers",+ "os": "Ubuntu 24.04, kernel 6.8.0-31-generic, gcc 13.3.0, -O3 -march=native -fopenmp"+ },+ "warmup_runs": 0,+ "version": 1,+ "hypothesis": "Reading the routed experts with O_DIRECT instead of through the page cache raises the expert read rate, because the engine already fadvise(DONTNEED)s each expert after reading it and a buffered read therefore copies the bytes twice and keeps nothing.",+ "changed_variables": [+ "V41_DIRECT"+ ],+ "baseline": {+ "config": {+ "V41_DIRECT": "0"+ },+ "samples": {+ "tok_s": [+ 0.038093,+ 0.038321,+ 0.03828+ ]+ },+ "median_tok_s": 0.03828,+ "quality": {+ "method": "token-exact vs a 16-token reference stream; the engine exits non-zero on any mismatch. tok_s is 16 generated tokens over the whole turn (READY to DONE), prefill included",+ "passed": true+ },+ "evidence": {+ "uri": "docs/experiments/dsv41-expert-io-2026-09-14-raw.txt, section 'D0' (3 runs, the engine's own stderr)",+ "sha256": "d5ed80386c99d1cac9c98a0318e4543dbffd7aac3656c2f1fcd78bbc2d05f8cf"+ }+ },+ "trial": {+ "config": {+ "V41_DIRECT": "1"+ },+ "samples": {+ "tok_s": [+ 0.038763,+ 0.039144,+ 0.039252+ ]+ },+ "median_tok_s": 0.039144,+ "quality": {+ "method": "token-exact vs a 16-token reference stream; the engine exits non-zero on any mismatch. tok_s is 16 generated tokens over the whole turn (READY to DONE), prefill included",+ "passed": true+ },+ "evidence": {+ "uri": "docs/experiments/dsv41-expert-io-2026-09-14-raw.txt, section 'P' (3 runs, the engine's own stderr)",+ "sha256": "d14c7edbb19b55840c8967eb51e3abd9e683a22f7676ea0cabb9f263b4b238d5"+ }+ },+ "outcome": "improvement"+}\ No newline at end of filediff --git a/docs/experiments/dsv41-expert-io-2026-09-14-raw.txt b/docs/experiments/dsv41-expert-io-2026-09-14-raw.txtnew file mode 100644index 00000000..6bbe7cc4--- /dev/null+++ b/docs/experiments/dsv41-expert-io-2026-09-14-raw.txt@@ -0,0 +1,101 @@+Raw per-run engine stderr, filtered to the lines this experiment+rests on (phase breakdown, mirror split, token verdict). The arms+interleave P / M3 / D0 / M2; MP was run separately against the same+reference. Full logs are attached to the PR.++--- P run 1/3 (ab_final_P_0.err) ---+Matching tokens: 16/16+[v41] prefill 25 tokens in 144.55s | decode 16 in 254.02s (0.06 tok/s)+[v41] experts: 4956 hits, 5274 misses, 99154.6 MB read | disk 20.44s, expert matmul 190.64s, attention 111.50s, engram 0.79s++--- P run 2/3 (ab_final_P_1.err) ---+Matching tokens: 16/16+[v41] prefill 25 tokens in 142.95s | decode 16 in 251.48s (0.06 tok/s)+[v41] experts: 4956 hits, 5274 misses, 99154.6 MB read | disk 20.29s, expert matmul 188.98s, attention 109.95s, engram 0.80s++--- P run 3/3 (ab_final_P_2.err) ---+Matching tokens: 16/16+[v41] prefill 25 tokens in 143.33s | decode 16 in 249.85s (0.06 tok/s)+[v41] experts: 4956 hits, 5274 misses, 99154.6 MB read | disk 20.27s, expert matmul 186.93s, attention 110.52s, engram 0.80s++--- M3 run 1/3 (ab_final_M3_0.err) ---+[MIRROR] 2 replicas, split COLI_DISK_WEIGHTS: primary 50% mirror 50%+Matching tokens: 16/16+[v41] prefill 25 tokens in 144.35s | decode 16 in 249.62s (0.06 tok/s)+[v41] experts: 4956 hits, 5274 misses, 99154.6 MB read | disk 17.00s, expert matmul 189.02s, attention 111.48s, engram 0.77s+MIRROR: primary 49.20 GB (15702 reads) | mirror1 49.95 GB (15942 reads) β 50% of expert bytes from the mirrors++--- M3 run 2/3 (ab_final_M3_1.err) ---+[MIRROR] 2 replicas, split COLI_DISK_WEIGHTS: primary 50% mirror 50%+Matching tokens: 16/16+[v41] prefill 25 tokens in 141.86s | decode 16 in 249.04s (0.06 tok/s)+[v41] experts: 4956 hits, 5274 misses, 99154.6 MB read | disk 17.05s, expert matmul 187.93s, attention 110.64s, engram 0.78s+MIRROR: primary 49.20 GB (15702 reads) | mirror1 49.95 GB (15942 reads) β 50% of expert bytes from the mirrors++--- M3 run 3/3 (ab_final_M3_2.err) ---+[MIRROR] 2 replicas, split COLI_DISK_WEIGHTS: primary 50% mirror 50%+Matching tokens: 16/16+[v41] prefill 25 tokens in 140.41s | decode 16 in 249.46s (0.06 tok/s)+[v41] experts: 4956 hits, 5274 misses, 99154.6 MB read | disk 17.10s, expert matmul 188.06s, attention 109.57s, engram 0.78s+MIRROR: primary 49.20 GB (15702 reads) | mirror1 49.95 GB (15942 reads) β 50% of expert bytes from the mirrors++--- D0 run 1/3 (ab_final_D0_0.err) ---+Matching tokens: 16/16+[v41] prefill 25 tokens in 150.03s | decode 16 in 255.97s (0.06 tok/s)+[v41] experts: 4956 hits, 5274 misses, 99154.6 MB read | disk 32.10s, expert matmul 187.96s, attention 110.64s, engram 0.78s++--- D0 run 2/3 (ab_final_D0_1.err) ---+Matching tokens: 16/16+[v41] prefill 25 tokens in 149.51s | decode 16 in 253.58s (0.06 tok/s)+[v41] experts: 4956 hits, 5274 misses, 99154.6 MB read | disk 31.06s, expert matmul 187.69s, attention 110.64s, engram 0.78s++--- D0 run 3/3 (ab_final_D0_2.err) ---+Matching tokens: 16/16+[v41] prefill 25 tokens in 149.59s | decode 16 in 254.36s (0.06 tok/s)+[v41] experts: 4956 hits, 5274 misses, 99154.6 MB read | disk 32.29s, expert matmul 187.38s, attention 109.66s, engram 0.77s++--- M2 run 1/3 (ab_final_M2_0.err) ---+[MIRROR] 2 replicas, split COLI_DISK_WEIGHTS: primary 0% mirror 100%+Matching tokens: 16/16+[v41] prefill 25 tokens in 144.41s | decode 16 in 252.77s (0.06 tok/s)+[v41] experts: 4956 hits, 5274 misses, 99154.6 MB read | disk 20.51s, expert matmul 189.21s, attention 111.54s, engram 0.79s+MIRROR: primary 0.32 GB (102 reads) | mirror1 98.83 GB (31542 reads) β 100% of expert bytes from the mirrors++--- M2 run 2/3 (ab_final_M2_1.err) ---+[MIRROR] 2 replicas, split COLI_DISK_WEIGHTS: primary 0% mirror 100%+Matching tokens: 16/16+[v41] prefill 25 tokens in 143.50s | decode 16 in 249.89s (0.06 tok/s)+[v41] experts: 4956 hits, 5274 misses, 99154.6 MB read | disk 20.53s, expert matmul 187.37s, attention 110.39s, engram 0.79s+MIRROR: primary 0.32 GB (102 reads) | mirror1 98.83 GB (31542 reads) β 100% of expert bytes from the mirrors++--- M2 run 3/3 (ab_final_M2_2.err) ---+[MIRROR] 2 replicas, split COLI_DISK_WEIGHTS: primary 0% mirror 100%+Matching tokens: 16/16+[v41] prefill 25 tokens in 141.53s | decode 16 in 250.51s (0.06 tok/s)+[v41] experts: 4956 hits, 5274 misses, 99154.6 MB read | disk 20.50s, expert matmul 186.65s, attention 109.90s, engram 0.81s+MIRROR: primary 0.32 GB (102 reads) | mirror1 98.83 GB (31542 reads) β 100% of expert bytes from the mirrors++--- MP run 1/3 (ab_mp_MP_0.err) ---+[MIRROR] probe: primary 4.38 GB/s | mirror 4.65 GB/s+[MIRROR] 2 replicas, split measured: primary 48% mirror 52%+Matching tokens: 16/16+[v41] prefill 25 tokens in 140.86s | decode 16 in 247.87s (0.06 tok/s)+[v41] experts: 4956 hits, 5274 misses, 99154.6 MB read | disk 18.87s, expert matmul 188.76s, attention 107.82s, engram 0.79s+MIRROR: primary 47.94 GB (15300 reads) | mirror1 51.21 GB (16344 reads) β 52% of expert bytes from the mirrors++--- MP run 2/3 (ab_mp_MP_1.err) ---+[MIRROR] probe: primary 3.98 GB/s | mirror 4.75 GB/s+[MIRROR] 2 replicas, split measured: primary 46% mirror 54%+Matching tokens: 16/16+[v41] prefill 25 tokens in 140.77s | decode 16 in 248.17s (0.06 tok/s)+[v41] experts: 4956 hits, 5274 misses, 99154.6 MB read | disk 18.83s, expert matmul 188.86s, attention 107.98s, engram 0.78s+MIRROR: primary 45.55 GB (14538 reads) | mirror1 53.60 GB (17106 reads) β 54% of expert bytes from the mirrors++--- MP run 3/3 (ab_mp_MP_2.err) ---+[MIRROR] probe: primary 3.92 GB/s | mirror 5.01 GB/s+[MIRROR] 2 replicas, split measured: primary 44% mirror 56%+Matching tokens: 16/16+[v41] prefill 25 tokens in 140.28s | decode 16 in 245.26s (0.07 tok/s)+[v41] experts: 4956 hits, 5274 misses, 99154.6 MB read | disk 17.14s, expert matmul 185.97s, attention 108.36s, engram 0.80s+MIRROR: primary 44.07 GB (14064 reads) | mirror1 55.09 GB (17580 reads) β 56% of expert bytes from the mirrors+diff --git a/docs/experiments/dsv41-expert-io-2026-09-14.md b/docs/experiments/dsv41-expert-io-2026-09-14.mdnew file mode 100644index 00000000..e4b7cdd8--- /dev/null+++ b/docs/experiments/dsv41-expert-io-2026-09-14.md@@ -0,0 +1,236 @@+# DeepSeek V4.1 Flash: where the expert bytes come from, and whether it matters++Two changes to the V4.1 engine are measured here: reading the routed experts with+`O_DIRECT` instead of through the page cache, and serving them from more than one+drive. Both are about the same fact -- an expert is read once and never wanted again --+and both are ports of mechanisms the V4 and GLM engines already had.++The short version, and the reason this record exists even though the mechanism ports+were straightforward: **on this host the engine is not bound by the device.** Disk is+5% of the turn. `O_DIRECT` takes a third off that 5% and the multi-drive split takes+a sixth, and after both the turn is **2.3% and 1.4%** shorter respectively. The expert+matmul and the attention are the other 74%. Any I/O proposal for this engine has to be+read against that ratio.++## Machine++| | |+|---|---|+| CPU | 2x Intel Xeon Platinum 8555C, 52 cores/socket, 2 threads/core = 208 CPUs, 4 NUMA nodes |+| RAM | 1007 GiB |+| Storage A | Samsung MZQL2960HCJR (`nvme0n1`, 894 GB), ext4, `noatime`, mounted `/mnt/nvme0` |+| Storage B | 2x Samsung MZQLB7T6HMLA (`nvme1n1`, `nvme3n1`, 7.6 TB each) in RAID0 (`md0`), ext4, `/mdr5` |+| Storage C | yrfs network filesystem (`/ky200t`) -- staging only, never measured |+| commit | `5df0e35` (`feat/dsv41-expert-io`, based on `dev` at `1efb7c8`) |+| OS / toolchain | Ubuntu 24.04, kernel 6.8.0-31-generic, gcc 13.3.0, `-O3 -march=native -fopenmp` |++A and B are independent controllers, which is what the two-drive question needs. B is+itself a two-drive RAID0, so the arms below are really *one* NVMe versus *two* versus+*three*: the point is the number of independent storage endpoints, and the device+sweep at the end shows why that distinction turns out not to matter here.++## Container++`deepseek-ai/DeepSeek-V4.1-Flash`, the released checkpoint, no conversion: 48 shards,+**510.3 GB**, 88 files. Both copies used here were verified file-by-file against the+upstream manifest (size, all 88 entries, exact) and one shard was sha256-compared+across them. The engram sidecar was generated once with+`python3 c/tools/prepare_dsv41.py --model <dir>` (2 tables, 99,092 compressed ids,+384,006,168 and 384,016,682 rows).++Access went through `hf-mirror.com`; `huggingface.co` is unreachable from this host+and the two 101 GB engram shards exceed the CLI's non-Xet download size limit, so+they were fetched as ranged requests (12 per shard) and joined locally. Worth+recording because it is the third time this checkpoint's tail has been the hard part.++## Method++The engine's own one-shot oracle mode (`SNAP=<dir> ./deepseek_v41 <cap> <ref.json>`),+the same entry point CI uses. It prints the generated token ids on stdout and the+phase breakdown on stderr, and drafting is idle in it, so the expert reads being timed+are the decoding path's own.++`tools`-side harness: prompt tokenized to 25 ids, 16 tokens generated, `cap=8`.+`ref.json` holds the 16 reference ids produced by a first run, so **every arm is held+token-exact** against the same stream -- routing an expert to a different drive is an+I/O decision and must not be visible in the output.++Protocol, per CONTRIBUTING.md:++- arms interleaved (P, M3, D0, M2) so any drift hits all of them;+- every run starts from an evicted page cache (`posix_fadvise(DONTNEED)` on the+ container's files -- `/proc/sys/vm/drop_caches` would need root per run);+- 3 runs per arm, medians reported;+- one variable changed per comparison;+- all 12 runs token-exact (16/16).++Arms:++| arm | configuration | independent endpoints serving expert bytes |+|---|---|---|+| `P` | primary only, on `nvme0n1` | 1 |+| `M3` | `COLI_MODEL_MIRROR` + `COLI_DISK_WEIGHTS=1,1` | 2 (`nvme0n1` + `md0`) |+| `M2` | `COLI_MODEL_MIRROR` + `COLI_DISK_WEIGHTS=1,1000` | 1 (`md0` only) |+| `D0` | `V41_DIRECT=0` (buffered reads) | 1 |+| `MP` | `COLI_MODEL_MIRROR` only, split left to the startup probe | 2 (`nvme0n1` + `md0`) |++## What the turn is made of++Baseline (`P`, `cap=8`, 25 prompt tokens, 16 generated):++| phase | seconds | share |+|---|---:|---:|+| expert matmul | 189.1 | 46% |+| attention | 111.5 | 27% |+| **expert disk** | **20.3** | **5%** |+| engram | 0.6 | 0.1% |+| prefill / decode | 144.5 / 252.1 | -- |++99.2 GB of experts read in 5,274 misses against 4,956 hits; 178 of 208 threads busy;+peak RSS 24.8 GB. The docs' own measurement of this engine is 10.4 s of disk against+a 7.6 s matmul on a 16-thread box, where the device dominates. On 208 cores the ratio+inverts. Nothing about the engine changed; the host did.++## The two arms++Medians of 3 cold runs, all token-exact:++| arm | expert disk | rate | whole turn | vs `P` |+|---|---:|---:|---:|---:|+| `P` (1 endpoint) | 20.29 s | 4.89 GB/s | 408.8 s | -- |+| `M3` (2 endpoints) | **17.05 s** | **5.82 GB/s** | **405.1 s** | **-0.9%** |+| `M2` (1 endpoint, RAID0 pair) | 20.51 s | 4.83 GB/s | 407.6 s | -0.3% |+| `D0` (buffered) | 32.10 s | 3.09 GB/s | 418.0 s | +2.3% |+| `MP` (probe-chosen split) | 18.83 s | 5.27 GB/s | 403.1 s | -1.4% |++The disk phase is the quantity that moves, and it is reproducible: `P` 20.44 / 20.29 /+20.27 s, `M3` 17.00 / 17.05 / 17.10 s, `M2` 20.51 / 20.53 / 20.50 s, `D0` 32.10 /+31.06 / 32.29 s, `MP` 18.87 / 18.83 / 17.14 s. The whole turn is a *derived* quantity here, and its differences are+at the edge of what the compute side allows: the expert matmul alone ranges 186.9 to+190.6 s across these same runs, a 2.0% spread, and `M2`'s turn comes out 0.3% *faster*+than `P`'s while its disk is 1.1% *slower*. So read the turn column as "consistent in+sign with the disk column, and no more precise than that"; the disk column is the+measurement.++### The startup probe is noisier than the thing it measures++`MP` leaves the split to the engine's own bandwidth probe, which samples about+150 MB per drive at startup, and it lands *worse* than pinning `1,1`: 18.83 s of disk+against 17.05 s. The probe reported `primary 4.38 GB/s | mirror 4.65 GB/s` and picked+a 48/52 split, which is the right answer; the problem is that it picks a slightly+different one each run, and the resulting disk times move with it (18.87 / 18.83 /+17.14 s across three runs, versus 17.00 / 17.05 / 17.10 s for the pinned split). On a+pair of drives that are actually equal the probe adds variance without adding+information, and the shipped default (unset weights) therefore inherits that. A fixed+`COLI_DISK_WEIGHTS` is the better choice on a known-even pair, which is what the+documentation already recommends but does not explain.++The `MIRROR:` line the engine prints confirms the split is real rather than declared:+`M3` reports `primary 49.20 GB (15702 reads) | mirror1 49.95 GB (15942 reads) β 50% of+expert bytes from the mirrors`, and `M2` reports 100% on the replica.++### O_DIRECT is the better of the two, and still small++32.10 s to 20.29 s of disk is -37%, and the whole turn moves 418.0 s to 408.8 s,+-2.3%. It is worth defaulting (`V41_DIRECT=1`, as V4 does) on this class of device,+because buffered reads are strictly wasted work here: the engine *already* drops each+expert's pages after reading it, so a buffered read copies the bytes into the page+cache, copies them out, and then throws the pages away.++### The split helps across controllers, and not within one filesystem++`M3` (-16% disk) versus `M2` (+1.1% disk, i.e. nothing). Both arms read the same+bytes; the difference is what backs them. `M2`'s two drives are a RAID0 pair behind+one `md0` device, and serving all reads from it is no faster than one `nvme0n1`.+Adding a second *filesystem* to read from is what helped.++## Why: the device was never the limit++`c/iobench`, 5.6 MB blocks (one weight matrix), O_DIRECT, caches evicted, one thread+per read:++| depth | `nvme0n1` (1 NVMe) | `md0` (RAID0 of 2) | buffered `nvme0n1` |+|---:|---:|---:|---:|+| 1 | 5.45 GB/s | 5.03 GB/s | 2.10 GB/s |+| 4 | **6.34** | **6.19** | -- |+| 8 | 6.03 | 5.80 | 4.99 |+| 16 | 5.70 | 5.63 | -- |+| 32 | 5.55 | 5.39 | 4.55 |++Two things fall out of this, and they are the actual findings of the day.++**One NVMe on this host already reaches the platform ceiling (~6.2 GB/s), and adding+a second drive behind the same filesystem does not raise it.** That is why `M2` did+nothing: it is hypothesis #2's premise, tested directly, and on this box the premise+does not hold -- the drives are not the scarce resource.++**The engine gets 4.89 GB/s from a device that answers at 6.03.** So the arm that+did help, `M3`, helped by giving the reader a second *file* to keep requests in+flight against, not by adding spindle bandwidth. The mirror is a concurrency knob+here, not a capacity knob.++Depth 4 beats depth 8 at the device level, which the engine's `V41_READ_DEPTH`+default of 8 does not follow, and the docs' own knee (8, on a striped PM9A1 pair)+was measured on a different device.++## What this does not show++- **Not a refutation of hypothesis #2.** It is a boundary condition. The docs'+ measurement of this engine is on a host where disk (10.4 s) exceeds matmul (7.6 s);+ there, halving the disk time is worth far more than it is here. The claim this+ record supports is narrower and checkable: *when the host has enough cores that+ compute dominates, independent device bandwidth cannot turn into decode speed.*+- **Not a claim about `O_DIRECT` in general.** The project already documents it as+ drive-dependent (QLC/DRAM-less drives behave differently). One device class was+ measured.+- **`M2`'s null is one machine's null.** A host with a slower platform relative to+ its drives would show the two-drive RAID0 pulling ahead.+- The `MIRROR:` split shares are from the engine's counters, which is the mechanism+ being checked, not an independent instrument.++## Still open, and cheap++The engine reaches 4.89 GB/s where the device answers at 6.03, and depth 4 beats+depth 8 in isolation. `V41_READ_DEPTH` is a fixed default that the docs describe as+"the measured knee"; on this host it is not. A device-aware or tuned default is a+small change with a measurable target, and the same question applies to `SNAP`-side+read scheduling in general.++## Reproduce++The container, as assembled here:++```sh+# hf-mirror.com -- huggingface.co is unreachable from this host, and the two 101 GB+# engram shards exceed the CLI's non-Xet size limit, so they were fetched as 12+# ranged requests each and joined locally.+hf download deepseek-ai/DeepSeek-V4.1-Flash --local-dir /mnt/nvme0/DeepSeek-V4.1-Flash+python3 c/tools/prepare_dsv41.py --model /mnt/nvme0/DeepSeek-V4.1-Flash+```++The container was then checked against the upstream file manifest, size for size:+88/88 exact, 510.3 GB in each of the two copies. The mirror arms need the same+container a second time on an independent controller -- 510 GB duplicated for the+duration of the runs, which is precisely the cost `COLI_MODEL_DIRS` exists to avoid.++One turn, one arm:++```sh+make -C c deepseek_v41+SNAP=/mnt/nvme0/DeepSeek-V4.1-Flash ./c/deepseek_v41 8 ref.json+SNAP=/mnt/nvme0/DeepSeek-V4.1-Flash COLI_MODEL_MIRROR=<copy> COLI_DISK_WEIGHTS=1,1 \+ ./c/deepseek_v41 8 ref.json+```++`ref.json` carries 25 prompt ids and the 16 reference ids; the engine prints the+generated ids on stdout and the phase breakdown on stderr. The arms interleave+P / M3 / D0 / M2, evicting the container's pages with `posix_fadvise(DONTNEED)` before+every run, 3 runs per arm; `MP` was run separately against the same reference. Raw+stderr for every run is attached to the PR.++The device sweep is `c/iobench`, whose arguments are the file, the block size in MB,+the number of reads, the reader count and the direct flag:++```sh+c/iobench <a-shard> 5.6 48 <depth> 1+```diff --git a/docs/experiments/dsv41-mirror.json b/docs/experiments/dsv41-mirror.jsonnew file mode 100644index 00000000..f657b5e8--- /dev/null+++ b/docs/experiments/dsv41-mirror.json@@ -0,0 +1,59 @@+{+ "commit": "5df0e3590dadfe49569518016900c0e178ed1619",+ "model": "deepseek-ai/DeepSeek-V4.1-Flash, released checkpoint, 48 shards 510.3 GB, fp8 dense + fp4 experts, no conversion",+ "command": "SNAP=/mnt/nvme0/DeepSeek-V4.1-Flash [ENV] ./deepseek_v41 8 /tmp/ref.json (25 prompt tokens, 16 generated, cap=8, page cache evicted per run)",+ "prompt_hash": "79a5bcf37f1920a530cfee5ab7a484e00a1d6bb7f19d9a7418beaa53c14b454b",+ "hardware": {+ "cpu": "2x Intel Xeon Platinum 8555C, 52 cores/socket, 2 threads/core, 208 CPUs, 4 NUMA nodes",+ "ram": "1007 GiB",+ "storage": "nvme0n1 Samsung MZQL2960HCJR 894 GB ext4 noatime (/mnt/nvme0); md0 = RAID0 of 2x Samsung MZQLB7T6HMLA 7.6 TB ext4 (/mdr5); independent controllers",+ "os": "Ubuntu 24.04, kernel 6.8.0-31-generic, gcc 13.3.0, -O3 -march=native -fopenmp"+ },+ "warmup_runs": 0,+ "version": 1,+ "hypothesis": "Serving the routed experts from a byte-identical copy on an independent controller as well as the primary raises the expert read rate. The split ratio is left to the engine's startup bandwidth probe in both arms, so the only changed key is the mirror itself.",+ "changed_variables": [+ "COLI_MODEL_MIRROR"+ ],+ "baseline": {+ "config": {},+ "samples": {+ "tok_s": [+ 0.038763,+ 0.039144,+ 0.039252+ ]+ },+ "median_tok_s": 0.039144,+ "quality": {+ "method": "token-exact vs a 16-token reference stream; the engine exits non-zero on any mismatch. tok_s is 16 generated tokens over the whole turn (READY to DONE), prefill included",+ "passed": true+ },+ "evidence": {+ "uri": "docs/experiments/dsv41-expert-io-2026-09-14-raw.txt, section 'P' (3 runs, the engine's own stderr)",+ "sha256": "d14c7edbb19b55840c8967eb51e3abd9e683a22f7676ea0cabb9f263b4b238d5"+ }+ },+ "trial": {+ "config": {+ "COLI_MODEL_MIRROR": "<dir holding a byte-identical copy>"+ },+ "samples": {+ "tok_s": [+ 0.039696,+ 0.039692,+ 0.039938+ ]+ },+ "median_tok_s": 0.039696,+ "quality": {+ "method": "token-exact vs a 16-token reference stream; the engine exits non-zero on any mismatch. tok_s is 16 generated tokens over the whole turn (READY to DONE), prefill included",+ "passed": true+ },+ "evidence": {+ "uri": "docs/experiments/dsv41-expert-io-2026-09-14-raw.txt, section 'MP' (3 runs, the engine's own stderr)",+ "sha256": "c2e1931e7dff2531a38de623a5adebdc1a7ec78bc2f4222246272864d655e7e4"+ }+ },+ "outcome": "improvement"+}\ No newline at end of file