[GH-ISSUE #2650] Long-session decode drift on WSL2 + RTX 3090 24 GB at 262K: 59.3 → 80.0 tok/s in the last third; --kv-grow + reserve 1216 cuts the drift from −29% to −4.5% #1056

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

Originally created by @david-zdw on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2650

Strata version, GPU, OS: engine 0.1.44.1, source build (CUDA 13.4, sm_86) · RTX 3090 24 GB · WSL2 Ubuntu 26.04 on Windows, host 128 GB RAM, .wslconfig memory=96GB swap=0 · AMD Threadripper PRO 3975WX (AVX2, no AVX-512)

Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_S, --max-context 262144 --kv int8 --expert-profile --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp … --vision --vram-reserve-mib 700, plus the experimental speed projection on (identical in both arms). One slot, no --batch.

This is the long-soak arm docs/TEST_REQUESTS.md asks for ("an hour or more of back-to-back requests … shows drift"), and it found drift.

What happened

One engine start at 17:30, back-to-back agent traffic (multi-turn tool use, contexts 10K–80K), 124 requests with the engine's own per-request decode_tok_s, hit_rate and draft counts. Splitting that run into thirds by request order:

decode tok/s expert hit draft accept mean context
first third 84.0 83.4% 78.9% 47,461
middle third 77.2 84.1% 79.3% 69,512
last third 59.3 83.1% 74.2% 35,765

Whole run: mean 73.4, median 76.3, p10 55.5, min 40.5.

The control that matters: hit rate stayed flat (83.4% → 84.1% → 83.1%) while decode fell 29%, and the last third ran at a shorter mean context than the first. So this is not content, not cache warming, and not context length.

It is not clocks either: at load the card sat at 1890 MHz / 69–70 °C / 210–287 W against a 350 W limit, and SW Thermal Slowdown, HW Thermal Slowdown, HW Power Brake and SW Power Cap were all Not Active in nvidia-smi -q -d PERFORMANCE.

The tell is the engine's own line, which escalated across the first six requests:

strata serve: 274 MiB of VRAM free with everything loaded
strata serve: WARNING: only 274 MiB of VRAM free at the start of this request (below 512 MiB): … (#2065). Add --vram-reserve-mib 960 …
strata serve: WARNING: only 140 MiB of VRAM free … Add --vram-reserve-mib 1088 …
strata serve: WARNING: only   0 MiB of VRAM free … Add --vram-reserve-mib 1216 …

The sizer had priced the whole 262K K/V up front: expert cache auto: 13.85 GiB free, 700 MiB reserved … -> 5224 slots, then after shrinking expert cache 6180 slots, 11.73 GiB of VRAM, leaving 274 MiB on the card before any request ran.

The change, and what it did

Two flags only, everything else byte-identical, second engine start at 21:39:

--kv int8 --kv-grow --vram-reserve-mib 1216      # was: --kv int8 --vram-reserve-mib 700

At start: elastic K/V: 16384 of 262144 cells in VRAM (0.25 of 3.35 GiB); the expert cache (7411 slots) gives the K/V room below slot 5222 as the context grows.

Both arms below are the whole session — all 124 requests before, all 54 after, no windowing:

before (n=124) after (n=54)
expert cache 6,180 slots / 12,012 MiB 7,411 slots / 14,388 MiB (+20%)
vram_free_mib at load 274 803
free during a request 0–140 MiB 587–871 MiB
decode mean / median 73.4 / 76.3 82.8 / 81.4
decode p10 / min 55.5 / 40.5 73.4 / 66.4
prefill aggregate (Σ read ÷ Σ prompt_ms) 1,291 tok/s 1,559 tok/s
expert hit / draft accept 83.6% / 77.4% 82.6% / 73.3%
mean context 50,791 73,102

Whole run, and the same split:

decode tok/s expert hit draft accept mean context
first third 83.8 80.6% 75.5% 44,520
middle third 84.5 82.9% 76.4% 62,617
last third 80.0 84.4% 68.1% 112,170

The drift is much smaller, but it is not gone. The before-run lost 29% from its first third to its last; the after-run loses 4.5%, and its last third runs at a 2.5× longer mean context (112,170 vs 44,520) than its first — where the before-run's last third was at a shorter context. So the change bought a large level improvement and a much flatter shape, not a flat line.

Note the control now cuts the other way: hit rate and draft acceptance are lower after the change (83.6%→82.6%, 77.4%→73.3%) in exchange for +13% decode and +44% mean context. Fewer expert hits and fewer accepted drafts, still faster — so the gain is not an easier traffic mix.

What --kv-grow costs, measured

During the steady climb the K/V takes ~52–57 slots per 8,192-cell step (K/V grown to 81920 cells (1.07 GiB); the expert cache gave 56 slots for it … 6919 of 7411 slots hold experts), and it gives them back when a session ends (K/V grown to 16384 cells again). It is not uniform, though: the first climb through a region is far more expensive than the second. Growing to 65,536 cells cost 326 slots the first time and 56 the second, and 122,880 cells cost 218 slots in a single move — so the cache re-learns which experts it can afford as the window moves. The cache also compacts as it goes (7355 of 7411 slots hold experts after a give-back). The cost is a slope, not a cliff:

context n decode mean
5–30K 4 86.7
30–55K 7 81.3
55–70K 20 86.8
70–90K 11 81.1
90K+ 11 78.1

At 70–90K the #2065 warning fires again (only 414 MiB free, only 136 MiB free) even with the 1216 MiB reserve, and decode settles at 78.1 above 90K — which is the same region the last third of the table above is measuring.

Questions

  1. Should --expert-cache auto price the --max-context reservation differently on a card this full? Setup wrote 262,144 with the whole-K/V default on a 24 GB card and left 274 MiB free at load. --kv-grow's preconditions (one GPU, expert profile, no KV streaming, all experts in RAM) were all already true here — would it be worth defaulting it on, or having setup pick it, when they hold and the whole-K/V sizing lands under ~1 GiB free?
  2. The warning's suggested reserve climbs per request (960 → 1088 → 1216). Could the start-up sizer begin at the value it would end up asking for, instead of discovering it over the first six requests?
  3. WSL2 has no fallback here. --kv-resident is not usable (the WSL NVIDIA driver pins ~1 GB, as docs/DETAILS.md notes), so --kv-grow is the only path on WSL2 + 24 GB + a long context. Worth a line in the WSL notes, and maybe a setup warning for that combination?
  4. Is the 70–90K dip expected from ~55 slots per 8,192 cells, or is there a cheaper place to take it from? The first-pass steps (326 slots at 65,536 cells, 218 at 122,880) look like a different regime from the steady ~55 — is re-learning the cache on the first climb through a region avoidable?

Limits, stated plainly

  • The two arms are different traffic windows, not an interleaved A/B, and the after-run is shorter (54 requests vs 124) while carrying a longer mean context (73,102 vs 50,791) — so the raw means are not a like-for-like speedup. The case for the change is the shape of the thirds plus the hit-rate/acceptance control above.
  • The client is the same engine (this session serves the agent that ran the analysis), the same caveat as #1986.
  • Drift is reduced, not eliminated — the after-run's last third is still 4.5% below its first, and decode keeps falling above 90K (78.1 mean). One engine session per arm; no multi-day number.
  • Real agent traffic, not BENCH.bat: no fresh-prompt sweep, no needle recall, no quality check, no concurrency. Nothing about correctness is claimed.
  • No cold-boot numbers; the OS page cache was warm in both arms. --vision was on in both — I did not test the vision-on-CPU change from #2406, which looks relevant on a card this full.

Reproducing

Numbers come from the engine's own lines (prompt … generated in … tok/s, drafts accepted …, hit rate: …, K/V grown to …) and GET /metrics, never from dividing tokens by wall time. The parsing script is two regexes over strata-<model>.log, split at engine started; happy to add it as a tools/ script or a bench/results/ folder if that is the right shape.

Originally created by @david-zdw on GitHub (Oct 15, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/2650 **Strata version, GPU, OS:** engine 0.1.44.1, source build (CUDA 13.4, `sm_86`) · RTX 3090 24 GB · **WSL2** Ubuntu 26.04 on Windows, host 128 GB RAM, `.wslconfig` `memory=96GB swap=0` · AMD Threadripper PRO 3975WX (AVX2, no AVX-512) Model: Qwen3.8-Flash-Next GSQ-RCO **IQ3_S**, `--max-context 262144 --kv int8 --expert-profile --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp … --vision --vram-reserve-mib 700`, plus the experimental speed projection on (identical in both arms). One slot, no `--batch`. This is the long-soak arm `docs/TEST_REQUESTS.md` asks for ("an hour or more of back-to-back requests … shows drift"), and it found drift. ## What happened One engine start at 17:30, back-to-back agent traffic (multi-turn tool use, contexts 10K–80K), 124 requests with the engine's own per-request `decode_tok_s`, `hit_rate` and draft counts. Splitting that run into thirds by request order: | | decode tok/s | expert hit | draft accept | mean context | |---|---|---|---|---| | first third | 84.0 | 83.4% | 78.9% | 47,461 | | middle third | 77.2 | 84.1% | 79.3% | 69,512 | | last third | **59.3** | 83.1% | 74.2% | **35,765** | Whole run: mean 73.4, median 76.3, p10 55.5, min 40.5. The control that matters: **hit rate stayed flat** (83.4% → 84.1% → 83.1%) while decode fell 29%, and the last third ran at a *shorter* mean context than the first. So this is not content, not cache warming, and not context length. It is not clocks either: at load the card sat at 1890 MHz / 69–70 °C / 210–287 W against a 350 W limit, and `SW Thermal Slowdown`, `HW Thermal Slowdown`, `HW Power Brake` and `SW Power Cap` were all `Not Active` in `nvidia-smi -q -d PERFORMANCE`. The tell is the engine's own line, which escalated across the first six requests: ``` strata serve: 274 MiB of VRAM free with everything loaded strata serve: WARNING: only 274 MiB of VRAM free at the start of this request (below 512 MiB): … (#2065). Add --vram-reserve-mib 960 … strata serve: WARNING: only 140 MiB of VRAM free … Add --vram-reserve-mib 1088 … strata serve: WARNING: only 0 MiB of VRAM free … Add --vram-reserve-mib 1216 … ``` The sizer had priced the whole 262K K/V up front: `expert cache auto: 13.85 GiB free, 700 MiB reserved … -> 5224 slots`, then after shrinking `expert cache 6180 slots, 11.73 GiB of VRAM`, leaving 274 MiB on the card before any request ran. ## The change, and what it did Two flags only, everything else byte-identical, second engine start at 21:39: ``` --kv int8 --kv-grow --vram-reserve-mib 1216 # was: --kv int8 --vram-reserve-mib 700 ``` At start: `elastic K/V: 16384 of 262144 cells in VRAM (0.25 of 3.35 GiB); the expert cache (7411 slots) gives the K/V room below slot 5222 as the context grows`. Both arms below are the **whole session** — all 124 requests before, all 54 after, no windowing: | | before (n=124) | after (n=54) | |---|---|---| | expert cache | 6,180 slots / 12,012 MiB | **7,411 slots / 14,388 MiB** (+20%) | | `vram_free_mib` at load | 274 | 803 | | free during a request | 0–140 MiB | 587–871 MiB | | decode mean / median | 73.4 / 76.3 | **82.8 / 81.4** | | decode p10 / min | 55.5 / 40.5 | **73.4 / 66.4** | | prefill aggregate (Σ read ÷ Σ prompt_ms) | 1,291 tok/s | **1,559 tok/s** | | expert hit / draft accept | 83.6% / 77.4% | 82.6% / 73.3% | | mean context | 50,791 | 73,102 | Whole run, and the same split: | | decode tok/s | expert hit | draft accept | mean context | |---|---|---|---|---| | first third | 83.8 | 80.6% | 75.5% | 44,520 | | middle third | 84.5 | 82.9% | 76.4% | 62,617 | | last third | 80.0 | 84.4% | 68.1% | **112,170** | **The drift is much smaller, but it is not gone.** The before-run lost 29% from its first third to its last; the after-run loses 4.5%, and its last third runs at a **2.5× longer** mean context (112,170 vs 44,520) than its first — where the before-run's last third was at a *shorter* context. So the change bought a large level improvement and a much flatter shape, not a flat line. Note the control now cuts the other way: hit rate and draft acceptance are **lower** after the change (83.6%→82.6%, 77.4%→73.3%) in exchange for +13% decode *and* +44% mean context. Fewer expert hits and fewer accepted drafts, still faster — so the gain is not an easier traffic mix. ## What `--kv-grow` costs, measured During the steady climb the K/V takes ~52–57 slots per 8,192-cell step (`K/V grown to 81920 cells (1.07 GiB); the expert cache gave 56 slots for it … 6919 of 7411 slots hold experts`), and it gives them back when a session ends (`K/V grown to 16384 cells` again). It is not uniform, though: the *first* climb through a region is far more expensive than the second. Growing to 65,536 cells cost **326 slots** the first time and 56 the second, and 122,880 cells cost **218 slots** in a single move — so the cache re-learns which experts it can afford as the window moves. The cache also compacts as it goes (`7355 of 7411 slots hold experts` after a give-back). The cost is a slope, not a cliff: | context | n | decode mean | |---|---|---| | 5–30K | 4 | 86.7 | | 30–55K | 7 | 81.3 | | 55–70K | 20 | 86.8 | | 70–90K | 11 | 81.1 | | 90K+ | 11 | 78.1 | At 70–90K the `#2065` warning fires again (`only 414 MiB free`, `only 136 MiB free`) even with the 1216 MiB reserve, and decode settles at 78.1 above 90K — which is the same region the last third of the table above is measuring. ## Questions 1. **Should `--expert-cache auto` price the `--max-context` reservation differently on a card this full?** Setup wrote 262,144 with the whole-K/V default on a 24 GB card and left 274 MiB free at load. `--kv-grow`'s preconditions (one GPU, expert profile, no KV streaming, all experts in RAM) were all already true here — would it be worth defaulting it on, or having setup pick it, when they hold and the whole-K/V sizing lands under ~1 GiB free? 2. **The warning's suggested reserve climbs per request** (960 → 1088 → 1216). Could the start-up sizer begin at the value it would end up asking for, instead of discovering it over the first six requests? 3. **WSL2 has no fallback here.** `--kv-resident` is not usable (the WSL NVIDIA driver pins ~1 GB, as `docs/DETAILS.md` notes), so `--kv-grow` is the only path on WSL2 + 24 GB + a long context. Worth a line in the WSL notes, and maybe a setup warning for that combination? 4. **Is the 70–90K dip expected from ~55 slots per 8,192 cells**, or is there a cheaper place to take it from? The first-pass steps (326 slots at 65,536 cells, 218 at 122,880) look like a different regime from the steady ~55 — is re-learning the cache on the first climb through a region avoidable? ## Limits, stated plainly - **The two arms are different traffic windows, not an interleaved A/B**, and the after-run is shorter (54 requests vs 124) while carrying a **longer** mean context (73,102 vs 50,791) — so the raw means are not a like-for-like speedup. The case for the change is the shape of the thirds plus the hit-rate/acceptance control above. - **The client is the same engine** (this session serves the agent that ran the analysis), the same caveat as #1986. - **Drift is reduced, not eliminated** — the after-run's last third is still 4.5% below its first, and decode keeps falling above 90K (78.1 mean). One engine session per arm; no multi-day number. - Real agent traffic, not `BENCH.bat`: no fresh-prompt sweep, no needle recall, no quality check, no concurrency. Nothing about correctness is claimed. - No cold-boot numbers; the OS page cache was warm in both arms. `--vision` was on in both — I did not test the vision-on-CPU change from #2406, which looks relevant on a card this full. ## Reproducing Numbers come from the engine's own lines (`prompt … generated in … tok/s, drafts accepted …`, `hit rate: …`, `K/V grown to …`) and `GET /metrics`, never from dividing tokens by wall time. The parsing script is two regexes over `strata-<model>.log`, split at `engine started`; happy to add it as a `tools/` script or a `bench/results/` folder if that is the right shape.
Author
Owner

@david-zdw commented on GitHub (Oct 15, 2026):

strata-iq3_s.log

<!-- gh-comment-id:6195314556 --> @david-zdw commented on GitHub (Oct 15, 2026): [strata-iq3_s.log](https://github.com/user-attachments/files/33500073/strata-iq3_s.log)
Author
Owner

@MrKop-git commented on GitHub (Oct 16, 2026):

A different-workload datapoint so the reports do not get conflated: on a GTX 1080 Ti 11 GB (--kv int8 --kv-resident 32768), with fresh prompts of 32K/128K/250K tokens (no growing session), --kv-grow was negative at every depth (prompt −2 to −4.5%, 250K decode 24.2 vs 29.5). Your −29%→−4.5% win is decode drift inside one long growing session, which these runs do not exercise — we did not find a cost or a benefit for kv-grow outside it. Also measured: KV streaming at 128K served 88.27% of 431,340 block reads from VRAM (203.9 MiB from RAM), and needles FOUND at 124,782 and 251,546 tokens. Data: #2737.

<!-- gh-comment-id:6210068604 --> @MrKop-git commented on GitHub (Oct 16, 2026): A different-workload datapoint so the reports do not get conflated: on a GTX 1080 Ti 11 GB (`--kv int8 --kv-resident 32768`), with **fresh prompts** of 32K/128K/250K tokens (no growing session), `--kv-grow` was *negative* at every depth (prompt −2 to −4.5%, 250K decode 24.2 vs 29.5). Your −29%→−4.5% win is decode drift inside one long growing session, which these runs do not exercise — we did not find a cost or a benefit for kv-grow outside it. Also measured: KV streaming at 128K served 88.27% of 431,340 block reads from VRAM (203.9 MiB from RAM), and needles FOUND at 124,782 and 251,546 tokens. Data: #2737.
Author
Owner

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

Native Linux, 2× RTX 2080 Ti, Q4_K_XL: no drift over a 60-minute soak

Counter-example to the WSL2 + 3090 drift: a one-hour soak on native Linux did not degrade.

Hardware: 2× RTX 2080 Ti 22 GB (sm_75, power limits 210/167 W), i9-7980XE, 125.5 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, driver 580.178.04; layer split 15. Flash-Next UD-Q4_K_XL (pack ud-q4_k_xl), 262,144 ctx, --kv int8 --spec 3 --spec-min-p 0.54 --batch 2, STRATA_SM75_PERF=1, no --kv-grow.

One engine start, 505 back-to-back requests over 60 minutes (short chats, ~1.6K-token prompts, a ~12.6K-token prompt every seventh request), 128 new tokens each:

10-min bucket requests decode median (tok/s) p10 / p90
0–10 83 39.6 36.9 / 43.5
10–20 82 40.2 37.3 / 44.3
20–30 86 41.8 38.7 / 45.8
30–40 84 41.6 38.4 / 47.3
40–50 84 41.8 38.9 / 46.7
50–60 84 41.8 38.1 / 46.1

0 errors, 0 restarts, overall median 41.3 tok/s; max GPU temperatures 43 °C / 49 °C. No drift: the last bucket is slightly faster than the first (expert cache warm-up).

So the last-third drop is not universal. WSL2's memory management and the IQ3_S pack (ours is Q4_K_XL) are the remaining candidates on your side; a native-Linux run or a Q4_K_XL pack would separate them.

<!-- gh-comment-id:6241830530 --> @Adamyno commented on GitHub (Oct 17, 2026): ## Native Linux, 2× RTX 2080 Ti, Q4_K_XL: no drift over a 60-minute soak Counter-example to the WSL2 + 3090 drift: a one-hour soak on native Linux did not degrade. **Hardware:** 2× RTX 2080 Ti 22 GB (sm_75, power limits 210/167 W), i9-7980XE, 125.5 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, driver 580.178.04; layer split 15. Flash-Next UD-Q4_K_XL (pack `ud-q4_k_xl`), 262,144 ctx, `--kv int8 --spec 3 --spec-min-p 0.54 --batch 2`, `STRATA_SM75_PERF=1`, no `--kv-grow`. One engine start, **505 back-to-back requests over 60 minutes** (short chats, ~1.6K-token prompts, a ~12.6K-token prompt every seventh request), 128 new tokens each: | 10-min bucket | requests | decode median (tok/s) | p10 / p90 | | --- | ---: | ---: | --- | | 0–10 | 83 | 39.6 | 36.9 / 43.5 | | 10–20 | 82 | 40.2 | 37.3 / 44.3 | | 20–30 | 86 | 41.8 | 38.7 / 45.8 | | 30–40 | 84 | 41.6 | 38.4 / 47.3 | | 40–50 | 84 | 41.8 | 38.9 / 46.7 | | 50–60 | 84 | 41.8 | 38.1 / 46.1 | **0 errors, 0 restarts**, overall median 41.3 tok/s; max GPU temperatures 43 °C / 49 °C. No drift: the last bucket is slightly faster than the first (expert cache warm-up). So the last-third drop is not universal. WSL2's memory management and the IQ3_S pack (ours is Q4_K_XL) are the remaining candidates on your side; a native-Linux run or a Q4_K_XL pack would separate them.
Author
Owner

@david-zdw commented on GitHub (Oct 18, 2026):

Thanks both — two different workloads, so let me keep them apart.

@MrKop-git — agreed, and it does not contradict this report. Fresh 32K/128K/250K prompts with no growing session exercise prefill, not the decode drift inside one long session. Thanks for keeping it in #2737 so the two do not get conflated.

@Adamyno — that is a real counter-example and worth having: 505 requests over 60 minutes on native Linux, no drift. But I do not think it isolates WSL2 yet, because the workload shapes differ in more than one way. Yours is ~1.6K prompts with a 12.6K one every seventh request and 128 new tokens each; mine ran contexts up to 122K/137K with long generations, one slot, no --batch (you are at --batch 2, which may matter by itself).

The part I can check in my own log argues against context length being the driver. In the before run's last third the degradation is there at a shorter context than the first third:

before run, last third n mean context decode
all of it 42 35,765 59.3
reused=0 (cold prefill) 2 5,195 56.0
reused>0 (warm requests) 40 37,294 59.5

So it is not cold prefill and not long context: 40 of the 42 requests are warm, at a mean of 37,294 tokens — shorter than the first third's 47,461 — and warm requests there still ran at 59.5 against 86.0 in the first third.

The same log gives a second datapoint against a length explanation: the after arm carried a longer mean context than the before arm (73,102 vs 50,791) and was still faster overall (82.8 vs 73.4), so context growth alone is not what produced the degradation.

On WSL2 vs the pack: I cannot separate those two from these logs, so I am not claiming one. The clean control is your own rig — the same box booted natively with everything else byte-identical (same pack, same slot count, same prompt profile), which would leave WSL2 as the only variable. The Q4_K_XL swap on the same rig would be the other half. Either would settle it; I would rather leave that to someone with the hardware than guess.

<!-- gh-comment-id:6243733563 --> @david-zdw commented on GitHub (Oct 18, 2026): Thanks both — two different workloads, so let me keep them apart. **@MrKop-git** — agreed, and it does not contradict this report. Fresh 32K/128K/250K prompts with no growing session exercise prefill, not the decode drift inside one long session. Thanks for keeping it in #2737 so the two do not get conflated. **@Adamyno** — that is a real counter-example and worth having: 505 requests over 60 minutes on native Linux, no drift. But I do not think it isolates WSL2 yet, because the workload shapes differ in more than one way. Yours is ~1.6K prompts with a 12.6K one every seventh request and 128 new tokens each; mine ran contexts up to 122K/137K with long generations, one slot, no `--batch` (you are at `--batch 2`, which may matter by itself). The part I can check in my own log argues against context length being the driver. In the **before** run's last third the degradation is there **at a shorter context than the first third**: | before run, last third | n | mean context | decode | | --- | ---: | ---: | ---: | | all of it | 42 | 35,765 | 59.3 | | `reused=0` (cold prefill) | 2 | 5,195 | 56.0 | | `reused>0` (warm requests) | 40 | 37,294 | **59.5** | So it is not cold prefill and not long context: 40 of the 42 requests are warm, at a mean of 37,294 tokens — *shorter* than the first third's 47,461 — and warm requests there still ran at 59.5 against 86.0 in the first third. The same log gives a second datapoint against a length explanation: the **after** arm carried a *longer* mean context than the before arm (73,102 vs 50,791) and was still faster overall (82.8 vs 73.4), so context growth alone is not what produced the degradation. On WSL2 vs the pack: I cannot separate those two from these logs, so I am not claiming one. The clean control is your own rig — the same box booted natively with everything else byte-identical (same pack, same slot count, same prompt profile), which would leave WSL2 as the only variable. The Q4_K_XL swap on the same rig would be the other half. Either would settle it; I would rather leave that to someone with the hardware than guess.
Author
Owner

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

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6271147808 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for taking the time to report this. We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Author
Owner

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

Native Linux control: one slot, no --batch, 11.6K → 110.6K context, 768-token answers — no drift

Following the ask in your reply: the same workload shape on native Linux, so that WSL2 and the workload are separated.

Setup: 2× RTX 2080 Ti 22 GB (210/167 W), i9-7980XE, 125.5 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, v0.2.0-beta (3d1fb480). Qwen3.8-Flash-Next GSQ-RCO IQ3_S, --layer-split 15, 262,144 ctx, --kv int8 --kv-resident 32768, --spec 3 --spec-min-p 0.54 --mtp mtp/rt, --batch 1 (one slot, your shape), greedy, no --pipeline-windows.

Workload: one conversation, nine turns; each turn appends ~12.4K tokens of file text and asks for a long answer (768 new tokens, greedy). Context and reuse are from the engine's own log; decode is the engine's predicted_per_second.

turn context tokens reused decode tok/s generated
0 11,649 0 62.1 768
1 24,126 11,642 62.6 768
2 36,594 24,894 68.7 768
3 49,125 36,587 70.8 760
4 61,579 49,884 71.1 718
5 73,970 62,296 70.2 710
6 86,333 74,679 69.3 674
7 98,718 87,006 69.4 308
8 110,654 99,025 71.5 201

Thirds: 62.6 / 70.8 / 69.4 tok/s (first / middle / last). The rise is the expert cache warming; from the middle third to 110K the decode is flat. Nothing degrades, and no restart or error over the nine turns.

Prefill of each new chunk does fall with context, as expected: 977 → 711 tok/s for the ~12K new tokens per turn.

What this says, and what it does not: the workload shape alone (one slot, no --batch, long answers, context past 100K) does not reproduce the drift on native Linux. So WSL2 (or something in your pack) stays the difference to chase — which is the same conclusion you had, now with a native run on the same shape rather than a different one.

Limits: this reached 110.6K, not your 122–137K; the last two turns ended on the model's own EOS after 308 and 201 tokens, so their decode is over a shorter window (they still read 69.4 and 71.5 tok/s). One pack, one model, one box; a single run per turn, not medians of several sessions.

<!-- gh-comment-id:6276089388 --> @Adamyno commented on GitHub (Oct 19, 2026): ## Native Linux control: one slot, no `--batch`, 11.6K → 110.6K context, 768-token answers — no drift Following the ask in your reply: the same workload shape on native Linux, so that WSL2 and the workload are separated. **Setup:** 2× RTX 2080 Ti 22 GB (210/167 W), i9-7980XE, 125.5 GiB DDR4-3600, Linux 7.0.0-38, CUDA 13.0, v0.2.0-beta (`3d1fb480`). Qwen3.8-Flash-Next GSQ-RCO **IQ3_S**, `--layer-split 15`, 262,144 ctx, `--kv int8 --kv-resident 32768`, `--spec 3 --spec-min-p 0.54 --mtp mtp/rt`, **`--batch 1`** (one slot, your shape), greedy, no `--pipeline-windows`. **Workload:** one conversation, nine turns; each turn appends ~12.4K tokens of file text and asks for a long answer (768 new tokens, greedy). Context and reuse are from the engine's own log; decode is the engine's `predicted_per_second`. | turn | context tokens | reused | decode tok/s | generated | |---:|---:|---:|---:|---:| | 0 | 11,649 | 0 | 62.1 | 768 | | 1 | 24,126 | 11,642 | 62.6 | 768 | | 2 | 36,594 | 24,894 | 68.7 | 768 | | 3 | 49,125 | 36,587 | 70.8 | 760 | | 4 | 61,579 | 49,884 | 71.1 | 718 | | 5 | 73,970 | 62,296 | 70.2 | 710 | | 6 | 86,333 | 74,679 | 69.3 | 674 | | 7 | 98,718 | 87,006 | 69.4 | 308 | | 8 | 110,654 | 99,025 | **71.5** | 201 | Thirds: **62.6 / 70.8 / 69.4 tok/s** (first / middle / last). The rise is the expert cache warming; from the middle third to 110K the decode is flat. Nothing degrades, and no restart or error over the nine turns. Prefill of each new chunk does fall with context, as expected: 977 → 711 tok/s for the ~12K new tokens per turn. **What this says, and what it does not:** the workload shape alone (one slot, no `--batch`, long answers, context past 100K) does not reproduce the drift on native Linux. So WSL2 (or something in your pack) stays the difference to chase — which is the same conclusion you had, now with a native run on the same shape rather than a different one. Limits: this reached 110.6K, not your 122–137K; the last two turns ended on the model's own EOS after 308 and 201 tokens, so their decode is over a shorter window (they still read 69.4 and 71.5 tok/s). One pack, one model, one box; a single run per turn, not medians of several sessions.
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#1056
No description provided.