[GH-ISSUE #5115] [Engine] 0.1.56 decodes 25% slower than 0.1.54 on a 16 GB RTX 5080 (three mirrored A/Bs) #2392

Open
opened 2026-11-04 01:58:56 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @baiqvesse on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5115

Problem: Engine 0.1.56 decodes about 25% slower than 0.1.54 on the same model, machine and configuration (Qwen3.8-Flash-Next IQ3_S, RTX 5080 16 GB, Windows 11), and reads prompts about 14% slower. The expert cache holds nearly the same number of slots in both, so this is not a cache-size effect. 0.2.10 announces DFlash2 as the default drafter with +6-8% on sm_120 + IQ3_S, so a 25% loss is the opposite direction.

Environment:

  • Windows 11 Pro, RTX 5080 16 GB (sm_120), driver 621.01 (an earlier run on 617.42 shows the same result), Ryzen 9 9950X, 2x32 GB DDR5-6400 (EXPO on), BIOS 1.D4.
  • Engines: 0.1.54 (strata-engine-0.1.54-windows-x86_64-cuda-cuda13, BUILD source f-028-rel, commit 8c1aea4bca1b) and 0.1.56 (same package family, source f-0291-rc1, commit 06698c674673). Both archs [75,86,89,120], CUDA 13.0.
  • Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_S, 2 shards, plus --ple-gguf and a pack.
  • Identical arguments for both engines: --expert-cache auto --prefill 8192 --spec 4 --spec-min-p 0.5 --mtp <model>/rt --max-context 524288 --rope-scaling linear --rope-scale 2 --kv k8v4 --vram-reserve-mib 1600 --adapt-every 1 --adapt-swaps 160 --adapt-decay 0.97 --kv-resident 32768 --vision, env STRATA_PF_FUSED=1 STRATA_PREFILL_CPU_SHARE=auto. Only the engine binary changes between arms.

Reproduce:

  1. Start the server with one engine and the config above.
  2. Run two passes of five distinct cold 400-token prompts plus one 60K-token cold read. The first pass warms the machine and storage; the second is measured.
  3. Four arms, mirrored (0.1.54, 0.1.56, 0.1.56, 0.1.54), fresh engine per arm, 30 s between arms.

Expected: the same speed as 0.1.54, or faster.

Actual (this run, driver 621.01, PCIe Gen5 x16, pcie_frac 0.50):

arm engine expert slots VRAM free after load decode median 60K read
1 0.1.54 3083 921 MiB 117.0 3207
2 0.1.56 3104 874 MiB 86.1 2769
3 0.1.56 3062 922 MiB 84.9 2728
4 0.1.54 3185 976 MiB 111.2 3150
  • mirrored means: 0.1.54 114.1, 0.1.56 85.5 -> decode -25.1%, prompt read -13.5%
  • within-condition spread: 0.1.54 5.0%, 0.1.56 1.4%; the two engines' ranges do not overlap
  • GPU 47-53 C, 2872-2887 MHz, no active throttle reason in any arm

Two earlier runs on the older driver (617.42) and a worse PCIe state (pcie_frac 0.60) gave the same picture: -30.4% (110.5 vs 76.95) and -22.4% with the prompt lookup off (110.5 vs 85.80). Fixing the driver and the PCIe link did not change it.

Evidence: the configurations and the CSV output are reproducible; the engine logs for every arm can be attached on request. Turning the prompt lookup off (--lookup-max-t 0) gives 0.1.56 back about 11.5% (76.95 -> 85.80) but it remains about 25% behind 0.1.54.

Reproduction status: reproduced locally.

Two notes:

  • DFlash2 itself is untested: --draft dflash2 needs a drafter pack that the app builds on its first start (about 1.2 GB download); the manual server path in this setup does not provide it. Even a +6-8% DFlash2 would not recover a 25% deficit.
  • 0.1.54 rejects an explicit --lookup-max-t 12 (it prints the help and exits) although the flag is documented in --help; 0.1.56 accepts it.
Originally created by @baiqvesse on GitHub (Nov 3, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5115 Problem: Engine 0.1.56 decodes about 25% slower than 0.1.54 on the same model, machine and configuration (Qwen3.8-Flash-Next IQ3_S, RTX 5080 16 GB, Windows 11), and reads prompts about 14% slower. The expert cache holds nearly the same number of slots in both, so this is not a cache-size effect. 0.2.10 announces DFlash2 as the default drafter with +6-8% on sm_120 + IQ3_S, so a 25% loss is the opposite direction. Environment: - Windows 11 Pro, RTX 5080 16 GB (sm_120), driver 621.01 (an earlier run on 617.42 shows the same result), Ryzen 9 9950X, 2x32 GB DDR5-6400 (EXPO on), BIOS 1.D4. - Engines: 0.1.54 (`strata-engine-0.1.54-windows-x86_64-cuda-cuda13`, BUILD source `f-028-rel`, commit `8c1aea4bca1b`) and 0.1.56 (same package family, source `f-0291-rc1`, commit `06698c674673`). Both archs `[75,86,89,120]`, CUDA 13.0. - Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_S, 2 shards, plus `--ple-gguf` and a pack. - Identical arguments for both engines: `--expert-cache auto --prefill 8192 --spec 4 --spec-min-p 0.5 --mtp <model>/rt --max-context 524288 --rope-scaling linear --rope-scale 2 --kv k8v4 --vram-reserve-mib 1600 --adapt-every 1 --adapt-swaps 160 --adapt-decay 0.97 --kv-resident 32768 --vision`, env `STRATA_PF_FUSED=1 STRATA_PREFILL_CPU_SHARE=auto`. Only the engine binary changes between arms. Reproduce: 1. Start the server with one engine and the config above. 2. Run two passes of five distinct cold 400-token prompts plus one 60K-token cold read. The first pass warms the machine and storage; the second is measured. 3. Four arms, mirrored (0.1.54, 0.1.56, 0.1.56, 0.1.54), fresh engine per arm, 30 s between arms. Expected: the same speed as 0.1.54, or faster. Actual (this run, driver 621.01, PCIe Gen5 x16, `pcie_frac 0.50`): | arm | engine | expert slots | VRAM free after load | decode median | 60K read | |---|---|---|---|---|---| | 1 | 0.1.54 | 3083 | 921 MiB | **117.0** | 3207 | | 2 | 0.1.56 | 3104 | 874 MiB | **86.1** | 2769 | | 3 | 0.1.56 | 3062 | 922 MiB | **84.9** | 2728 | | 4 | 0.1.54 | 3185 | 976 MiB | **111.2** | 3150 | - mirrored means: 0.1.54 **114.1**, 0.1.56 **85.5** -> decode **-25.1%**, prompt read **-13.5%** - within-condition spread: 0.1.54 5.0%, 0.1.56 1.4%; the two engines' ranges do not overlap - GPU 47-53 C, 2872-2887 MHz, no active throttle reason in any arm Two earlier runs on the older driver (617.42) and a worse PCIe state (`pcie_frac 0.60`) gave the same picture: **-30.4%** (110.5 vs 76.95) and **-22.4%** with the prompt lookup off (110.5 vs 85.80). Fixing the driver and the PCIe link did not change it. Evidence: the configurations and the CSV output are reproducible; the engine logs for every arm can be attached on request. Turning the prompt lookup off (`--lookup-max-t 0`) gives 0.1.56 back about 11.5% (76.95 -> 85.80) but it remains about 25% behind 0.1.54. Reproduction status: reproduced locally. Two notes: - DFlash2 itself is untested: `--draft dflash2` needs a drafter pack that the app builds on its first start (about 1.2 GB download); the manual server path in this setup does not provide it. Even a +6-8% DFlash2 would not recover a 25% deficit. - 0.1.54 rejects an explicit `--lookup-max-t 12` (it prints the help and exits) although the flag is documented in `--help`; 0.1.56 accepts it.
Author
Owner

@MingShi350 commented on GitHub (Nov 4, 2026):

Related, and probably a second and independent cause on a 16 GB card: #5199.

0.1.56 defaults the prompt chunk to 16384, and the prompt path lends VRAM out of the expert slots. On an RTX 4080 16 GB with DeepSeek-V4.1-Flash IQ2_XS (2.25 bpw) the expert slots fell 572 (engine 0.1.55, chunk 4096) -> 258 (engine 0.1.56, chunk 16384) and decode fell 12-18%. --prefill-chunk 8192 on 0.1.56 restores 707 slots and is 5% faster than 0.1.55 on a 16K prompt.

So on that card the 0.1.56 loss is visible in the slot count itself, whereas your report shows the same kind of loss with the slot count unchanged (3083 vs 3104). Two different mechanisms, same release; fixing either one alone will not bring 0.1.56 back to 0.1.54 here.

<!-- gh-comment-id:6627481307 --> @MingShi350 commented on GitHub (Nov 4, 2026): Related, and probably a second and independent cause on a 16 GB card: #5199. 0.1.56 defaults the prompt chunk to 16384, and the prompt path lends VRAM out of the expert slots. On an RTX 4080 16 GB with DeepSeek-V4.1-Flash IQ2_XS (2.25 bpw) the expert slots fell **572 (engine 0.1.55, chunk 4096) -> 258 (engine 0.1.56, chunk 16384)** and decode fell 12-18%. `--prefill-chunk 8192` on 0.1.56 restores 707 slots and is 5% faster than 0.1.55 on a 16K prompt. So on that card the 0.1.56 loss is visible in the slot count itself, whereas your report shows the same kind of loss with the slot count unchanged (3083 vs 3104). Two different mechanisms, same release; fixing either one alone will not bring 0.1.56 back to 0.1.54 here.
Author
Owner

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

Thanks, this is exactly the kind of cross-check that helps. Two notes from our side:

  1. Our config sets --prefill 8192 explicitly (not auto), so the #5199 chunk default of 16384 is not in play here: the expert slots in our A/B were 3083/3185 (0.1.54) vs 3091/3182 (0.1.56) — effectively unchanged. So we are looking at the second mechanism you describe, not the chunk lend.

  2. Our mirror (four arms, a fresh engine per arm, two warm-up passes, five distinct 400-token prompts plus one 60K-token read): decode 114.1 -> 85.5 tok/s (-25.1%), 60K read 3178 -> 2749 tok/s (-13.5%), GPU 47-53 C, clocks 2872-2887 MHz, no throttle reason in any arm. Slot counts 3083/3185 vs 3091/3182. Turning the prompt lookup off (--lookup-max-t 0) recovers about 11.5% on 0.1.56 but leaves it ~25% behind 0.1.54.

We have not tested 0.1.57 yet. We will run it both with --prefill 8192 and with the new auto ceiling and report back. If a Windows + sm_120 + IQ3_S data point helps, we can run any specific check you want.

<!-- gh-comment-id:6688821957 --> @baiqvesse commented on GitHub (Nov 6, 2026): Thanks, this is exactly the kind of cross-check that helps. Two notes from our side: 1. Our config sets `--prefill 8192` explicitly (not `auto`), so the #5199 chunk default of 16384 is not in play here: the expert slots in our A/B were 3083/3185 (0.1.54) vs 3091/3182 (0.1.56) — effectively unchanged. So we are looking at the second mechanism you describe, not the chunk lend. 2. Our mirror (four arms, a fresh engine per arm, two warm-up passes, five distinct 400-token prompts plus one 60K-token read): decode **114.1 -> 85.5 tok/s (-25.1%)**, 60K read **3178 -> 2749 tok/s (-13.5%)**, GPU 47-53 C, clocks 2872-2887 MHz, no throttle reason in any arm. Slot counts 3083/3185 vs 3091/3182. Turning the prompt lookup off (`--lookup-max-t 0`) recovers about 11.5% on 0.1.56 but leaves it ~25% behind 0.1.54. We have not tested 0.1.57 yet. We will run it both with `--prefill 8192` and with the new auto ceiling and report back. If a Windows + sm_120 + IQ3_S data point helps, we can run any specific check you want.
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#2392
No description provided.