[GH-ISSUE #4584] [Benchmark] 2x RTX 3090 Qwen IQ3_S: lower prefill and decode after 0.1.47 to 0.1.53 update #2073

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

Originally created by @didlawowo on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4584

What did you measure, or what went wrong

I measured lower prefill and decode throughput after upgrading my Strata deployment. This is an observed before/after difference, not yet a confirmed engine regression: the image and engine changed together, and I did not capture every effective setting on the older deployment.

Machine and software

  • 2 × NVIDIA RTX 3090, 24 GiB each; Ryzen 7 5800X; approximately 94 GiB system RAM; Ubuntu 24.04.5 LTS, x86-64, kernel 6.8.0-147.
  • Qwen3.8-Flash-Next GSQ-RCO IQ3_S (Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf and its second shard), context 131,072, one parallel slot.
  • Old: Strata container 0.2.2-cuda13, engine reported as 0.1.47, image digest sha256:17e96f76fb85ee47b445b38ebfe9e4190b96ebde522e109d40efa2f2404a4503.
  • New: container v0.2.7.1-g46c152a1, engine reported as 0.1.53, image digest sha256:2035a36baf4e2d863389661ed19c45a5a65e6e8ddfe0fc88aae0b31b90af0a37.
  • Both runs used four conversation-cache slots with an 8 GiB budget. New engine reports kv=k8v4, kv_resident=32768, prefill_cap=8192, prefill_stages=2, and MTP. I did not preserve all of these values for the old run, nor the exact engine launch command, so I cannot prove that only the engine changed. Driver/CUDA runtime versions, power limits and expert-cache state were not captured.

Short-input, longer-output comparison

I used a custom OpenAI-compatible streaming benchmark, not the official Strata benchmark or draft standard protocol. Each of the two runs per version sent 5 measured requests at concurrency 1, after scenario warm-up (10 requests); temperature 0.7, reasoning off, output cap 500, no fixed sampling seed. The workload cycles two short architecture/incident-analysis prompts. Mean prompt length was 224.2 tokens and mean output 500 tokens in each run. Prefix cache reuse was 18.73% in each C1 cell. Throughput is calculated from the server's prompt_ms/prompt_n and predicted_per_second timing fields; TTFT is measured by the client on the streaming response.

Engine Run Prefill, tok/s Decode, tok/s Mean TTFT, ms Success
0.1.47 1 650.4 134.86 296.85 5/5
0.1.47 2 642.5 132.40 299.63 5/5
0.1.53 1 549.1 102.76 347.67 5/5
0.1.53 2 549.0 110.34 347.96 5/5

This is roughly 15% lower prefill and 20% lower decode when comparing the average of these two cells per engine. Two runs of five requests are a small sample; the benchmark's scenario prompts and underlying per-request logs are not attached here, so this is a preliminary report rather than a fully reproducible isolated A/B test. All 120 measured requests across three scenarios and concurrency levels 1, 2, 3 and 5 succeeded on each image. The server request counter matched the expected workload, and no concurrent requests were detected by that counter. Output text and length can affect timing.

80k conversation rotation

Four independent synthetic contexts of approximately 80,000 tokens, ten rounds each, serial requests, output cap 32, reasoning off. First pass versus the 36 returns per run:

Engine Run Median first TTFT Median return TTFT Return prefix reused Server prefill, tok/s Success
0.1.47 1 26.60 s 0.64 s 99.98% 2,488.6 40/40
0.1.47 2 26.39 s 0.38 s 99.98% 2,380.7 40/40
0.1.53 1 27.80 s 0.71 s 99.98% 2,018.7 40/40
0.1.53 2 27.69 s 0.45 s 99.98% 1,945.1 40/40

Initial prefix reuse was 0% in all four runs. Prefill throughput covers the tokens actually computed, including the small uncached suffixes on returns. The old rotation records did not preserve the exact prompt or temperature; the new runs used Summarize the document briefly. at temperature 0.7. Therefore these results are indicative, not a fully matched workload. No parking-off comparison or correctness/recall test was run. No OOM was observed on the new image.

Could a change in defaults, MTP or prefill/cache settings between these versions explain this difference? Which effective settings and official benchmark or A/B procedure should I capture next to isolate the cause?

Reproduction status

Measured locally. Reproduced in two benchmark repetitions on each image on the same machine; a controlled engine-only A/B test has not been performed.

Originally created by @didlawowo on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4584 ### What did you measure, or what went wrong I measured lower prefill and decode throughput after upgrading my Strata deployment. This is an observed before/after difference, not yet a confirmed engine regression: the image and engine changed together, and I did not capture every effective setting on the older deployment. **Machine and software** - 2 × NVIDIA RTX 3090, 24 GiB each; Ryzen 7 5800X; approximately 94 GiB system RAM; Ubuntu 24.04.5 LTS, x86-64, kernel 6.8.0-147. - Qwen3.8-Flash-Next GSQ-RCO IQ3_S (`Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf` and its second shard), context 131,072, one parallel slot. - Old: Strata container `0.2.2-cuda13`, engine reported as `0.1.47`, image digest `sha256:17e96f76fb85ee47b445b38ebfe9e4190b96ebde522e109d40efa2f2404a4503`. - New: container `v0.2.7.1-g46c152a1`, engine reported as `0.1.53`, image digest `sha256:2035a36baf4e2d863389661ed19c45a5a65e6e8ddfe0fc88aae0b31b90af0a37`. - Both runs used four conversation-cache slots with an 8 GiB budget. New engine reports `kv=k8v4`, `kv_resident=32768`, `prefill_cap=8192`, `prefill_stages=2`, and MTP. I did not preserve all of these values for the old run, nor the exact engine launch command, so I cannot prove that only the engine changed. Driver/CUDA runtime versions, power limits and expert-cache state were not captured. **Short-input, longer-output comparison** I used a custom OpenAI-compatible streaming benchmark, not the official Strata benchmark or draft standard protocol. Each of the two runs per version sent 5 measured requests at concurrency 1, after scenario warm-up (10 requests); temperature 0.7, reasoning off, output cap 500, no fixed sampling seed. The workload cycles two short architecture/incident-analysis prompts. Mean prompt length was 224.2 tokens and mean output 500 tokens in each run. Prefix cache reuse was 18.73% in each C1 cell. Throughput is calculated from the server's `prompt_ms`/`prompt_n` and `predicted_per_second` timing fields; TTFT is measured by the client on the streaming response. | Engine | Run | Prefill, tok/s | Decode, tok/s | Mean TTFT, ms | Success | | --- | --- | ---: | ---: | ---: | ---: | | 0.1.47 | 1 | 650.4 | 134.86 | 296.85 | 5/5 | | 0.1.47 | 2 | 642.5 | 132.40 | 299.63 | 5/5 | | 0.1.53 | 1 | 549.1 | 102.76 | 347.67 | 5/5 | | 0.1.53 | 2 | 549.0 | 110.34 | 347.96 | 5/5 | This is roughly 15% lower prefill and 20% lower decode when comparing the average of these two cells per engine. Two runs of five requests are a small sample; the benchmark's scenario prompts and underlying per-request logs are not attached here, so this is a preliminary report rather than a fully reproducible isolated A/B test. All 120 measured requests across three scenarios and concurrency levels 1, 2, 3 and 5 succeeded on each image. The server request counter matched the expected workload, and no concurrent requests were detected by that counter. Output text and length can affect timing. **80k conversation rotation** Four independent synthetic contexts of approximately 80,000 tokens, ten rounds each, serial requests, output cap 32, reasoning off. First pass versus the 36 returns per run: | Engine | Run | Median first TTFT | Median return TTFT | Return prefix reused | Server prefill, tok/s | Success | | --- | --- | ---: | ---: | ---: | ---: | ---: | | 0.1.47 | 1 | 26.60 s | 0.64 s | 99.98% | 2,488.6 | 40/40 | | 0.1.47 | 2 | 26.39 s | 0.38 s | 99.98% | 2,380.7 | 40/40 | | 0.1.53 | 1 | 27.80 s | 0.71 s | 99.98% | 2,018.7 | 40/40 | | 0.1.53 | 2 | 27.69 s | 0.45 s | 99.98% | 1,945.1 | 40/40 | Initial prefix reuse was 0% in all four runs. Prefill throughput covers the tokens actually computed, including the small uncached suffixes on returns. The old rotation records did not preserve the exact prompt or temperature; the new runs used `Summarize the document briefly.` at temperature 0.7. Therefore these results are indicative, not a fully matched workload. No parking-off comparison or correctness/recall test was run. No OOM was observed on the new image. Could a change in defaults, MTP or prefill/cache settings between these versions explain this difference? Which effective settings and official benchmark or A/B procedure should I capture next to isolate the cause? ### Reproduction status Measured locally. Reproduced in two benchmark repetitions on each image on the same machine; a controlled engine-only A/B test has not been performed.
Author
Owner

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

"STRATA_ROUTE_PRIOR": "0" 是不是这个问题 这个默认开启

<!-- gh-comment-id:6493352654 --> @zjf199249 commented on GitHub (Oct 29, 2026): "STRATA_ROUTE_PRIOR": "0" 是不是这个问题 这个默认开启
Author
Owner

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

Three engines on 2× 2080 Ti (IQ3_S, native): 0.1.53 is level with 0.1.52 and 0.1.47 — no drop here, and the router prior does not engage on these cards

Cross-check from a different sm_75 pair, because your before/after spans two engine versions and the same IQ3_S pack that regressed in #4410.

Builds: 0.2.2 (engine 0.1.47), 0.2.7 (engine 0.1.52) and 0.2.7.1 (engine 0.1.53), all source builds with -DCMAKE_CUDA_ARCHITECTURES=75, one tree and one binary per arm, 3 rounds, order reversed each round, unique prompt tag per request.

Hardware/config: 2× RTX 2080 Ti 22 GB (210/167 W), i9-7980XE, 125.5 GiB DDR4-3600, kernel 7.0.0-38, driver 580.178.04, CUDA 13.0. Qwen3.8-Flash-Next GSQ-RCO IQ3_S native pack, --kv k8v4 --kv-resident 32768 --spec 4 --spec-min-p 0.70 --mtp --mtp-hnorm stream --host-core last --pcie-frac 0.00 --vram-reserve-mib 800 --conversation-cache-mib 10240 --conversation-cache-slots 8 --layer-split auto --max-context 262144, STRATA_SM75_PERF=1.

metric (median of 3) 0.1.47 0.1.52 0.1.53
chat0 decode 89.70 90.00 90.30
chat1 decode 73.50 73.60 72.50
chat2 decode 71.90 73.50 73.90
4.3k prompt decode 68.50 67.50 64.50
4.3k prompt prefill 885.6 tok/s 949.2 tok/s 949.4 tok/s

So on this pair the two newer engines are level on the short chats and +7% on prefill; the 4.3k-prompt decode column is the noisy one (one 0.1.47 run was 63.9 and one 68.5-with-70.2, the arm's own spread is larger than the difference between arms).

On the STRATA_ROUTE_PRIOR suggestion: the engine says when it engages — the startup log carries a line like strata verify: residency-biased routing is on by default on this card (STRATA_ROUTE_PRIOR=…) — and my 22 GB cards do not print it, so none of my three arms exercised that path. Before A/B-ing the variable on your 3090, check whether your start line prints it at all: if it does not, STRATA_ROUTE_PRIOR=0 cannot be the cause; if it does, the switch is a one-flag test.

Your report stays your machine's data — this only says the drop is not general to IQ3_S on sm_75, and that 0.1.53 itself does not introduce one here.

<!-- gh-comment-id:6495144636 --> @Adamyno commented on GitHub (Oct 29, 2026): ## Three engines on 2× 2080 Ti (IQ3_S, native): 0.1.53 is level with 0.1.52 and 0.1.47 — no drop here, and the router prior does not engage on these cards Cross-check from a different sm_75 pair, because your before/after spans two engine versions and the same IQ3_S pack that regressed in #4410. **Builds:** 0.2.2 (engine **0.1.47**), 0.2.7 (engine **0.1.52**) and 0.2.7.1 (engine **0.1.53**), all source builds with `-DCMAKE_CUDA_ARCHITECTURES=75`, one tree and one binary per arm, 3 rounds, order reversed each round, unique prompt tag per request. **Hardware/config:** 2× RTX 2080 Ti 22 GB (210/167 W), i9-7980XE, 125.5 GiB DDR4-3600, kernel 7.0.0-38, driver 580.178.04, CUDA 13.0. Qwen3.8-Flash-Next GSQ-RCO IQ3_S native pack, `--kv k8v4 --kv-resident 32768 --spec 4 --spec-min-p 0.70 --mtp --mtp-hnorm stream --host-core last --pcie-frac 0.00 --vram-reserve-mib 800 --conversation-cache-mib 10240 --conversation-cache-slots 8 --layer-split auto --max-context 262144`, `STRATA_SM75_PERF=1`. | metric (median of 3) | 0.1.47 | 0.1.52 | 0.1.53 | |---|---:|---:|---:| | chat0 decode | 89.70 | 90.00 | 90.30 | | chat1 decode | 73.50 | 73.60 | 72.50 | | chat2 decode | 71.90 | 73.50 | 73.90 | | 4.3k prompt decode | 68.50 | 67.50 | 64.50 | | 4.3k prompt prefill | 885.6 tok/s | 949.2 tok/s | 949.4 tok/s | So on this pair the two newer engines are level on the short chats and **+7% on prefill**; the 4.3k-prompt decode column is the noisy one (one 0.1.47 run was 63.9 and one 68.5-with-70.2, the arm's own spread is larger than the difference between arms). **On the `STRATA_ROUTE_PRIOR` suggestion:** the engine says when it engages — the startup log carries a line like `strata verify: residency-biased routing is on by default on this card (STRATA_ROUTE_PRIOR=…)` — and my 22 GB cards do not print it, so none of my three arms exercised that path. Before A/B-ing the variable on your 3090, check whether your start line prints it at all: if it does not, `STRATA_ROUTE_PRIOR=0` cannot be the cause; if it does, the switch is a one-flag test. Your report stays your machine's data — this only says the drop is not general to IQ3_S on sm_75, and that 0.1.53 itself does not introduce one here.
Author
Owner

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

Thank you for measuring this and writing it up. The lower prefill and decode speed you measured after the update from engine 0.1.47 to 0.1.53 is on our list for the next update. 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:6495595958 --> @Niko1221 commented on GitHub (Oct 29, 2026): Thank you for measuring this and writing it up. The lower prefill and decode speed you measured after the update from engine 0.1.47 to 0.1.53 is on our list for the next update. 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#2073
No description provided.