[GH-ISSUE #4281] [Benchmark] Community: Qwen3.8-Flash-Next IQ3_S + DeepSeek-V4.1-Flash IQ2_XXS on one RTX 4000 Ada 20 GB (Windows) #1885

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

Originally created by @pietroMastro92 on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4281

Community benchmark: Qwen3.8-Flash-Next (IQ3_S) and DeepSeek-V4.1-Flash (IST-DAS 2.00bpw) on one RTX 4000 Ada 20 GB, Windows

Community measurement, not the official strata bench run protocol (no results.json): the numbers are the engine's
own timings read from its log, which is what I could reproduce reliably on this machine. Strata 0.2.6, engine
0.1.50 (Qwen) / 0.1.51 (dsv41), Windows 11, driver 597 / CUDA 13.0.

Hardware

  • GPU: NVIDIA RTX 4000 Ada, 20,475 MiB (single card)
  • CPU: Intel Xeon w7-3455, 24 cores / 48 threads; RAM 255 GiB
  • Storage: NVMe for the model files (491 GB free after the models)
  • OS: Windows 11; Strata at v0.2.6, engines 0.1.50 / 0.1.51

Qwen3.8-Flash-Next, IQ3_S (77,9 GB)

Config: --pack iq3_s --native ... --ple-gguf ... --expert-cache auto --prefill auto:32768 --spec 4 --mtp ... --max-context 393216 --rope-scaling yarn --rope-scale 1.5 --kv int8 --kv-resident 32768 --vision --control-vector-scaled ... --pcie-frac 0.20 --spec-min-p 0.70 --adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97 --conversation-cache-mib 8192.

case tok/s
decode, chat prompt (12 warm-up, 8x200, median of the last 6) 50,2
decode, code prompt (same method) 51,9
prefill 3,8K (fresh prompt, engine log) 474
MTP drafts accepted 86-88% (75 of 87, 86 of 103 on single requests)

DeepSeek-V4.1-Flash, IST-DAS IQ2_XXS 2.00 bpw (128,7 GiB) on the same card

Config: --pack ...2.00bpw --max-context 65536 --eos 1 --dspark auto --mmap-experts auto (the standard settings;
tools/dsv41/tune.py --mode thorough kept them: 11,91 tok/s against the drafter forced on 9,56, 24 physical
threads 11,43, every logical thread 11,03).

case value
decode (12 warm-up, 8x200, median) 15,6-17,4 (two sessions)
prefill 3,8K (fresh prompt, engine log) 237,5 tok/s
prefill 20K (fresh prompt, engine log) 506,2 tok/s
experts in VRAM at start 1283 of 15360 (11,34 GB), the rest in the auto-sized RAM store

Three findings worth a line in the docs

1. Prefill cannot be measured from the HTTP round-trip. The client's request time includes the generation and,
when the prompt is already cached, the read of a handful of tokens instead of the whole prompt (I measured a
"117,8 tok/s" that was really 237,5: the round-trip was 60% generation). The reliable source is the engine's line
prompt N tokens = X reused + Y read in Z ms (W tok/s) with Y ~ N.

2. --prefill-chunk larger than the card's default costs experts. On this card the automatic chunk leaves
1283 experts in VRAM (11,34 GB); --prefill-chunk 16384 leaves 951 (8,49 GB) and gives +4,3% prefill at 3,8K
and +5,5% at 20K, but -6,1% decode (14,68 against 15,63). --prefill-chunk 20480 is worse still (-9,5% decode).
For a chat/agent workload the automatic choice wins. (Reported here because the Maya-lineage engine showed a
very different trade-off with a large chunk; on dsv41 it does not reproduce.)

3. An explicit --expert-cache above the automatic value is a silent cliff. With --expert-cache 8000 the
cache went to 8.652 MiB, the VRAM filled, and decode fell from ~44 to 12,4 tok/s with no error in the log. The
automatic value (3.588 MiB here) is what the engine sized for this card and is the right one.

Also, for the drafter table in strata_control/drafting.py: I tested DFlash2 on Ada (sm_89) with the packed
incoai/Qwen3.8-Flash-Next-DFlash2 drafter (SHA-256 checked, 725 MB pack) against the MTP on the same prompts and
config: 43,75 chat / 46,88 code against the MTP's 44,35 / 45,78 (2 runs each, -1,4% / +2,4%, i.e. within the
engine's own run-to-run noise) and no change with --draft-cap 8. With the MTP already accepting 86-88% of its
drafts there is little room; Ada is not in the evidence table and, from this one card, does not belong to the
DFlash2-wins class.

Method notes

Separate test port, /v1/unload + /v1/load before each measurement, one variable at a time, /metrics checked
after every start (version, spec_min_p, expert_cache_mib), 12 warm-up + 8x200 tokens with the median of the
last 6. Run-to-run variance on this machine is ±15% across sessions (the same config read 43,5 tok/s in the
evening and 50,2 with an empty GPU), so only interleaved A/B pairs are conclusive; single "before/after" numbers
should not be read as gains below that.

Originally created by @pietroMastro92 on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4281 # Community benchmark: Qwen3.8-Flash-Next (IQ3_S) and DeepSeek-V4.1-Flash (IST-DAS 2.00bpw) on one RTX 4000 Ada 20 GB, Windows Community measurement, not the official `strata bench run` protocol (no results.json): the numbers are the engine's own timings read from its log, which is what I could reproduce reliably on this machine. Strata 0.2.6, engine 0.1.50 (Qwen) / 0.1.51 (dsv41), Windows 11, driver 597 / CUDA 13.0. ## Hardware - GPU: NVIDIA RTX 4000 Ada, 20,475 MiB (single card) - CPU: Intel Xeon w7-3455, 24 cores / 48 threads; RAM 255 GiB - Storage: NVMe for the model files (491 GB free after the models) - OS: Windows 11; Strata at `v0.2.6`, engines 0.1.50 / 0.1.51 ## Qwen3.8-Flash-Next, IQ3_S (77,9 GB) Config: `--pack iq3_s --native ... --ple-gguf ... --expert-cache auto --prefill auto:32768 --spec 4 --mtp ... --max-context 393216 --rope-scaling yarn --rope-scale 1.5 --kv int8 --kv-resident 32768 --vision --control-vector-scaled ... --pcie-frac 0.20 --spec-min-p 0.70 --adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97 --conversation-cache-mib 8192`. | case | tok/s | |---|---:| | decode, chat prompt (12 warm-up, 8x200, median of the last 6) | **50,2** | | decode, code prompt (same method) | **51,9** | | prefill 3,8K (fresh prompt, engine log) | **474** | | MTP drafts accepted | 86-88% (75 of 87, 86 of 103 on single requests) | ## DeepSeek-V4.1-Flash, IST-DAS IQ2_XXS 2.00 bpw (128,7 GiB) on the same card Config: `--pack ...2.00bpw --max-context 65536 --eos 1 --dspark auto --mmap-experts auto` (the standard settings; `tools/dsv41/tune.py --mode thorough` kept them: 11,91 tok/s against the drafter forced on 9,56, 24 physical threads 11,43, every logical thread 11,03). | case | value | |---|---:| | decode (12 warm-up, 8x200, median) | **15,6-17,4** (two sessions) | | prefill 3,8K (fresh prompt, engine log) | **237,5 tok/s** | | prefill 20K (fresh prompt, engine log) | **506,2 tok/s** | | experts in VRAM at start | 1283 of 15360 (11,34 GB), the rest in the auto-sized RAM store | ## Three findings worth a line in the docs **1. Prefill cannot be measured from the HTTP round-trip.** The client's request time includes the generation and, when the prompt is already cached, the read of a handful of tokens instead of the whole prompt (I measured a "117,8 tok/s" that was really 237,5: the round-trip was 60% generation). The reliable source is the engine's line `prompt N tokens = X reused + Y read in Z ms (W tok/s)` with Y ~ N. **2. `--prefill-chunk` larger than the card's default costs experts.** On this card the automatic chunk leaves **1283 experts in VRAM** (11,34 GB); `--prefill-chunk 16384` leaves **951** (8,49 GB) and gives +4,3% prefill at 3,8K and +5,5% at 20K, but **-6,1% decode** (14,68 against 15,63). `--prefill-chunk 20480` is worse still (-9,5% decode). For a chat/agent workload the automatic choice wins. (Reported here because the Maya-lineage engine showed a very different trade-off with a large chunk; on dsv41 it does not reproduce.) **3. An explicit `--expert-cache` above the automatic value is a silent cliff.** With `--expert-cache 8000` the cache went to 8.652 MiB, the VRAM filled, and decode fell from ~44 to **12,4 tok/s** with no error in the log. The automatic value (3.588 MiB here) is what the engine sized for this card and is the right one. Also, for the drafter table in `strata_control/drafting.py`: I tested **DFlash2 on Ada (sm_89)** with the packed `incoai/Qwen3.8-Flash-Next-DFlash2` drafter (SHA-256 checked, 725 MB pack) against the MTP on the same prompts and config: **43,75 chat / 46,88 code** against the MTP's **44,35 / 45,78** (2 runs each, -1,4% / +2,4%, i.e. within the engine's own run-to-run noise) and no change with `--draft-cap 8`. With the MTP already accepting 86-88% of its drafts there is little room; Ada is not in the evidence table and, from this one card, does not belong to the DFlash2-wins class. ## Method notes Separate test port, `/v1/unload` + `/v1/load` before each measurement, one variable at a time, `/metrics` checked after every start (version, `spec_min_p`, `expert_cache_mib`), 12 warm-up + 8x200 tokens with the median of the last 6. Run-to-run variance on this machine is **±15% across sessions** (the same config read 43,5 tok/s in the evening and 50,2 with an empty GPU), so only interleaved A/B pairs are conclusive; single "before/after" numbers should not be read as gains below that.
Author
Owner

@pietroMastro92 commented on GitHub (Oct 28, 2026):

Follow-up on 0.2.7 / engine 0.1.52 — same machine, same method

Two measurements from tonight on the same RTX 4000 Ada 20 GB (Windows 11, 255 GiB RAM), separate test port,
/v1/unload + /v1/load before every measurement, prefill read from the engine's own line with a fresh prompt
(nonce so the prefix cache never answers it), decode 12 warm-up + 8x200 with the median of the last 6.

The 0.2.7 promise holds on this card: DeepSeek prefill +16% / +21%

Same config (--pack ...2.00bpw --max-context 65536 --eos 1 --dspark auto --mmap-experts auto), only the engine
binary differs (0.1.51 kept in a backup directory, 0.1.52 in engine-dsv41/), two alternating rounds:

metric 0.1.51 0.1.52 gain
prefill 3.8K 232,6 tok/s 269,2 tok/s +15,7%
prefill 20K 492,2 tok/s 594,1 tok/s +20,7%
decode 16,15 tok/s 15,84 tok/s (warm) equal

Both rounds agree (3.8K: 271,8 / 266,6; 20K: 594,9 / 593,2). The release note's "the engine no longer re-reads a
batch of experts from the SSD after every prompt" is exactly what this buys on a card where 14.296 of 15.360
experts live on the CPU lane. The 13,99 of my first round was a cold first load, not a regression.

Context is nearly free on this card, up to 1M

--max-context experts in VRAM prefill 3,8K decode
65.536 1.283 269,2 ~15,8
131.072 1.181 273,7 15,38
262.144 1.166 270,8 16,33
1.048.576 1.064 — 18,06

A 763B-parameter model answering at ~18 tok/s with a 1M-token context on a single 20 GB card is worth a line
in docs/DEEPSEEK41.md: the page-in cost of the extra K/V is a few hundred expert slots (1.283 -> 1.064, -17%)
and the decode does not drop. I have moved the daily DeepSeek config to --max-context 262144 as a working
balance; the 1M value loads and answers, so the "not tested yet" note is now tested on one card at least.

One negative result for the Qwen side

--ple-io ram (the PLE lookup table locked in RAM) is neutral here: decode 47,67 against 48,1-48,2 and prefill
1.265 against 1.262, while it pins about 97 GB of RAM (free RAM 227 GB -> 130 GB). The Qwen's bottleneck is not
the lookup: the MTP already accepts 86-88% of its drafts. Kept off.

Qwen numbers after the 0.1.52 update (unchanged within noise)

decode chat 48,08 · code 48,86 · via proxy 47,79 · prefill 3,8K 1.262 · 20K 1.619 tok/s. Against 0.1.50: 48,18 /
49,74 / 48,10 / 1.255 / 1.576. The "+2,7%" on the 20K prefill is the only movement above the run-to-run noise of
this machine (±15% across sessions, hence the alternating A/B design).

<!-- gh-comment-id:6460353563 --> @pietroMastro92 commented on GitHub (Oct 28, 2026): ## Follow-up on 0.2.7 / engine 0.1.52 — same machine, same method Two measurements from tonight on the same RTX 4000 Ada 20 GB (Windows 11, 255 GiB RAM), separate test port, `/v1/unload` + `/v1/load` before every measurement, prefill read from the engine's own line with a fresh prompt (nonce so the prefix cache never answers it), decode 12 warm-up + 8x200 with the median of the last 6. ### The 0.2.7 promise holds on this card: DeepSeek prefill +16% / +21% Same config (`--pack ...2.00bpw --max-context 65536 --eos 1 --dspark auto --mmap-experts auto`), only the engine binary differs (0.1.51 kept in a backup directory, 0.1.52 in `engine-dsv41/`), two alternating rounds: | metric | 0.1.51 | **0.1.52** | gain | |---|---:|---:|---:| | prefill 3.8K | 232,6 tok/s | **269,2 tok/s** | **+15,7%** | | prefill 20K | 492,2 tok/s | **594,1 tok/s** | **+20,7%** | | decode | 16,15 tok/s | 15,84 tok/s (warm) | equal | Both rounds agree (3.8K: 271,8 / 266,6; 20K: 594,9 / 593,2). The release note's "the engine no longer re-reads a batch of experts from the SSD after every prompt" is exactly what this buys on a card where 14.296 of 15.360 experts live on the CPU lane. The 13,99 of my first round was a cold first load, not a regression. ### Context is nearly free on this card, up to 1M | `--max-context` | experts in VRAM | prefill 3,8K | decode | |---|---:|---:|---:| | 65.536 | 1.283 | 269,2 | ~15,8 | | 131.072 | 1.181 | 273,7 | 15,38 | | 262.144 | 1.166 | 270,8 | 16,33 | | **1.048.576** | **1.064** | — | **18,06** | A 763B-parameter model answering at ~18 tok/s with a **1M-token context on a single 20 GB card** is worth a line in `docs/DEEPSEEK41.md`: the page-in cost of the extra K/V is a few hundred expert slots (1.283 -> 1.064, -17%) and the decode does not drop. I have moved the daily DeepSeek config to `--max-context 262144` as a working balance; the 1M value loads and answers, so the "not tested yet" note is now tested on one card at least. ### One negative result for the Qwen side `--ple-io ram` (the PLE lookup table locked in RAM) is neutral here: decode 47,67 against 48,1-48,2 and prefill 1.265 against 1.262, while it pins about **97 GB** of RAM (free RAM 227 GB -> 130 GB). The Qwen's bottleneck is not the lookup: the MTP already accepts 86-88% of its drafts. Kept off. ### Qwen numbers after the 0.1.52 update (unchanged within noise) decode chat 48,08 · code 48,86 · via proxy 47,79 · prefill 3,8K 1.262 · 20K 1.619 tok/s. Against 0.1.50: 48,18 / 49,74 / 48,10 / 1.255 / 1.576. The "+2,7%" on the 20K prefill is the only movement above the run-to-run noise of this machine (±15% across sessions, hence the alternating A/B design).
Author
Owner

@pietroMastro92 commented on GitHub (Oct 28, 2026):

Official strata bench run result on this machine (0.2.7 / engine 0.1.52)

I ran the standard protocol against the already-serving daily on the same RTX 4000 Ada 20 GB, Windows 11,
Strata v0.2.7, engine 0.1.52, model Qwen3.8-Flash-Next IQ3_S at context 393216:

strata bench run --url http://127.0.0.1:8090 --no-start --suite standard-v1

Result directory: bench/results/2026-10-28-standard-rtx-4000-ada-generation-5a12fc0b/ (README.md, results.json,
outputs.jsonl, config.json — 22 requests, no retries).

case prompt tok/s decode tok/s TTFT s total s capped
short n/a 51,9 (50,2-60,0) n=3 1,35 9,9 2/3
prompt-4k 1.452,2 (1.414,8-1.469,3) n=3 55,9 (52,6-58,5) n=3 2,86 12,0 3/3
prompt-16k 1.606,0 (1.601,3-1.627,8) n=3 51,4 (47,2-54,5) n=3 10,27 19,5 2/3

Sanity checks: 11 of 12 passed — instruction 4/4, retrieval 4/4, tool calls 3/4. The one miss was
sanity-T1 ("expected one structured tool call, got 0") at the protocol's temperature 1.0/top_p 0.95.

That T1 miss did not reproduce. Replaying its exact request against the same server: 5 of 5 attempts returned
one structured call (finish_reason: tool_calls, {"id":"A-17"}), at temperature 0 and again with
reasoning_effort low and high. So it reads as sampling luck in the standard protocol rather than a tool-call
path regression in 0.1.52 — worth knowing before someone chases it, and the reason I am not filing it as an issue.

For reference, on this card the protocol's numbers sit above the ad-hoc ones I reported earlier (decode 48,1 /
code 48,9) because the standard cases are capped at 512 tokens and the engine's own timings are used, as the
README explains. The prefill figures agree with the fresh-prompt measurements: 1.452 / 1.606 tok/s against
1.262 / 1.619 for my hand-rolled 3,8K / 20K prompts.

