[GH-ISSUE #5328] [Engine] 0.1.57 is slower than 0.1.56 on Ada sm_89 (RTX 4080 SUPER) - warning for RTX 40 owners #3181

Open
opened 2026-11-07 14:38:41 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @c-OOL-io on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5328

Summary

On an RTX 4080 SUPER (sm_89, Ada), Windows 11, the 0.1.57 engine (v0.2.11) is measurably slower than 0.1.56 on every Qwen3.8-Flash-Next model and workload we run. The prompt-chunk change behind 0.2.11 (long prompts read in chunks up to 32768 tokens on CC 8.0+, was 8192) appears to hurt Ada cards under Windows, even though it helps Blackwell (RTX PRO 5000/6000) and Linux.

Hardware: RTX 4080 SUPER 16 GB (sm_89), Ryzen 9 7950X3D, 64 GB, Windows 11, CUDA 13.4, driver 617.42.

Method: official tools/strata_bench.py, live instance, median of 3 runs per engine, identical calibrated configs on both engines.

Results (median of 3 runs, tokens/s)

Qwen3.8-Flash-Next IQ3_XXS, 256K

metric 0.1.56 0.1.57 delta
chat decode 99.0 91.8 -7.3%
agent decode 116.3 108.0 -7.1%
16K prompt 3687 3207 -13.0%
4K prompt 2335 2381 +2.0%

Qwen3.8-Flash-Next IQ3_S, 128K

metric 0.1.56 0.1.57 delta
chat decode 91.9 87.0 -5.3%
agent decode 108.9 102.0 -6.3%
16K prompt 3698 3420 -7.5%
4K prompt 2070 2054 -0.8%

Swift IQ3_XXS, 262K

metric 0.1.56 0.1.57 delta
chat decode 105.4 99.3 -5.8%
agent decode 115.3 107.1 -7.1%
16K prompt 3709 3426 -7.6%
4K prompt 2395 2379 -0.6%

Observation

Consistent across all three models: 16K prompt speed drops 7.5-13%, chat decode 5.3-7.3%, agent decode 6.3-7.1% on 0.1.57. Only the 4K prompt stays roughly neutral (+2.0% to -0.8%). This is reproducible (3-run medians each), on clean RAM (no swap, 4.7-7.2 GB free).

For owners of RTX 40-series cards (sm_86/sm_89)

Consider staying on 0.1.56 for now - it is the fastest engine for this hardware in our measurements. 0.1.56 was previously submitted in PR #5140.

Suggestion

Consider capping the default prompt chunk at the previous 8192 for sm_86/sm_89, or making the 32768 chunk opt-in, until a measurement on an RTX 40 card confirms it helps there.

Originally created by @c-OOL-io on GitHub (Nov 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5328 ## Summary On an RTX 4080 SUPER (sm_89, Ada), Windows 11, the 0.1.57 engine (v0.2.11) is measurably **slower than 0.1.56** on every Qwen3.8-Flash-Next model and workload we run. The prompt-chunk change behind 0.2.11 (long prompts read in chunks up to 32768 tokens on CC 8.0+, was 8192) appears to hurt Ada cards under Windows, even though it helps Blackwell (RTX PRO 5000/6000) and Linux. **Hardware:** RTX 4080 SUPER 16 GB (sm_89), Ryzen 9 7950X3D, 64 GB, Windows 11, CUDA 13.4, driver 617.42. **Method:** official `tools/strata_bench.py`, live instance, median of 3 runs per engine, identical calibrated configs on both engines. ## Results (median of 3 runs, tokens/s) ### Qwen3.8-Flash-Next IQ3_XXS, 256K | metric | 0.1.56 | 0.1.57 | delta | |---|---|---|---| | chat decode | 99.0 | 91.8 | -7.3% | | agent decode | 116.3 | 108.0 | -7.1% | | 16K prompt | 3687 | 3207 | **-13.0%** | | 4K prompt | 2335 | 2381 | +2.0% | ### Qwen3.8-Flash-Next IQ3_S, 128K | metric | 0.1.56 | 0.1.57 | delta | |---|---|---|---| | chat decode | 91.9 | 87.0 | -5.3% | | agent decode | 108.9 | 102.0 | -6.3% | | 16K prompt | 3698 | 3420 | -7.5% | | 4K prompt | 2070 | 2054 | -0.8% | ### Swift IQ3_XXS, 262K | metric | 0.1.56 | 0.1.57 | delta | |---|---|---|---| | chat decode | 105.4 | 99.3 | -5.8% | | agent decode | 115.3 | 107.1 | -7.1% | | 16K prompt | 3709 | 3426 | -7.6% | | 4K prompt | 2395 | 2379 | -0.6% | ## Observation Consistent across all three models: **16K prompt speed drops 7.5-13%, chat decode 5.3-7.3%, agent decode 6.3-7.1%** on 0.1.57. Only the 4K prompt stays roughly neutral (+2.0% to -0.8%). This is reproducible (3-run medians each), on clean RAM (no swap, 4.7-7.2 GB free). ## For owners of RTX 40-series cards (sm_86/sm_89) Consider staying on **0.1.56** for now - it is the fastest engine for this hardware in our measurements. 0.1.56 was previously submitted in PR #5140. ## Suggestion Consider capping the default prompt chunk at the previous 8192 for sm_86/sm_89, or making the 32768 chunk opt-in, until a measurement on an RTX 40 card confirms it helps there.
Author
Owner

@fioruccione commented on GitHub (Nov 6, 2026):

A data point from Linux on sm_89, in case it helps narrow this down: on my box 0.1.57 is not slower than 0.1.56. So this looks like Windows or single-card, or both, rather than Ada in general.

Box: 2x RTX 4060 Ti 16 GB (sm_89, Gen4 x8 each, no P2P), TR PRO 3975WX 32c, 8ch DDR4-2667, 128 GB, Linux, driver 610.57.04. Qwen3.8-Flash-Next UD-IQ4_XS, layer split over both cards, MTP (--spec 4), 256K context, int8 KV, --pcie-frac 0.00, experts RAM-resident. Both engines built from the release tags (v0.2.10 ffa80d7, v0.2.11 c3b3f50) with the same options (CUDA 12.6, sm_89, Release); same config file for every arm, only the engine changes. VRAM at stock clocks. Order A T W W2 W2 W T A, a fresh server per start, decode medians of 4 requests per kind at T=0 (two starts x two requests), prefill medians of 2.

prose code 20K summary prefill 20K / 32K / 69K
0.2.7.1 (engine 0.1.52) 76.3 78.2 53.7 1809 / 2080 / 2350
0.2.10 (engine 0.1.56) 71.0 79.2 53.5 1815 / 2081 / 2365
0.2.11 (engine 0.1.57) 70.9 79.4 54.5 1856 / 2155 / 2449
0.1.57 vs 0.1.56 -0.1% +0.3% +1.9% +2.3 / +3.6 / +3.6%
  • 0.1.57 vs 0.1.56: decode the same, prefill a little faster. Every request was answered, no errors in the engine log.
  • The 32768 chunk never ran here. On a layer split the engine takes 8192 back by itself, and every start printed prompt chunk auto: 8192 tokens. So my run does not test the change you suspect; it only says the rest of 0.1.57 does not cost anything on this setup. A single Ada card on Linux is the arm that would separate "chunk" from "Windows".
  • One thing that does move, but it is older than 0.1.57: prose decode is about 7% lower on both 0.1.56 and 0.1.57 than on 0.2.7.1 (ranges 73.8-76.5 against 68.6-73.9; code and summary unchanged). The MTP drafts accepted on prose went from 75% to 70-71%, so it may be the drafter side rather than the engine. On 11-04, with the VRAM overclocked, I did not see that gap, so treat it as a lead, not a finding.
  • 0.1.57 keeps a few hundred fewer expert slots on this pair (3991 + 3498 against 4016 + 3586 on 0.1.56), and moves the split from 23/25 to 24/24 layers. That did not show up in decode here.

Not run: a single card, Windows, the IQ3_XXS / IQ3_S files from your tables. Raw results stay on my box; happy to post the engine log lines if they help.

<!-- gh-comment-id:6684149918 --> @fioruccione commented on GitHub (Nov 6, 2026): A data point from Linux on sm_89, in case it helps narrow this down: on my box 0.1.57 is not slower than 0.1.56. So this looks like Windows or single-card, or both, rather than Ada in general. Box: 2x RTX 4060 Ti 16 GB (sm_89, Gen4 x8 each, no P2P), TR PRO 3975WX 32c, 8ch DDR4-2667, 128 GB, Linux, driver 610.57.04. Qwen3.8-Flash-Next UD-IQ4_XS, layer split over both cards, MTP (`--spec 4`), 256K context, int8 KV, `--pcie-frac 0.00`, experts RAM-resident. Both engines built from the release tags (v0.2.10 ffa80d7, v0.2.11 c3b3f50) with the same options (CUDA 12.6, sm_89, Release); same config file for every arm, only the engine changes. VRAM at stock clocks. Order A T W W2 W2 W T A, a fresh server per start, decode medians of 4 requests per kind at T=0 (two starts x two requests), prefill medians of 2. | | prose | code | 20K summary | prefill 20K / 32K / 69K | |---|---|---|---|---| | 0.2.7.1 (engine 0.1.52) | 76.3 | 78.2 | 53.7 | 1809 / 2080 / 2350 | | 0.2.10 (engine 0.1.56) | 71.0 | 79.2 | 53.5 | 1815 / 2081 / 2365 | | 0.2.11 (engine 0.1.57) | 70.9 | 79.4 | 54.5 | 1856 / 2155 / 2449 | | 0.1.57 vs 0.1.56 | -0.1% | +0.3% | +1.9% | +2.3 / +3.6 / +3.6% | - **0.1.57 vs 0.1.56: decode the same, prefill a little faster.** Every request was answered, no errors in the engine log. - **The 32768 chunk never ran here.** On a layer split the engine takes 8192 back by itself, and every start printed `prompt chunk auto: 8192 tokens`. So my run does not test the change you suspect; it only says the rest of 0.1.57 does not cost anything on this setup. A single Ada card on Linux is the arm that would separate "chunk" from "Windows". - **One thing that does move, but it is older than 0.1.57:** prose decode is about 7% lower on both 0.1.56 and 0.1.57 than on 0.2.7.1 (ranges 73.8-76.5 against 68.6-73.9; code and summary unchanged). The MTP drafts accepted on prose went from 75% to 70-71%, so it may be the drafter side rather than the engine. On 11-04, with the VRAM overclocked, I did not see that gap, so treat it as a lead, not a finding. - 0.1.57 keeps a few hundred fewer expert slots on this pair (3991 + 3498 against 4016 + 3586 on 0.1.56), and moves the split from 23/25 to 24/24 layers. That did not show up in decode here. Not run: a single card, Windows, the IQ3_XXS / IQ3_S files from your tables. Raw results stay on my box; happy to post the engine log lines if they help.
Author
Owner

@c-OOL-io commented on GitHub (Nov 6, 2026):

Thanks for the data point - it lines up with our setup closely enough to narrow it.

We are exactly the other corner: single card + Windows (RTX 4080 SUPER 16 GB, one card, Win11, CUDA 13.4, 64 GB RAM, driver 617.42). Our three Qwen3.8 models (IQ3_XXS 256K, IQ3_S 128K, Swift 262K) all regress on 0.1.57, and always worst on the 16K prefill (-7.5% to -13%), with chat/agent decode -5.3% to -7.3% behind.

So together your Linux/dual-card result and our Windows/single-card result point the same way: the 0.2.11 prompt-chunk change seems to hurt the Windows prompt path on a single Ada card, not Ada in general. Staying on 0.1.56 here until it is addressed.

<!-- gh-comment-id:6684937446 --> @c-OOL-io commented on GitHub (Nov 6, 2026): Thanks for the data point - it lines up with our setup closely enough to narrow it. We are exactly the other corner: **single card + Windows** (RTX 4080 SUPER 16 GB, one card, Win11, CUDA 13.4, 64 GB RAM, driver 617.42). Our three Qwen3.8 models (IQ3_XXS 256K, IQ3_S 128K, Swift 262K) all regress on 0.1.57, and always **worst on the 16K prefill** (-7.5% to -13%), with chat/agent decode -5.3% to -7.3% behind. So together your Linux/dual-card result and our Windows/single-card result point the same way: the 0.2.11 prompt-chunk change seems to hurt the **Windows prompt path on a single Ada card**, not Ada in general. Staying on 0.1.56 here until it is addressed.
Author
Owner

@nolram commented on GitHub (Nov 7, 2026):

Adding a 12 GB datapoint + a likely root-cause angle from a single RTX 4070 Ti (Ada sm_89), Linux box, which I believe makes this much worse on 12 GB cards than the 24 GB boxes above.

Setup: Strata 0.2.11 / engine 0.1.57 (cuda13, driver 580.178), Qwen3.8-Flash-Next, Unsloth Dynamic v3.1 UD-IQ3_XXS (the 11-04 re-upload, rev d9620119 — needs 0.1.57), 128K context, --kv int8, MTP drafter, --parallel 1. One 1750 MiB of VRAM is reserved for a co-located embedding sidecar, so the engine reports expert cache auto: 4.51 GiB free … -> 942 slots (1064 on another start).

Symptom: sustained decode ~36–40 tok/s. For scale, the same GPU on engine 0.1.52 with ISTA GSQ-RCO IQ3_XXS (same 3-bit class) measured 86–113 tok/s — so this is a ~2.5–3× regression across the 0.1.52 → 0.1.57 + pack change.

Where the time goes (from the engine's own log + nvidia-smi sampling):

  • The 0.1.57 serve log prints decode expert cache hit rate: per request. Ours sits at ~45–51%, with a further ~18–20% "read by the GPU over PCIe" (the rest served by the overlapped CPU pool). So only ~45% of expert rows hit the VRAM cache.
  • GPU utilization is ~99% during decode (sampled 1 Hz over a 6.5k-token generation) — the GPU is compute-saturated, not idle waiting on PCIe. So this is not the plain "cache-miss → stall on transfer" picture.

The contrast that points at VRAM: #5327 reports a 3090 (24 GB) on the same 0.1.57 engine with an Unsloth UD-IQ1_M pack decoding ~96 tok/s at 262K. Same engine, same format, same drafter — the difference is that the 24 GB card gives the expert cache ~3× the VRAM, which is what gets it to a ~98% hit rate. On a 12 GB card after the 1750 MiB sidecar reserve, only ~4.5 GiB is left for the expert cache (≈942–1064 slots), and the hit rate collapses to ~45–50%.

Question: is there a replacement for the removed STRATA_ROUTE_PRIOR (which was the mitigation in #4841), or any plan to improve expert-cache residency/efficiency on a small-VRAM single GPU so 128K decode recovers? On a 12 GB card the expert cache is such a small fraction of VRAM that I can't see a config knob restoring the 0.1.52-era residency without breaking the co-located model.

Cross-refs: #5327 (same order of magnitude, 3090, has the 97.8% healthy hit-rate baseline), #4841 (the 0.1.54/55 regression + STRATA_ROUTE_PRIOR thread).

Happy to share full logs/configs if useful.

<!-- gh-comment-id:6702800519 --> @nolram commented on GitHub (Nov 7, 2026): Adding a 12 GB datapoint + a likely root-cause angle from a **single RTX 4070 Ti (Ada sm_89), Linux** box, which I believe makes this much worse on 12 GB cards than the 24 GB boxes above. **Setup:** Strata 0.2.11 / engine **0.1.57** (cuda13, driver 580.178), Qwen3.8-Flash-Next, **Unsloth Dynamic v3.1 UD-IQ3_XXS** (the 11-04 re-upload, rev d9620119 — needs 0.1.57), 128K context, `--kv int8`, MTP drafter, `--parallel 1`. One 1750 MiB of VRAM is reserved for a co-located embedding sidecar, so the engine reports `expert cache auto: 4.51 GiB free … -> 942 slots` (1064 on another start). **Symptom:** sustained decode **~36–40 tok/s**. For scale, the **same GPU** on engine **0.1.52** with **ISTA GSQ-RCO IQ3_XXS** (same 3-bit class) measured **86–113 tok/s** — so this is a ~2.5–3× regression across the 0.1.52 → 0.1.57 + pack change. **Where the time goes (from the engine's own log + nvidia-smi sampling):** - The 0.1.57 serve log prints `decode expert cache hit rate:` per request. Ours sits at **~45–51%**, with a further **~18–20% "read by the GPU over PCIe"** (the rest served by the overlapped CPU pool). So only ~45% of expert rows hit the VRAM cache. - **GPU utilization is ~99% during decode** (sampled 1 Hz over a 6.5k-token generation) — the GPU is **compute-saturated, not idle waiting on PCIe**. So this is not the plain "cache-miss → stall on transfer" picture. **The contrast that points at VRAM:** #5327 reports a **3090 (24 GB)** on the same 0.1.57 engine with an Unsloth UD-IQ1_M pack decoding **~96 tok/s at 262K**. Same engine, same format, same drafter — the difference is that the 24 GB card gives the expert cache ~3× the VRAM, which is what gets it to a ~98% hit rate. On a 12 GB card after the 1750 MiB sidecar reserve, only ~4.5 GiB is left for the expert cache (≈942–1064 slots), and the hit rate collapses to ~45–50%. **Question:** is there a replacement for the removed `STRATA_ROUTE_PRIOR` (which was the mitigation in #4841), or any plan to improve expert-cache residency/efficiency on a **small-VRAM single GPU** so 128K decode recovers? On a 12 GB card the expert cache is such a small fraction of VRAM that I can't see a config knob restoring the 0.1.52-era residency without breaking the co-located model. Cross-refs: #5327 (same order of magnitude, 3090, has the 97.8% healthy hit-rate baseline), #4841 (the 0.1.54/55 regression + `STRATA_ROUTE_PRIOR` thread). Happy to share full logs/configs if useful.
Author
Owner

@c-OOL-io commented on GitHub (Nov 7, 2026):

From my engine's own log on a single 16 GB Ada card (Windows): decode expert cache hit rate ~60-75% on 0.1.57 against a steady 80-83% on 0.1.56, identical config.

Likely cause: the new 32768 prefill chunk borrows ~13.6 GiB of cache slots (vs 4.6 GiB at 8192). On a 16 GB card whose expert cache fits only ~8 GB, that empties the cache during the prompt read and decode pays the miss. @fioruccione's 2x 4060 Ti data point is the counter-check: the second card makes the borrow free. @nolram's 12 GB hit-rate numbers fit the same story.

Could the fit scan size the chunk against the expert-cache VRAM on single cards? Happy to test a build.

<!-- gh-comment-id:6707482940 --> @c-OOL-io commented on GitHub (Nov 7, 2026): From my engine's own log on a single 16 GB Ada card (Windows): `decode expert cache hit rate` ~60-75% on 0.1.57 against a steady 80-83% on 0.1.56, identical config. Likely cause: the new 32768 prefill chunk borrows ~13.6 GiB of cache slots (vs 4.6 GiB at 8192). On a 16 GB card whose expert cache fits only ~8 GB, that empties the cache during the prompt read and decode pays the miss. @fioruccione's 2x 4060 Ti data point is the counter-check: the second card makes the borrow free. @nolram's 12 GB hit-rate numbers fit the same story. Could the fit scan size the chunk against the expert-cache VRAM on single cards? Happy to test a build.
Author
Owner

@fioruccione commented on GitHub (Nov 7, 2026):

@c-OOL-io interesting finding, and thanks for checking the cache hit rates.

You might find #4610 useful. We have been comparing how host configuration, expert residency, CPU work, PCIe, layer split and the effective prefill path interact across different machines, often with surprising results.

I wonder whether the chunk size and the resulting cache displacement are another example of the same problem: a runtime decision that makes sense in isolation but changes the balance of the whole system.

It may be worth looking at those measurements to see whether your case fits the same pattern. I wouldn’t assume the chunk alone explains everything yet.

<!-- gh-comment-id:6712120792 --> @fioruccione commented on GitHub (Nov 7, 2026): @c-OOL-io interesting finding, and thanks for checking the cache hit rates. You might find #4610 useful. We have been comparing how host configuration, expert residency, CPU work, PCIe, layer split and the effective prefill path interact across different machines, often with surprising results. I wonder whether the chunk size and the resulting cache displacement are another example of the same problem: a runtime decision that makes sense in isolation but changes the balance of the whole system. It may be worth looking at those measurements to see whether your case fits the same pattern. I wouldn’t assume the chunk alone explains everything yet.
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#3181
No description provided.