[GH-ISSUE #5294] [Benchmark] 3x V100-SXM2 16GB on 0.2.10 (sm_70, no NVLink, one orphan card): 81-89 tok/s, and the four walls we hit #3156

Closed
opened 2026-11-07 14:38:31 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @reaganovo on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5294

Reproduction status: Measured locally - every number below is from this box.

Follow-up to #4593 ("if your numbers change with a new version, you are welcome to post them again") — the numbers changed, and so did the engine. Below is everything we measured on 0.2.10, plus the four limits we could not get past, in case any of them is a known limitation with a supported answer.

Our box (unchanged, and it is the whole difficulty)

  • GPUs: 3× Tesla V100-SXM2-16GB, sm_70, PCIe 3.0 x16, no NVLink. GPU0/GPU1 are PCIe peers (measured 10.28 GB/s); GPU2 has no peer access to either (SYS, across QPI).
  • CPU: 2× Xeon E5-2697 v2 — AVX1 only (no AVX2/AVX-512), 512 GiB DDR3-1066 (21.5 GB/s read per socket).
  • Model: Qwen3.8-Flash-Next, IQ3_S, 48 layers, 512 experts (10/token), 262K context; DFlash2 + MTP drafter.
  • Config: --layer-split 18,35, expert cache auto (6575/6450/5714 slots), --kv int8 --kv-resident 32768, 96 GiB conversation cache / 12 slots, --prefill 8192, --spec 4, --draft-conf 0.25.
  • Usage: one long conversation, 100–220K context, multi-turn (a coding agent), occasionally compacted.

What we measure now (0.2.10)

  • Decode: p50 80.8 tok/s over 1337 real requests (mean context 98K); 81.5 at 7K, 85 at 95K.
  • Window budget (engine's own STRATA_DECODE_TIMING): 27.9 ms = GPU compute 15.8 + GPU-reach wait 7.3 + per-layer host 2.0 + draft 2.0 + commit 0.45.
  • Prefill: 95,264 tokens in 30.5 s = 3110 tok/s (7.3K cold: 1275 tok/s).
  • Hardware envelope we measured for context: HBM 821 GB/s per card, PCIe H2D 12.3 / D2H 13.2 GB/s, P2P 10.28, host read 21.5 GB/s per socket.

So the GPU is doing about half the window; a quarter is the three-stage hand-off. That is what we tried to attack.

The four walls

  1. --pipeline-windows 2 is a regression here: 57.9 tok/s (−10%) on a three-stage split. Two reasons we can see: each stage holds only 13–18 layers (2–5 ms of work), and with DFlash2 the drafter needs the finished window's taps (generate.cpp says exactly this), so the next window cannot be drafted while the previous one is still in flight. Question: is an overlap mode for layer-split + DFlash2 planned, or is that structurally excluded?

  2. The all-cards split needs a full peer mesh (card_split.hpp: every card a CUDA peer of every other, because the prompt path's attention exchange writes into every card). Our GPU2 has no peer at all, so on this box the split engine cannot run even though it is the one 0.2.10 feature that looked like it could pay (your A6000/PRO6000/R9700 numbers: +7–55%). Question: would a partial-mesh variant be considered, or is "everything else keeps the layer split" final?

  3. sm_70 expert kernels look close to their ceiling — we checked before asking for anything. Microbenchmark, same shape the engine uses (IQ3_S/Q8_0 640×2560, batch of 10 experts): our dp4a path reaches 544 GB/s (HBM 66%), while a "dequant→fp16→mma" path is 0.18× of it — tensor cores need M≥16 while our verify window is T≈2.7, and fp16 materialisation doubles the bytes. We are not asking for a kernel rewrite; we are asking whether the sm_70 decode path has any planned work at all, or if we should treat it as frozen.

  4. DFlash2 rebuilds 0 rows and reports missing 2042 every request (live log 1.2 MiB (95259 positions), parked 2–3 lineages 2–3 MiB). Our reading: the ring log holds the history but the current window is not logged yet, so the first rounds after a compaction draft poorly and then recover. Question: is 2042 (≈ one window) the expected figure, or does it suggest the prompt path is not feeding the drafter's log?

Two smaller data points

  • --prefill 16384 (the 0.2.10 default where we could use it) is slower here: 2924 vs 3110 tok/s, and it borrows 7.38 GiB of expert slots instead of 4.38. --prefill 8192 stays.
  • STRATA_PREFILL_CPU_SHARE=auto: 3043 vs 3032 tok/s — no change on this CPU (AVX1 only, 21.5 GB/s/socket), so we dropped it.
  • --draft-conf sweep over 0.35–0.60: 0.25 is best for long context (88.6 vs 84.7 at 0.50), i.e. the default 0 for "conf = --spec-min-p" was not the best point for us.

One tiny report, in case it is news

strata --version says 0.1.56 on the v0.2.10 tree (the CMakeLists.txt of the tag says project(strata VERSION 0.1.56)). We spent an hour convinced we were on an old build; only a blob-hash comparison against the tag settled it. If the release number is meant to reach users, it needs a bump.

What would help most

  1. A yes/no on (1) and (2) above — is any overlap or partial-mesh work realistic, or should we stop looking there?
  2. A note on (3) — frozen or planned.
  3. Whether the missing 2042 in (4) is expected.
  4. Happy to hand the whole thing over as a bench/results/*-community-* folder (README + raw runs + CUPTI dumps) in the same shape as before, if that is still wanted — and the CUPTI caveat from #4593 (CONCURRENT_KERNEL only; enabling KERNEL alongside inflates every kernel) is worth carrying on the community page.
Originally created by @reaganovo on GitHub (Nov 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5294 **Reproduction status:** Measured locally - every number below is from this box. Follow-up to #4593 ("if your numbers change with a new version, you are welcome to post them again") — the numbers changed, and so did the engine. Below is everything we measured on **0.2.10**, plus the four limits we could not get past, in case any of them is a known limitation with a supported answer. ## Our box (unchanged, and it is the whole difficulty) - **GPUs:** 3× Tesla V100-SXM2-16GB, `sm_70`, PCIe 3.0 x16, no NVLink. GPU0/GPU1 are PCIe peers (measured 10.28 GB/s); **GPU2 has no peer access to either** (SYS, across QPI). - **CPU:** 2× Xeon E5-2697 v2 — **AVX1 only** (no AVX2/AVX-512), 512 GiB DDR3-1066 (21.5 GB/s read per socket). - **Model:** Qwen3.8-Flash-Next, IQ3_S, 48 layers, 512 experts (10/token), 262K context; DFlash2 + MTP drafter. - **Config:** `--layer-split 18,35`, expert cache auto (6575/6450/5714 slots), `--kv int8 --kv-resident 32768`, 96 GiB conversation cache / 12 slots, `--prefill 8192`, `--spec 4`, `--draft-conf 0.25`. - **Usage:** one long conversation, 100–220K context, multi-turn (a coding agent), occasionally compacted. ## What we measure now (0.2.10) - **Decode:** p50 **80.8 tok/s** over 1337 real requests (mean context 98K); 81.5 at 7K, 85 at 95K. - **Window budget (engine's own `STRATA_DECODE_TIMING`):** 27.9 ms = GPU compute **15.8** + GPU-reach wait **7.3** + per-layer host **2.0** + draft **2.0** + commit 0.45. - **Prefill:** 95,264 tokens in 30.5 s = **3110 tok/s** (7.3K cold: 1275 tok/s). - **Hardware envelope we measured for context:** HBM 821 GB/s per card, PCIe H2D 12.3 / D2H 13.2 GB/s, P2P 10.28, host read 21.5 GB/s per socket. So the GPU is doing about half the window; a quarter is the three-stage hand-off. That is what we tried to attack. ## The four walls 1. **`--pipeline-windows 2` is a regression here: 57.9 tok/s (−10%)** on a three-stage split. Two reasons we can see: each stage holds only 13–18 layers (2–5 ms of work), and with DFlash2 the drafter needs the *finished* window's taps (`generate.cpp` says exactly this), so the next window cannot be drafted while the previous one is still in flight. Question: is an overlap mode for layer-split + DFlash2 planned, or is that structurally excluded? 2. **The all-cards split needs a full peer mesh** (`card_split.hpp`: every card a CUDA peer of every other, because the prompt path's attention exchange writes into every card). Our GPU2 has no peer at all, so on this box the split engine cannot run even though it is the one 0.2.10 feature that looked like it could pay (your A6000/PRO6000/R9700 numbers: +7–55%). Question: would a partial-mesh variant be considered, or is "everything else keeps the layer split" final? 3. **sm_70 expert kernels look close to their ceiling — we checked before asking for anything.** Microbenchmark, same shape the engine uses (IQ3_S/Q8_0 640×2560, batch of 10 experts): our `dp4a` path reaches **544 GB/s** (HBM 66%), while a "dequant→fp16→mma" path is **0.18×** of it — tensor cores need M≥16 while our verify window is T≈2.7, and fp16 materialisation doubles the bytes. We are *not* asking for a kernel rewrite; we are asking whether the sm_70 decode path has any planned work at all, or if we should treat it as frozen. 4. **DFlash2 rebuilds 0 rows and reports `missing 2042` every request** (`live log 1.2 MiB (95259 positions), parked 2–3 lineages 2–3 MiB`). Our reading: the ring log holds the history but the *current* window is not logged yet, so the first rounds after a compaction draft poorly and then recover. Question: is 2042 (≈ one window) the expected figure, or does it suggest the prompt path is not feeding the drafter's log? ## Two smaller data points - `--prefill 16384` (the 0.2.10 default where we could use it) is **slower** here: 2924 vs 3110 tok/s, and it borrows 7.38 GiB of expert slots instead of 4.38. `--prefill 8192` stays. - `STRATA_PREFILL_CPU_SHARE=auto`: 3043 vs 3032 tok/s — no change on this CPU (AVX1 only, 21.5 GB/s/socket), so we dropped it. - `--draft-conf` sweep over 0.35–0.60: 0.25 is best for long context (88.6 vs 84.7 at 0.50), i.e. the default 0 for "conf = --spec-min-p" was not the best point for us. ## One tiny report, in case it is news `strata --version` says **0.1.56** on the v0.2.10 tree (the `CMakeLists.txt` of the tag says `project(strata VERSION 0.1.56)`). We spent an hour convinced we were on an old build; only a blob-hash comparison against the tag settled it. If the release number is meant to reach users, it needs a bump. ## What would help most 1. A yes/no on (1) and (2) above — is any overlap or partial-mesh work realistic, or should we stop looking there? 2. A note on (3) — frozen or planned. 3. Whether the `missing 2042` in (4) is expected. 4. Happy to hand the whole thing over as a `bench/results/*-community-*` folder (README + raw runs + CUPTI dumps) in the same shape as before, if that is still wanted — and the CUPTI caveat from #4593 (CONCURRENT_KERNEL only; enabling KERNEL alongside inflates every kernel) is worth carrying on the community page.
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:6658787417 --> @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#3156
No description provided.