Combined with the DeepSeek result in my previous comment (0.1.52: prefill +15,7% at 3,8K and +20,7% at
20K over 0.1.51, and a working 1M-token context at 1.064 experts in VRAM), 0.2.7 is a clear step forward on
this hardware. Nothing to fix from my side.

<!-- gh-comment-id:6460663068 --> @pietroMastro92 commented on GitHub (Oct 28, 2026): ## Official `strata bench run` result on this machine (0.2.7 / engine 0.1.52) I ran the standard protocol against the already-serving daily on the same RTX 4000 Ada 20 GB, Windows 11, Strata v0.2.7, engine 0.1.52, model Qwen3.8-Flash-Next IQ3_S at context 393216: ``` strata bench run --url http://127.0.0.1:8090 --no-start --suite standard-v1 ``` Result directory: `bench/results/2026-10-28-standard-rtx-4000-ada-generation-5a12fc0b/` (README.md, results.json, outputs.jsonl, config.json — 22 requests, no retries). | case | prompt tok/s | decode tok/s | TTFT s | total s | capped | |---|---:|---:|---:|---:|---:| | short | n/a | **51,9** (50,2-60,0) n=3 | 1,35 | 9,9 | 2/3 | | prompt-4k | **1.452,2** (1.414,8-1.469,3) n=3 | **55,9** (52,6-58,5) n=3 | 2,86 | 12,0 | 3/3 | | prompt-16k | **1.606,0** (1.601,3-1.627,8) n=3 | **51,4** (47,2-54,5) n=3 | 10,27 | 19,5 | 2/3 | Sanity checks: **11 of 12 passed** — instruction 4/4, retrieval 4/4, tool calls 3/4. The one miss was `sanity-T1` ("expected one structured tool call, got 0") at the protocol's temperature 1.0/top_p 0.95. **That T1 miss did not reproduce.** Replaying its exact request against the same server: 5 of 5 attempts returned one structured call (`finish_reason: tool_calls`, `{"id":"A-17"}`), at temperature 0 and again with `reasoning_effort` low and high. So it reads as sampling luck in the standard protocol rather than a tool-call path regression in 0.1.52 — worth knowing before someone chases it, and the reason I am not filing it as an issue. For reference, on this card the protocol's numbers sit above the ad-hoc ones I reported earlier (decode 48,1 / code 48,9) because the standard cases are capped at 512 tokens and the engine's own timings are used, as the README explains. The prefill figures agree with the fresh-prompt measurements: 1.452 / 1.606 tok/s against 1.262 / 1.619 for my hand-rolled 3,8K / 20K prompts. Combined with the DeepSeek result in my previous comment (0.1.52: prefill **+15,7%** at 3,8K and **+20,7%** at 20K over 0.1.51, and a working **1M-token context** at 1.064 experts in VRAM), 0.2.7 is a clear step forward on this hardware. Nothing to fix from my side.
Author
Owner

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

