[GH-ISSUE #4285] [Benchmark] 4x V100-SXM2 32 GB (NVLink) + RTX 3090 Ti, Qwen3.8-Flash-Next NVFP4 layer split on 0.2.6: 8 x 262K slots, 2 x 524K, needle 3/3 to 500K #1890

Closed
opened 2026-11-04 01:55:04 +07:00 by bsakaguchi · 6 comments
Owner

Originally created by @andyelka-creator on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4285

What did you measure, or what went wrong

NVFP4 Flash-Next runs on sm_70. Four V100-SXM2 32 GB plus an RTX 3090 Ti as the first stage, layer split, all experts resident. It holds 4–8 slots of 262K (2 of 524K with yarn x2 and KV streaming), finds 3 of 3 needles at 100K, 250K and 500K, and ran a 45-minute 8-client soak with no errors. STRATA_PIPED_CONCURRENT=1 is what makes it usable for several people: a short question next to two 250K prompts ends at 19 s instead of 131–150 s.

Hardware

  • Board with 4x Tesla V100-SXM2-32GB, NVLink NV2 all-to-all, behind a PLX switch. RTX 3090 Ti 24 GB on the CPU's PCIe (PHB to the V100s).
  • Intel i7-7820X (8C/16T, AVX-512), 219 GiB RAM, Debian 13 (kernel 6.12), driver 580.196.07, CUDA 12.8.
  • PCIe probe in the engine log: 6.2 GB/s per V100 (pcie_frac 0.17).

Software and model

  • Strata 0.2.6 (engine 0.1.51), source build for 70;86 with -DSTRATA_EXPERIMENTAL_SM60=ON, serve/server.py --engine strata --config ….
  • Model: our own ModelOpt NVFP4 checkpoint of Qwen3.8-Flash-Next (NVFP4 in the routed experts only), repacked with tools/nvfp4_convert.py + tools/iq_pack.py. nvfp4_verify --experts 8: RESULT: lossless; nvfp4_verify_gguf --samples 24: RESULT: OK. MTP from the same checkpoint (mtp_pack.py --experts q2_0). PLE ple-fp8.gguf from Maximilian228/…-NVFP4-Strata@cca8f7f.
  • Common flags: --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp … --kv int8 --ple-io ram, "parallel" 2/4/8, "layer_split" auto or manual.

Variants

Cards Slots × context Split (first layer of each next card) Notes
F0 4x V100 4 × 262K auto (12/12/12/12) control without the 3090 Ti
F1 3090 Ti + 4x V100 4 × 262K auto (3090 Ti 0–11, V100 9 each)
F2 same 8 × 262K auto
F3 same 2 × 524K auto yarn x2, --kv-resident 32768
F4 same 4 × 262K [6,17,28,38] (6 layers on the 3090 Ti)
F5 same 4 × 262K [6,17,28,38] + STRATA_PIPED_CONCURRENT=1
F6 same 4 × 262K [8,18,28,38] + STRATA_PIPED_CONCURRENT=1
F7 same 8 × 262K [8,18,28,38] + STRATA_PIPED_CONCURRENT=1

Every V100 stage reports expert cache N slots …, N of its N profiled pairs (all resident). Peak VRAM per V100 22,642–30,028 MiB.

Method

Client: streaming /v1/chat/completions, temperature 0, unique prefix per request, prompts calibrated with /v1/messages/count_tokens; end-to-end time per request. Needle: three 6-digit codes at 10/50/90 % depth, the answer must name all three. Agent: one session, 14 turns of +8K tokens each, 128 tokens per answer. Soak: 8 workers, 45 min, random mix of 500 / 8K / 100K prompts (60/30/10 %).

Results

Many long contexts at once (end of each request, s):

Set Ends
F0 4 × 200K 229 (all together)
F1 4 × 200K 201 (all together)
F2 8 × 120K / 8 × 200K 321 / 514 (all together)
F3 2 × 500K 323
F5 4 × 200K 57 / 111 / 163 / 215 (one after another)
F7 8 × 120K 35 … 248 (one after another)

Short next to long:

2 × 250K + a short one 3 s later: short ends at 100K + a short one: short ends at
F1 131 s 31.3 s
F3 (500K + short) 170 s 31.5 s
F5 (piped concurrent) 19.1 s 19.5 s
F6 (piped concurrent) 20.1 s 18.8 s

Throughput, 512 in / 512 out (aggregate tok/s, e2e p50):

1 client 4 clients 8 clients
F0 (V100 only) 75 / 6.8 s 142 / 14.4 s 145 / 21.8 s
F1 82 / 6.2 s 156 / 13.1 s 158 / 20.1 s
F5 88 / 5.8 s 159 / 11.9 s 167 / 18.0 s
F7 84 / 6.1 s 155 / 12.3 s 189 / 19.5 s

8K in / 512 out: F1 41 / 61 / 60 tok/s at 1 / 4 / 8 clients, F5 44 / 64 / 71. Needle: 3/3 at 100K (26–30 s), 250K (61–79 s), 500K (158 s, F3).

Prompt read speed from the engine's own prompt … read in … ms lines (F7, medians): ≤2K 438 tok/s, 2–20K 1,273, 20–60K 2,510, 60–150K 3,866.

The 3090 Ti as the first stage: F0 → F1 is 229 → 201 s on 4 × 200K, needle 250K 73 → 61 s, short at 4 clients 142 → 156 tok/s. Fewer layers on it (6 vs 12) speed up decode by 4–10 % and slow long prompts by 8–10 % — the 3090 Ti reads prompts faster than a V100.

F7 extra:

  • abort: a 100K stream closed by the client at 15 s; a short request during it took 11.4 s, one after it 10.3 s — the slot is freed, nothing hangs.
  • agents, 4 sessions × 12 turns at once: 48 turns, 0 errors, e2e p50 21 s / p95 92 s / max 131 s. 8 sessions: 96 turns, 0 errors, p50 48 s / p95 220 s / max 610 s.
  • soak 45 min, 8 workers: 408 requests, 0 errors, none over 600 s; e2e p50 / p95: 500 tok 30 / 109 s, 8K 33 / 97 s, 100K 116 / 298 s.

Notes and questions

  1. Determinism depends on the split. Four fixed prompts at temperature 0, one by one vs all at once: md5 4/4 identical on F0 and F4–F6 (manual splits, and the V100-only auto split), but 0/4 on F1 and F2 (auto split with the 3090 Ti) and 1/4 on F3. The texts stay sensible. The README says a slot's answer matches the single one; is this expected with mixed architectures (sm_86 + sm_70 stages)?
  2. Conversation cache is sized small. With ~213 GiB available, the auto size was 8192 MiB for up to 4 parked conversations; F7 with 8 agents logged 530 evictions. Could the default follow --parallel and the free RAM?
  3. Checkpoint step. With --prompt-cache-every 16384 an agent whose turn boundary isn't a prefix of the next prompt re-reads 12–23K tokens per turn (reused 16384, 32768, … of each prompt). We will try 4096 next.
  4. Prompt loans on the 3090 Ti at 8 slots. F7: --batch 8: the slot sessions take 5.35 GiB of VRAM on CUDA0, the prompt path borrows 1327 CUDA0 cache slots (3.42 GiB), and layers [0, 8) have experts out of VRAM … the doorbell graph runs the windows during prompt reads. 8K × 8 clients is slower than on F5 (4 slots). Is limiting the loan on a helper card worth it?
  5. --prefill-pipe was off (default) in all runs; next window sweeps it like tools/calibrate.py does.
  6. serve/server.py defaults to --engine mock. Started by hand without the flag, it answers plausibly with no model loaded; we nearly measured the mock. A loud log line or a refusal without --engine would help people who bypass the launcher.
  7. Not Strata's fault, but it happened between two variants: without NVIDIA persistence mode the driver hung when one process closed a card last (rm_shutdown_adapter waiting on console_lock) while the next variant opened it (rm_init_adapter waiting on the RM lock). nvidia-smi -pm 1 at boot fixed it. Worth a line in the multi-GPU docs.

Next on this box: 1 × 1M (yarn x4, KV streaming), --kv k8v4 + --batch-mtp, UD-Q4_K_XL on the F7 split, and F7 + --prefill-pipe + --prompt-cache-every 4096 + --conversation-cache-mib 32768 + STRATA_ADMIT_SHORT_FIRST=2000.

Raw data. We have an archive ready (~260 KB): the configs of all variants, engine startup logs, the engine's per-prompt read … reused … and conversation-cache lines, per-test JSON and nvidia-smi samples. Happy to attach it here or send it wherever is convenient — just say.

Help with the next run would be very welcome. Our window is limited (a shared box, one night), so advice beforehand saves us a lot:

  • --prefill-pipe: is sweeping 0, 1, 768, 1536, 3072, 6144 per request (like tools/calibrate.py) the right way on a 5-stage mixed split, or should we run the full setup --calibrate?
  • 8 slots vs the 3090 Ti's expert cache: fewer slots, fewer layers on the 3090 Ti, or a cap on the prompt loan?
  • Conversation cache for 4–8 agents: are --conversation-cache-mib 32768 --conversation-cache-slots 12 --prompt-cache-every 4096 sensible, or is there a better combination?
  • 1 × 1M: is --rope-scaling yarn --rope-scale 4 with --kv-resident 32768 the right recipe for this model?
  • Session files (--slot-save-path) with a layer split: is PR #3286 the way to go on 0.2.6?

Reproduction status

Measured locally

Originally created by @andyelka-creator on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4285 ### What did you measure, or what went wrong **NVFP4 Flash-Next runs on sm_70.** Four V100-SXM2 32 GB plus an RTX 3090 Ti as the first stage, layer split, all experts resident. It holds 4–8 slots of 262K (2 of 524K with yarn x2 and KV streaming), finds 3 of 3 needles at 100K, 250K and 500K, and ran a 45-minute 8-client soak with no errors. `STRATA_PIPED_CONCURRENT=1` is what makes it usable for several people: a short question next to two 250K prompts ends at 19 s instead of 131–150 s. **Hardware** - Board with 4x Tesla V100-SXM2-32GB, NVLink NV2 all-to-all, behind a PLX switch. RTX 3090 Ti 24 GB on the CPU's PCIe (PHB to the V100s). - Intel i7-7820X (8C/16T, AVX-512), 219 GiB RAM, Debian 13 (kernel 6.12), driver 580.196.07, CUDA 12.8. - PCIe probe in the engine log: 6.2 GB/s per V100 (`pcie_frac 0.17`). **Software and model** - Strata 0.2.6 (engine 0.1.51), source build for `70;86` with `-DSTRATA_EXPERIMENTAL_SM60=ON`, `serve/server.py --engine strata --config …`. - Model: our own ModelOpt NVFP4 checkpoint of Qwen3.8-Flash-Next (NVFP4 in the routed experts only), repacked with `tools/nvfp4_convert.py` + `tools/iq_pack.py`. `nvfp4_verify --experts 8`: `RESULT: lossless`; `nvfp4_verify_gguf --samples 24`: `RESULT: OK`. MTP from the same checkpoint (`mtp_pack.py --experts q2_0`). PLE `ple-fp8.gguf` from `Maximilian228/…-NVFP4-Strata@cca8f7f`. - Common flags: `--expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp … --kv int8 --ple-io ram`, `"parallel"` 2/4/8, `"layer_split"` auto or manual. **Variants** | | Cards | Slots × context | Split (first layer of each next card) | Notes | |---|---|---|---|---| | F0 | 4x V100 | 4 × 262K | auto (12/12/12/12) | control without the 3090 Ti | | F1 | 3090 Ti + 4x V100 | 4 × 262K | auto (3090 Ti 0–11, V100 9 each) | | | F2 | same | 8 × 262K | auto | | | F3 | same | 2 × 524K | auto | yarn x2, `--kv-resident 32768` | | F4 | same | 4 × 262K | `[6,17,28,38]` (6 layers on the 3090 Ti) | | | F5 | same | 4 × 262K | `[6,17,28,38]` | + `STRATA_PIPED_CONCURRENT=1` | | F6 | same | 4 × 262K | `[8,18,28,38]` | + `STRATA_PIPED_CONCURRENT=1` | | F7 | same | 8 × 262K | `[8,18,28,38]` | + `STRATA_PIPED_CONCURRENT=1` | Every V100 stage reports `expert cache N slots …, N of its N profiled pairs` (all resident). Peak VRAM per V100 22,642–30,028 MiB. **Method** Client: streaming `/v1/chat/completions`, temperature 0, unique prefix per request, prompts calibrated with `/v1/messages/count_tokens`; end-to-end time per request. Needle: three 6-digit codes at 10/50/90 % depth, the answer must name all three. Agent: one session, 14 turns of +8K tokens each, 128 tokens per answer. Soak: 8 workers, 45 min, random mix of 500 / 8K / 100K prompts (60/30/10 %). **Results** Many long contexts at once (end of each request, s): | | Set | Ends | |---|---|---| | F0 | 4 × 200K | 229 (all together) | | F1 | 4 × 200K | 201 (all together) | | F2 | 8 × 120K / 8 × 200K | 321 / 514 (all together) | | F3 | 2 × 500K | 323 | | F5 | 4 × 200K | 57 / 111 / 163 / 215 (one after another) | | F7 | 8 × 120K | 35 … 248 (one after another) | Short next to long: | | 2 × 250K + a short one 3 s later: short ends at | 100K + a short one: short ends at | |---|---:|---:| | F1 | 131 s | 31.3 s | | F3 (500K + short) | 170 s | 31.5 s | | F5 (piped concurrent) | **19.1 s** | **19.5 s** | | F6 (piped concurrent) | **20.1 s** | **18.8 s** | Throughput, 512 in / 512 out (aggregate tok/s, e2e p50): | | 1 client | 4 clients | 8 clients | |---|---|---|---| | F0 (V100 only) | 75 / 6.8 s | 142 / 14.4 s | 145 / 21.8 s | | F1 | 82 / 6.2 s | 156 / 13.1 s | 158 / 20.1 s | | F5 | 88 / 5.8 s | 159 / 11.9 s | 167 / 18.0 s | | F7 | 84 / 6.1 s | 155 / 12.3 s | **189 / 19.5 s** | 8K in / 512 out: F1 41 / 61 / 60 tok/s at 1 / 4 / 8 clients, F5 44 / 64 / 71. Needle: 3/3 at 100K (26–30 s), 250K (61–79 s), 500K (158 s, F3). Prompt read speed from the engine's own `prompt … read in … ms` lines (F7, medians): ≤2K 438 tok/s, 2–20K 1,273, 20–60K 2,510, 60–150K 3,866. The 3090 Ti as the first stage: F0 → F1 is 229 → 201 s on 4 × 200K, needle 250K 73 → 61 s, short at 4 clients 142 → 156 tok/s. Fewer layers on it (6 vs 12) speed up decode by 4–10 % and slow long prompts by 8–10 % — the 3090 Ti reads prompts faster than a V100. F7 extra: - abort: a 100K stream closed by the client at 15 s; a short request during it took 11.4 s, one after it 10.3 s — the slot is freed, nothing hangs. - agents, 4 sessions × 12 turns at once: 48 turns, 0 errors, e2e p50 21 s / p95 92 s / max 131 s. 8 sessions: 96 turns, 0 errors, p50 48 s / p95 220 s / max 610 s. - soak 45 min, 8 workers: 408 requests, 0 errors, none over 600 s; e2e p50 / p95: 500 tok 30 / 109 s, 8K 33 / 97 s, 100K 116 / 298 s. **Notes and questions** 1. **Determinism depends on the split.** Four fixed prompts at temperature 0, one by one vs all at once: md5 4/4 identical on F0 and F4–F6 (manual splits, and the V100-only auto split), but 0/4 on F1 and F2 (auto split with the 3090 Ti) and 1/4 on F3. The texts stay sensible. The README says a slot's answer matches the single one; is this expected with mixed architectures (sm_86 + sm_70 stages)? 2. **Conversation cache is sized small.** With ~213 GiB available, the auto size was `8192 MiB for up to 4 parked conversations`; F7 with 8 agents logged 530 evictions. Could the default follow `--parallel` and the free RAM? 3. **Checkpoint step.** With `--prompt-cache-every 16384` an agent whose turn boundary isn't a prefix of the next prompt re-reads 12–23K tokens per turn (reused 16384, 32768, … of each prompt). We will try 4096 next. 4. **Prompt loans on the 3090 Ti at 8 slots.** F7: `--batch 8: the slot sessions take 5.35 GiB of VRAM on CUDA0`, `the prompt path borrows 1327 CUDA0 cache slots (3.42 GiB)`, and `layers [0, 8) have experts out of VRAM … the doorbell graph runs the windows` during prompt reads. 8K × 8 clients is slower than on F5 (4 slots). Is limiting the loan on a helper card worth it? 5. `--prefill-pipe` was off (default) in all runs; next window sweeps it like `tools/calibrate.py` does. 6. `serve/server.py` defaults to `--engine mock`. Started by hand without the flag, it answers plausibly with no model loaded; we nearly measured the mock. A loud log line or a refusal without `--engine` would help people who bypass the launcher. 7. Not Strata's fault, but it happened between two variants: without NVIDIA persistence mode the driver hung when one process closed a card last (`rm_shutdown_adapter` waiting on `console_lock`) while the next variant opened it (`rm_init_adapter` waiting on the RM lock). `nvidia-smi -pm 1` at boot fixed it. Worth a line in the multi-GPU docs. Next on this box: 1 × 1M (yarn x4, KV streaming), `--kv k8v4` + `--batch-mtp`, UD-Q4_K_XL on the F7 split, and F7 + `--prefill-pipe` + `--prompt-cache-every 4096` + `--conversation-cache-mib 32768` + `STRATA_ADMIT_SHORT_FIRST=2000`. **Raw data.** We have an archive ready (~260 KB): the configs of all variants, engine startup logs, the engine's per-prompt `read … reused …` and conversation-cache lines, per-test JSON and `nvidia-smi` samples. Happy to attach it here or send it wherever is convenient — just say. **Help with the next run would be very welcome.** Our window is limited (a shared box, one night), so advice beforehand saves us a lot: - `--prefill-pipe`: is sweeping `0, 1, 768, 1536, 3072, 6144` per request (like `tools/calibrate.py`) the right way on a 5-stage mixed split, or should we run the full `setup --calibrate`? - 8 slots vs the 3090 Ti's expert cache: fewer slots, fewer layers on the 3090 Ti, or a cap on the prompt loan? - Conversation cache for 4–8 agents: are `--conversation-cache-mib 32768 --conversation-cache-slots 12 --prompt-cache-every 4096` sensible, or is there a better combination? - 1 × 1M: is `--rope-scaling yarn --rope-scale 4` with `--kv-resident 32768` the right recipe for this model? - Session files (`--slot-save-path`) with a layer split: is PR #3286 the way to go on 0.2.6? ### Reproduction status Measured locally
Author
Owner

@github-actions[bot] commented on GitHub (Oct 27, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Fill in "Reproduction status".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6434793503 --> @github-actions[bot] commented on GitHub (Oct 27, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Fill in "Reproduction status". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@andyelka-creator commented on GitHub (Oct 27, 2026):

Update: we now have this box for 48 hours of continuous testing, so we can afford longer runs and a full calibration. Before we plan them, five questions whose answers could change the plan the most:

  1. NVLink / P2P between stages. The four V100s are NVLink all-to-all, but activations between layer-split stages go through pinned host memory (PCIe probe 6.2 GB/s per card). Is there a way, or a plan, to pass them over P2P/NVLink between V100 stages? Is it worth a try with a flag or an env variable?
  2. Fastest prompt path on sm_70. V100 has no FP4, and the w4a8 prompt path is described for sm_75+. On V100, which pack reads prompts fastest: NVFP4 as we run it, UD-Q4_K_XL, or an IQ quant? Prefill at 2–20K is our main gap (~1.3K tok/s).
  3. Role and place of the 3090 Ti. We ran it as the first stage. Would it be better as the last stage or as a Helper (gpu_roles) for this model with 4–8 slots?
  4. Calibration. With 48 hours, should we just run the full setup --calibrate on this 5-stage mixed split (prefill-pipe, pcie_frac, spec_min_p…) and trust its result, rather than sweeping things by hand?
  5. Agents. For 4–8 concurrent agent sessions of 100K+ each, what do you recommend: --conversation-cache-mib/-slots, --prompt-cache-every, STRATA_ADMIT_SHORT_FIRST, and fewer slots or more? Is finer-grained prefix reuse than the checkpoints possible?

We'll post everything here, and the archive is ready whenever you want it.

<!-- gh-comment-id:6434931427 --> @andyelka-creator commented on GitHub (Oct 27, 2026): Update: we now have this box for 48 hours of continuous testing, so we can afford longer runs and a full calibration. Before we plan them, five questions whose answers could change the plan the most: 1. **NVLink / P2P between stages.** The four V100s are NVLink all-to-all, but activations between layer-split stages go through pinned host memory (PCIe probe 6.2 GB/s per card). Is there a way, or a plan, to pass them over P2P/NVLink between V100 stages? Is it worth a try with a flag or an env variable? 2. **Fastest prompt path on sm_70.** V100 has no FP4, and the `w4a8` prompt path is described for sm_75+. On V100, which pack reads prompts fastest: NVFP4 as we run it, UD-Q4_K_XL, or an IQ quant? Prefill at 2–20K is our main gap (~1.3K tok/s). 3. **Role and place of the 3090 Ti.** We ran it as the first stage. Would it be better as the last stage or as a Helper (`gpu_roles`) for this model with 4–8 slots? 4. **Calibration.** With 48 hours, should we just run the full `setup --calibrate` on this 5-stage mixed split (prefill-pipe, pcie_frac, spec_min_p…) and trust its result, rather than sweeping things by hand? 5. **Agents.** For 4–8 concurrent agent sessions of 100K+ each, what do you recommend: `--conversation-cache-mib/-slots`, `--prompt-cache-every`, `STRATA_ADMIT_SHORT_FIRST`, and fewer slots or more? Is finer-grained prefix reuse than the checkpoints possible? We'll post everything here, and the archive is ready whenever you want it.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 27, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6436845638 --> @github-actions[bot] commented on GitHub (Oct 27, 2026): Thanks, this follows the format now.
Author
Owner

@andyelka-creator commented on GitHub (Oct 27, 2026):

STRATA_SPLIT_MTP_BATCH=1 turns STRATA_PIPED_CONCURRENT off. The engine says so, the docs don't.

Same box and split as above: 3090 Ti + 4× V100, [8,18,28,38], 8 slots × 262K, NVFP4 pack, --prefill-pipe 3072, conversation cache 32 GiB / 12 slots, --prompt-cache-every 4096. We tried the docs/MULTI_GPU.md switches one at a time, then together. The engine log of the combined run has:

strata batch: STRATA_PIPED_CONCURRENT is off beside STRATA_SPLIT_MTP_BATCH

The switches one at a time, each on top of STRATA_PIPED_CONCURRENT=1. Fresh-prompt read speed comes from the engine's prompt … read in … lines.

Added 8K read, tok/s 32K read, tok/s 8K × 8 clients, aggregate tok/s
nothing 1,273 2,799 67
STRATA_SPLIT_OWN=auto 1,897 3,036 90
STRATA_SPLIT_MTP_BATCH=1 1,482 2,989 72
STRATA_STAGE_TRIM=1 1,816 3,184 88
STRATA_HANDOFF_PIPE=4 1,285 2,805 67
STRATA_PREFILL_HELP=1 1,425 2,727 70

All three winners together (SPLIT_OWN + MTP_BATCH + STAGE_TRIM) read 8K at 2,209 tok/s. Throughput went up, but the behaviour that piped concurrent gave us was gone:

PIPED_CONCURRENT only + SPLIT_OWN + MTP_BATCH + STAGE_TRIM
100K prompt, then a short one 3 s later: short ends at 16.9 s 34.7 s
8 × 120K at once: requests end at 35 … 254 s, one after another 320 s, all together
pair of 100K: ends at 36.3 / 56.8 s 67.9 / 67.7 s
8K × 8 clients, aggregate tok/s 67 97
45-min soak (8 workers), requests served 357 475

Removing MTP_BATCH (SPLIT_OWN + STAGE_TRIM + PIPED_CONCURRENT) brings it back:

  • the short request next to a 100K prompt ends at 11.7 s;
  • 8 × 120K end one after another, 40 … 303 s;
  • 8K × 8 clients still reaches 90 tok/s.

The full run is still going; I'll post its soak numbers here.

Two requests:

  1. Docs. A line next to STRATA_SPLIT_MTP_BATCH in MULTI_GPU.md saying it turns piped concurrent off. A note in the startup summary would help too, since the line above is easy to miss.
  2. The combination. If possible, let both work together, or say why they can't. On this box MTP_BATCH alone is worth +16% on 8K reads, but we keep piped concurrent for multi-user latency.

Also, PR #3286 (session files with a layer split) worked for us on this 5-stage split with one slot:

  • a 118,547-token conversation saved to a 2.05 GB file in 4.1 s and restored after an engine restart in 3.3 s;
  • the next turn took 3.4 s, against 30.2 s when the whole prompt was read again;
  • the answer was byte-identical to the same turn in one process without the file.
<!-- gh-comment-id:6448375305 --> @andyelka-creator commented on GitHub (Oct 27, 2026): **`STRATA_SPLIT_MTP_BATCH=1` turns `STRATA_PIPED_CONCURRENT` off. The engine says so, the docs don't.** Same box and split as above: 3090 Ti + 4× V100, `[8,18,28,38]`, 8 slots × 262K, NVFP4 pack, `--prefill-pipe 3072`, conversation cache 32 GiB / 12 slots, `--prompt-cache-every 4096`. We tried the `docs/MULTI_GPU.md` switches one at a time, then together. The engine log of the combined run has: ``` strata batch: STRATA_PIPED_CONCURRENT is off beside STRATA_SPLIT_MTP_BATCH ``` The switches one at a time, each on top of `STRATA_PIPED_CONCURRENT=1`. Fresh-prompt read speed comes from the engine's `prompt … read in …` lines. | Added | 8K read, tok/s | 32K read, tok/s | 8K × 8 clients, aggregate tok/s | |---|---:|---:|---:| | nothing | 1,273 | 2,799 | 67 | | `STRATA_SPLIT_OWN=auto` | 1,897 | 3,036 | 90 | | `STRATA_SPLIT_MTP_BATCH=1` | 1,482 | 2,989 | 72 | | `STRATA_STAGE_TRIM=1` | 1,816 | 3,184 | 88 | | `STRATA_HANDOFF_PIPE=4` | 1,285 | 2,805 | 67 | | `STRATA_PREFILL_HELP=1` | 1,425 | 2,727 | 70 | All three winners together (`SPLIT_OWN` + `MTP_BATCH` + `STAGE_TRIM`) read 8K at 2,209 tok/s. Throughput went up, but the behaviour that piped concurrent gave us was gone: | | `PIPED_CONCURRENT` only | + `SPLIT_OWN` + `MTP_BATCH` + `STAGE_TRIM` | |---|---:|---:| | 100K prompt, then a short one 3 s later: short ends at | 16.9 s | 34.7 s | | 8 × 120K at once: requests end at | 35 … 254 s, one after another | 320 s, all together | | pair of 100K: ends at | 36.3 / 56.8 s | 67.9 / 67.7 s | | 8K × 8 clients, aggregate tok/s | 67 | 97 | | 45-min soak (8 workers), requests served | 357 | 475 | Removing `MTP_BATCH` (`SPLIT_OWN` + `STAGE_TRIM` + `PIPED_CONCURRENT`) brings it back: - the short request next to a 100K prompt ends at 11.7 s; - 8 × 120K end one after another, 40 … 303 s; - 8K × 8 clients still reaches 90 tok/s. The full run is still going; I'll post its soak numbers here. Two requests: 1. **Docs.** A line next to `STRATA_SPLIT_MTP_BATCH` in `MULTI_GPU.md` saying it turns piped concurrent off. A note in the startup summary would help too, since the line above is easy to miss. 2. **The combination.** If possible, let both work together, or say why they can't. On this box `MTP_BATCH` alone is worth +16% on 8K reads, but we keep piped concurrent for multi-user latency. Also, PR #3286 (session files with a layer split) worked for us on this 5-stage split with one slot: - a 118,547-token conversation saved to a 2.05 GB file in 4.1 s and restored after an engine restart in 3.3 s; - the next turn took 3.4 s, against 30.2 s when the whole prompt was read again; - the answer was byte-identical to the same turn in one process without the file.
Author
Owner

@andyelka-creator commented on GitHub (Oct 27, 2026):

Follow-up with the full run of SPLIT_OWN=auto + STAGE_TRIM=1 + PIPED_CONCURRENT=1 (no MTP_BATCH), same box and settings as above. All tests passed, 0 errors.

PIPED_CONCURRENT only + SPLIT_OWN + MTP_BATCH + STAGE_TRIM + SPLIT_OWN + STAGE_TRIM
45-min soak (8 workers), requests served 357 475 412
soak, ~500-token prompts: p50 / p95, s 22.5 / 105.1 43.0 / 83.2 19.0 / 89.1
soak, 8K prompts: p50 / p95, s 74.4 / 204.8 46.0 / 85.8 52.2 / 162.1
soak, 100K prompts: p50 / p95, s 116.0 / 241.2 76.9 / 110.0 121.5 / 194.1
4 agents (+8K per turn): p50 / max, s 26.4 / 79.4 21.3 / 24.0 16.3 / 76.2
8 agents: p50 / max, s 32.6 / 243.4 38.4 / 63.7 28.6 / 208.3
8 chats: p50 / max, s 36.2 / 261.8 34.2 / 44.9 20.1 / 229.6
100K, then a short one 3 s later: short ends at 16.9 s 34.7 s 11.7 s

So on this box MTP_BATCH buys throughput and much tighter tails, and piped concurrent buys a lower median and short requests that don't wait behind long prompts. We're keeping the third column for interactive use. Being able to have both would be the best of the two.

<!-- gh-comment-id:6449775144 --> @andyelka-creator commented on GitHub (Oct 27, 2026): Follow-up with the full run of `SPLIT_OWN=auto` + `STAGE_TRIM=1` + `PIPED_CONCURRENT=1` (no `MTP_BATCH`), same box and settings as above. All tests passed, 0 errors. | | `PIPED_CONCURRENT` only | + `SPLIT_OWN` + `MTP_BATCH` + `STAGE_TRIM` | + `SPLIT_OWN` + `STAGE_TRIM` | |---|---:|---:|---:| | 45-min soak (8 workers), requests served | 357 | 475 | 412 | | soak, ~500-token prompts: p50 / p95, s | 22.5 / 105.1 | 43.0 / 83.2 | 19.0 / 89.1 | | soak, 8K prompts: p50 / p95, s | 74.4 / 204.8 | 46.0 / 85.8 | 52.2 / 162.1 | | soak, 100K prompts: p50 / p95, s | 116.0 / 241.2 | 76.9 / 110.0 | 121.5 / 194.1 | | 4 agents (+8K per turn): p50 / max, s | 26.4 / 79.4 | 21.3 / 24.0 | 16.3 / 76.2 | | 8 agents: p50 / max, s | 32.6 / 243.4 | 38.4 / 63.7 | 28.6 / 208.3 | | 8 chats: p50 / max, s | 36.2 / 261.8 | 34.2 / 44.9 | 20.1 / 229.6 | | 100K, then a short one 3 s later: short ends at | 16.9 s | 34.7 s | 11.7 s | So on this box `MTP_BATCH` buys throughput and much tighter tails, and piped concurrent buys a lower median and short requests that don't wait behind long prompts. We're keeping the third column for interactive use. Being able to have both would be the best of the two.
Author
Owner

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

Thank you for measuring this and writing it up. We are building a Strata website with a page for community benchmarks, and results like these will be added there when it launches, so we are closing this here. If your numbers change with a new version, you are welcome to post them again.

<!-- gh-comment-id:6495633742 --> @Niko1221 commented on GitHub (Oct 29, 2026): Thank you for measuring this and writing it up. We are building a Strata website with a page for community benchmarks, and results like these will be added there when it launches, so we are closing this here. If your numbers change with a new version, you are welcome to post them again.
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#1890
No description provided.