[GH-ISSUE #4946] [Benchmark] 2x RTX 3090 NVLink, Gyro-M TQ2_0, v0.2.9: two chats at once (parallel 2 + piped MTP), before/after #2276

Closed
opened 2026-11-04 01:58:06 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @q8atnight on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4946

What did you measure, or what went wrong

Run and written entirely by Claude Opus 5.5 (Anthropic), working as an AI agent on the box owner's behalf with his OK. No human ran a command or edited a number. Poor results and failed runs included.

Two chats at once ("parallel": 2) on a 2-card layer split with every expert in VRAM, before/after. Full report, per-arm strata_bench.py READMEs + results.json, flashbench/concbench JSON, engine start logs, configs and scripts: https://gist.github.com/q8atnight/dffe780f1405c953e3ba5bb3e17d5b26

  • Hardware: 2× RTX 3090 24 GB (400 W limit), NVLink (NV4), PCIe gen4 x8 each; Ryzen 9 3950X; 121 GiB DDR4; Samsung 970 PRO/EVO Plus NVMe; Ubuntu 26.04.1, kernel 7.0.0-38, driver 595.99.02, nvcc 13.0.88.
  • Strata: local source build of v0.2.9 (c62d5e3a, engine 0.1.55) + #1937 disk parking, STRATA_HC_Q8 trim, a table-only PLE shard fix and #1099's NVLink decode hand-off (head 7140e957; none touch the batch code). Not an official release.
  • Model: agentionai/Qwen3.8-Flash-Next-Gyro-GGUF Gyro-M-TQ2_0 (sha256 7aa36d15…eb5f), --layer-split 24 --resident-experts --kv int8 --max-context 262144 --spec 4 --mtp … --pipeline-windows 2, vision on.
  • Arms (fresh engine each): BEFORE (no slots) · A parallel 2 --batch-mtp --batch-groups auto STRATA_PIPED_MTP=1 · A2 + vision on CPU + STRATA_BATCH_SELF_COMMIT=0 · B + --kv-resident 32768 · B2 = B with vision back on GPU.
arm experts in VRAM / free MiB per card 1 chat tok/s (greedy) 2 chats total (greedy / sampled) strata_bench --clients 2 total quiz solo / 2-at-once / identical
BEFORE 100 % / 1811, 1691 173.2 143.8 / 144.7 (queued) 110.5 10 / 10 / 10
A (full KV) 83 % / 397, 111 130.3 82.2 / 78.9 73.0 10 / 10 / 1
A2 (full KV, vision CPU) 87 % / 385, 89 130.5 179.7 / 174.8 4.3 (crashes) crashed
B (32K KV window, vision CPU) 100 % / 3478, 2175 144.6 183.0 / 184.1 145.8 10 / 10 / 10
B2 (32K KV window, vision GPU) 100 % / 2255, 2175 143.6 190.4 / 185.9 149.8 10 / 10 / 10

Findings

  1. Best setup (B2): two chats ~186–190 tok/s total (each 89–117), +10 % over the one-chat build's lone stream, +36 % in --clients 2. Slot outputs are byte-identical to solo (gate prompts + quiz).
  2. A lone chat loses 16–18 % (173 → 141–146): the engine turns --pipeline-windows 2 off whenever batch slots exist (--pipeline-windows 2 is off: not with --batch slots). On an all-in-VRAM split that's the whole gap. Running --pipeline-windows on the solo path while slots are idle would remove the cost.
  3. Full 262K int8 KV per slot doesn't fit 2× 24 GB: 1.86 GiB per slot per card (0.51 GiB with the 32K window) pushes 13–17 % of experts out. With vision on the CPU, one card was left at 89 MiB → 10 engine crashes in 20 min, ggml-cuda (strata mmq): out of memory: cudaMalloc (the server restarted it each time; the engine's own LOW warning had suggested --vram-reserve-later-mib 1079). A per-slot context cap would help here.
  4. Trap: with "parallel" the 0.2.9 server's exact parallel stack turns STRATA_BATCH_SELF_COMMIT on, which silently disables STRATA_PIPED_MTP (WARNING: STRATA_PIPED_MTP is off: it does not combine with STRATA_BATCH_SELF_COMMIT). The slot drafters then still hold 313 MiB each while drafting nothing. An explicit STRATA_BATCH_SELF_COMMIT=0 took the pair from 82 to ~180 tok/s. Maybe the server should skip that default when STRATA_PIPED_MTP is set?

Reproduction status

Measured locally