DeepSeek-V4.1-Flash reads pictures on the IST-DAS packs too — datapoint on the 20 GB card

The 0.2.7 notes say pictures are on by default with the engine's own 319 MiB tower. On my earlier install the
pack predated 0.1.52, so it carried no tower at all:

pack-info before:  dense 124.73 GB (... mtp 7.97, vision 0.00, engram 110.81)

The fix is the one the notes describe, and it is quick: setup.py --family deepseek41 --model IST-DAS-2.00bpw --context 262144 --vision yes --no-start --yes. It fetched mmproj-BF16.gguf (972 MB, pinned, SHA checked by
setup), re-packed with --mmproj ("vision tower from mmproj-BF16.gguf: 32 blocks, image token 129264") and
wrote the run config with --vision on, keeping my own --max-context and --mmap-experts values:

pack-info after:   dense 125.70 GB (... mtp 7.97, vision 0.97, engram 110.81)
/health:           {"images": true, ...}

Functional checks on the 2.00 bpw pack, RTX 4000 Ada 20 GB, context 262144:

check image result
single large digit "42" answered "42" (7,9 s)
three coloured shapes red circle, blue square, green triangle named all three with correct colour and position (10,9 s)
OCR on a synthetic invoice number, total, due date 3/3 fields correct (10,4 s)

