[GH-ISSUE #2939] 4× Tesla T10 (Turing, layer split): single-stream decode stays ~39 tok/s with 99.9% of experts in VRAM — same as 2× T10 #1186

Closed
opened 2026-11-04 01:49:12 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @demon851113 on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2939

Hardware

Motherboard Huananzhi H12D-8D (single socket SP3), BIOS 2.2 (2026-01-06), no BMC
CPU AMD EPYC 7452, 32 cores / 64 threads (Zen 2), 1 socket, 1 NUMA node
RAM 4 × 32 GB Samsung DDR4-2400 RDIMM (M386A4G40EM2-CRC) = 128 GB, 4 of 8 memory channels populated
GPUs 4 × Tesla T10 16 GB (TU102, sm_75, VBIOS 90.02.41.00.01), passive cooling, power limit 100 W each (default 150 W)
PCIe every card on its own CPU root port, Gen3 x16 (LnkCap 8 GT/s x16); nvidia-smi topo -m: NODE between all pairs; P2P works with iommu=pt (10–13 GB/s per pair)
Storage Crucial T500 1 TB NVMe (model files on it)

Software

  • Ubuntu 24.04.3, kernel 7.0.0-38-generic, kernel parameter iommu=pt
  • NVIDIA driver 595.91.07 (server, open kernel modules), CUDA 13.2 toolkit
  • Strata v0.1.45 (477ac13c), engine compiled locally with CUDA 13.2 (no ready-made engine for v0.1.45: releases/latest returned 404)
  • Qwen3.8-Flash-Next GSQ-RCO IQ3_S, --spec 4 --spec-min-p 0.5 --mtp rt --kv int8 --kv-resident 32768 --max-context 262144, "gpu": [0,1,2,3], "layer_split": "auto"

What the log says

  • layer split auto: K=14,26,38 - predicted 44.8 ms per decode window; the caches hold 21931 of 24576 profiled pairs (~99.9% of the routed mass)
  • CUDAn 56 SMs at 1.40 GHz -> 0.93 ms per layer, every link probed at 13.1 GB/s (pcie_frac 0.36)
  • adaptive overlap: off: not on a layer split
  • After load: CUDA3 has 341 MiB VRAM free and gets the "LOW ... add --vram-reserve-later-mib" warning
  • MTP draft acceptance on 300-character Chinese answers: roughly 95–119 of 166–203 drafts (~55–65%)

Measured (6 Chinese prompts, ~300 characters each, no thinking, temperature 0, warm-up + median of 3 rounds)

tok/s
single stream decode 39.3
same, with "parallel": 4 38.9
2 concurrent (parallel 4) 36.5 / 38.9 per stream
4 concurrent (parallel 4) 27–32 per stream, 104 total
prompt read, 2.6K / 10K tokens 527 / 723

For comparison, #2007 reports 44.2 tok/s on 2× T10 with v0.1.40.1 and 40.5 on 0.1.43 (the regression between 0.1.40.1 and 0.1.40.2 noted there). Our 4-card result is below both, even though four cards hold almost every expert.

Questions

  1. With nearly all experts resident, single-stream decode looks bound by the four stages running one after another (~0.93 ms per layer × 48 layers ≈ the predicted 44.8 ms window). Is there a way to overlap the stages for one stream on 3+ NVIDIA cards (--pipeline-windows mentions two GPUs / AMD gfx12 only), or is 4-way split simply not expected to beat 2-way for a single user?
  2. Is the 0.1.40.1 → 0.1.40.2 slowdown from #2007 still present in 0.1.45 on Turing? We can run an A/B (0.1.40.1 vs 0.1.45) on this box if useful.
  3. Would --prefill-pipe or a manual layer_split be worth trying for prompt reading here (723 tok/s at 10K tokens)?

Happy to run any flag combination or a debug build — the box is free for testing.

Originally created by @demon851113 on GitHub (Oct 17, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/2939 **Hardware** | | | |---|---| | Motherboard | Huananzhi H12D-8D (single socket SP3), BIOS 2.2 (2026-01-06), no BMC | | CPU | AMD EPYC 7452, 32 cores / 64 threads (Zen 2), 1 socket, 1 NUMA node | | RAM | 4 × 32 GB Samsung DDR4-2400 RDIMM (M386A4G40EM2-CRC) = 128 GB, 4 of 8 memory channels populated | | GPUs | 4 × Tesla T10 16 GB (TU102, sm_75, VBIOS 90.02.41.00.01), passive cooling, power limit 100 W each (default 150 W) | | PCIe | every card on its own CPU root port, Gen3 x16 (LnkCap 8 GT/s x16); `nvidia-smi topo -m`: NODE between all pairs; P2P works with `iommu=pt` (10–13 GB/s per pair) | | Storage | Crucial T500 1 TB NVMe (model files on it) | **Software** - Ubuntu 24.04.3, kernel 7.0.0-38-generic, kernel parameter `iommu=pt` - NVIDIA driver 595.91.07 (server, open kernel modules), CUDA 13.2 toolkit - Strata v0.1.45 (477ac13c), engine compiled locally with CUDA 13.2 (no ready-made engine for v0.1.45: releases/latest returned 404) - Qwen3.8-Flash-Next GSQ-RCO IQ3_S, `--spec 4 --spec-min-p 0.5 --mtp rt --kv int8 --kv-resident 32768 --max-context 262144`, `"gpu": [0,1,2,3]`, `"layer_split": "auto"` **What the log says** - `layer split auto: K=14,26,38 - predicted 44.8 ms per decode window; the caches hold 21931 of 24576 profiled pairs (~99.9% of the routed mass)` - `CUDAn 56 SMs at 1.40 GHz -> 0.93 ms per layer`, every link probed at 13.1 GB/s (pcie_frac 0.36) - `adaptive overlap: off: not on a layer split` - After load: CUDA3 has 341 MiB VRAM free and gets the "LOW ... add --vram-reserve-later-mib" warning - MTP draft acceptance on 300-character Chinese answers: roughly 95–119 of 166–203 drafts (~55–65%) **Measured** (6 Chinese prompts, ~300 characters each, no thinking, temperature 0, warm-up + median of 3 rounds) | | tok/s | |---|---| | single stream decode | 39.3 | | same, with `"parallel": 4` | 38.9 | | 2 concurrent (`parallel` 4) | 36.5 / 38.9 per stream | | 4 concurrent (`parallel` 4) | 27–32 per stream, 104 total | | prompt read, 2.6K / 10K tokens | 527 / 723 | For comparison, #2007 reports 44.2 tok/s on **2×** T10 with v0.1.40.1 and 40.5 on 0.1.43 (the regression between 0.1.40.1 and 0.1.40.2 noted there). Our 4-card result is below both, even though four cards hold almost every expert. **Questions** 1. With nearly all experts resident, single-stream decode looks bound by the four stages running one after another (~0.93 ms per layer × 48 layers ≈ the predicted 44.8 ms window). Is there a way to overlap the stages for one stream on 3+ NVIDIA cards (`--pipeline-windows` mentions two GPUs / AMD gfx12 only), or is 4-way split simply not expected to beat 2-way for a single user? 2. Is the 0.1.40.1 → 0.1.40.2 slowdown from #2007 still present in 0.1.45 on Turing? We can run an A/B (0.1.40.1 vs 0.1.45) on this box if useful. 3. Would `--prefill-pipe` or a manual `layer_split` be worth trying for prompt reading here (723 tok/s at 10K tokens)? Happy to run any flag combination or a debug build — the box is free for testing.
Author
Owner

@Adamyno commented on GitHub (Oct 17, 2026):

3× RTX 2080 Ti (sm_75): decode does scale 2 → 3 cards here; --pipeline-windows 2 is slower

Answers to your questions 1 and 2 from a 3-card Turing rig.

Hardware: 3× RTX 2080 Ti 22 GB (sm_75, power limits 210/167/200 W), i9-7980XE, 125.5 GiB DDR4-3600, Linux, CUDA 13.0, driver 580.178.04; layer split 16,32. Flash-Next UD-Q4_K_XL (pack ud-q4_k_xl), 262,144 ctx, --kv int8 --spec 3 --spec-min-p 0.54 --batch 2, v0.1.45 (477ac13c), source build for sm_75, STRATA_SM75_PERF unset.

2 vs 3 cards (same model/config, 10,558-token prompt, medians):

2 cards (split 15) 3 cards (split 16,32) Δ
decode after 10.5k 39.1 64.3 +64%
prefill, 10.5k 598.6 884.4 +48%
chat decode 40.2–40.8 63.2–63.5 +57–58%

So a 3-way split does beat 2-way for a single stream on 2080 Ti; the ~39 tok/s plateau on your 4× T10 is not a Turing limit. Your T10s are 100 W cards and the EPYC has 4 of 8 memory channels populated — both point at a host/CPU-pool or power bound rather than the split itself.

Q1, --pipeline-windows: on 3× 2080 Ti, --pipeline-windows 2 is slower than the default: long-prompt decode 59.0 vs 64.3 (−8.2%), chat1 58.7 vs 63.2 (−7.1%), prefill 888.9 vs 884.4 (+0.5%). It is supported on 3+ NVIDIA stages (opt-in; docs/MULTI_GPU.md says NVIDIA keeps it opt-in), but on this rig it costs more than it saves. Worth one try on your box, not a recommendation.

Q2, the 0.1.40.1 → 0.1.43 regression: I cannot answer for 0.1.40.1, but a 0.1.43.1 vs 0.1.45 A/B on this rig is in #2936: long-prompt decode −2.3%, one chat −6.2%, prefill flat. 0.1.45 did not recover the 0.1.40.1 prefill number here either (884 tok/s at 10.5k on 3 cards).

Q3, --prefill-pipe: not tested here; our prefill at 10.5k is 884 tok/s with the default --prefill auto.

A related data point for the split planner: on three identical cards, layer_split: "auto" chose 15/17/16 layers — symmetric, no repeat of #2644's 3-of-48 asymmetry.

<!-- gh-comment-id:6241827729 --> @Adamyno commented on GitHub (Oct 17, 2026): ## 3× RTX 2080 Ti (sm_75): decode does scale 2 → 3 cards here; `--pipeline-windows 2` is slower Answers to your questions 1 and 2 from a 3-card Turing rig. **Hardware:** 3× RTX 2080 Ti 22 GB (sm_75, power limits 210/167/200 W), i9-7980XE, 125.5 GiB DDR4-3600, Linux, CUDA 13.0, driver 580.178.04; layer split 16,32. Flash-Next UD-Q4_K_XL (pack `ud-q4_k_xl`), 262,144 ctx, `--kv int8 --spec 3 --spec-min-p 0.54 --batch 2`, v0.1.45 (`477ac13c`), source build for sm_75, `STRATA_SM75_PERF` unset. **2 vs 3 cards** (same model/config, 10,558-token prompt, medians): | | 2 cards (split 15) | 3 cards (split 16,32) | Δ | | --- | ---: | ---: | ---: | | decode after 10.5k | 39.1 | 64.3 | **+64%** | | prefill, 10.5k | 598.6 | 884.4 | **+48%** | | chat decode | 40.2–40.8 | 63.2–63.5 | +57–58% | So a 3-way split does beat 2-way for a single stream on 2080 Ti; the ~39 tok/s plateau on your 4× T10 is not a Turing limit. Your T10s are 100 W cards and the EPYC has 4 of 8 memory channels populated — both point at a host/CPU-pool or power bound rather than the split itself. **Q1, `--pipeline-windows`:** on 3× 2080 Ti, `--pipeline-windows 2` is **slower** than the default: long-prompt decode 59.0 vs 64.3 (−8.2%), chat1 58.7 vs 63.2 (−7.1%), prefill 888.9 vs 884.4 (+0.5%). It is supported on 3+ NVIDIA stages (opt-in; `docs/MULTI_GPU.md` says NVIDIA keeps it opt-in), but on this rig it costs more than it saves. Worth one try on your box, not a recommendation. **Q2, the 0.1.40.1 → 0.1.43 regression:** I cannot answer for 0.1.40.1, but a 0.1.43.1 vs 0.1.45 A/B on this rig is in #2936: long-prompt decode −2.3%, one chat −6.2%, prefill flat. 0.1.45 did not recover the 0.1.40.1 prefill number here either (884 tok/s at 10.5k on 3 cards). **Q3, `--prefill-pipe`:** not tested here; our prefill at 10.5k is 884 tok/s with the default `--prefill auto`. A related data point for the split planner: on three identical cards, `layer_split: "auto"` chose 15/17/16 layers — symmetric, no repeat of #2644's 3-of-48 asymmetry.
Author
Owner

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

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6271378669 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for taking the time to report this. We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
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#1186
No description provided.