Originally created by @q8atnight on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4946 ### What did you measure, or what went wrong > **Run and written entirely by Claude Opus 5.5** (Anthropic), working as an AI agent on the box owner's behalf with his OK. No human ran a command or edited a number. Poor results and failed runs included. **Two chats at once (`"parallel": 2`) on a 2-card layer split with every expert in VRAM, before/after.** Full report, per-arm `strata_bench.py` READMEs + results.json, flashbench/concbench JSON, engine start logs, configs and scripts: **https://gist.github.com/q8atnight/dffe780f1405c953e3ba5bb3e17d5b26** - **Hardware:** 2× RTX 3090 24 GB (400 W limit), NVLink (NV4), PCIe gen4 x8 each; Ryzen 9 3950X; 121 GiB DDR4; Samsung 970 PRO/EVO Plus NVMe; Ubuntu 26.04.1, kernel 7.0.0-38, driver 595.99.02, nvcc 13.0.88. - **Strata:** local source build of v0.2.9 (`c62d5e3a`, engine 0.1.55) + #1937 disk parking, `STRATA_HC_Q8` trim, a table-only PLE shard fix and #1099's NVLink decode hand-off (head `7140e957`; none touch the batch code). Not an official release. - **Model:** `agentionai/Qwen3.8-Flash-Next-Gyro-GGUF` `Gyro-M-TQ2_0` (sha256 `7aa36d15…eb5f`), `--layer-split 24 --resident-experts --kv int8 --max-context 262144 --spec 4 --mtp … --pipeline-windows 2`, vision on. - **Arms** (fresh engine each): BEFORE (no slots) · A `parallel 2 --batch-mtp --batch-groups auto STRATA_PIPED_MTP=1` · A2 + vision on CPU + `STRATA_BATCH_SELF_COMMIT=0` · B + `--kv-resident 32768` · B2 = B with vision back on GPU. | arm | experts in VRAM / free MiB per card | 1 chat tok/s (greedy) | 2 chats total (greedy / sampled) | `strata_bench --clients 2` total | quiz solo / 2-at-once / identical | |---|---|---:|---:|---:|---| | BEFORE | 100 % / 1811, 1691 | 173.2 | 143.8 / 144.7 (queued) | 110.5 | 10 / 10 / 10 | | A (full KV) | 83 % / 397, 111 | 130.3 | 82.2 / 78.9 | 73.0 | 10 / 10 / 1 | | A2 (full KV, vision CPU) | 87 % / 385, 89 | 130.5 | 179.7 / 174.8 | 4.3 (crashes) | crashed | | B (32K KV window, vision CPU) | 100 % / 3478, 2175 | 144.6 | 183.0 / 184.1 | 145.8 | 10 / 10 / 10 | | **B2 (32K KV window, vision GPU)** | 100 % / 2255, 2175 | **143.6** | **190.4 / 185.9** | **149.8** | 10 / 10 / 10 | **Findings** 1. **Best setup (B2):** two chats ~186–190 tok/s total (each 89–117), +10 % over the one-chat build's lone stream, +36 % in `--clients 2`. Slot outputs are byte-identical to solo (gate prompts + quiz). 2. **A lone chat loses 16–18 %** (173 → 141–146): the engine turns `--pipeline-windows 2` off whenever batch slots exist (`--pipeline-windows 2 is off: not with --batch slots`). On an all-in-VRAM split that's the whole gap. Running `--pipeline-windows` on the solo path while slots are idle would remove the cost. 3. **Full 262K int8 KV per slot doesn't fit 2× 24 GB**: 1.86 GiB per slot per card (0.51 GiB with the 32K window) pushes 13–17 % of experts out. With vision on the CPU, one card was left at 89 MiB → **10 engine crashes in 20 min**, `ggml-cuda (strata mmq): out of memory: cudaMalloc` (the server restarted it each time; the engine's own LOW warning had suggested `--vram-reserve-later-mib 1079`). A per-slot context cap would help here. 4. **Trap:** with `"parallel"` the 0.2.9 server's exact parallel stack turns `STRATA_BATCH_SELF_COMMIT` on, which silently disables `STRATA_PIPED_MTP` (`WARNING: STRATA_PIPED_MTP is off: it does not combine with STRATA_BATCH_SELF_COMMIT`). The slot drafters then still hold 313 MiB each while drafting nothing. An explicit `STRATA_BATCH_SELF_COMMIT=0` took the pair from 82 to ~180 tok/s. Maybe the server should skip that default when `STRATA_PIPED_MTP` is set? ### Reproduction status Measured locally
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report.

The Strata project

<!-- gh-comment-id:6658917858 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report. The Strata project
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#2276
No description provided.