[GH-ISSUE #1964] V0.1.43 Decode performance degradation on 4070ti + 14700 + 64 RAM, Linux IQ3_XXS #783

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

Originally created by @Hotcooler on GitHub (Oct 11, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1964

Something changed in 43 that made decode on this setup to be about a third of what it was in 0.1.42.

Bench.sh output for v42:

Results (median, range over the runs):
  chat decode tok/s                     96.50   (80.10 - 108.00, n=9)
  chat first token (s)                   0.34   (0.30 - 0.39, n=9)
  4K prompt tok/s                     2181.30   (2143.90 - 2188.80, n=3)
  4K first token (s)                     1.86   (1.85 - 1.89, n=3)
  16K prompt tok/s                    3136.60   (3090.30 - 3139.70, n=3)
  16K first token (s)                    5.14   (5.14 - 5.22, n=3)
  agent cache hit %                     68.77   (68.70 - 68.80, n=3)
  agent re-read tokens/session           4.00   (3.00 - 74.00, n=3)
  agent turn first token (s)             1.94   (1.34 - 2.15, n=15)
  agent decode tok/s                   104.90   (73.20 - 131.40, n=15)

v43:

Results (median, range over the runs):
  chat decode tok/s                     37.90   (33.70 - 59.30, n=9)
  chat first token (s)                   0.37   (0.32 - 0.52, n=9)
  4K prompt tok/s                     2118.70   (2117.20 - 2173.80, n=3)
  4K first token (s)                     1.92   (1.87 - 1.92, n=3)
  16K prompt tok/s                    3140.70   (3095.00 - 3141.20, n=3)
  16K first token (s)                    5.14   (5.13 - 5.21, n=3)
  agent cache hit %                     68.73   (68.60 - 68.81, n=3)
  agent re-read tokens/session          74.00   (4.00 - 74.00, n=3)
  agent turn first token (s)             1.93   (1.33 - 2.01, n=15)
  agent decode tok/s                    45.90   (39.80 - 62.80, n=15)

"agent re-read tokens/session" jumps out. Though the range seems to be about the same.

Startup Json same for both:

{
 "exe": "/opt/Servarr/llm/Strata/engine/strata",
 "args": [
  "--pack",
  "/opt/Servarr/llm/Strata-data/packs/iq3_xxs",
  "--native",
  "/opt/Servarr/llm/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf",
  "--ple-gguf",
  "/opt/Servarr/llm/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf",
  "--expert-profile",
  "/opt/Servarr/llm/Strata/data/expert-profile.bin",
  "--expert-cache",
  "auto",
  "--prefill",
  "auto:32768",
  "--spec",
  "4",
  "--mtp",
  "/opt/Servarr/llm/Strata-data/mtp/rt",
  "--max-context",
  "262144",
  "--kv",
  "int8",
  "--kv-resident",
  "32768",
  "--vision",
  "--vram-reserve-mib",
  "600",
  "--pool-affinity",
  "auto",
  "--pool-workers",
  "15",
  "--coupled-draft",
  "--pcie-frac",
  "0.24",
  "--spec-min-p",
  "0.70"
 ],
 "cwd": "/opt/Servarr/llm/Strata",
 "tokenizer": "/opt/Servarr/llm/Strata-data/packs/iq3_xxs/tokenizer",
 "model_name": "qwen3.8-flash-next-iq3_xxs",
 "log": "/opt/Servarr/llm/Strata/strata-iq3_xxs.log",
 "lib_dirs": [
  "/usr/local/cuda-13.0/bin",
  "/usr/local/cuda-13.0/lib64"
 ],
 "port": 8080,
 "gpu": 0,
 "gpus_asked": true,
 "draft_vocab": "cyrillic",
 "fit_max_tokens": true,
 "expert_profile_save": "/opt/Servarr/llm/Strata-data/iq3_xxs-profile.bin",
 "vision": {
  "exe": "/opt/Servarr/llm/Strata/engine/strata-vision",
  "mmproj": "/opt/Servarr/llm/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf",
  "model": "/opt/Servarr/llm/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf",
  "gpu": true,
  "max_tokens": 3072
 },
 "sampling": {
  "temperature": 1.0,
  "top_p": 0.95,
  "top_k": 20,
  "min_p": 0.0
 }
}

Startup sh also the same for both:

#!/bin/sh
cd "/opt/Servarr/llm/Strata"
export STRATA_EXCHANGE_ROTATE=1
export STRATA_KV_PREFETCH=1
export STRATA_PREFILL_CPU_SHARE=auto
export STRATA_SPEC_COUPLED=1
export STRATA_SPEC_GUMBEL=1
exec "/opt/Servarr/llm/Strata/.venv/bin/python" "/opt/Servarr/llm/Strata/serve/server.py" "--engine" "strata" "--config" "/opt/Servarr/llm/Strata/strata-iq3_xxs.json" "--host" "0.0.0.0" "--port" "8080" "--api-key" "xxx" "--open"

Startup logs attached:
v43.log
v42.log

Suspected VRAM overflow with new changed, did not pan out, changing --vram-reserve-mib to 1000 did not produce better speeds.

Originally created by @Hotcooler on GitHub (Oct 11, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1964 Something changed in 43 that made decode on this setup to be about a third of what it was in 0.1.42. Bench.sh output for v42: ``` Results (median, range over the runs): chat decode tok/s 96.50 (80.10 - 108.00, n=9) chat first token (s) 0.34 (0.30 - 0.39, n=9) 4K prompt tok/s 2181.30 (2143.90 - 2188.80, n=3) 4K first token (s) 1.86 (1.85 - 1.89, n=3) 16K prompt tok/s 3136.60 (3090.30 - 3139.70, n=3) 16K first token (s) 5.14 (5.14 - 5.22, n=3) agent cache hit % 68.77 (68.70 - 68.80, n=3) agent re-read tokens/session 4.00 (3.00 - 74.00, n=3) agent turn first token (s) 1.94 (1.34 - 2.15, n=15) agent decode tok/s 104.90 (73.20 - 131.40, n=15) ``` v43: ``` Results (median, range over the runs): chat decode tok/s 37.90 (33.70 - 59.30, n=9) chat first token (s) 0.37 (0.32 - 0.52, n=9) 4K prompt tok/s 2118.70 (2117.20 - 2173.80, n=3) 4K first token (s) 1.92 (1.87 - 1.92, n=3) 16K prompt tok/s 3140.70 (3095.00 - 3141.20, n=3) 16K first token (s) 5.14 (5.13 - 5.21, n=3) agent cache hit % 68.73 (68.60 - 68.81, n=3) agent re-read tokens/session 74.00 (4.00 - 74.00, n=3) agent turn first token (s) 1.93 (1.33 - 2.01, n=15) agent decode tok/s 45.90 (39.80 - 62.80, n=15) ``` "agent re-read tokens/session" jumps out. Though the range seems to be about the same. Startup Json same for both: ``` { "exe": "/opt/Servarr/llm/Strata/engine/strata", "args": [ "--pack", "/opt/Servarr/llm/Strata-data/packs/iq3_xxs", "--native", "/opt/Servarr/llm/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", "--ple-gguf", "/opt/Servarr/llm/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", "--expert-profile", "/opt/Servarr/llm/Strata/data/expert-profile.bin", "--expert-cache", "auto", "--prefill", "auto:32768", "--spec", "4", "--mtp", "/opt/Servarr/llm/Strata-data/mtp/rt", "--max-context", "262144", "--kv", "int8", "--kv-resident", "32768", "--vision", "--vram-reserve-mib", "600", "--pool-affinity", "auto", "--pool-workers", "15", "--coupled-draft", "--pcie-frac", "0.24", "--spec-min-p", "0.70" ], "cwd": "/opt/Servarr/llm/Strata", "tokenizer": "/opt/Servarr/llm/Strata-data/packs/iq3_xxs/tokenizer", "model_name": "qwen3.8-flash-next-iq3_xxs", "log": "/opt/Servarr/llm/Strata/strata-iq3_xxs.log", "lib_dirs": [ "/usr/local/cuda-13.0/bin", "/usr/local/cuda-13.0/lib64" ], "port": 8080, "gpu": 0, "gpus_asked": true, "draft_vocab": "cyrillic", "fit_max_tokens": true, "expert_profile_save": "/opt/Servarr/llm/Strata-data/iq3_xxs-profile.bin", "vision": { "exe": "/opt/Servarr/llm/Strata/engine/strata-vision", "mmproj": "/opt/Servarr/llm/Strata-data/models/mmproj-Qwen3.8-Flash-Next-BF16.gguf", "model": "/opt/Servarr/llm/Strata-data/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", "gpu": true, "max_tokens": 3072 }, "sampling": { "temperature": 1.0, "top_p": 0.95, "top_k": 20, "min_p": 0.0 } } ``` Startup sh also the same for both: ``` #!/bin/sh cd "/opt/Servarr/llm/Strata" export STRATA_EXCHANGE_ROTATE=1 export STRATA_KV_PREFETCH=1 export STRATA_PREFILL_CPU_SHARE=auto export STRATA_SPEC_COUPLED=1 export STRATA_SPEC_GUMBEL=1 exec "/opt/Servarr/llm/Strata/.venv/bin/python" "/opt/Servarr/llm/Strata/serve/server.py" "--engine" "strata" "--config" "/opt/Servarr/llm/Strata/strata-iq3_xxs.json" "--host" "0.0.0.0" "--port" "8080" "--api-key" "xxx" "--open" ``` Startup logs attached: [v43.log](https://github.com/user-attachments/files/33306188/v43.log) [v42.log](https://github.com/user-attachments/files/33306189/v42.log) Suspected VRAM overflow with new changed, did not pan out, changing --vram-reserve-mib to 1000 did not produce better speeds.
Author
Owner

@Hotcooler commented on GitHub (Oct 11, 2026):

It's STRATA_ADAPT_OVERLAP, with STRATA_ADAPT_OVERLAP=0 decode performance is restored.

v43 bench with STRATA_ADAPT_OVERLAP=0:

Results (median, range over the runs):
  chat decode tok/s                     96.20   (90.30 - 107.10, n=9)
  chat first token (s)                   0.34   (0.32 - 0.38, n=9)
  4K prompt tok/s                     2182.10   (2132.00 - 2184.80, n=3)
  4K first token (s)                     1.86   (1.86 - 1.90, n=3)
  16K prompt tok/s                    3118.40   (3088.70 - 3134.80, n=3)
  16K first token (s)                    5.17   (5.14 - 5.22, n=3)
  agent cache hit %                     68.88   (68.62 - 68.90, n=3)
  agent re-read tokens/session           3.00   (3.00 - 73.00, n=3)
  agent turn first token (s)             1.93   (1.33 - 2.00, n=15)
  agent decode tok/s                   111.20   (81.10 - 132.70, n=15)
<!-- gh-comment-id:6110737984 --> @Hotcooler commented on GitHub (Oct 11, 2026): It's STRATA_ADAPT_OVERLAP, with STRATA_ADAPT_OVERLAP=0 decode performance is restored. v43 bench with STRATA_ADAPT_OVERLAP=0: ``` Results (median, range over the runs): chat decode tok/s 96.20 (90.30 - 107.10, n=9) chat first token (s) 0.34 (0.32 - 0.38, n=9) 4K prompt tok/s 2182.10 (2132.00 - 2184.80, n=3) 4K first token (s) 1.86 (1.86 - 1.90, n=3) 16K prompt tok/s 3118.40 (3088.70 - 3134.80, n=3) 16K first token (s) 5.17 (5.14 - 5.22, n=3) agent cache hit % 68.88 (68.62 - 68.90, n=3) agent re-read tokens/session 3.00 (3.00 - 73.00, n=3) agent turn first token (s) 1.93 (1.33 - 2.00, n=15) agent decode tok/s 111.20 (81.10 - 132.70, n=15) ```
Author
Owner

@nghia1930mmm-cmd commented on GitHub (Oct 11, 2026):

Sonca1999

<!-- gh-comment-id:6111253189 --> @nghia1930mmm-cmd commented on GitHub (Oct 11, 2026): Sonca1999
Author
Owner

@TheHubUser4860938 commented on GitHub (Oct 11, 2026):

Confirming the same regression on different hardware, and the same fix: STRATA_ADAPT_OVERLAP=0.

Machine: RTX 4090 24 GB, AMD Ryzen 7 9800X3D (8c/16t, 96 MiB L3), 62 GB RAM, Linux, engine 0.1.43 (CUDA 12, sm_89, locally compiled — source hash verified), model Qwen3.8-Flash-Next IQ3_S + SC117 + Q8 PLE, --max-context 524288 --rope-scaling yarn --rope-scale 2 --kv k8v4 --pcie-frac 0.35 --adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97 --spec 4 --mtp.

Measured today, same day, same box, both on 0.1.43:

decode overlap ON (0.1.43 default) STRATA_ADAPT_OVERLAP=0
17-token prompts (fresh, idle system) 19–37 tok/s 102–116 tok/s
400–480-token generations 22–26 tok/s 107–116 tok/s
agent-session prompts >150k (median) 24.9 tok/s (n=10) back in the 0.1.42 range (same morning's 0.1.42 boot: 98.7 tok/s, n=152)

Ruled out on the slow boot before finding it: expert-cache hit rate unchanged (82–84% both boots), PLE probe fine and direct (250k rows/s), no swap/major faults (engine VmSwap 0), GPU 3030 MHz with no throttle flags at 38 °C — but power draw only ~150 W at "100% util", which fits the per-layer copy stalls serializing the window. The boot banner was otherwise identical between 0.1.42 and 0.1.43 (same slots ±113, same draft layer, same features), so nothing else moved.

Worth noting for the gate discussion: this is an X3D part, so the host-side expert paths are about as fast as AM5 gets (96 MiB L3, and the --prefill auto CPU share measured 2.3-3.4k tok/s on prompt reads) — the stall is in the copy/verify overlap itself, not in the CPU being slow to compute. The published win is A4000/P100 on PCIe 3.0 at 12–16 GB; a 4090 with a 47 GB arena in 62 GB RAM is the opposite regime, like your RTX 5070-Windows arm where it was turned off for losing 2.6%. Suggestion: whatever gate decides the Windows opt-out may deserve a measured probe on Linux too (like the PLE direct/mmap probe or the measured PCIe share), rather than a flat default on.

Not tested here: answers (we trust the same-tokens claim, our identity check runs separately) and the --prefill auto:32768 / --kv-resident combination from @Hotcooler's config — ours is plain auto. Both our boots use STRATA_ADAPT_OVERLAP=0 via the config "env" block from the next start onward.

<!-- gh-comment-id:6111484219 --> @TheHubUser4860938 commented on GitHub (Oct 11, 2026): Confirming the same regression on different hardware, and the same fix: `STRATA_ADAPT_OVERLAP=0`. **Machine:** RTX 4090 24 GB, **AMD Ryzen 7 9800X3D (8c/16t, 96 MiB L3)**, 62 GB RAM, Linux, engine 0.1.43 (CUDA 12, sm_89, locally compiled — source hash verified), model Qwen3.8-Flash-Next IQ3_S + SC117 + Q8 PLE, `--max-context 524288 --rope-scaling yarn --rope-scale 2 --kv k8v4 --pcie-frac 0.35 --adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97 --spec 4 --mtp`. **Measured today, same day, same box, both on 0.1.43:** | decode | overlap ON (0.1.43 default) | `STRATA_ADAPT_OVERLAP=0` | |---|---|---| | 17-token prompts (fresh, idle system) | 19–37 tok/s | 102–116 tok/s | | 400–480-token generations | 22–26 tok/s | 107–116 tok/s | | agent-session prompts >150k (median) | 24.9 tok/s (n=10) | back in the 0.1.42 range (same morning's 0.1.42 boot: 98.7 tok/s, n=152) | Ruled out on the slow boot before finding it: expert-cache hit rate unchanged (82–84% both boots), PLE probe fine and direct (250k rows/s), no swap/major faults (engine VmSwap 0), GPU 3030 MHz with no throttle flags at 38 °C — but power draw only ~150 W at "100% util", which fits the per-layer copy stalls serializing the window. The boot banner was otherwise identical between 0.1.42 and 0.1.43 (same slots ±113, same draft layer, same features), so nothing else moved. Worth noting for the gate discussion: this is an X3D part, so the host-side expert paths are about as fast as AM5 gets (96 MiB L3, and the `--prefill auto` CPU share measured 2.3-3.4k tok/s on prompt reads) — the stall is in the copy/verify overlap itself, not in the CPU being slow to compute. The published win is A4000/P100 on PCIe 3.0 at 12–16 GB; a 4090 with a 47 GB arena in 62 GB RAM is the opposite regime, like your RTX 5070-Windows arm where it was turned off for losing 2.6%. Suggestion: whatever gate decides the Windows opt-out may deserve a measured probe on Linux too (like the PLE direct/mmap probe or the measured PCIe share), rather than a flat default on. Not tested here: answers (we trust the same-tokens claim, our identity check runs separately) and the `--prefill auto:32768` / `--kv-resident` combination from @Hotcooler's config — ours is plain `auto`. Both our boots use `STRATA_ADAPT_OVERLAP=0` via the config `"env"` block from the next start onward.
Author
Owner

@oal commented on GitHub (Oct 11, 2026):

My issue #1975 might be the same issue. Feel free to close my issue.

<!-- gh-comment-id:6111957857 --> @oal commented on GitHub (Oct 11, 2026): My issue #1975 might be the same issue. Feel free to close my issue.
Author
Owner

@oal commented on GitHub (Oct 11, 2026):

I had GPT 6.1 Sol look into it. PR here: https://github.com/Niko1221/Strata/pull/1983 Could you see if this helps for you too?

<!-- gh-comment-id:6112385401 --> @oal commented on GitHub (Oct 11, 2026): I had GPT 6.1 Sol look into it. PR here: https://github.com/Niko1221/Strata/pull/1983 Could you see if this helps for you too?
Author
Owner

@DamonFangCN commented on GitHub (Oct 12, 2026):

Confirming this regression and workaround on another Linux RTX 4090 system, with three alternating fresh-engine pairs on the same v0.1.43 binary. Related: #2010.

Environment / fixed settings

  • RTX 4090 24GB, 350W power limit throughout; Ryzen 9 7950X with the user's BIOS 105W setting; 64GB RAM.
  • Ubuntu Linux, kernel 7.0.0-38-generic, NVIDIA driver 595.91.07; local build using existing CUDA 13.4.1, sm89.
  • Official v0.1.43 commit 7695859aa13afb248bdb4d36f9b2e95707db079d, no source patches.
  • Qwen3.8 Flash Next GSQ-RCO IQ3_S native pack; max context 196608, INT8 KV, GPU vision retained.
  • Effective CPU pool 15 workers; explicit PCIe fraction 0.20; spec4, spec-min-p0.70, lookup3; adapt-every1 / swaps80 / decay0.97.
  • Conversation cache 4096MiB / 2 slots / min-free4096MiB.
  • TAIL_SKIP=7 in both arms. The only A/B difference is STRATA_ADAPT_OVERLAP unset (official Linux default, startup banner confirmed active) versus STRATA_ADAPT_OVERLAP=0 (verified in the actual native process environment).

Protocol

A B A B A B, loading a fresh engine for every leg. All six engines used the same configuration, request order, temperature0, seed1234 and reasoning_effort=none. Other model requests could not reach the local test instance; no concurrent inference. No power/frequency/BIOS changes during the test.

Per leg: Chinese quicksort tutorial (512-token generation cap) three times, Python merge_sorted_lists function three times (256-token cap, actually110 tokens), one small JSON check, then the same cold32K/64K repository-excerpt marker fixtures with256 generated tokens each. Actual long input counts32508/65277, cached_tokens=0 in both arms. Short prompts reuse35/36 tokens on repeats2/3 equally. The expert cache was6710 slots /13043MiB in all six engines.

Decode results (tok/s)

Short rows: median of three requests inside each leg, then median of three legs. Long rows: one256-token generation per leg, median of three legs.

Probe Default overlap overlap=0 Gain when disabled Faster pairs
General 96.2 151.1 +57.07% 3/3
Short Python code 125.8 205.5 +63.35% 3/3
32K 66.8 106.3 +59.13% 3/3
64K 90.8 134.1 +47.69% 3/3

Per-pair values:

Probe Default A1/A2/A3 Disabled B1/B2/B3
General 96.2, 96.2, 98.9 151.2, 151.1, 151.0
Code 125.7, 126.2, 125.8 205.5, 205.4, 205.5
32K 66.8, 66.9, 66.8 106.5, 106.1, 106.3
64K 90.9, 90.7, 90.8 133.9, 134.3, 134.1

Prefill / cache / MTP / GPU observations

  • 32K Prefill median4283.4 ->4270.7 tok/s; TTFT7.641 ->7.664s.64K Prefill4577.8 ->4560.0; TTFT14.317 ->14.372s. The change is concentrated in Decode.
  • General MTP acceptance median81.89% in both arms, expert hit rate0.911 in both. Code acceptance median 94.19% in both.32K acceptance actually falls75.14% ->67.80% while Decode increases, so this is not just improved speculative acceptance.
  • General Decode periodic GPU power readings have median phase means about188 ->250W;32K about203 ->263W;64K about258 ->307W. Temperatures36–65C, SM clocks roughly2445–2820MHz, P2. These are coarse NVML samples, not a GPU profiler or exact energy accounting; short generations have few samples.
  • No file-tier reads, no OOM, no request-time swap-out. Minimum available RAM6.82GiB, free VRAM265MiB during measured requests.
  • All21 paired short/JSON final outputs are byte-identical. The6 long-context pairs differ, but every marker retrieval passes. No general quality-equivalence claim: complex tools/xhigh/near192K were not evaluated here.

Workaround and scope

Adding only "env": {"STRATA_ADAPT_OVERLAP": "0"} to the existing startup JSON restores most of our historical Decode performance, keeping350W, TAIL_SKIP7,192K and calibration unchanged. We are retaining v0.1.43 rather than rolling back.

Historical v0.1.42 results were general156.9, code192.4,32K127.4,64K132.4 tok/s. Those had a different warm-up order and dynamic cache/output history, so they are context only, not a matched version A/B or proof that every remaining gap is caused by the release. The strong result here is the same-binary overlap switch A/B.

Example exact short prompts used:

用中文写一篇至少1500字的教程,详细解释快速排序的原理、分区过程、递归终止和时间复杂度,并给出Python示例。
Write only Python code, without Markdown, defining merge_sorted_lists(a, b) that merges two sorted lists without calling sorted(). Include a short docstring.
All54 per-request raw measurements (CSV; no credentials or private paths)
pair,mode,case,prompt_tokens,cached_tokens,output_tokens,decode_tok_s,prompt_ms,decode_ms,ttft_s,wall_s,drafts_offered,drafts_accepted,hit_rate,pcie_share,file_blobs
1,default,general_1,42,0,512,90.4,274.7,5664.4,0.296,5.959,379,300,0.906,0.004,0
1,default,general_2,42,35,512,100.9,111.5,5072.7,0.125,5.203,370,306,0.917,0.003,0
1,default,general_3,42,35,512,96.2,121.7,5323.1,0.135,5.464,359,294,0.911,0.004,0
1,default,code_1,43,0,110,88.1,345.9,1248.1,0.359,1.613,84,81,0.802,0.018,0
1,default,code_2,43,36,110,125.7,98.0,875.4,0.109,0.992,88,80,0.927,0.003,0
1,default,code_3,43,36,110,186.1,108.4,591.0,0.119,0.718,86,81,0.949,0.001,0
1,default,json_1,44,0,30,89.0,332.4,337.2,0.343,0.688,24,23,0.83,0.012,0
1,default,context_32768,32508,0,256,66.8,7589.3,3832.7,7.641,11.481,173,130,0.818,0.012,0
1,default,context_65536,65277,0,256,90.9,14258.0,2816.2,14.314,17.137,155,123,0.922,0.002,0
1,off,general_1,42,0,512,145.1,274.3,3528.9,0.295,3.822,379,300,0.906,0.004,0
1,off,general_2,42,35,512,158.6,111.8,3228.1,0.125,3.358,370,306,0.917,0.003,0
1,off,general_3,42,35,512,151.2,119.9,3385.8,0.133,3.524,359,294,0.911,0.004,0
1,off,code_1,43,0,110,145.3,354.3,757.3,0.368,1.13,84,81,0.802,0.018,0
1,off,code_2,43,36,110,205.5,100.9,535.4,0.111,0.654,86,81,0.93,0.003,0
1,off,code_3,43,36,110,226.7,108.6,485.2,0.119,0.612,86,81,0.949,0.001,0
1,off,json_1,44,0,30,150.2,332.8,199.7,0.344,0.551,24,23,0.832,0.012,0
1,off,context_32768,32508,0,256,106.5,7617.9,2403.4,7.669,10.079,177,120,0.837,0.011,0
1,off,context_65536,65277,0,256,133.9,14333.4,1911.6,14.39,16.307,149,127,0.919,0.003,0
2,default,general_1,42,0,512,92.2,274.1,5554.8,0.295,5.848,379,300,0.906,0.004,0
2,default,general_2,42,35,512,100.8,110.2,5078.2,0.123,5.207,370,306,0.917,0.003,0
2,default,general_3,42,35,512,96.2,121.4,5322.3,0.135,5.462,359,294,0.911,0.004,0
2,default,code_1,43,0,110,87.9,348.0,1250.8,0.361,1.618,84,81,0.802,0.018,0
2,default,code_2,43,36,110,126.2,98.6,871.6,0.109,0.994,88,80,0.927,0.003,0
2,default,code_3,43,36,110,184.7,109.2,595.7,0.12,0.724,86,81,0.949,0.001,0
2,default,json_1,44,0,30,87.5,334.0,343.0,0.345,0.696,24,23,0.83,0.012,0
2,default,context_32768,32508,0,256,66.9,7570.1,3824.5,7.622,11.453,173,130,0.818,0.012,0
2,default,context_65536,65277,0,256,90.7,14259.6,2823.4,14.317,17.147,155,123,0.922,0.002,0
2,off,general_1,42,0,512,144.7,271.7,3539.4,0.292,3.83,379,300,0.906,0.004,0
2,off,general_2,42,35,512,158.4,110.0,3232.3,0.123,3.362,370,306,0.917,0.003,0
2,off,general_3,42,35,512,151.1,120.3,3387.8,0.133,3.527,359,294,0.911,0.004,0
2,off,code_1,43,0,110,145.7,350.1,754.9,0.363,1.124,84,81,0.802,0.018,0
2,off,code_2,43,36,110,205.4,98.7,535.5,0.109,0.653,86,81,0.93,0.003,0
2,off,code_3,43,36,110,226.3,108.8,486.0,0.119,0.614,86,81,0.949,0.001,0
2,off,json_1,44,0,30,150.8,334.7,199.0,0.345,0.552,24,23,0.832,0.012,0
2,off,context_32768,32508,0,256,106.1,7597.3,2413.4,7.649,10.069,177,120,0.837,0.011,0
2,off,context_65536,65277,0,256,134.3,14278.3,1906.5,14.336,16.25,149,127,0.919,0.003,0
3,default,general_1,42,0,512,90.4,278.2,5662.4,0.299,5.96,379,300,0.906,0.004,0
3,default,general_2,42,35,512,103.0,111.0,4970.6,0.124,5.1,370,306,0.917,0.003,0
3,default,general_3,42,35,512,98.9,120.0,5174.9,0.133,5.315,359,294,0.911,0.004,0
3,default,code_1,43,0,110,88.1,351.9,1248.4,0.365,1.619,84,81,0.802,0.018,0
3,default,code_2,43,36,110,125.8,99.4,874.6,0.11,0.992,88,80,0.927,0.003,0
3,default,code_3,43,36,110,185.7,109.4,592.3,0.12,0.72,86,81,0.949,0.001,0
3,default,json_1,44,0,30,87.4,335.0,343.2,0.346,0.697,24,23,0.83,0.012,0
3,default,context_32768,32508,0,256,66.8,7619.0,3831.7,7.671,11.51,173,130,0.818,0.012,0
3,default,context_65536,65277,0,256,90.8,14289.1,2818.7,14.347,17.172,155,123,0.922,0.002,0
3,off,general_1,42,0,512,144.9,275.4,3532.3,0.296,3.827,379,300,0.906,0.004,0
3,off,general_2,42,35,512,158.4,111.1,3232.3,0.124,3.362,370,306,0.917,0.003,0
3,off,general_3,42,35,512,151.0,121.0,3389.7,0.134,3.529,359,294,0.911,0.004,0
3,off,code_1,43,0,110,145.5,347.4,756.2,0.361,1.122,84,81,0.802,0.018,0
3,off,code_2,43,36,110,205.5,100.9,535.4,0.112,0.655,86,81,0.93,0.003,0
3,off,code_3,43,36,110,224.7,109.0,489.6,0.12,0.617,86,81,0.949,0.001,0
3,off,json_1,44,0,30,150.8,335.6,198.9,0.346,0.553,24,23,0.832,0.012,0
3,off,context_32768,32508,0,256,106.3,7611.8,2407.7,7.664,10.079,177,120,0.837,0.011,0
3,off,context_65536,65277,0,256,134.1,14315.0,1908.5,14.372,16.287,149,127,0.919,0.003,0
<!-- gh-comment-id:6120251415 --> @DamonFangCN commented on GitHub (Oct 12, 2026): Confirming this regression and workaround on another Linux RTX 4090 system, with **three alternating fresh-engine pairs on the same v0.1.43 binary**. Related: #2010. ### Environment / fixed settings - RTX 4090 24GB, **350W power limit throughout**; Ryzen 9 7950X with the user's BIOS 105W setting; 64GB RAM. - Ubuntu Linux, kernel `7.0.0-38-generic`, NVIDIA driver `595.91.07`; local build using existing CUDA 13.4.1, sm89. - Official v0.1.43 commit `7695859aa13afb248bdb4d36f9b2e95707db079d`, no source patches. - Qwen3.8 Flash Next GSQ-RCO IQ3_S native pack; max context 196608, INT8 KV, GPU vision retained. - Effective CPU pool 15 workers; explicit PCIe fraction 0.20; spec4, spec-min-p0.70, lookup3; adapt-every1 / swaps80 / decay0.97. - Conversation cache 4096MiB / 2 slots / min-free4096MiB. - **TAIL_SKIP=7 in both arms.** The only A/B difference is `STRATA_ADAPT_OVERLAP` unset (official Linux default, startup banner confirmed active) versus `STRATA_ADAPT_OVERLAP=0` (verified in the actual native process environment). ### Protocol A B A B A B, loading a fresh engine for every leg. All six engines used the same configuration, request order, temperature0, seed1234 and reasoning_effort=none. Other model requests could not reach the local test instance; no concurrent inference. No power/frequency/BIOS changes during the test. Per leg: Chinese quicksort tutorial (512-token generation cap) three times, Python merge_sorted_lists function three times (256-token cap, actually110 tokens), one small JSON check, then the same cold32K/64K repository-excerpt marker fixtures with256 generated tokens each. Actual long input counts32508/65277, cached_tokens=0 in both arms. Short prompts reuse35/36 tokens on repeats2/3 equally. The expert cache was6710 slots /13043MiB in all six engines. ### Decode results (tok/s) Short rows: median of three requests inside each leg, then median of three legs. Long rows: one256-token generation per leg, median of three legs. | Probe | Default overlap | overlap=0 | Gain when disabled | Faster pairs | |---|---:|---:|---:|---:| | General | 96.2 | 151.1 | +57.07% | 3/3 | | Short Python code | 125.8 | 205.5 | +63.35% | 3/3 | | 32K | 66.8 | 106.3 | +59.13% | 3/3 | | 64K | 90.8 | 134.1 | +47.69% | 3/3 | Per-pair values: | Probe | Default A1/A2/A3 | Disabled B1/B2/B3 | |---|---|---| | General | 96.2, 96.2, 98.9 | 151.2, 151.1, 151.0 | | Code | 125.7, 126.2, 125.8 | 205.5, 205.4, 205.5 | | 32K | 66.8, 66.9, 66.8 | 106.5, 106.1, 106.3 | | 64K | 90.9, 90.7, 90.8 | 133.9, 134.3, 134.1 | ### Prefill / cache / MTP / GPU observations - 32K Prefill median4283.4 ->4270.7 tok/s; TTFT7.641 ->7.664s.64K Prefill4577.8 ->4560.0; TTFT14.317 ->14.372s. The change is concentrated in Decode. - General MTP acceptance median81.89% in both arms, expert hit rate0.911 in both. Code acceptance median 94.19% in both.32K acceptance actually falls75.14% ->67.80% while Decode increases, so this is not just improved speculative acceptance. - General Decode periodic GPU power readings have median phase means about188 ->250W;32K about203 ->263W;64K about258 ->307W. Temperatures36–65C, SM clocks roughly2445–2820MHz, P2. These are coarse NVML samples, not a GPU profiler or exact energy accounting; short generations have few samples. - No file-tier reads, no OOM, no request-time swap-out. Minimum available RAM6.82GiB, free VRAM265MiB during measured requests. - All21 paired short/JSON final outputs are byte-identical. The6 long-context pairs differ, but every marker retrieval passes. No general quality-equivalence claim: complex tools/xhigh/near192K were not evaluated here. ### Workaround and scope Adding only `"env": {"STRATA_ADAPT_OVERLAP": "0"}` to the existing startup JSON restores most of our historical Decode performance, keeping350W, TAIL_SKIP7,192K and calibration unchanged. We are retaining v0.1.43 rather than rolling back. Historical v0.1.42 results were general156.9, code192.4,32K127.4,64K132.4 tok/s. Those had a different warm-up order and dynamic cache/output history, so they are context only, **not** a matched version A/B or proof that every remaining gap is caused by the release. The strong result here is the same-binary overlap switch A/B. Example exact short prompts used: ```text 用中文写一篇至少1500字的教程,详细解释快速排序的原理、分区过程、递归终止和时间复杂度,并给出Python示例。 ``` ```text Write only Python code, without Markdown, defining merge_sorted_lists(a, b) that merges two sorted lists without calling sorted(). Include a short docstring. ``` <details> <summary>All54 per-request raw measurements (CSV; no credentials or private paths)</summary> ```csv pair,mode,case,prompt_tokens,cached_tokens,output_tokens,decode_tok_s,prompt_ms,decode_ms,ttft_s,wall_s,drafts_offered,drafts_accepted,hit_rate,pcie_share,file_blobs 1,default,general_1,42,0,512,90.4,274.7,5664.4,0.296,5.959,379,300,0.906,0.004,0 1,default,general_2,42,35,512,100.9,111.5,5072.7,0.125,5.203,370,306,0.917,0.003,0 1,default,general_3,42,35,512,96.2,121.7,5323.1,0.135,5.464,359,294,0.911,0.004,0 1,default,code_1,43,0,110,88.1,345.9,1248.1,0.359,1.613,84,81,0.802,0.018,0 1,default,code_2,43,36,110,125.7,98.0,875.4,0.109,0.992,88,80,0.927,0.003,0 1,default,code_3,43,36,110,186.1,108.4,591.0,0.119,0.718,86,81,0.949,0.001,0 1,default,json_1,44,0,30,89.0,332.4,337.2,0.343,0.688,24,23,0.83,0.012,0 1,default,context_32768,32508,0,256,66.8,7589.3,3832.7,7.641,11.481,173,130,0.818,0.012,0 1,default,context_65536,65277,0,256,90.9,14258.0,2816.2,14.314,17.137,155,123,0.922,0.002,0 1,off,general_1,42,0,512,145.1,274.3,3528.9,0.295,3.822,379,300,0.906,0.004,0 1,off,general_2,42,35,512,158.6,111.8,3228.1,0.125,3.358,370,306,0.917,0.003,0 1,off,general_3,42,35,512,151.2,119.9,3385.8,0.133,3.524,359,294,0.911,0.004,0 1,off,code_1,43,0,110,145.3,354.3,757.3,0.368,1.13,84,81,0.802,0.018,0 1,off,code_2,43,36,110,205.5,100.9,535.4,0.111,0.654,86,81,0.93,0.003,0 1,off,code_3,43,36,110,226.7,108.6,485.2,0.119,0.612,86,81,0.949,0.001,0 1,off,json_1,44,0,30,150.2,332.8,199.7,0.344,0.551,24,23,0.832,0.012,0 1,off,context_32768,32508,0,256,106.5,7617.9,2403.4,7.669,10.079,177,120,0.837,0.011,0 1,off,context_65536,65277,0,256,133.9,14333.4,1911.6,14.39,16.307,149,127,0.919,0.003,0 2,default,general_1,42,0,512,92.2,274.1,5554.8,0.295,5.848,379,300,0.906,0.004,0 2,default,general_2,42,35,512,100.8,110.2,5078.2,0.123,5.207,370,306,0.917,0.003,0 2,default,general_3,42,35,512,96.2,121.4,5322.3,0.135,5.462,359,294,0.911,0.004,0 2,default,code_1,43,0,110,87.9,348.0,1250.8,0.361,1.618,84,81,0.802,0.018,0 2,default,code_2,43,36,110,126.2,98.6,871.6,0.109,0.994,88,80,0.927,0.003,0 2,default,code_3,43,36,110,184.7,109.2,595.7,0.12,0.724,86,81,0.949,0.001,0 2,default,json_1,44,0,30,87.5,334.0,343.0,0.345,0.696,24,23,0.83,0.012,0 2,default,context_32768,32508,0,256,66.9,7570.1,3824.5,7.622,11.453,173,130,0.818,0.012,0 2,default,context_65536,65277,0,256,90.7,14259.6,2823.4,14.317,17.147,155,123,0.922,0.002,0 2,off,general_1,42,0,512,144.7,271.7,3539.4,0.292,3.83,379,300,0.906,0.004,0 2,off,general_2,42,35,512,158.4,110.0,3232.3,0.123,3.362,370,306,0.917,0.003,0 2,off,general_3,42,35,512,151.1,120.3,3387.8,0.133,3.527,359,294,0.911,0.004,0 2,off,code_1,43,0,110,145.7,350.1,754.9,0.363,1.124,84,81,0.802,0.018,0 2,off,code_2,43,36,110,205.4,98.7,535.5,0.109,0.653,86,81,0.93,0.003,0 2,off,code_3,43,36,110,226.3,108.8,486.0,0.119,0.614,86,81,0.949,0.001,0 2,off,json_1,44,0,30,150.8,334.7,199.0,0.345,0.552,24,23,0.832,0.012,0 2,off,context_32768,32508,0,256,106.1,7597.3,2413.4,7.649,10.069,177,120,0.837,0.011,0 2,off,context_65536,65277,0,256,134.3,14278.3,1906.5,14.336,16.25,149,127,0.919,0.003,0 3,default,general_1,42,0,512,90.4,278.2,5662.4,0.299,5.96,379,300,0.906,0.004,0 3,default,general_2,42,35,512,103.0,111.0,4970.6,0.124,5.1,370,306,0.917,0.003,0 3,default,general_3,42,35,512,98.9,120.0,5174.9,0.133,5.315,359,294,0.911,0.004,0 3,default,code_1,43,0,110,88.1,351.9,1248.4,0.365,1.619,84,81,0.802,0.018,0 3,default,code_2,43,36,110,125.8,99.4,874.6,0.11,0.992,88,80,0.927,0.003,0 3,default,code_3,43,36,110,185.7,109.4,592.3,0.12,0.72,86,81,0.949,0.001,0 3,default,json_1,44,0,30,87.4,335.0,343.2,0.346,0.697,24,23,0.83,0.012,0 3,default,context_32768,32508,0,256,66.8,7619.0,3831.7,7.671,11.51,173,130,0.818,0.012,0 3,default,context_65536,65277,0,256,90.8,14289.1,2818.7,14.347,17.172,155,123,0.922,0.002,0 3,off,general_1,42,0,512,144.9,275.4,3532.3,0.296,3.827,379,300,0.906,0.004,0 3,off,general_2,42,35,512,158.4,111.1,3232.3,0.124,3.362,370,306,0.917,0.003,0 3,off,general_3,42,35,512,151.0,121.0,3389.7,0.134,3.529,359,294,0.911,0.004,0 3,off,code_1,43,0,110,145.5,347.4,756.2,0.361,1.122,84,81,0.802,0.018,0 3,off,code_2,43,36,110,205.5,100.9,535.4,0.112,0.655,86,81,0.93,0.003,0 3,off,code_3,43,36,110,224.7,109.0,489.6,0.12,0.617,86,81,0.949,0.001,0 3,off,json_1,44,0,30,150.8,335.6,198.9,0.346,0.553,24,23,0.832,0.012,0 3,off,context_32768,32508,0,256,106.3,7611.8,2407.7,7.664,10.079,177,120,0.837,0.011,0 3,off,context_65536,65277,0,256,134.1,14315.0,1908.5,14.372,16.287,149,127,0.919,0.003,0 ``` </details>
Author
Owner

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

Thank you both for the careful reports (Hotcooler, TheHubUser4860938), and for ruling out the cache hit rate, swap and clocks before narrowing it down to the overlap; that saved a lot of time. And thanks to oal for the root cause.

What happens: the decoding thread pins itself to one CPU. The CUDA driver starts its host-callback thread lazily, at the first cudaLaunchHostFunc, and that thread inherits the one-CPU mask. The adaptive overlap submits one callback per layer, so every layer's callback ran on the same CPU as the host's spin-wait: about 1000 us per callback instead of 4 us. We reproduced it on a 3060 box (0.1.43: 36 tok/s with the overlap on, 56 with STRATA_ADAPT_OVERLAP=0) and with a standalone test on a second box.

The fix is in 0.1.43.1 (out now) and has two parts, both exact (same swaps, same residency, same answers): the callback thread is now started before the host is pinned, and the overlap no longer uses a host function at all for the per-layer signal (it ends each layer's copies with a tiny stream-ordered copy into pinned memory). On the 3060 box: 36.5 -> 56.5 tok/s, 5/5 pairs, equal to overlap off; on a P100 the overlap stays a gain (+6% against off).

STRATA_ADAPT_OVERLAP=0 was the workaround; it is no longer needed, since 0.1.43.1 also makes the overlap opt-in. If you can, please try 0.1.43.1 and tell us the numbers with and without STRATA_ADAPT_OVERLAP=0 on your machines.

One more change in 0.1.43.1: after more reports (#2010) the overlap is opt-in again on every machine (STRATA_ADAPT_OVERLAP=1 turns it on, PR #2011). With the fix above, turning it on is safe on desktops again; please measure it on yours.

<!-- gh-comment-id:6129303370 --> @Niko1221 commented on GitHub (Oct 12, 2026): Thank you both for the careful reports (Hotcooler, TheHubUser4860938), and for ruling out the cache hit rate, swap and clocks before narrowing it down to the overlap; that saved a lot of time. And thanks to oal for the root cause. What happens: the decoding thread pins itself to one CPU. The CUDA driver starts its host-callback thread lazily, at the first cudaLaunchHostFunc, and that thread inherits the one-CPU mask. The adaptive overlap submits one callback per layer, so every layer's callback ran on the same CPU as the host's spin-wait: about 1000 us per callback instead of 4 us. We reproduced it on a 3060 box (0.1.43: 36 tok/s with the overlap on, 56 with STRATA_ADAPT_OVERLAP=0) and with a standalone test on a second box. The fix is in 0.1.43.1 (out now) and has two parts, both exact (same swaps, same residency, same answers): the callback thread is now started before the host is pinned, and the overlap no longer uses a host function at all for the per-layer signal (it ends each layer's copies with a tiny stream-ordered copy into pinned memory). On the 3060 box: 36.5 -> 56.5 tok/s, 5/5 pairs, equal to overlap off; on a P100 the overlap stays a gain (+6% against off). STRATA_ADAPT_OVERLAP=0 was the workaround; it is no longer needed, since 0.1.43.1 also makes the overlap opt-in. If you can, please try 0.1.43.1 and tell us the numbers with and without STRATA_ADAPT_OVERLAP=0 on your machines. One more change in 0.1.43.1: after more reports (#2010) the overlap is opt-in again on every machine (`STRATA_ADAPT_OVERLAP=1` turns it on, PR #2011). With the fix above, turning it on is safe on desktops again; please measure it on yours.
Author
Owner

@TheHubUser4860938 commented on GitHub (Oct 12, 2026):

Confirming 0.1.43.1 on the 4090 + 9800X3D box from my 0.1.43 report above — with the fix, the overlap is now a net gain here, not a stall.

Machine: RTX 4090 24 GB (driver 615.78.08), Ryzen 7 9800X3D (8c/16t), 62.4 GiB RAM, Linux (kernel 7.2.9), local build of v0.1.43.1 (tag commit a0116b27, engine reports 0.1.43.1 in /metrics). Model Qwen3.8-Flash-Next GSQ-RCO IQ3_S + PLE, --max-context 393216 --rope-scaling yarn --rope-scale 1.5 --kv k8v4 --pcie-frac 0.35 --spec 4 --mtp --spec-min-p 0.70 --adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97; expert cache 5043 slots / 9823 MiB, 47.0 GiB arena, 7 pool workers.

Protocol: two layers, same binary, one variable. (1) tools/strata_bench.py --long full suite (chat ×9, fresh 4K/16K/32K prompts, 3 agent sessions, plus my own 512-token general / 256-token code / cold 32K-64K-128K + 256-token decode probes) on one boot per arm. (2) A six-engine alternating series in the style of @DamonFangCN: six fresh engines, strictly alternating =0 / =1 boots (A1 B1 A2 B2 A3 B3), each leg running the 512-token general prompt ×3 and the code prompt ×3 plus one cold 32K and one cold 64K generation. Temperature 0, reasoning off, unique tag per request, engine's own timings, nothing else running during a measurement. Every arm verified in the actual engine process environment (/proc/<pid>/environ); the =1 boots show the banner adaptive overlap signal: stream-ordered copies.

Alternating legs (decode tok/s, medians):

Pair general 512-tok short code cold 32K cold 64K
1: A1 → B1 126.5 → 154.5 (+22.1%) 163.5 → 180.8 (+10.6%) 115.7 → 128.4 (+11.0%) 130.0 → 131.8 (+1.4%)
2: A2 → B2 130.0 → 140.9 (+8.4%) 160.8 → 163.8 (+1.9%) 117.2 → 100.6 (−14.2%) 124.8 → 123.3 (−1.2%)
3: A3 → B3 132.1 → 148.0 (+12.0%) 158.8 → 176.1 (+10.9%) 88.3 → 94.6 (+7.1%) 113.0 → 132.8 (+17.5%)

=1 is faster in 3/3 pairs on both short-prompt long-generation probes (general +8–22%, code +2–11%), and 10 of 12 rows overall. The two exceptions are pair 2's cold rows, which are single generations per leg — the cold 32K/64K rows are the noisiest in the set (90–130-token generations, acceptance swings); the full-suite pair tells the same story there with n=3: cold 32K 117.2 → 128.4 (+9.6%), 64K 124.8 → 131.8 (+5.6%), 128K 119.1 → 128.0 (+7.5%).

Full suite (one boot per arm): chat decode 106.8 (94.1–127.3) → 124.3 (111.9–143.9), +16.4%; agent decode 131.0 → 141.0, +7.6%; agent turn TTFT 1.80 → 1.80 s. Prefill unchanged within noise (4K 2151 → 2222, 16K 4140 → 4143, 32K 4225 → 4183 tok/s), so the change is decode-only, as expected. MTP acceptance essentially equal (chat/general 83.5 → 82.4%, code 98.8 → 98.8%), so the gain is not an acceptance artifact. Agent cache hit 68.78 → 68.81%.

Caveats: leg A1's boot had light background work (my own tooling) and agreed with the clean A2 boot within 5% on every row, so I kept it as a pair member; the alternating order was A-B starting from a =1 boot that was already up. I trust the same-swaps/same-answers claim — my identity check runs separately.

Bottom line: the 0.1.43 collapse (25 vs 110 tok/s on this box) is fixed — with 0.1.43.1, STRATA_ADAPT_OVERLAP=1 now beats =0 here: 3/3 pairs on the short-prompt probes, +16% chat decode, +7–11% on cold long-context decode. I'm switching my config from =0 to =1.

<!-- gh-comment-id:6132261419 --> @TheHubUser4860938 commented on GitHub (Oct 12, 2026): **Confirming 0.1.43.1 on the 4090 + 9800X3D box from my 0.1.43 report above — with the fix, the overlap is now a net gain here, not a stall.** **Machine:** RTX 4090 24 GB (driver 615.78.08), Ryzen 7 9800X3D (8c/16t), 62.4 GiB RAM, Linux (kernel 7.2.9), local build of v0.1.43.1 (tag commit `a0116b27`, engine reports 0.1.43.1 in `/metrics`). Model Qwen3.8-Flash-Next GSQ-RCO IQ3_S + PLE, `--max-context 393216 --rope-scaling yarn --rope-scale 1.5 --kv k8v4 --pcie-frac 0.35 --spec 4 --mtp --spec-min-p 0.70 --adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97`; expert cache 5043 slots / 9823 MiB, 47.0 GiB arena, 7 pool workers. **Protocol:** two layers, same binary, one variable. (1) `tools/strata_bench.py --long` full suite (chat ×9, fresh 4K/16K/32K prompts, 3 agent sessions, plus my own 512-token general / 256-token code / cold 32K-64K-128K + 256-token decode probes) on one boot per arm. (2) A six-engine alternating series in the style of @DamonFangCN: six fresh engines, strictly alternating `=0` / `=1` boots (A1 B1 A2 B2 A3 B3), each leg running the 512-token general prompt ×3 and the code prompt ×3 plus one cold 32K and one cold 64K generation. Temperature 0, reasoning off, unique tag per request, engine's own `timings`, nothing else running during a measurement. Every arm verified in the actual engine process environment (`/proc/<pid>/environ`); the `=1` boots show the banner `adaptive overlap signal: stream-ordered copies`. **Alternating legs (decode tok/s, medians):** | Pair | general 512-tok | short code | cold 32K | cold 64K | | --- | --- | --- | --- | --- | | 1: A1 → B1 | 126.5 → 154.5 (+22.1%) | 163.5 → 180.8 (+10.6%) | 115.7 → 128.4 (+11.0%) | 130.0 → 131.8 (+1.4%) | | 2: A2 → B2 | 130.0 → 140.9 (+8.4%) | 160.8 → 163.8 (+1.9%) | 117.2 → 100.6 (−14.2%) | 124.8 → 123.3 (−1.2%) | | 3: A3 → B3 | 132.1 → 148.0 (+12.0%) | 158.8 → 176.1 (+10.9%) | 88.3 → 94.6 (+7.1%) | 113.0 → 132.8 (+17.5%) | `=1` is faster in **3/3 pairs on both short-prompt long-generation probes** (general +8–22%, code +2–11%), and 10 of 12 rows overall. The two exceptions are pair 2's cold rows, which are single generations per leg — the cold 32K/64K rows are the noisiest in the set (90–130-token generations, acceptance swings); the full-suite pair tells the same story there with n=3: cold 32K 117.2 → 128.4 (+9.6%), 64K 124.8 → 131.8 (+5.6%), 128K 119.1 → 128.0 (+7.5%). **Full suite (one boot per arm):** chat decode 106.8 (94.1–127.3) → 124.3 (111.9–143.9), **+16.4%**; agent decode 131.0 → 141.0, **+7.6%**; agent turn TTFT 1.80 → 1.80 s. Prefill unchanged within noise (4K 2151 → 2222, 16K 4140 → 4143, 32K 4225 → 4183 tok/s), so the change is decode-only, as expected. MTP acceptance essentially equal (chat/general 83.5 → 82.4%, code 98.8 → 98.8%), so the gain is not an acceptance artifact. Agent cache hit 68.78 → 68.81%. Caveats: leg A1's boot had light background work (my own tooling) and agreed with the clean A2 boot within 5% on every row, so I kept it as a pair member; the alternating order was A-B starting from a `=1` boot that was already up. I trust the same-swaps/same-answers claim — my identity check runs separately. **Bottom line:** the 0.1.43 collapse (25 vs 110 tok/s on this box) is fixed — with 0.1.43.1, `STRATA_ADAPT_OVERLAP=1` now beats `=0` here: 3/3 pairs on the short-prompt probes, +16% chat decode, +7–11% on cold long-context decode. I'm switching my config from `=0` to `=1`.
Author
Owner

@Hotcooler commented on GitHub (Oct 13, 2026):

Also confirming STRATA_ADAPT_OVERLAP=1 is now a net gain of about ~7-10% on chat decode, and 2-8% on agent decode. Confirmed gain on 3 runs each.

Example of one of the runs:

STRATA_ADAPT_OVERLAP=0

Results (median, range over the runs):
  chat decode tok/s                     98.60   (87.30 - 109.00, n=9)
  chat first token (s)                   0.38   (0.32 - 0.43, n=9)
  4K prompt tok/s                     2167.40   (2112.80 - 2167.50, n=3)
  4K first token (s)                     1.87   (1.87 - 1.92, n=3)
  16K prompt tok/s                    3115.20   (3095.00 - 3132.20, n=3)
  16K first token (s)                    5.18   (5.15 - 5.21, n=3)
  agent cache hit %                     68.85   (68.80 - 68.90, n=3)
  agent re-read tokens/session           3.00   (3.00 - 4.00, n=3)
  agent turn first token (s)             1.92   (1.32 - 2.57, n=15)
  agent decode tok/s                   109.80   (89.00 - 136.60, n=15)

STRATA_ADAPT_OVERLAP=1

Results (median, range over the runs):
  chat decode tok/s                    108.50   (99.90 - 114.50, n=9)
  chat first token (s)                   0.35   (0.32 - 0.39, n=9)
  4K prompt tok/s                     2171.40   (2118.60 - 2171.60, n=3)
  4K first token (s)                     1.87   (1.87 - 1.92, n=3)
  16K prompt tok/s                    3126.50   (3082.70 - 3135.20, n=3)
  16K first token (s)                    5.16   (5.14 - 5.23, n=3)
  agent cache hit %                     68.84   (68.76 - 68.86, n=3)
  agent re-read tokens/session           4.00   (3.00 - 4.00, n=3)
  agent turn first token (s)             1.92   (1.32 - 1.99, n=15)
  agent decode tok/s                   117.80   (47.30 - 144.70, n=15)
<!-- gh-comment-id:6136461584 --> @Hotcooler commented on GitHub (Oct 13, 2026): Also confirming STRATA_ADAPT_OVERLAP=1 is now a net gain of about ~7-10% on chat decode, and 2-8% on agent decode. Confirmed gain on 3 runs each. Example of one of the runs: STRATA_ADAPT_OVERLAP=0 ``` Results (median, range over the runs): chat decode tok/s 98.60 (87.30 - 109.00, n=9) chat first token (s) 0.38 (0.32 - 0.43, n=9) 4K prompt tok/s 2167.40 (2112.80 - 2167.50, n=3) 4K first token (s) 1.87 (1.87 - 1.92, n=3) 16K prompt tok/s 3115.20 (3095.00 - 3132.20, n=3) 16K first token (s) 5.18 (5.15 - 5.21, n=3) agent cache hit % 68.85 (68.80 - 68.90, n=3) agent re-read tokens/session 3.00 (3.00 - 4.00, n=3) agent turn first token (s) 1.92 (1.32 - 2.57, n=15) agent decode tok/s 109.80 (89.00 - 136.60, n=15) ``` STRATA_ADAPT_OVERLAP=1 ``` Results (median, range over the runs): chat decode tok/s 108.50 (99.90 - 114.50, n=9) chat first token (s) 0.35 (0.32 - 0.39, n=9) 4K prompt tok/s 2171.40 (2118.60 - 2171.60, n=3) 4K first token (s) 1.87 (1.87 - 1.92, n=3) 16K prompt tok/s 3126.50 (3082.70 - 3135.20, n=3) 16K first token (s) 5.16 (5.14 - 5.23, n=3) agent cache hit % 68.84 (68.76 - 68.86, n=3) agent re-read tokens/session 4.00 (3.00 - 4.00, n=3) agent turn first token (s) 1.92 (1.32 - 1.99, n=15) agent decode tok/s 117.80 (47.30 - 144.70, n=15) ```
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#783
No description provided.