[GH-ISSUE #617] V100-32GB field report: throughput, a thinking-budget pitfall, and Flash-125B vs Qwen3.8-27B on the same box #292

Closed
opened 2026-11-04 01:41:43 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @noahark on GitHub (Oct 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/617

V100-32GB field report: throughput, a thinking-budget pitfall, and Flash-125B vs Qwen3.8-27B on the same box

Follow-up to #585 (the sm_70 link fix that made this install possible). Three things below that may be useful
to other V100 / older-GPU users and maybe to the project: measured throughput, a thinking-budget pitfall with
a one-field fix, and a capability comparison against Qwen3.8-27B (llama.cpp) on identical hardware.

Setup

  • Tesla V100-PCIE-32GB (TCC, PCIe Gen3), dual Xeon E5-2696 v3, 128 GB RAM, Windows 10 LTSC
  • Strata v0.1.38, engine compiled from source for sm_70 (CUDA 12.4, MSVC 14.44)
  • Qwen3.8-Flash-Next IQ3_XXS, 131,072 context, KV streamed to RAM, MTP draft (q2_0)
  • 15,553 / 24,576 experts (63%) cached in VRAM (25.2 GiB); rest served from RAM by the CPU

Throughput (server-side timings)

Scenario Output Speed Expert cache hit
First request ever (JIT warm-up) 175 tok 7.5 tok/s 81.0%
Short answer 39 tok 10.1 tok/s 94.8%
Medium answer 289 tok 13.7 tok/s 95.5%
~400-word essay (thinking + prose) 322 tok 14.2 tok/s 95.6%
Long-form writing 1,492 tok 15.8 tok/s 96.6%
Long multi-method math reasoning 1,761 tok 16.8 tok/s 97.3%
31k-token interactive session (hardest problem, web UI) 31,796 tok 16.7 tok/s steady 96.6%

Prompt processing 61.7 tok/s warm. MTP acceptance 97.8% on repetitive output, ~65% on free prose.
Decode is memory-bound on this card: GPU util ~19%, 42-48 W of 250 W, 49 C - the GPU mostly waits
while the CPU computes RAM-resident experts. Notably speed does not degrade with context: flat
16.7-16.9 tok/s through a 31k-token session (KV streaming presumably).

The thinking-budget pitfall (with a one-field fix)

Hard problems can burn the entire max_tokens on thinking and emit an empty answer, silently.

  • Example (factorial-trailing-zeros olympiad-style prompt): with max_tokens=5000 AND with
    max_tokens=15000, completion_tokens hit the cap exactly and content was empty - 15,000 tokens
    for nothing. Same temperature/top_p/seed both times (near-deterministic replay of a spiraling path).
  • In the web UI (fresh sampling) the same prompt solves correctly in 6,699 tokens.
  • Fix: send reasoning_budget_tokens: 4000 per request. The server already supports it (serve/server.py,
    reasoning_budget()). With the cap, the same spiraling seed-42 request stopped thinking and answered
    correctly (8090). Across three hard problems, capped Flash matched a Qwen3.8-27B running under
    --reasoning-budget 4096 token-for-token in correctness (correct / partial / correct) at 14,369 total
    tokens vs the 27B's 14,306.

Suggestions, if useful: mention reasoning_budget_tokens in the README/API docs for programmatic users,
and consider exposing a thinking cap in the web UI (the UI currently only has all-or-nothing skip).

Flash-125B (Strata) vs Qwen3.8-27B (llama.cpp thinking build), same hardware

Six-question boundary battery + the exam above, both under thinking caps:

Dimension Flash-125B Qwen3.8-27B
Mainstream cross-domain knowledge (10 sub-questions) 10/10 9/10
Long-tail knowledge (name all four Wallfacers from "The Three-Body Problem") 4/4 exact 2/4, two hallucinated names
Long-doc retrieval (2.6k-token synthetic log, 12 planted cross-referenced facts) 12/12 12/12
Exact code-output prediction (metaclass/descriptor/closure; try-else-finally x continue) 2/2 char-exact 2/2 char-exact
5-constraint JSON output perfect perfect
Character-count constraint (write 3 sentences with exact counts of a specific character) failed passed
Proof completeness (optimal bracket-flip algorithm), unlimited budget full optimality proof truncated

Takeaway for our use: the 125B wins on long-tail knowledge and proof depth; the 27B wins on speed
(1.7-2x wall clock), fine-grained format obedience, and stability. Their hallucination surfaces are
disjoint, so we cross-check important facts between them.

Thanks for the project - happy to contribute the numbers to docs/COMMUNITY_BENCHMARKS.md in PR form
if the table there wants a V100 row.

Originally created by @noahark on GitHub (Oct 3, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/617 # V100-32GB field report: throughput, a thinking-budget pitfall, and Flash-125B vs Qwen3.8-27B on the same box Follow-up to #585 (the sm_70 link fix that made this install possible). Three things below that may be useful to other V100 / older-GPU users and maybe to the project: measured throughput, a thinking-budget pitfall with a one-field fix, and a capability comparison against Qwen3.8-27B (llama.cpp) on identical hardware. ## Setup - Tesla V100-PCIE-32GB (TCC, PCIe Gen3), dual Xeon E5-2696 v3, 128 GB RAM, Windows 10 LTSC - Strata v0.1.38, engine compiled from source for sm_70 (CUDA 12.4, MSVC 14.44) - Qwen3.8-Flash-Next IQ3_XXS, 131,072 context, KV streamed to RAM, MTP draft (q2_0) - 15,553 / 24,576 experts (63%) cached in VRAM (25.2 GiB); rest served from RAM by the CPU ## Throughput (server-side timings) | Scenario | Output | Speed | Expert cache hit | |---|---|---|---| | First request ever (JIT warm-up) | 175 tok | 7.5 tok/s | 81.0% | | Short answer | 39 tok | 10.1 tok/s | 94.8% | | Medium answer | 289 tok | 13.7 tok/s | 95.5% | | ~400-word essay (thinking + prose) | 322 tok | 14.2 tok/s | 95.6% | | Long-form writing | 1,492 tok | 15.8 tok/s | 96.6% | | Long multi-method math reasoning | 1,761 tok | 16.8 tok/s | 97.3% | | 31k-token interactive session (hardest problem, web UI) | 31,796 tok | 16.7 tok/s steady | 96.6% | Prompt processing 61.7 tok/s warm. MTP acceptance 97.8% on repetitive output, ~65% on free prose. Decode is memory-bound on this card: GPU util ~19%, 42-48 W of 250 W, 49 C - the GPU mostly waits while the CPU computes RAM-resident experts. Notably **speed does not degrade with context**: flat 16.7-16.9 tok/s through a 31k-token session (KV streaming presumably). ## The thinking-budget pitfall (with a one-field fix) Hard problems can burn the *entire* `max_tokens` on thinking and emit an empty answer, silently. - Example (factorial-trailing-zeros olympiad-style prompt): with `max_tokens=5000` AND with `max_tokens=15000`, completion_tokens hit the cap exactly and `content` was empty - 15,000 tokens for nothing. Same temperature/top_p/seed both times (near-deterministic replay of a spiraling path). - In the web UI (fresh sampling) the same prompt solves correctly in 6,699 tokens. - **Fix: send `reasoning_budget_tokens: 4000` per request.** The server already supports it (serve/server.py, `reasoning_budget()`). With the cap, the *same spiraling seed-42 request* stopped thinking and answered correctly (8090). Across three hard problems, capped Flash matched a Qwen3.8-27B running under `--reasoning-budget 4096` token-for-token in correctness (correct / partial / correct) at 14,369 total tokens vs the 27B's 14,306. Suggestions, if useful: mention `reasoning_budget_tokens` in the README/API docs for programmatic users, and consider exposing a thinking cap in the web UI (the UI currently only has all-or-nothing skip). ## Flash-125B (Strata) vs Qwen3.8-27B (llama.cpp thinking build), same hardware Six-question boundary battery + the exam above, both under thinking caps: | Dimension | Flash-125B | Qwen3.8-27B | |---|---|---| | Mainstream cross-domain knowledge (10 sub-questions) | 10/10 | 9/10 | | Long-tail knowledge (name all four Wallfacers from "The Three-Body Problem") | 4/4 exact | 2/4, two hallucinated names | | Long-doc retrieval (2.6k-token synthetic log, 12 planted cross-referenced facts) | 12/12 | 12/12 | | Exact code-output prediction (metaclass/descriptor/closure; try-else-finally x continue) | 2/2 char-exact | 2/2 char-exact | | 5-constraint JSON output | perfect | perfect | | Character-count constraint (write 3 sentences with exact counts of a specific character) | failed | passed | | Proof completeness (optimal bracket-flip algorithm), unlimited budget | full optimality proof | truncated | Takeaway for our use: the 125B wins on long-tail knowledge and proof depth; the 27B wins on speed (1.7-2x wall clock), fine-grained format obedience, and stability. Their hallucination surfaces are disjoint, so we cross-check important facts between them. Thanks for the project - happy to contribute the numbers to docs/COMMUNITY_BENCHMARKS.md in PR form if the table there wants a V100 row.
Author
Owner

@noahark commented on GitHub (Oct 3, 2026):

Correction on the prompt-processing number in the report above: the "61.7 tok/s prompt" line was measured
on a 70-token prompt, where fixed per-request overhead dominates. It is not representative of document
ingestion. Measured on the same machine with the same V100 build:

Prompt size Prompt processing
~90 tok 57 tok/s
~280 tok 133 tok/s
4,340 tok (synthetic log document) 863 tok/s (5.03 s)

For comparison, Qwen3.8-27B (llama.cpp, same box) read the same 4,340-token document at 629.5 tok/s
(6.83 s) - so on real documents the V100 build ingests 1.37x faster than the 27B, consistent with the
chunked reading design (8k-token pieces, experts streamed over PCIe during attention).

<!-- gh-comment-id:5969974493 --> @noahark commented on GitHub (Oct 3, 2026): Correction on the prompt-processing number in the report above: the "61.7 tok/s prompt" line was measured on a 70-token prompt, where fixed per-request overhead dominates. It is not representative of document ingestion. Measured on the same machine with the same V100 build: | Prompt size | Prompt processing | |---|---| | ~90 tok | 57 tok/s | | ~280 tok | 133 tok/s | | 4,340 tok (synthetic log document) | **863 tok/s** (5.03 s) | For comparison, Qwen3.8-27B (llama.cpp, same box) read the same 4,340-token document at 629.5 tok/s (6.83 s) - so on real documents the V100 build ingests **1.37x faster** than the 27B, consistent with the chunked reading design (8k-token pieces, experts streamed over PCIe during attention).
Author
Owner

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

Thank you for the V100 numbers and the side-by-side comparison, including the correction on the prompt speed. The thinking cap is already there: "reasoning_budget_tokens": N per request, or as a default for every request in strata-<model>.json (docs/DETAILS.md, "A hard thinking budget"). A V100 row for docs/COMMUNITY_BENCHMARKS.md is welcome as a PR. The sm_70 link fix is tracked in #585, so I'm closing this as a report.

<!-- gh-comment-id:5970945512 --> @Niko1221 commented on GitHub (Oct 3, 2026): Thank you for the V100 numbers and the side-by-side comparison, including the correction on the prompt speed. The thinking cap is already there: `"reasoning_budget_tokens": N` per request, or as a default for every request in `strata-<model>.json` (docs/DETAILS.md, "A hard thinking budget"). A V100 row for docs/COMMUNITY_BENCHMARKS.md is welcome as a PR. The sm_70 link fix is tracked in #585, so I'm closing this as a report.
Author
Owner

@noahark commented on GitHub (Oct 4, 2026):

Follow-up for anyone on old/multi-socket hardware: I ran START-HERE.bat --calibrate (v0.1.38, same
V100 + dual Xeon E5-2696 v3 box) and it doubled the decode speed: 16.5 -> 33.5 tok/s (2.03x).

Kept settings: --pcie-frac 0.55 --spec-min-p 0.70 --pool-workers 18

The sweep, for the record:

Setting Measurements
pcie-frac 0.00 -> 17.8 / 0.20 -> 16.2 / 0.34 -> 20.0 / 0.35 -> 19.2 / 0.55 -> 25.4 / 0.75 -> 21.5
spec-min-p (draft floor) 0.30 -> 19.2 / 0.50 -> 18.3 / 0.70 -> 21.1
pool-workers 35 -> below 28.6 / 23 -> 28.6 / 18 -> 33.5

Two takeaways worth knowing:

  1. Dual-socket NUMA wants far fewer CPU workers. 18 workers beat 35 by ~20%+ - with 35 the threads
    fight across sockets. The defaults were measured on a 6-core Ryzen, and on this old 36C/72T dual-socket
    box they were 2x off.
  2. PCIe Gen3 still benefits from expert copying, but only at the right share (0.55 of the missing
    experts; 0.75 already degrades on Gen3 x16).

A sanity request after calibration (196-token prose, thinking on): 22 tok/s on a short output where
16.5-era short outputs measured 10-13.7. Highly recommend calibrating on anything that is not a modern
single-socket desktop.

<!-- gh-comment-id:5975186670 --> @noahark commented on GitHub (Oct 4, 2026): Follow-up for anyone on old/multi-socket hardware: I ran `START-HERE.bat --calibrate` (v0.1.38, same V100 + dual Xeon E5-2696 v3 box) and it **doubled the decode speed: 16.5 -> 33.5 tok/s (2.03x)**. Kept settings: `--pcie-frac 0.55 --spec-min-p 0.70 --pool-workers 18` The sweep, for the record: | Setting | Measurements | |---|---| | pcie-frac | 0.00 -> 17.8 / 0.20 -> 16.2 / 0.34 -> 20.0 / 0.35 -> 19.2 / **0.55 -> 25.4** / 0.75 -> 21.5 | | spec-min-p (draft floor) | 0.30 -> 19.2 / 0.50 -> 18.3 / **0.70 -> 21.1** | | pool-workers | 35 -> below 28.6 / 23 -> 28.6 / **18 -> 33.5** | Two takeaways worth knowing: 1. **Dual-socket NUMA wants far fewer CPU workers.** 18 workers beat 35 by ~20%+ - with 35 the threads fight across sockets. The defaults were measured on a 6-core Ryzen, and on this old 36C/72T dual-socket box they were 2x off. 2. **PCIe Gen3 still benefits from expert copying, but only at the right share** (0.55 of the missing experts; 0.75 already degrades on Gen3 x16). A sanity request after calibration (196-token prose, thinking on): 22 tok/s on a short output where 16.5-era short outputs measured 10-13.7. Highly recommend calibrating on anything that is not a modern single-socket desktop.
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#292
No description provided.