Cost of the tower at this size: prefill unchanged (271,5 tok/s at 3,8K, 594,8 at 20K), decode 14,5 against
16,3 (inside this machine's ±15% noise), and the expert slots in VRAM go 1.166 -> 1.131 of 15.360.

While I was at it I compared the same model on the original maya-ds4 engine (v1.1.25, --prefill-chunk 16384 --dspark-conf 0.50 --mmap-experts off) with the same harness and the same max_tokens 24 budget: that engine
reads 492,2 (3,8K) and 947,8 (20K) tok/s and decodes at 21,7 — so the strata-dsv41 port runs the prefill at
55-57% of the original on this card, and --prefill-chunk 16384 on the port does not close the gap (+4-6% and
-6% decode when I tried it on 0.1.51). If someone wants a lead: the gap is in the port's prompt path, not in the
pack or the hardware. Everything else about the port I have measured (the 0.1.52 prefill gain over 0.1.51, the
context up to 1M, the vision path above) works.

<!-- gh-comment-id:6490190738 --> @pietroMastro92 commented on GitHub (Oct 29, 2026): ## DeepSeek-V4.1-Flash reads pictures on the IST-DAS packs too — datapoint on the 20 GB card The 0.2.7 notes say pictures are on by default with the engine's own 319 MiB tower. On my earlier install the pack predated 0.1.52, so it carried no tower at all: ``` pack-info before: dense 124.73 GB (... mtp 7.97, vision 0.00, engram 110.81) ``` The fix is the one the notes describe, and it is quick: `setup.py --family deepseek41 --model IST-DAS-2.00bpw --context 262144 --vision yes --no-start --yes`. It fetched `mmproj-BF16.gguf` (972 MB, pinned, SHA checked by setup), re-packed with `--mmproj` ("vision tower from mmproj-BF16.gguf: 32 blocks, image token 129264") and wrote the run config with `--vision on`, keeping my own `--max-context` and `--mmap-experts` values: ``` pack-info after: dense 125.70 GB (... mtp 7.97, vision 0.97, engram 110.81) /health: {"images": true, ...} ``` Functional checks on the 2.00 bpw pack, RTX 4000 Ada 20 GB, context 262144: | check | image | result | |---|---|---| | single large digit | "42" | answered **"42"** (7,9 s) | | three coloured shapes | red circle, blue square, green triangle | named **all three with correct colour and position** (10,9 s) | | OCR on a synthetic invoice | number, total, due date | **3/3 fields correct** (10,4 s) | Cost of the tower at this size: prefill unchanged (271,5 tok/s at 3,8K, 594,8 at 20K), decode 14,5 against 16,3 (inside this machine's ±15% noise), and the expert slots in VRAM go 1.166 -> 1.131 of 15.360. While I was at it I compared the same model on the original `maya-ds4` engine (v1.1.25, `--prefill-chunk 16384 --dspark-conf 0.50 --mmap-experts off`) with the same harness and the same `max_tokens 24` budget: that engine reads 492,2 (3,8K) and 947,8 (20K) tok/s and decodes at 21,7 — so the `strata-dsv41` port runs the prefill at 55-57% of the original on this card, and `--prefill-chunk 16384` on the port does not close the gap (+4-6% and -6% decode when I tried it on 0.1.51). If someone wants a lead: the gap is in the port's prompt path, not in the pack or the hardware. Everything else about the port I have measured (the 0.1.52 prefill gain over 0.1.51, the context up to 1M, the vision path above) works.
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:6495636371 --> @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.
Author
Owner

@pietroMastro92 commented on GitHub (Oct 30, 2026):

0.2.8 / engine 0.1.54 applied on the RTX 4000 Ada 20 GB: decode and 3,8K fine, 20K prompt reading -11,4%

Updated immediately (engines 0.1.54 for both, SHA-256 checked, repo at v0.2.8). Same method as my earlier
comments: fresh prompt with a nonce, prefill read from the engine's own line, decode 12 warm-up + 8x200 with the
median of the last 6, Qwen IQ3_S at context 393216, --spec-min-p 0.70.

0.1.52 0.1.54 delta
decode chat 48,08 47,83 parity
decode code 48,86 49,65 parity
prefill 3,8K 1.262 1.252 parity
prefill 20K 1.619 1.434 -11,4%
vision (invoice OCR) 3/3 in 4,1 s 3/3 in 3,7 s faster

The 20K figure is not noise: three fresh nonced prompts gave 1.435,5 / 1.434,4 / 1.423,3 tok/s (median 1.434,4)
against 1.619 for 0.1.52 on the same box, same config, minutes apart. Decode and the 3,8K prompt are unchanged,
so the movement is in the long-prompt path specifically.

The one change in the notes that touches that path is the commit message on main: "SYCL: the prompt attention
batch is budgeted where it is allocated, and stays 32 by default"
. Is 32 the intended default for CUDA too, and
is there a knob to compare it (e.g. a bigger prompt attention batch) on this card? If it is a known trade-off
for the Arc pairs, ignore me; if not, it looks like a regression worth a look.

Everything else in 0.2.8 that I can test here is good: the vision path is faster, and the tool-call parsing fix
is welcome (I had measured 11/12 sanity checks on the standard protocol before, with T1 being a stochastic miss
rather than a parser problem).

<!-- gh-comment-id:6512425238 --> @pietroMastro92 commented on GitHub (Oct 30, 2026): ## 0.2.8 / engine 0.1.54 applied on the RTX 4000 Ada 20 GB: decode and 3,8K fine, **20K prompt reading -11,4%** Updated immediately (engines 0.1.54 for both, SHA-256 checked, repo at v0.2.8). Same method as my earlier comments: fresh prompt with a nonce, prefill read from the engine's own line, decode 12 warm-up + 8x200 with the median of the last 6, Qwen IQ3_S at context 393216, `--spec-min-p 0.70`. | | 0.1.52 | **0.1.54** | delta | |---|---:|---:|---:| | decode chat | 48,08 | 47,83 | parity | | decode code | 48,86 | 49,65 | parity | | prefill 3,8K | 1.262 | 1.252 | parity | | **prefill 20K** | **1.619** | **1.434** | **-11,4%** | | vision (invoice OCR) | 3/3 in 4,1 s | 3/3 in **3,7 s** | faster | The 20K figure is not noise: three fresh nonced prompts gave 1.435,5 / 1.434,4 / 1.423,3 tok/s (median 1.434,4) against 1.619 for 0.1.52 on the same box, same config, minutes apart. Decode and the 3,8K prompt are unchanged, so the movement is in the long-prompt path specifically. The one change in the notes that touches that path is the commit message on main: *"SYCL: the prompt attention batch is budgeted where it is allocated, and stays 32 by default"*. Is 32 the intended default for CUDA too, and is there a knob to compare it (e.g. a bigger prompt attention batch) on this card? If it is a known trade-off for the Arc pairs, ignore me; if not, it looks like a regression worth a look. Everything else in 0.2.8 that I can test here is good: the vision path is faster, and the tool-call parsing fix is welcome (I had measured 11/12 sanity checks on the standard protocol before, with T1 being a stochastic miss rather than a parser problem).
Author
Owner

@pietroMastro92 commented on GitHub (Oct 30, 2026):

Follow-up for the prefill comparison: the port is fine at real output budgets, and DS4_FAT_ROWS gives +16-20% at 20K here

Three findings from tonight on the RTX 4000 Ada 20 GB, all measured with the fresh-prompt / engine-log method and
engines 0.1.54 (dsv41 and Qwen both updated to v0.2.8).

1. max_tokens does not move the port's prefill (the sister engine's 2x does not happen here)

