[GH-ISSUE #1373] Windows, 2-GPU layer split: 0.1.40.2 decode is 20% below 0.1.39 across the board, and STRATA_MMVQ_IL is 15% of it #557

Closed
opened 2026-11-04 01:44:02 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @Scorp1o117 on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1373


Resolution (final): the original report was a cold-measurement artifact — with a warmed engine, 0.1.40.2 is 12.9% faster here, not slower

The mistake was mine, in the benchmark. My harness restarted the engine for every data point and took the decode measurement after only three requests. Strata's expert cache adapts while the server runs — it replaces cold experts with the ones actually being routed — so a freshly loaded engine is measurably slower than the same engine a few minutes later. I was measuring the warm-up ramp, not the engine.

Measured properly — one load, ten decodes inside the same process, same config, same server layer, same frozen prompt, and the two engines run back to back in one evening:

engine decode, 448 tokens, ten runs mean 13.8K prompt 41K prompt
0.1.39 121.3 131.6 129.6 126.0 128.7 126.9 127.2 126.0 123.9 133.8 127.5 3,430.8 3,838.3
0.1.40.2 135.1 139.3 145.7 144.2 142.1 147.1 146.9 145.7 143.8 149.9 144.0 3,312.9 3,851.6

So 0.1.40.2 is +12.9% decode — the two ranges barely overlap and the within-run spread is about 10% — in the same direction as the +2.5 to +6% you measured on the RTX 5070. Nothing is broken.

The earlier "update" that said the two were indistinguishable was wrong for the same reason. Please ignore this whole report, including the STRATA_MMVQ_IL isolation, the "−20%" and the free-VRAM observations: they all came from the same broken method.

Two things in it were method-independent and still hold:

  • --no-capture is not usable here: the engine refuses it (--no-capture runs 'session_token', which has NO CPU expert pool hook, so the routed experts would silently contribute nothing).
  • --vram-reserve-mib 4096 on this config moves the auto split to K=41, drops the cache to 13,278 slots and the hit rate from 88% to 81%.

The lesson, in case it saves someone else the same detour: warm up first, then measure. Restart the engine as few times as possible and take repeated decodes inside one process. With that method I also found that a preceding 41K-token prompt does not degrade the decode that follows (134.0 and 133.2 right after it — the fastest numbers of the run), and that the within-version spread is about 10%, so anything smaller than that needs paired runs to be believed.

Closing this — sorry for the noise. I am still glad to run the two-GPU work you asked for (resident RAM mode on a split, --batch on an all-resident stage, --pipeline-windows, with and without #848), this time with the warm-up method above.


Update, same evening (~2 h later): this does not survive more runs — please read this part first

I ran 0.1.39 four more times tonight on the same machine, same session, same frozen prompt, and it is just as slow as 0.1.40.2:

engine decode, 448 tokens, tonight's runs mean
0.1.40.2 111.9, 104.8 108.4
0.1.39 74.8, 126.9, 105.4, 124.5 107.9

The same 0.1.39 binary that measured 135.0 / 135.5 / 135.6 two days ago now spans 74.8 to 126.9 (70%) within one evening. So the −20% in the report below is an artifact of comparing against a two-day-old baseline, not a 0.1.40.2 regression. Sorry for the noise — I would rather correct it now than let you spend time on it.

What still holds, and what does not:

  • The two versions are indistinguishable on this box at this level of noise (mean decode 107.9 vs 108.4).
  • STRATA_MMVQ_IL is unconfirmed too. The pair I measured (104.8 → 124.6, five minutes apart) sits inside the band 0.1.39 itself produces tonight (74.8–126.9), so it cannot be separated from interference.
  • The machine is roughly 25% slower tonight than on 2026-10-05, with much higher run-to-run variance, and I do not yet know what changed on it. Every cross-session comparison in this report inherits that.
  • Still accurate: the new strata verify: capturing the N-token window lines, the free-VRAM drop after them, --no-capture being refused by the engine, and --vram-reserve-mib 4096 moving the auto split to K=41 with the cache at 13,278 slots and the hit rate at 81%.

The right experiment for a difference this small is paired, interleaved runs — engine A and B alternating across 4-6 pairs in one session, which cancels exactly this kind of drift. I am happy to run that on this machine and post the pairs, in either direction. The two-GPU offer in the last section stands.

What happened

I upgraded one installation from 0.1.39 to 0.1.40.2 (engine + Python layer; the strata-*.json was not touched). On the same machine, same model and same config, every measurement got slower:

0.1.39 (3 runs, 2026-10-05) 0.1.40.2 (2 runs) change
13.8K-token prompt, prefill 3,263.7 tok/s 2,742.9 tok/s −16.0%
41K-token prompt, prefill 3,735.4 tok/s 3,588.6 tok/s −3.9%
448-token answer, decode 135.4 tok/s 108.3 tok/s −20.0%

I bisected it. STRATA_MMVQ_IL=0 recovers 15% of the decode — the new "a 2-4 token verify window reads each weight block once", on by default on RTX 30 and newer:

13.8K prompt 41K prompt decode
0.1.39 3,263.7 3,735.4 135.4
0.1.40.2, defaults 2,742.9 3,588.6 108.3
0.1.40.2 + STRATA_MMVQ_IL=0 3,028.4 3,653.8 124.6
0.1.40.2 + STRATA_MMVQ_IL=0 + --vram-reserve-mib 4096 3,023.0 3,414.0 126.7

So here the new kernel costs 15% of the decode instead of the +1.3 to +2.2% you measured on one RTX 5070, and with it off this box is still 8% below 0.1.39.

Strata version, GPU, OS

  • 0.1.40.2 (engine strata.exe sha256 04a4df567870…, 159,099,904 B), CUDA 13.0 build
  • Windows 11 (build 26300), NVIDIA driver 617.14
  • GPU 0: RTX 4080 SUPER 32 GB (sm_89, 80 SMs @ 2.55 GHz) · GPU 1: RTX 5070 Ti 16 GB (sm_120, 70 SMs @ 2.48 GHz)
  • AMD Ryzen Threadripper 3970X (32C/64T), 128 GB RAM
  • Model: Swift 1.5 IQ3_XXS native Strata pack (70.6 GiB over two shards; the weights are a community abliteration of Swift 1.5, but the pack layout is Swift's and the model is constant across every run below)
  • Args: --pack … --native (shard 1) --ple-gguf (shard 1) --expert-profile … --expert-cache auto --prefill auto --spec 4 --mtp … --max-context 262144 --kv int8 --vision --spec-min-p 0.70 --kv-resident 32768 --pool-workers 15 --pool-affinity all --pcie-frac 0.20 --vram-reserve-mib 2048, "gpu": [0, 1], "layer_split": "auto" → K=39

How I measured

  • The prompt is frozen: docs/DETAILS.md exactly as shipped in 0.1.39 (90,707 B, sha256 85EDA834…), so the 0.1.39 and 0.1.40.2 prompt tok/s read the same text. The 41K prompt is that document three times (80,494 tokens, 16,384 of them reused from the conversation cache, so 64,110 read). Token counts differ by 3 and 9 tokens between the versions, from the tokenizer change.
  • The two prompt reads use reasoning_effort: none, enable_thinking: false, max_tokens: 16; the decode is 448 tokens of plain prose. Each run is a fresh engine start with the model reloaded, and nothing else runs on the machine.
  • Both engines ran through the same server (0.1.40.2's serve/), so only the engine binary differs between rows.
  • Every run reports the same engine-side state, so the two versions are running the same model in the same shape: K=39 split, 14,531 expert cache slots (77% of the experts resident), 1,825 MiB free with everything loaded, 98.3% decode cache hit rate.

What I ruled out

  • --no-capture is not a usable workaround: the engine refuses it — --no-capture runs 'session_token', which has NO CPU expert pool hook, so the routed experts would silently contribute nothing. Pass --no-pool as well if the GPU-only floor is what you want. With --no-pool the CPU pool is gone, which is not the config I am after.
  • --vram-reserve-mib 4096 buys 2% decode and costs 6.6% on the 41K prompt: the auto split moves to K=41, the cache drops 14,531 → 13,278 slots and the hit rate 88% → 81%. Not worth it.
  • Not a slower machine: loading is faster now (39.97 GiB at 3.09 / 3.80 GiB/s on 0.1.39 vs 3.91 / 3.92 GiB/s on 0.1.40.2), and the two 0.1.40.2 runs agree (2,792 / 2,693 · 3,569 / 3,608 · 111.9 / 104.8).
  • The 15% from STRATA_MMVQ_IL is a same-session A/B (two runs about five minutes apart, one environment variable). The remaining 7-8% is against the 0.1.39 numbers from two days earlier, so I would want a back-to-back pair to confirm that part — happy to run one.

0.1.40.2 prints strata verify: capturing the N-token window lines that 0.1.39 does not, and the free VRAM after them is much lower here: 1825 MiB → 157-180 MiB with the defaults, 1825 → 210-428 MiB with STRATA_MMVQ_IL=0. This box is tight — the engine already shrinks the cache to the reserve (only 537 MiB free once the slots are written (reserve 2048 MiB)) — so if the interleaved-activation path needs VRAM, the captures may be interacting with it. That part is a guess; the measured part is the 15%. (Your #1275 notes "the verify captures are 57.2 MiB of device buffers" on a single gfx1200; here the per-window drop I read in the log is much larger, which may or may not be the same allocation.)

Ask

  • Is STRATA_MMVQ_IL expected to help on a two-GPU layer split, or is the interleaved activation copy meant for a single card? If it is meant to work here, I can run any A/B you want on this box.
  • You asked for two-GPU testers in the 0.1.40 notes. This machine (2 GPUs, 48 GB VRAM, 128 GB RAM, Windows, native pack) is available — say the word and I will run --pipeline-windows, --adapt-async, the resident RAM mode on a split (#848) and the --batch cases, and post the numbers.

Engine log

0.1.40.2, defaults, startup + the four measurements (strata-swift-iq3_xxs.log):

strata generate: layer split across 2 GPUs: CUDA0, then CUDA1 (split auto)
strata generate: layer split auto: CUDA0 80 SMs at 2.55 GHz -> 0.36 ms per layer, 25.42 GiB free before its session carve
strata generate: layer split auto: CUDA1 70 SMs at 2.48 GHz -> 0.42 ms per layer, 8.39 GiB free before its session carve
strata generate: layer split auto: K=39 - predicted 18.7 ms per decode window; the caches hold 20013 of 24576 profiled pairs (~99.4% of the routed mass), best of 46 placements
strata generate: expert cache auto: 26.68 GiB free, 2048 MiB reserved (+0 MiB for the draft head) -> 11373 slots
strata generate: only 537 MiB free once the slots are written (reserve 2048 MiB); shrinking the expert cache
strata generate: expert cache 14531 slots, 23.14 GiB of VRAM; policy is
strata generate: pre-filled 14531 of 14531 slots from the profile in 2.2 s (11090 MB/s); slot 0 verified
strata generate: layer split, CUDA1: 9.95 GiB free of 15.89, room for experts 7.85 GiB
strata generate: layer split: CUDA1 runs layers 39-47, expert cache 4356 slots (7.85 GiB), 4356 of its 4608 profiled pairs; slot 0 verified
strata generate: layer split: CUDA0 runs layers 0-38
strata generate: layer split auto: L2 probe: the split is startable on the live free figures
strata generate: session is up (engine 0.1.40.2)
strata serve: layer split: 77% of the experts resident, the prompt path's streamed ring 96 slots
strata serve: the prompt path borrows 2252 CUDA0 cache slots (3.63 GiB)
strata serve:   CUDA1 prompt path borrows 1996 of its 4356 slots (3.63 GiB)
strata serve: layer split: layers 0-38 (CUDA0), 39-47 (CUDA1), one hand-off per window
strata serve: 1825 MiB of VRAM free with everything loaded
strata verify: capturing the 6-token window (1825 MiB of VRAM free)
strata verify: capturing the 6-token window (333 MiB of VRAM free)
strata verify: capturing the 1-token window (1813 MiB of VRAM free)
strata verify: capturing the 1-token window (305 MiB of VRAM free)
strata verify: capturing the 4-token window (1801 MiB of VRAM free)
strata verify: capturing the 4-token window (397 MiB of VRAM free)
strata serve: decode expert cache hit rate: 88.3% (2116 hits / 2397 lookups); 3 more read by the GPU over PCIe or from another GPU (0.1% of all 2400 routed)
strata serve: decode expert cache hit rate: 88.9% (2132 hits / 2398 lookups); 2 more read by the GPU over PCIe or from another GPU (0.1% of all 2400 routed)
strata serve: decode expert cache hit rate: 93.4% (2240 hits / 2399 lookups); 1 more read by the GPU over PCIe or from another GPU (0.0% of all 2400 routed)
strata verify: capturing the 2-token window (1745 MiB of VRAM free)
strata verify: capturing the 2-token window (241 MiB of VRAM free)
strata verify: capturing the 3-token window (1733 MiB of VRAM free)
strata verify: capturing the 3-token window (157 MiB of VRAM free)
strata serve: decode expert cache hit rate: 98.3% (254254 hits / 258717 lookups); 3 more read by the GPU over PCIe or from another GPU (0.0% of all 258720 routed)

The same lines on 0.1.39 for comparison (no strata verify: capturing lines at all):

strata generate: layer split auto: K=39 - predicted 18.7 ms per decode window; the caches hold 20023 of 24576 profiled pairs (~99.4% of the routed mass)
strata generate: expert cache 14543 slots, 23.15 GiB of VRAM; policy is
strata generate: session is up (engine 0.1.39)
strata serve: layer split: 77% of the experts resident, the prompt path's streamed ring 96 slots
strata serve: 1823 MiB of VRAM free with everything loaded
strata serve: decode expert cache hit rate: 98.3% (255605 hits / 260157 lookups); 3 more read by the GPU over PCIe or from another GPU (0.0% of all 260160 routed)
Originally created by @Scorp1o117 on GitHub (Oct 7, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1373 --- ### Resolution (final): the original report was a cold-measurement artifact — with a warmed engine, 0.1.40.2 is **12.9% faster** here, not slower **The mistake was mine, in the benchmark.** My harness restarted the engine for every data point and took the decode measurement after only three requests. Strata's expert cache adapts while the server runs — it replaces cold experts with the ones actually being routed — so a freshly loaded engine is measurably slower than the same engine a few minutes later. I was measuring the warm-up ramp, not the engine. Measured properly — **one load, ten decodes inside the same process**, same config, same server layer, same frozen prompt, and the two engines run back to back in one evening: | engine | decode, 448 tokens, ten runs | mean | 13.8K prompt | 41K prompt | |---|---|---:|---:|---:| | 0.1.39 | 121.3 131.6 129.6 126.0 128.7 126.9 127.2 126.0 123.9 133.8 | 127.5 | 3,430.8 | 3,838.3 | | **0.1.40.2** | 135.1 139.3 145.7 144.2 142.1 147.1 146.9 145.7 143.8 149.9 | **144.0** | 3,312.9 | 3,851.6 | So 0.1.40.2 is **+12.9% decode** — the two ranges barely overlap and the within-run spread is about 10% — in the same direction as the +2.5 to +6% you measured on the RTX 5070. Nothing is broken. The earlier "update" that said the two were indistinguishable was wrong for the same reason. **Please ignore this whole report**, including the `STRATA_MMVQ_IL` isolation, the "−20%" and the free-VRAM observations: they all came from the same broken method. Two things in it were method-independent and still hold: - `--no-capture` is not usable here: the engine refuses it (`--no-capture runs 'session_token', which has NO CPU expert pool hook, so the routed experts would silently contribute nothing`). - `--vram-reserve-mib 4096` on this config moves the auto split to K=41, drops the cache to 13,278 slots and the hit rate from 88% to 81%. The lesson, in case it saves someone else the same detour: **warm up first, then measure.** Restart the engine as few times as possible and take repeated decodes inside one process. With that method I also found that a preceding 41K-token prompt does *not* degrade the decode that follows (134.0 and 133.2 right after it — the fastest numbers of the run), and that the within-version spread is about 10%, so anything smaller than that needs paired runs to be believed. Closing this — sorry for the noise. I am still glad to run the two-GPU work you asked for (resident RAM mode on a split, `--batch` on an all-resident stage, `--pipeline-windows`, with and without #848), this time with the warm-up method above. --- ### Update, same evening (~2 h later): this does not survive more runs — please read this part first I ran **0.1.39 four more times tonight** on the same machine, same session, same frozen prompt, and it is **just as slow as 0.1.40.2**: | engine | decode, 448 tokens, tonight's runs | mean | |---|---|---| | 0.1.40.2 | 111.9, 104.8 | **108.4** | | 0.1.39 | 74.8, 126.9, 105.4, 124.5 | **107.9** | The same 0.1.39 binary that measured 135.0 / 135.5 / 135.6 two days ago now spans **74.8 to 126.9 (70%)** within one evening. So the −20% in the report below is **an artifact of comparing against a two-day-old baseline**, not a 0.1.40.2 regression. Sorry for the noise — I would rather correct it now than let you spend time on it. What still holds, and what does not: - **The two versions are indistinguishable on this box** at this level of noise (mean decode 107.9 vs 108.4). - **`STRATA_MMVQ_IL` is unconfirmed too.** The pair I measured (104.8 → 124.6, five minutes apart) sits inside the band 0.1.39 itself produces tonight (74.8–126.9), so it cannot be separated from interference. - **The machine is roughly 25% slower tonight than on 2026-10-05, with much higher run-to-run variance**, and I do not yet know what changed on it. Every cross-session comparison in this report inherits that. - Still accurate: the new `strata verify: capturing the N-token window` lines, the free-VRAM drop after them, `--no-capture` being refused by the engine, and `--vram-reserve-mib 4096` moving the auto split to K=41 with the cache at 13,278 slots and the hit rate at 81%. The right experiment for a difference this small is **paired, interleaved runs** — engine A and B alternating across 4-6 pairs in one session, which cancels exactly this kind of drift. I am happy to run that on this machine and post the pairs, in either direction. The two-GPU offer in the last section stands. ### What happened I upgraded one installation from 0.1.39 to 0.1.40.2 (engine + Python layer; the `strata-*.json` was not touched). On the same machine, same model and same config, **every** measurement got slower: | | 0.1.39 (3 runs, 2026-10-05) | 0.1.40.2 (2 runs) | change | |---|---:|---:|---:| | 13.8K-token prompt, prefill | 3,263.7 tok/s | 2,742.9 tok/s | **−16.0%** | | 41K-token prompt, prefill | 3,735.4 tok/s | 3,588.6 tok/s | −3.9% | | 448-token answer, decode | 135.4 tok/s | 108.3 tok/s | **−20.0%** | I bisected it. **`STRATA_MMVQ_IL=0` recovers 15% of the decode** — the new "a 2-4 token verify window reads each weight block once", on by default on RTX 30 and newer: | | 13.8K prompt | 41K prompt | decode | |---|---:|---:|---:| | 0.1.39 | 3,263.7 | 3,735.4 | **135.4** | | 0.1.40.2, defaults | 2,742.9 | 3,588.6 | 108.3 | | 0.1.40.2 + `STRATA_MMVQ_IL=0` | 3,028.4 | 3,653.8 | 124.6 | | 0.1.40.2 + `STRATA_MMVQ_IL=0` + `--vram-reserve-mib 4096` | 3,023.0 | 3,414.0 | 126.7 | So here the new kernel costs 15% of the decode instead of the +1.3 to +2.2% you measured on one RTX 5070, and with it off this box is still 8% below 0.1.39. ### Strata version, GPU, OS - **0.1.40.2** (engine `strata.exe` sha256 `04a4df567870…`, 159,099,904 B), CUDA 13.0 build - Windows 11 (build 26300), NVIDIA driver 617.14 - GPU 0: **RTX 4080 SUPER 32 GB** (sm_89, 80 SMs @ 2.55 GHz) · GPU 1: **RTX 5070 Ti 16 GB** (sm_120, 70 SMs @ 2.48 GHz) - AMD Ryzen Threadripper 3970X (32C/64T), 128 GB RAM - Model: **Swift 1.5 IQ3_XXS** native Strata pack (70.6 GiB over two shards; the weights are a community abliteration of Swift 1.5, but the pack layout is Swift's and the model is constant across every run below) - Args: `--pack … --native (shard 1) --ple-gguf (shard 1) --expert-profile … --expert-cache auto --prefill auto --spec 4 --mtp … --max-context 262144 --kv int8 --vision --spec-min-p 0.70 --kv-resident 32768 --pool-workers 15 --pool-affinity all --pcie-frac 0.20 --vram-reserve-mib 2048`, `"gpu": [0, 1]`, `"layer_split": "auto"` → **K=39** ### How I measured - **The prompt is frozen**: `docs/DETAILS.md` exactly as shipped in 0.1.39 (90,707 B, sha256 `85EDA834…`), so the 0.1.39 and 0.1.40.2 prompt tok/s read the same text. The 41K prompt is that document three times (80,494 tokens, 16,384 of them reused from the conversation cache, so 64,110 read). Token counts differ by 3 and 9 tokens between the versions, from the tokenizer change. - The two prompt reads use `reasoning_effort: none`, `enable_thinking: false`, `max_tokens: 16`; the decode is 448 tokens of plain prose. Each run is a fresh engine start with the model reloaded, and nothing else runs on the machine. - Both engines ran through **the same server** (0.1.40.2's `serve/`), so only the engine binary differs between rows. - Every run reports the same engine-side state, so the two versions are running the same model in the same shape: K=39 split, 14,531 expert cache slots (77% of the experts resident), 1,825 MiB free with everything loaded, 98.3% decode cache hit rate. ### What I ruled out - **`--no-capture` is not a usable workaround**: the engine refuses it — `--no-capture runs 'session_token', which has NO CPU expert pool hook, so the routed experts would silently contribute nothing. Pass --no-pool as well if the GPU-only floor is what you want.` With `--no-pool` the CPU pool is gone, which is not the config I am after. - **`--vram-reserve-mib 4096`** buys 2% decode and costs 6.6% on the 41K prompt: the auto split moves to K=41, the cache drops 14,531 → 13,278 slots and the hit rate 88% → 81%. Not worth it. - **Not a slower machine**: loading is *faster* now (39.97 GiB at 3.09 / 3.80 GiB/s on 0.1.39 vs 3.91 / 3.92 GiB/s on 0.1.40.2), and the two 0.1.40.2 runs agree (2,792 / 2,693 · 3,569 / 3,608 · 111.9 / 104.8). - The 15% from `STRATA_MMVQ_IL` is a **same-session A/B** (two runs about five minutes apart, one environment variable). The remaining 7-8% is against the 0.1.39 numbers from two days earlier, so I would want a back-to-back pair to confirm that part — happy to run one. ### Possibly related, not measured 0.1.40.2 prints `strata verify: capturing the N-token window` lines that 0.1.39 does not, and the free VRAM after them is much lower here: `1825 MiB → 157-180 MiB` with the defaults, `1825 → 210-428 MiB` with `STRATA_MMVQ_IL=0`. This box is tight — the engine already shrinks the cache to the reserve (`only 537 MiB free once the slots are written (reserve 2048 MiB)`) — so if the interleaved-activation path needs VRAM, the captures may be interacting with it. That part is a guess; the measured part is the 15%. (Your #1275 notes "the verify captures are 57.2 MiB of device buffers" on a single gfx1200; here the per-window drop I read in the log is much larger, which may or may not be the same allocation.) ### Ask - Is `STRATA_MMVQ_IL` expected to help on a **two-GPU layer split**, or is the interleaved activation copy meant for a single card? If it is meant to work here, I can run any A/B you want on this box. - You asked for two-GPU testers in the 0.1.40 notes. This machine (2 GPUs, 48 GB VRAM, 128 GB RAM, Windows, native pack) is available — say the word and I will run `--pipeline-windows`, `--adapt-async`, the resident RAM mode on a split (#848) and the `--batch` cases, and post the numbers. ### Engine log 0.1.40.2, defaults, startup + the four measurements (`strata-swift-iq3_xxs.log`): ``` strata generate: layer split across 2 GPUs: CUDA0, then CUDA1 (split auto) strata generate: layer split auto: CUDA0 80 SMs at 2.55 GHz -> 0.36 ms per layer, 25.42 GiB free before its session carve strata generate: layer split auto: CUDA1 70 SMs at 2.48 GHz -> 0.42 ms per layer, 8.39 GiB free before its session carve strata generate: layer split auto: K=39 - predicted 18.7 ms per decode window; the caches hold 20013 of 24576 profiled pairs (~99.4% of the routed mass), best of 46 placements strata generate: expert cache auto: 26.68 GiB free, 2048 MiB reserved (+0 MiB for the draft head) -> 11373 slots strata generate: only 537 MiB free once the slots are written (reserve 2048 MiB); shrinking the expert cache strata generate: expert cache 14531 slots, 23.14 GiB of VRAM; policy is strata generate: pre-filled 14531 of 14531 slots from the profile in 2.2 s (11090 MB/s); slot 0 verified strata generate: layer split, CUDA1: 9.95 GiB free of 15.89, room for experts 7.85 GiB strata generate: layer split: CUDA1 runs layers 39-47, expert cache 4356 slots (7.85 GiB), 4356 of its 4608 profiled pairs; slot 0 verified strata generate: layer split: CUDA0 runs layers 0-38 strata generate: layer split auto: L2 probe: the split is startable on the live free figures strata generate: session is up (engine 0.1.40.2) strata serve: layer split: 77% of the experts resident, the prompt path's streamed ring 96 slots strata serve: the prompt path borrows 2252 CUDA0 cache slots (3.63 GiB) strata serve: CUDA1 prompt path borrows 1996 of its 4356 slots (3.63 GiB) strata serve: layer split: layers 0-38 (CUDA0), 39-47 (CUDA1), one hand-off per window strata serve: 1825 MiB of VRAM free with everything loaded strata verify: capturing the 6-token window (1825 MiB of VRAM free) strata verify: capturing the 6-token window (333 MiB of VRAM free) strata verify: capturing the 1-token window (1813 MiB of VRAM free) strata verify: capturing the 1-token window (305 MiB of VRAM free) strata verify: capturing the 4-token window (1801 MiB of VRAM free) strata verify: capturing the 4-token window (397 MiB of VRAM free) strata serve: decode expert cache hit rate: 88.3% (2116 hits / 2397 lookups); 3 more read by the GPU over PCIe or from another GPU (0.1% of all 2400 routed) strata serve: decode expert cache hit rate: 88.9% (2132 hits / 2398 lookups); 2 more read by the GPU over PCIe or from another GPU (0.1% of all 2400 routed) strata serve: decode expert cache hit rate: 93.4% (2240 hits / 2399 lookups); 1 more read by the GPU over PCIe or from another GPU (0.0% of all 2400 routed) strata verify: capturing the 2-token window (1745 MiB of VRAM free) strata verify: capturing the 2-token window (241 MiB of VRAM free) strata verify: capturing the 3-token window (1733 MiB of VRAM free) strata verify: capturing the 3-token window (157 MiB of VRAM free) strata serve: decode expert cache hit rate: 98.3% (254254 hits / 258717 lookups); 3 more read by the GPU over PCIe or from another GPU (0.0% of all 258720 routed) ``` The same lines on 0.1.39 for comparison (no `strata verify: capturing` lines at all): ``` strata generate: layer split auto: K=39 - predicted 18.7 ms per decode window; the caches hold 20023 of 24576 profiled pairs (~99.4% of the routed mass) strata generate: expert cache 14543 slots, 23.15 GiB of VRAM; policy is strata generate: session is up (engine 0.1.39) strata serve: layer split: 77% of the experts resident, the prompt path's streamed ring 96 slots strata serve: 1823 MiB of VRAM free with everything loaded strata serve: decode expert cache hit rate: 98.3% (255605 hits / 260157 lookups); 3 more read by the GPU over PCIe or from another GPU (0.0% of all 260160 routed) ```
Author
Owner

@Scorp1o117 commented on GitHub (Oct 7, 2026):


Update, same evening (~2 h later): this does not survive more runs — please read this part first

I ran 0.1.39 four more times tonight on the same machine, same session, same frozen prompt, and it is just as slow as 0.1.40.2:

engine decode, 448 tokens, tonight's runs mean
0.1.40.2 111.9, 104.8 108.4
0.1.39 74.8, 126.9, 105.4, 124.5 107.9

The same 0.1.39 binary that measured 135.0 / 135.5 / 135.6 two days ago now spans 74.8 to 126.9 (70%) within one evening. So the −20% in the report below is an artifact of comparing against a two-day-old baseline, not a 0.1.40.2 regression. Sorry for the noise — I would rather correct it now than let you spend time on it.

What still holds, and what does not:

  • The two versions are indistinguishable on this box at this level of noise (mean decode 107.9 vs 108.4).
  • STRATA_MMVQ_IL is unconfirmed too. The pair I measured (104.8 → 124.6, five minutes apart) sits inside the band 0.1.39 itself produces tonight (74.8–126.9), so it cannot be separated from interference.
  • The machine is roughly 25% slower tonight than on 2026-10-05, with much higher run-to-run variance, and I do not yet know what changed on it. Every cross-session comparison in this report inherits that.
  • Still accurate: the new strata verify: capturing the N-token window lines, the free-VRAM drop after them, --no-capture being refused by the engine, and --vram-reserve-mib 4096 moving the auto split to K=41 with the cache at 13,278 slots and the hit rate at 81%.

The right experiment for a difference this small is paired, interleaved runs — engine A and B alternating across 4-6 pairs in one session, which cancels exactly this kind of drift. I am happy to run that on this machine and post the pairs, in either direction. The two-GPU offer in the last section stands.

<!-- gh-comment-id:6039778409 --> @Scorp1o117 commented on GitHub (Oct 7, 2026): --- ### Update, same evening (~2 h later): this does not survive more runs — please read this part first I ran **0.1.39 four more times tonight** on the same machine, same session, same frozen prompt, and it is **just as slow as 0.1.40.2**: | engine | decode, 448 tokens, tonight's runs | mean | |---|---|---| | 0.1.40.2 | 111.9, 104.8 | **108.4** | | 0.1.39 | 74.8, 126.9, 105.4, 124.5 | **107.9** | The same 0.1.39 binary that measured 135.0 / 135.5 / 135.6 two days ago now spans **74.8 to 126.9 (70%)** within one evening. So the −20% in the report below is **an artifact of comparing against a two-day-old baseline**, not a 0.1.40.2 regression. Sorry for the noise — I would rather correct it now than let you spend time on it. What still holds, and what does not: - **The two versions are indistinguishable on this box** at this level of noise (mean decode 107.9 vs 108.4). - **`STRATA_MMVQ_IL` is unconfirmed too.** The pair I measured (104.8 → 124.6, five minutes apart) sits inside the band 0.1.39 itself produces tonight (74.8–126.9), so it cannot be separated from interference. - **The machine is roughly 25% slower tonight than on 2026-10-05, with much higher run-to-run variance**, and I do not yet know what changed on it. Every cross-session comparison in this report inherits that. - Still accurate: the new `strata verify: capturing the N-token window` lines, the free-VRAM drop after them, `--no-capture` being refused by the engine, and `--vram-reserve-mib 4096` moving the auto split to K=41 with the cache at 13,278 slots and the hit rate at 81%. The right experiment for a difference this small is **paired, interleaved runs** — engine A and B alternating across 4-6 pairs in one session, which cancels exactly this kind of drift. I am happy to run that on this machine and post the pairs, in either direction. The two-GPU offer in the last section stands.
Author
Owner

@Scorp1o117 commented on GitHub (Oct 7, 2026):


Resolution (final): the original report was a cold-measurement artifact — with a warmed engine, 0.1.40.2 is 12.9% faster here, not slower

The mistake was mine, in the benchmark. My harness restarted the engine for every data point and took the decode measurement after only three requests. Strata's expert cache adapts while the server runs — it replaces cold experts with the ones actually being routed — so a freshly loaded engine is measurably slower than the same engine a few minutes later. I was measuring the warm-up ramp, not the engine.

Measured properly — one load, ten decodes inside the same process, same config, same server layer, same frozen prompt, and the two engines run back to back in one evening:

engine decode, 448 tokens, ten runs mean 13.8K prompt 41K prompt
0.1.39 121.3 131.6 129.6 126.0 128.7 126.9 127.2 126.0 123.9 133.8 127.5 3,430.8 3,838.3
0.1.40.2 135.1 139.3 145.7 144.2 142.1 147.1 146.9 145.7 143.8 149.9 144.0 3,312.9 3,851.6

So 0.1.40.2 is +12.9% decode — the two ranges barely overlap and the within-run spread is about 10% — in the same direction as the +2.5 to +6% you measured on the RTX 5070. Nothing is broken.

The earlier "update" that said the two were indistinguishable was wrong for the same reason. Please ignore this whole report, including the STRATA_MMVQ_IL isolation, the "−20%" and the free-VRAM observations: they all came from the same broken method.

Two things in it were method-independent and still hold:

  • --no-capture is not usable here: the engine refuses it (--no-capture runs 'session_token', which has NO CPU expert pool hook, so the routed experts would silently contribute nothing).
  • --vram-reserve-mib 4096 on this config moves the auto split to K=41, drops the cache to 13,278 slots and the hit rate from 88% to 81%.

The lesson, in case it saves someone else the same detour: warm up first, then measure. Restart the engine as few times as possible and take repeated decodes inside one process. With that method I also found that a preceding 41K-token prompt does not degrade the decode that follows (134.0 and 133.2 right after it — the fastest numbers of the run), and that the within-version spread is about 10%, so anything smaller than that needs paired runs to be believed.

Closing this — sorry for the noise. I am still glad to run the two-GPU work you asked for (resident RAM mode on a split, --batch on an all-resident stage, --pipeline-windows, with and without #848), this time with the warm-up method above.

<!-- gh-comment-id:6040063628 --> @Scorp1o117 commented on GitHub (Oct 7, 2026): --- ### Resolution (final): the original report was a cold-measurement artifact — with a warmed engine, 0.1.40.2 is **12.9% faster** here, not slower **The mistake was mine, in the benchmark.** My harness restarted the engine for every data point and took the decode measurement after only three requests. Strata's expert cache adapts while the server runs — it replaces cold experts with the ones actually being routed — so a freshly loaded engine is measurably slower than the same engine a few minutes later. I was measuring the warm-up ramp, not the engine. Measured properly — **one load, ten decodes inside the same process**, same config, same server layer, same frozen prompt, and the two engines run back to back in one evening: | engine | decode, 448 tokens, ten runs | mean | 13.8K prompt | 41K prompt | |---|---|---:|---:|---:| | 0.1.39 | 121.3 131.6 129.6 126.0 128.7 126.9 127.2 126.0 123.9 133.8 | 127.5 | 3,430.8 | 3,838.3 | | **0.1.40.2** | 135.1 139.3 145.7 144.2 142.1 147.1 146.9 145.7 143.8 149.9 | **144.0** | 3,312.9 | 3,851.6 | So 0.1.40.2 is **+12.9% decode** — the two ranges barely overlap and the within-run spread is about 10% — in the same direction as the +2.5 to +6% you measured on the RTX 5070. Nothing is broken. The earlier "update" that said the two were indistinguishable was wrong for the same reason. **Please ignore this whole report**, including the `STRATA_MMVQ_IL` isolation, the "−20%" and the free-VRAM observations: they all came from the same broken method. Two things in it were method-independent and still hold: - `--no-capture` is not usable here: the engine refuses it (`--no-capture runs 'session_token', which has NO CPU expert pool hook, so the routed experts would silently contribute nothing`). - `--vram-reserve-mib 4096` on this config moves the auto split to K=41, drops the cache to 13,278 slots and the hit rate from 88% to 81%. The lesson, in case it saves someone else the same detour: **warm up first, then measure.** Restart the engine as few times as possible and take repeated decodes inside one process. With that method I also found that a preceding 41K-token prompt does *not* degrade the decode that follows (134.0 and 133.2 right after it — the fastest numbers of the run), and that the within-version spread is about 10%, so anything smaller than that needs paired runs to be believed. Closing this — sorry for the noise. I am still glad to run the two-GPU work you asked for (resident RAM mode on a split, `--batch` on an all-resident stage, `--pipeline-windows`, with and without #848), this time with the warm-up method above.
Author
Owner

@Niko1221 commented on GitHub (Oct 7, 2026):

Thanks for the report, and for correcting it yourself before we spent time on it. The 0.1.39 baseline moving from 135 to 75-127 tok/s inside one evening on the same binary is the real finding: nothing we ship can be compared against a number from two days earlier on that box.

What we did: STRATA_MMVQ_IL (the interleaved q8_1 verify-window projections) stays on by default. On one card at a time it measured faster in interleaved pairs (RTX 3060 +4.2%, RTX 5070 +1.3 to +2.2%), your pair is the only data on a two-GPU layer split, and you found it inside your own run-to-run spread. It is bitwise identical either way, so STRATA_MMVQ_IL=0 switches it off if a paired run shows it costs you speed; if it does, we turn it off for layer splits.

The paired run you offered is exactly the right test, and we would like it. Same 0.1.40.2 binary, same frozen prompt, alternate A and B for 5-6 pairs in one session (A, B, A, B, ...), 448-token decode, A = defaults, B = one toggle from the list. First pair: A = defaults against B = STRATA_MMVQ_IL=0, so we can see whether the 15% shows up in a paired run at all. If it does not, the rest is noise and we can stop.

If a pair does separate, the next toggles are below, one at a time, each against the plain defaults. Each one switches off a change that is on by default on CUDA in 0.1.40.x and that a Windows CUDA layer split runs. All are bitwise-identical switches, so the text must not change:

  • STRATA_MULTI_BLOCK_ARGMAX=0 (head argmax over many blocks a row; sm_80-89, so your 4080 SUPER but not the 5070 Ti)
  • STRATA_ONE_TOKEN_COMMIT=0 (a one-token window commits itself instead of launching the commit graph)
  • STRATA_HEAD_MIX_MULTI=0 (the head's hyper-connection read in one launch set)
  • STRATA_NO_MULTI_GR=1 (per-token residual writes instead of one launch)
  • STRATA_NO_BATCH_KV_STEP=1 (per-token K/V and indexer appends instead of one batched append)
  • STRATA_NO_NORM_ROPE=1 (keeps the norm and the rope as two kernels)
  • STRATA_MTP_SHARED_BRANCH=0 (the draft layer's shared expert on the main stream)

The strata verify: capturing the N-token window lines are only a log line added in 0.1.40.2 (#1275); the captures themselves existed before. The free VRAM you see after them is the graphs, and on a box that already shrinks the cache to the reserve the next thing to check is --vram-reserve-mib with the cache pinned by hand (--expert-cache 14000), so the cache size is identical in both arms.

For the pairs, please post the engine's expert cache N slots line for each arm, because a cache that lands on a different slot count changes decode by more than any of these toggles.

Your two-GPU offer is welcome too. After the paired run above, --pipeline-windows 2 against 1 and --batch on the split are the cases nobody has measured on Windows.

<!-- gh-comment-id:6043805731 --> @Niko1221 commented on GitHub (Oct 7, 2026): Thanks for the report, and for correcting it yourself before we spent time on it. The 0.1.39 baseline moving from 135 to 75-127 tok/s inside one evening on the same binary is the real finding: nothing we ship can be compared against a number from two days earlier on that box. What we did: `STRATA_MMVQ_IL` (the interleaved q8_1 verify-window projections) stays on by default. On one card at a time it measured faster in interleaved pairs (RTX 3060 +4.2%, RTX 5070 +1.3 to +2.2%), your pair is the only data on a two-GPU layer split, and you found it inside your own run-to-run spread. It is bitwise identical either way, so `STRATA_MMVQ_IL=0` switches it off if a paired run shows it costs you speed; if it does, we turn it off for layer splits. The paired run you offered is exactly the right test, and we would like it. Same 0.1.40.2 binary, same frozen prompt, alternate A and B for 5-6 pairs in one session (A, B, A, B, ...), 448-token decode, A = defaults, B = one toggle from the list. First pair: A = defaults against B = `STRATA_MMVQ_IL=0`, so we can see whether the 15% shows up in a paired run at all. If it does not, the rest is noise and we can stop. If a pair does separate, the next toggles are below, one at a time, each against the plain defaults. Each one switches off a change that is on by default on CUDA in 0.1.40.x and that a Windows CUDA layer split runs. All are bitwise-identical switches, so the text must not change: - `STRATA_MULTI_BLOCK_ARGMAX=0` (head argmax over many blocks a row; sm_80-89, so your 4080 SUPER but not the 5070 Ti) - `STRATA_ONE_TOKEN_COMMIT=0` (a one-token window commits itself instead of launching the commit graph) - `STRATA_HEAD_MIX_MULTI=0` (the head's hyper-connection read in one launch set) - `STRATA_NO_MULTI_GR=1` (per-token residual writes instead of one launch) - `STRATA_NO_BATCH_KV_STEP=1` (per-token K/V and indexer appends instead of one batched append) - `STRATA_NO_NORM_ROPE=1` (keeps the norm and the rope as two kernels) - `STRATA_MTP_SHARED_BRANCH=0` (the draft layer's shared expert on the main stream) The `strata verify: capturing the N-token window` lines are only a log line added in 0.1.40.2 (#1275); the captures themselves existed before. The free VRAM you see after them is the graphs, and on a box that already shrinks the cache to the reserve the next thing to check is `--vram-reserve-mib` with the cache pinned by hand (`--expert-cache 14000`), so the cache size is identical in both arms. For the pairs, please post the engine's `expert cache N slots` line for each arm, because a cache that lands on a different slot count changes decode by more than any of these toggles. Your two-GPU offer is welcome too. After the paired run above, `--pipeline-windows 2` against 1 and `--batch` on the split are the cases nobody has measured on Windows.
Author
Owner

@Scorp1o117 commented on GitHub (Oct 8, 2026):

@Niko1221 — the paired run you asked for is done. STRATA_MMVQ_IL is a ~2% win here, not a 15% loss — but the run also turned up the thing that produced the 15% in the first place, and it is not this toggle.

The pairs (your protocol)

Same 0.1.40.2 binary, same frozen prompt, one session, A and B alternating, six pairs. Each arm: fresh engine, 4 warm-up decodes discarded, then 5 measured decodes (448 tokens, temperature 0, reasoning_effort: none). Per your note, the engine's expert cache line for every arm:

pair A = defaults B = STRATA_MMVQ_IL=0 B − A
1 145.4 142.8 −1.8%
2 127.4 143.0 +12.2%
3 145.9 142.8 −2.1%
4 145.8 143.0 −1.9%
5 146.2 143.5 −1.8%
6 146.7 127.9 −12.8%

expert cache 14531 slots on all twelve arms — the cache did not move, so it is not a slot-count effect.

Robust comparison, both ways agreeing:

  • dropping the two slow arms: A 146.0 vs B 143.0 → B − A = −2.0%
  • medians across all six arms: A 145.9 vs B 142.9 → −2.0%

So the default (toggle on) is ~2% faster, the same direction as your RTX 3060 (+4.2%) and RTX 5070 (+1.3 to +2.2%). Please ignore my 15% — it does not reproduce in a paired run, and you were right not to act on it.

What did produce it: an engine load comes up in one of two states

Look at pair 2 and pair 6. In pair 2 the A arm sat at 127.4 for all five decodes (range 124.6–129.6); in pair 6 the B arm sat at 127.9 for all five (range 118.7–133.4, the widest in the run). Every other arm sat at 142.8–146.7 with a 1–3% spread.

  • The slow state is ~13% below the fast state (127 vs 146), it hit each arm once, and it persists for the whole engine instance — it is not a per-request hiccup and not arm-specific.
  • It appeared in 2 of 12 loads here.
  • It is decided at load time, not warmed away: the five decodes in a slow arm never recovered, and the five in a fast arm never degraded.
  • expert cache, split (K=39), layer ranges and PCIe reads are identical between a slow arm and a fast arm.

This is the state my original report was measuring, and it also means the +12.9% I posted for 0.1.39 vs 0.1.40.2 in the body above is not reliable either — that was one engine load per version, and one of the two was very likely a slow load. I have no trustworthy 0.1.39-vs-0.1.40.2 number; I am not claiming one.

What I would try next, if it is useful

Your suggestion is the right probe, and now it has a target: pin the cache with --expert-cache 14000 so both states have the identical slot count, then walk --vram-reserve-mib and see whether the slow load is a memory-layout effect. If you would rather narrow it first, tell me which single knob you want held and I will run ~10 loads of the same config and report the slow/fast split — that at least gives the incidence rate on this box (2/12 so far) before we change anything.

Still on the list and being run now, as you asked: --pipeline-windows 2 against 1, and --batch on the split, both on Windows, paired and warmed.

Hardware unchanged: RTX 4080 SUPER 32 GB (sm_89) + RTX 5070 Ti 16 GB (sm_120), Ryzen 3970X, 128 GB, Windows 11 26300, driver 617.14, Swift 1.5 IQ3_XXS native pack, --layer-split auto → K=39, 14,543 slots at load, 77% of experts resident.

<!-- gh-comment-id:6052064722 --> @Scorp1o117 commented on GitHub (Oct 8, 2026): @Niko1221 — the paired run you asked for is done. **`STRATA_MMVQ_IL` is a ~2% win here, not a 15% loss** — but the run also turned up the thing that produced the 15% in the first place, and it is not this toggle. ### The pairs (your protocol) Same 0.1.40.2 binary, same frozen prompt, one session, A and B alternating, six pairs. Each arm: fresh engine, **4 warm-up decodes discarded, then 5 measured decodes** (448 tokens, `temperature 0`, `reasoning_effort: none`). Per your note, the engine's `expert cache` line for every arm: | pair | A = defaults | B = `STRATA_MMVQ_IL=0` | B − A | |---|---:|---:|---:| | 1 | 145.4 | 142.8 | −1.8% | | 2 | **127.4** | 143.0 | +12.2% | | 3 | 145.9 | 142.8 | −2.1% | | 4 | 145.8 | 143.0 | −1.9% | | 5 | 146.2 | 143.5 | −1.8% | | 6 | 146.7 | **127.9** | −12.8% | `expert cache 14531 slots` on **all twelve** arms — the cache did not move, so it is not a slot-count effect. Robust comparison, both ways agreeing: - dropping the two slow arms: A 146.0 vs B 143.0 → **B − A = −2.0%** - medians across all six arms: A 145.9 vs B 142.9 → **−2.0%** So the default (toggle on) is ~2% faster, the same direction as your RTX 3060 (+4.2%) and RTX 5070 (+1.3 to +2.2%). **Please ignore my 15%** — it does not reproduce in a paired run, and you were right not to act on it. ### What did produce it: an engine load comes up in one of two states Look at pair 2 and pair 6. In pair 2 the **A** arm sat at 127.4 for all five decodes (range 124.6–129.6); in pair 6 the **B** arm sat at 127.9 for all five (range 118.7–133.4, the widest in the run). Every other arm sat at 142.8–146.7 with a 1–3% spread. - The slow state is **~13% below** the fast state (127 vs 146), it **hit each arm once**, and it **persists for the whole engine instance** — it is not a per-request hiccup and not arm-specific. - It appeared in **2 of 12 loads** here. - It is decided at **load time**, not warmed away: the five decodes in a slow arm never recovered, and the five in a fast arm never degraded. - `expert cache`, split (`K=39`), layer ranges and PCIe reads are identical between a slow arm and a fast arm. This is the state my original report was measuring, and it also means the **+12.9%** I posted for 0.1.39 vs 0.1.40.2 in the body above is **not reliable either** — that was one engine load per version, and one of the two was very likely a slow load. I have no trustworthy 0.1.39-vs-0.1.40.2 number; I am not claiming one. ### What I would try next, if it is useful Your suggestion is the right probe, and now it has a target: pin the cache with `--expert-cache 14000` so both states have the identical slot count, then walk `--vram-reserve-mib` and see whether the slow load is a memory-layout effect. If you would rather narrow it first, tell me which single knob you want held and I will run ~10 loads of the *same* config and report the slow/fast split — that at least gives the incidence rate on this box (2/12 so far) before we change anything. Still on the list and being run now, as you asked: `--pipeline-windows 2` against 1, and `--batch` on the split, both on Windows, paired and warmed. Hardware unchanged: RTX 4080 SUPER 32 GB (sm_89) + RTX 5070 Ti 16 GB (sm_120), Ryzen 3970X, 128 GB, Windows 11 26300, driver 617.14, Swift 1.5 IQ3_XXS native pack, `--layer-split auto` → K=39, 14,543 slots at load, 77% of experts resident.
Author
Owner

@Scorp1o117 commented on GitHub (Oct 8, 2026):

@Niko1221 — both two-GPU cases you asked for are done, on Windows, paired and warmed the same way as the STRATA_MMVQ_IL run. Three results, one caveat on the pinning you suggested.

Protocol for every arm: fresh engine, 4 warm-up decodes discarded, then 5 measured decodes (448 tokens) plus one 13.8K-token prompt read. Same 0.1.40.2 binary, same frozen prompt. A and B alternate inside one session.

1. --pipeline-windows 2 against 1 — decode −14.5%, prompt unchanged

pair A = default B = --pipeline-windows 2 decode B−A 13.8K prompt B−A
1 146.1 127.1 −13.0% +1.1%
2 150.7 128.7 −14.6% −0.7%
3 150.7 127.4 −15.5% −1.0%
4 150.8 127.9 −15.2% −0.3%
5 150.6 129.4 −14.1% −0.3%

decode: mean −14.5%, median −14.6%, range −15.5% to −13.0%, 5 of 5 pairs the same way. Prompt: −0.2% (range −1.0% to +1.1%).

Both arms were unusually tight here (A 146.1–150.8, B 127.1–129.4), so this is the cleanest set of the three. On this config the toggle costs 22 tok/s of decode and buys nothing on a 13.8K prompt read — which is the opposite of what it is for. I did not test a multi-conversation prompt load, only one prompt at a time; if that is the case it targets, say so and I will measure it.

2. --batch 4 on the split — total throughput +22.8%, per-request −69%

Three rounds per arm, each round firing 4 concurrent 448-token requests with four different prompts (so nothing is shared through the conversation cache):

wall for the burst total tokens total throughput per-request last of the 4 done
default (serialized) 12.8 / 13.2 / 13.0 s 1780 / 1792 / 1792 138.9 / 135.9 / 138.1 143.8 / 141.5 / 144.1 12.99 s (mean)
--batch 4 11.4 / 10.3 / 10.2 s 1792 each 157.1 / 174.1 / 175.9 41.2 / 45.4 / 46.0 10.63 s (mean)
  • total throughput 137.6 → 169.0 tok/s (+22.8%)
  • each request 143.1 → 44.2 tok/s (−69.1%)
  • a burst of four finishes 18% sooner (13.0 → 10.6 s)

So on a 2-GPU split on Windows it does what it says: more work per second, individual requests much slower. It did not reach the 4-GPU numbers in the docs (360 for 8 requests) — 2 GPUs and 48 GB here, and the cache is 14.5k slots against 24,576 profiled pairs.

3. The pinning you suggested does not equalise the cache

--expert-cache 14000 on both arms gave expert cache 15515 slots for the default arm and 15297 for the --pipeline-windows arm — the toggle still costs 218 slots (1.4%). With auto it was 14531 against 14332, also 199 apart. So the pin fixes the size but not the difference: the second arm's extra buffers come out of the same pool. Worth knowing before anyone repeats this; if you want the pair truly slot-identical, tell me which knob to hold instead.

Also note the pinned arms measured faster than the auto ones here (15515 and 146–150 tok/s against 14531 and 142–146), so the pin is not a neutral change — I would not compare a pinned arm against an auto arm.

The load lottery, for context

This run series was quiet throughout and no slow arm appeared at all — 10 arms in 126.1–150.8. The earlier series, where I was running commands of my own on the same box between arms, had slow arms at ~127 and twice at 108/70. That supports what I wrote in the previous comment: the slow state tracks host activity rather than anything in the engine, and anything measured on a box you are also using needs the pairs.

Still untouched if you want it: --batch-mtp (only relevant with 2–4 clients, and it is the companion to the result above), and --pipeline-windows with several conversations at once.

Box: RTX 4080 SUPER 32 GB + RTX 5070 Ti 16 GB, Ryzen 3970X, 128 GB, Windows 11 26300, driver 617.14, Swift 1.5 IQ3_XXS native pack, --layer-split auto → K=39, 77% of experts resident, --kv int8, --kv-resident 32768, --spec 4 + MTP, --spec-min-p 0.70, --pcie-frac 0.20, --pool-workers 15, --vram-reserve-mib 2048.

<!-- gh-comment-id:6053181308 --> @Scorp1o117 commented on GitHub (Oct 8, 2026): @Niko1221 — both two-GPU cases you asked for are done, on Windows, paired and warmed the same way as the `STRATA_MMVQ_IL` run. Three results, one caveat on the pinning you suggested. Protocol for every arm: fresh engine, 4 warm-up decodes discarded, then 5 measured decodes (448 tokens) plus one 13.8K-token prompt read. Same 0.1.40.2 binary, same frozen prompt. A and B alternate inside one session. ### 1. `--pipeline-windows 2` against 1 — decode −14.5%, prompt unchanged | pair | A = default | B = `--pipeline-windows 2` | decode B−A | 13.8K prompt B−A | |---|---:|---:|---:|---:| | 1 | 146.1 | 127.1 | −13.0% | +1.1% | | 2 | 150.7 | 128.7 | −14.6% | −0.7% | | 3 | 150.7 | 127.4 | −15.5% | −1.0% | | 4 | 150.8 | 127.9 | −15.2% | −0.3% | | 5 | 150.6 | 129.4 | −14.1% | −0.3% | **decode: mean −14.5%, median −14.6%, range −15.5% to −13.0%, 5 of 5 pairs the same way. Prompt: −0.2% (range −1.0% to +1.1%).** Both arms were unusually tight here (A 146.1–150.8, B 127.1–129.4), so this is the cleanest set of the three. On this config the toggle costs 22 tok/s of decode and buys nothing on a 13.8K prompt read — which is the opposite of what it is for. I did not test a *multi-conversation* prompt load, only one prompt at a time; if that is the case it targets, say so and I will measure it. ### 2. `--batch 4` on the split — total throughput +22.8%, per-request −69% Three rounds per arm, each round firing **4 concurrent 448-token requests** with four different prompts (so nothing is shared through the conversation cache): | | wall for the burst | total tokens | **total throughput** | per-request | last of the 4 done | |---|---:|---:|---:|---:|---:| | default (serialized) | 12.8 / 13.2 / 13.0 s | 1780 / 1792 / 1792 | 138.9 / 135.9 / **138.1** | 143.8 / 141.5 / 144.1 | 12.99 s (mean) | | `--batch 4` | 11.4 / 10.3 / 10.2 s | 1792 each | 157.1 / 174.1 / **175.9** | 41.2 / 45.4 / 46.0 | 10.63 s (mean) | - **total throughput 137.6 → 169.0 tok/s (+22.8%)** - **each request 143.1 → 44.2 tok/s (−69.1%)** - **a burst of four finishes 18% sooner (13.0 → 10.6 s)** So on a 2-GPU split on Windows it does what it says: more work per second, individual requests much slower. It did not reach the 4-GPU numbers in the docs (360 for 8 requests) — 2 GPUs and 48 GB here, and the cache is 14.5k slots against 24,576 profiled pairs. ### 3. The pinning you suggested does not equalise the cache `--expert-cache 14000` on **both** arms gave `expert cache 15515 slots` for the default arm and **15297** for the `--pipeline-windows` arm — the toggle still costs 218 slots (1.4%). With `auto` it was 14531 against 14332, also 199 apart. So the pin fixes the size but not the *difference*: the second arm's extra buffers come out of the same pool. Worth knowing before anyone repeats this; if you want the pair truly slot-identical, tell me which knob to hold instead. Also note the pinned arms measured **faster** than the auto ones here (15515 and 146–150 tok/s against 14531 and 142–146), so the pin is not a neutral change — I would not compare a pinned arm against an auto arm. ### The load lottery, for context This run series was quiet throughout and **no slow arm appeared at all** — 10 arms in 126.1–150.8. The earlier series, where I was running commands of my own on the same box between arms, had slow arms at ~127 and twice at 108/70. That supports what I wrote in the previous comment: the slow state tracks host activity rather than anything in the engine, and anything measured on a box you are also using needs the pairs. Still untouched if you want it: `--batch-mtp` (only relevant with 2–4 clients, and it is the companion to the result above), and `--pipeline-windows` with several conversations at once. Box: RTX 4080 SUPER 32 GB + RTX 5070 Ti 16 GB, Ryzen 3970X, 128 GB, Windows 11 26300, driver 617.14, Swift 1.5 IQ3_XXS native pack, `--layer-split auto` → K=39, 77% of experts resident, `--kv int8`, `--kv-resident 32768`, `--spec 4` + MTP, `--spec-min-p 0.70`, `--pcie-frac 0.20`, `--pool-workers 15`, `--vram-reserve-mib 2048`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
Niko1221/Strata#557
No description provided.