I checked because the original maya-ds4 engine turns out to read long prompts 2x slower when the reply budget
is large (a known annoyance on Windows there). The dsv41 port is immune: same nonced 20K prompt, four budgets:

max_tokens dsv41 20K dsv41 3,8K
24 567,7 292,4
120 590,3 294,7
512 585,7 294,1
1024 590,2 292,5

This matters for the comparison that started this thread: at max_tokens 24 the sister stack reads ~948 and the
port ~590, but at a real budget (120+) the sister engine drops to ~553 while the port stays at ~590. So the
"1.6-1.8x slower" is a small-budget artefact on their side, not a property of the port. With FAT_ROWS (below) the
port reads 682 at 20K, i.e. above the sister engine's 553 at the same budget.

2. DS4_FAT_ROWS=1 is worth much more than the +2-5% in the 0.2.8 notes, on this card

Same config otherwise, alternating loads, three measurements each:

without DS4_FAT_ROWS=1
prefill 3,8K 292-294 300-364 (noisy, +5 to +24%)
prefill 20K 567-590 675-682 (+16 to +20%)
decode ~15,8-16,3 15,2-15,5 (inside noise)

The 20K figure is stable across three fresh prompts (680,6 / 676,1 / 675,2 and later 682,6 / 683,7). The notes
frame FAT_ROWS as "+2% to +5%": on a card that holds 7% of the experts it is three to four times that. Worth
considering as a default (or a "Faster prompts" switch) on small-VRAM NVIDIA cards — it costs nothing in decode
that I can measure and no correctness change on my checks.

3. For the docs: --prefill-chunk 16384 on this class of card is a trap

Encouraged by another stack's config I tried the fork's --prefill-chunk 16384 on the port: the chunk's buffers
take VRAM from the expert tier (1.131 -> 803 of 15.360 experts), and the prefill collapses:

auto chunk (4096) --prefill-chunk 16384
prefill 3,8K 300 71,8
prefill 20K 682 158,9
decode 15,5 14,3

The engine's own rule picks 4096 here and it is right. If the docs mention the large chunk as a win, it is for
configs where the chunk's VRAM does not come out of the experts.

What I did not find

DS4_ATTN_SLAB=2048 (rows), DS4_CPU_SMT=1 and DS4_READAHEAD_MB=2048 were all inside the noise on this box,
so they stay off. The port's config here is now: --max-context 262144 --eos 1 --vision on --dspark auto --dspark-conf 0.65 --pack ... --mmap-experts auto with env: {"DS4_FAT_ROWS": "1"}.

<!-- gh-comment-id:6514801486 --> @pietroMastro92 commented on GitHub (Oct 30, 2026): ## Follow-up for the prefill comparison: the port is fine at real output budgets, and `DS4_FAT_ROWS` gives +16-20% at 20K here Three findings from tonight on the RTX 4000 Ada 20 GB, all measured with the fresh-prompt / engine-log method and engines 0.1.54 (dsv41 and Qwen both updated to v0.2.8). ### 1. `max_tokens` does **not** move the port's prefill (the sister engine's 2x does not happen here) I checked because the original `maya-ds4` engine turns out to read long prompts 2x slower when the reply budget is large (a known annoyance on Windows there). The dsv41 port is immune: same nonced 20K prompt, four budgets: | `max_tokens` | dsv41 20K | dsv41 3,8K | |---:|---:|---:| | 24 | 567,7 | 292,4 | | 120 | 590,3 | 294,7 | | 512 | 585,7 | 294,1 | | 1024 | 590,2 | 292,5 | This matters for the comparison that started this thread: at `max_tokens 24` the sister stack reads ~948 and the port ~590, but at a real budget (120+) the sister engine drops to ~553 while the port stays at ~590. So the "1.6-1.8x slower" is a small-budget artefact on their side, not a property of the port. With FAT_ROWS (below) the port reads **682** at 20K, i.e. above the sister engine's 553 at the same budget. ### 2. `DS4_FAT_ROWS=1` is worth much more than the +2-5% in the 0.2.8 notes, on this card Same config otherwise, alternating loads, three measurements each: | | without | **`DS4_FAT_ROWS=1`** | |---|---:|---:| | prefill 3,8K | 292-294 | **300-364** (noisy, +5 to +24%) | | prefill 20K | 567-590 | **675-682** (+16 to +20%) | | decode | ~15,8-16,3 | 15,2-15,5 (inside noise) | The 20K figure is stable across three fresh prompts (680,6 / 676,1 / 675,2 and later 682,6 / 683,7). The notes frame FAT_ROWS as "+2% to +5%": on a card that holds 7% of the experts it is three to four times that. Worth considering as a default (or a "Faster prompts" switch) on small-VRAM NVIDIA cards — it costs nothing in decode that I can measure and no correctness change on my checks. ### 3. For the docs: `--prefill-chunk 16384` on this class of card is a trap Encouraged by another stack's config I tried the fork's `--prefill-chunk 16384` on the port: the chunk's buffers take VRAM from the expert tier (1.131 -> **803** of 15.360 experts), and the prefill collapses: | | auto chunk (4096) | `--prefill-chunk 16384` | |---|---:|---:| | prefill 3,8K | 300 | **71,8** | | prefill 20K | 682 | **158,9** | | decode | 15,5 | 14,3 | The engine's own rule picks 4096 here and it is right. If the docs mention the large chunk as a win, it is for configs where the chunk's VRAM does not come out of the experts. ### What I did not find `DS4_ATTN_SLAB=2048` (rows), `DS4_CPU_SMT=1` and `DS4_READAHEAD_MB=2048` were all inside the noise on this box, so they stay off. The port's config here is now: `--max-context 262144 --eos 1 --vision on --dspark auto --dspark-conf 0.65 --pack ... --mmap-experts auto` with `env: {"DS4_FAT_ROWS": "1"}`.
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#1885
No description provided.