mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1185
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @oven1231231234 on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2936
[sm_86 / Xeon E5-2680 v4] 0.1.45: decode -20-27% vs 0.1.43 on a single RTX 3090; build pins and CPU expert pool both ruled out — points at 0.1.45 source changes esxi8.0
Setup
/usr/local/cuda-13.0), gcc 13.3,-DCMAKE_BUILD_TYPE=Release -DCMAKE_CUDA_ARCHITECTURES=86, ninja296b59d)--spec 4 --spec-min-p 0.5 --mtp rt --ple-io ram --kv-resident 32768e568e70371a3d2e0(built by the repo's ownsetup.pyflow — the production binary), 0.1.45 at477ac13(tagv0.1.45)Observation: four arms, A/B/A'/D
A vs A' agree within 1%, so positional/thermal bias is not the cause.
What is ruled out
Q6K_EXPERTS=OFFandMMQ_KQUANTS=OFF— the same cmake configuration as the 0.1.43 production binary (verified againstsetup.py:host_compiler_defs/toolkit_root_defs/engine_defsare all identical for sm_86 + CUDA 13; noSTRATA_EXPERIMENTAL_SM60, noSTRATA_ISA_FLOORon an AVX2 CPU). Arm D still regresses, and its CPU pool reads 82-85 us/expert — the same as 0.1.43. The pins are not the cause.Added: 0.1.44.1 A/B on this same rig (2026-10-16, same method, clean build)
The 0.1.43 -> 0.1.45 delta contains an intermediate release. I A/B'd v0.1.44.1 on the identical rig, same toolchain (CUDA 13.0/gcc 13.3/arch 86/Release), same llama.cpp submodule, same model/config. Build note: the 0.1.44.1 cmake command carried no
STRATA_Q6K_EXPERTS/STRATA_MMQ_KQUANTSflags (those only appear as explicit=ONin the 0.1.45 setup.py), so it is built with both OFF — the same build configuration as the 0.1.43 production binary, i.e. a pure source delta.--adapt-async 1Fair comparison = the warm/clean re-runs (the first post run is a cold expert-cache artifact, same pattern seen when swapping engines): 0.1.44.1 is ~-6% narrative / -8% code vs 0.1.43, and
--adapt-async 1recovers only the narrative side (99.54 vs 103.30). Two implications:STRATA_DEQUANT_WIDE).Bisect range refined:
e568e70371a3d2e0..7dfd34378bd2d32a(0.1.43 -> 0.1.44.1) is the clean half;7dfd34378bd2d32a..477ac13(0.1.44.1 -> 0.1.45) is the additive half. Re-running with the pipelined-decode work disabled (orSTRATA_ROUTE_TAIL_SKIP=0,STRATA_DEQUANT_WIDE=0,--mtpoff) is offered as before.What that leaves
With toolchain, submodule, config, argv and PCIe all matched, the delta is Strata source between
e568e70371a3d2e0(0.1.43) and477ac13(0.1.45). Prime suspects from the 0.1.44/0.1.45 release notes, all CPU/decode-scheduling side:STRATA_ROUTE_TAIL_SKIP=7default on CUDA (0.1.42) interacting with the newer scheduler--mtp rtpcie_fracself-adaptation converging to a different point (0.20 on 0.1.43 vs 0.20-0.25 on 0.1.45) even though the measured pool speed is the sameCorroborating signals on the regressed arms: GPU power drops 182 W -> 166 W (the GPU waits, it does not compute slower) while host CPU busy rises 50.2% -> 56.9% for the same token count.
Related reports
STRATA_TOPK_OLD=1gives a third set of texts.Happy to bisect the refined ranges above (the 0.1.43 -> 0.1.44.1 half is the clean one), or re-run with
STRATA_ROUTE_TAIL_SKIP=0,STRATA_DEQUANT_WIDE=0,--mtpoff, or any specific switch on this box.@Adamyno commented on GitHub (Oct 17, 2026):
sm_75 counter-check: 3× RTX 2080 Ti, 0.1.43.1 vs 0.1.45, default-vs-default
Not the 20–27% seen on the 3090. Same-hour A/B, one binary per arm, the same config, alternating order, 3 rounds, medians.
Hardware: 3× RTX 2080 Ti 22 GB (sm_75, power limits 210/167/200 W), i9-7980XE, 125.5 GiB DDR4-3600, Linux, CUDA 13.0, driver 580.178.04; layer split 16,32. 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_PERFunset. Both engines built from source for sm_75 with the same CUDA 13.0 toolchain.So: long-prompt decode −2.3%, one chat −6.2%, two chats +2–3%, prefill unchanged. A real but small decode regression here, not 20–27%.
One difference worth testing on your box: your pack is IQ3_S (i-quant expert rows), ours is Q4_K_XL (K-quant). Both engines report the expert kernels on AVX-2 here (the i9-7980XE's AVX-512 is not used by this build), so the CPU ISA is matched; the pack is the remaining variable. If you have a K-quant pack (Q4_K_XL or Q6_K), the same A/B would separate the pack from the scheduler.
@beastrobin commented on GitHub (Oct 18, 2026):
sm_120 counter-check, no regression here: RTX PRO 6000 Blackwell Workstation Edition 96 GB, Windows 11 (26200), driver 610.74, Ultra 9 285K, 253 GiB RAM. Qwen3.8-Flash-Next GSQ-RCO IQ3_S (the same i-quant family as the top post), 262K ctx,
--kv int8 --spec 4 --spec-min-p 0.70 --mtp rt --batch 4 --batch-mtp --lookup-chain 4 --pcie-frac 0.55 --pool-workers 15, expert arena fully pinned (vram_free ~19 GiBat idle; a missed pool read never fires during these runs). Both engines are the official release zips (strata-windows-x64.zip from v0.1.44.1 and v0.1.45, SHA256 checked against each tag's SHA256.txt); server.py is identical for both arms (HEAD477ac13c). Bench client: tools/strata_bench.py --runs 3 against one live server per arm, thinking off (a config sampling block with presence_penalty 0 was set on both arms so neither inherits #2940's card penalty), two boot rounds per version alternating order, the first suite after each start dropped as cold-tax and kept out of the medians below.Per-boot medians (chat decode tok/s / 4K prompt / 16K prompt / agent-turn decode):
Boot-pair deltas (45 vs 44.1, same hour): chat -2.3% / +8.5%, 4K -1.5% / +2.1%, 16K -0.3% / +2.8%, agent decode -5.3% / -1.2%. The sign flips between rounds and boot-to-boot drift exceeds every delta; pooled medians are within +-3%. Draft acceptance sits at 0.706-0.730 on both versions — the pack/acceptance story that fits the 3090 and the 2x R9700 observations does not bite on this box.
Two setup differences worth naming as suspects for why it is flat here: everything resides (the #2936 rig pays 82 us/expert through the CPU pool, so a windowing or spec-path change would show up multiplied where I pay zero), and this machine's tier is sm_120 where WMMA/kernels pick differently than sm_86 or gfx12. Not tested: a deliberately non-resident arm (an expert-cache cap forcing pool reads) under the same paired protocol — if useful I can run that to separate "version regression" from "regression only along the streamed-expert path"; no --long 32K prompts (only ~6 min per extra suite, could add); thinking-on traffic; CUDA 13 source builds rather than the shipped binaries.
@fioruccione commented on GitHub (Oct 18, 2026):
sm_89 counter-check, 2-GPU layer split: no regression from 0.1.44.1 to 0.1.45
Same-hour A/B/A/B on a different shape from the top post: two Ada cards in a layer split, with most experts in host RAM (the VRAM caches hold ~96.6% of the routed mass). Single stream, Linux, CUDA. It does not reproduce the top post. On this box 0.1.45 is level with 0.1.44.1.
Hardware: 2x RTX 4060 Ti 16 GB (sm_89, PCIe 4.0 x8 each, probe 13.3 GB/s), Threadripper PRO 3975WX (32C, AVX2, no AVX-512), 126 GB DDR4 ECC, Linux 7.1.5, driver 610.57.04.
Builds: both engines built here from source, by hand, with the same CMake options: CUDA 12.6,
-DCMAKE_CUDA_ARCHITECTURES=89, Release,STRATA_EXPERIMENTAL_SM60=OFF,STRATA_Q6K_EXPERTS=ON,STRATA_MMQ_KQUANTS=ON, and the same llama.cpp tree for ggml (pin3cf03257in both tags). The only differences between the two CMake caches are the two options new in 0.1.45,STRATA_MMQ_TABandSTRATA_PARITY_GFX1100_QSA_SCORES, both OFF.296b59d2477ac13cEach arm runs its own
serve/server.py. The only local change, in both, refuses local file paths for images. It does not touch text requests.Model and config (identical in both arms): Unsloth UD-IQ4_XS,
--max-context 262144 --kv int8 --kv-resident 32768 --spec 4 --spec-min-p 0.50 --pcie-frac 0.00 --remote-expert-opt --expert-cache auto --prefill auto --layer-split auto. MTP uses an Italian/English draft subset (the file in #1259, same SHA-256) and the same expert profile file. Both versions pick the same split, K=23, predicted 46.9 ms per window. The caches hold 7961 (0.1.44.1) and 7956 (0.1.45) of 24576 profiled pairs, ~96.6% of the routed mass, 4102 / 4099 slots on CUDA1.Requests:
/v1/chat/completions, streaming, one at a time. Every request sendstemperature 0, top_p 1, top_k 20, presence_penalty 0, reasoning_effort none, so 0.1.45 adds nothing from the model card (#2940). No repetition or frequency penalty is sent. Neither engine log has a "decodes serially" line, so--pipeline-windowsstayed on in both arms. Every prompt starts with a fresh nonce, so nothing is reused.Timings are the engine's own, from
/metrics:prompt_ms,decode_ms,drafts_accepted / drafts_offered.Order: A1 (0.1.44.1), B1 (0.1.45), A2, B2. Each arm is a fresh server start (38 s each) and a warm-up request. Each short prompt runs 2x per arm and each long length 2x per arm, so n = 4 per version per row.
Medians; the "short" prefill rows are only 60-120-token prompts, so they mean little.
Per-arm decode medians, A1 / B1 / A2 / B2:
Reading it:
So, on sm_89 with a 2-stage layer split and most experts in RAM, I see nothing like the -20/-27% above, nor the 3-4% long-context sm_86 slowdown that held the Volta/Pascal group for 0.1.46 (that group is not in 0.1.45 anyway). That fits the earlier counter-checks (sm_75 split: small, sm_120: none). Whatever costs the 3090 box its 20%+ seems tied to that shape: sm_86, one card, experts fully pinned, a Broadwell Xeon host. It is not a general CUDA or server-side change.
Limits:
"parallel"unset.The scripts (a stdlib-only bench client and the A/B/A/B runner) and the raw
/metricsrows of every request are available if useful.Measured on my machine, with an AI coding assistant helping on the scripts and the write-up.
@christopherrobertbrooks-tech commented on GitHub (Oct 18, 2026):
sm_70 counter-check, single card: no regression from 0.1.44.1 to 0.1.45
Same-hour A/B/C on a V100, one card, so
--pipeline-windowsnever comes into it. 0.1.45 is level with 0.1.44.1 here, and the #2940 penalty is active but cheap on a single card.Hardware: Tesla V100-PCIe 32 GB (sm_70), i7-13700KF, 16 GB RAM, Linux, CUDA 12.9 (
-DCMAKE_CUDA_ARCHITECTURES=70 -DSTRATA_EXPERIMENTAL_SM60=ON). Coder IQ1_M, resident RAM mode (11,641 experts in VRAM + 4.6 GiB page-locked), vision on the GPU,STRATA_SM70_TABLE=1,STRATA_PREFILL_CPU_SHARE=0. Both arms use the same config, packs and vision binary (tools/visionand the llama.cpp pin are identical between the two tags).Method:
benchmark.pyrequests at temperature 0 withreasoning_effort: none(the #2940 case). 3 rounds with the order rotated, a cold restart per arm, 9 runs per size (3 at 16K). Third arm: 0.1.45 withsampling.presence_penalty: 0.presence_penalty1.5 lands on these temperature-0 requests. 0/30 replies match 0.1.44.1 word for word, and withpresence_penalty: 0the replies start the same again (6/30 fully identical). MTP draft acceptance goes from 70.1% to 68.3% (70.3% with the penalty off). On a single card that costs a few percent at most, which fits the #2940 comments that the big loss comes from the penalty taking a layer split off--pipeline-windows.@fioruccione commented on GitHub (Oct 18, 2026):
Follow-up: the same check against 0.1.43.1, to cover the range in the top post
My comment above compared 0.1.44.1 with 0.1.45. The top post compares 0.1.43 with 0.1.45, so a cause that landed between 0.1.43 and 0.1.44.1 would be invisible there. The 0.1.43.1 range is covered now.
Setup: same box, same config, same script, same order, A1 / B1 / A2 / B2. A is 0.1.43.1 (
a0116b27), built here by hand with the same CMake options (CUDA 12.6, sm_89, SM60 OFF). B is the same 0.1.45 build as above. Both versions again pick split K=23 with ~96.6% of the routed mass in the VRAM caches (7965 / 7956 pairs). The predicted window is 50.1 ms on 0.1.43.1 and 46.9 ms on 0.1.45. No "decodes serially" line in either log.Medians, n = 4 per version per row:
Reading it:
So I cannot separate a 1-2% engine cost from acceptance noise with two rounds. But there is nothing near -20/-27% anywhere between 0.1.43.1 and 0.1.45 on this shape (sm_89, 2-stage layer split, experts largely in RAM).
Raw
/metricsrows of all 8 arms (both comparisons) are available on request.@oven1231231234 commented on GitHub (Oct 18, 2026):
Follow-up: three-version ladder on this rig + the full system description
0.1.43 → 0.1.44.1 → 0.1.45 (same rig, same method, consolidated)
The body covers 0.1.43 vs 0.1.45 and the "Added" section covers the intermediate release. All three in one table, fair numbers only (warm/clean re-runs; the first run after an engine swap is a cold expert-cache artifact and is excluded):
--adapt-async 1STRATA_Q6K_EXPERTS/STRATA_MMQ_KQUANTSflags at all (they first appear as explicit=ONin 0.1.45's setup.py), so it was built with the same toolchain, arch list and defs as the 0.1.43 production binary — a pure source delta for the first half of the range.e568e70371a3d2e0..7dfd34378bd2d32a(0.1.43→0.1.44.1), additive half7dfd34378bd2d32a..477ac13(0.1.44.1→0.1.45).STRATA_DEQUANT_WIDE), but arm D proves the delta is source, not pins.Full system description (missing from the top post)
The rig is a VM on ESXi with the 3090 passed through over PCIe — a variable none of the counter-check rigs share:
04:00.0; link measured 10.8 GB/s)--spec 4 --spec-min-p 0.5 --mtp rt --ple-io ram --kv-resident 32768.VM-adjacent confounders already ruled out on this rig (measured on this host, 2026-07):
/Power/CpuPolicy=High Performance(wasBalanced; set per NVIDIA's passthrough recommendation). Before/after A/B on decode: narrative 57.64→57.83 tok/s (+0.3%), code 69.12→68.09 (−1.5%) — no measurable effect, so C-state/ASPM-induced SW power capping is not the cause; the measured ceiling is the blower's thermal design, not host power state.So the shape-specificity remaining after the counter-checks is: sm_86 + one card + all experts pinned in RAM with an AVX2-only Broadwell CPU pool — the closest counter-check rig (sm_75, 3×2080 Ti) still shows only −2..−6%.
Happy to run any isolation this thread wants next (
STRATA_ROUTE_TAIL_SKIP=0,--mtpoff, or a bisect of the clean half) — engine swap + full bench cycle is ~30 min per arm on this box.@fioruccione commented on GitHub (Oct 18, 2026):
Hi,
Thanks for the detailed follow-up and the three-version comparison.
One detail caught my attention: your RTX 3090 is running through PCIe
passthrough on VMware ESXi, with 24 vCPUs backed by two Broadwell Xeons.
My P620 runs Linux on bare metal, and I couldn’t reproduce the regression
with two RTX 4060 Ti cards.
I’m not suggesting that VMware itself is responsible. Since your
measurements were performed on the same VM, the regression clearly
correlates with changes between Strata versions.
However, I wonder whether the pipeline and scheduling changes introduced in
0.1.44 could be more sensitive to CPU scheduling latency or NUMA placement
under virtualization.
With the expert pool in host RAM, it might be worth checking:
connected to the GPU.
The fact that 0.1.44.1 already shows a 6–8% regression, followed by a
larger drop in 0.1.45, makes the two proposed bisect ranges particularly
interesting.
This is only a hypothesis, not a diagnosis, but the virtualization layer
seems worth investigating alongside the source-code changes.
Thanks again for sharing such detailed measurements.
Stefano (fioruccione)
Il giorno dom 18 ott 2026 alle 20:30 oven1231231234 <
@.***> ha scritto:
@christopherrobertbrooks-tech commented on GitHub (Oct 18, 2026):
sm_70 follow-up: the CPU expert path on purpose — still no regression 0.1.44.1 → 0.1.45
The top post's rig keeps every expert RAM-resident and computes the cache misses on the CPU pool, while the counter-checks so far (mine above, fioruccione's) had about 95–97% of the routed mass in VRAM. So I shrank the GPU cache on purpose to push misses onto the CPU, on bare-metal hardware.
Setup: V100-PCIe 32 GB (sm_70), i7-13700KF (one socket, AVX2), 16 GB RAM, no VM, Coder IQ1_M.
--vram-reserve-mib 3700→ 10,114 experts in the GPU cache and 7.57 GiB page-locked in RAM (resident RAM mode, no file reads).sampling.presence_penalty: 0in both arms, so #2940 is out of it. Same config, packs and vision binary in both.benchmark.pyat temperature 0, cold start per arm, rounds rotated.STRATA_ROUTE_TAIL_SKIP=0(every miss computed on the CPU pool), n=6--pool-workers/ affinity), or the same card on bare metal, would separate the two.@oven1231231234 commented on GitHub (Oct 18, 2026):
@fioruccione @christopherrobertbrooks-tech
hi:
I also suspect that the mechanism of esxi has had an impact on the test results, so I provided more detailed system information and three control tests. I will try to make adjustments to esxi, hoping to find the cause of the problem. Thank you to the contributors of this project.
@fioruccione commented on GitHub (Oct 18, 2026):
Thanks for the update! Looking forward to your ESXi test results. It’ll be interesting to see whether virtualization and NUMA are contributing to the regression. Thanks for investigating!
@oven1231231234 commented on GitHub (Oct 19, 2026):
Update: ESXi NUMA pinning A/B (3 versions) + KB 2003582 cross-check
Follow-up on the ESXi/NUMA suspicion — I did the host-side pinning per the official docs and re-ran the version ladder.
1. NUMA pinning (ESXi host side, per KB 2003582 + vSphere 8.0 Virtual Topology)
Rig: dual-socket Broadwell-EP (14 cores + HT per socket), VM with 24 vCPU / 90GB fully reserved, RTX 3090 passed through on physical NUMA node 1.
VMX parameters applied (VM powered off, then on):
KB 2003582 covers exactly this: per-VM
numa.vcpu.preferHT=TRUE(host-wide alternative:Numa.PreferHT=1under Advanced System Settings). One semantics note from the KB / F. Denneman's NUMA deep-dive: preferHT makes the NUMA scheduler size NUMA clients by thread count instead of core count, so it consolidates vCPUs into as few clients as possible — documented as a setting for cache-intensive workloads, not necessarily for CPU/DRAM-intensive ones.Verified the placement on the host with esxtop: under a 24-thread load, every active physical CPU was inside the node 1 range (GPU's socket) and node 0 stayed idle — the pinning is effective, not just on paper.
2. Three-version A/B after pinning (IQ3_S Qwen3.8-Flash-Next on RTX 3090, same bench as before: 3 warmup + 5 measured runs per prompt; arms ran back-to-back in the same 51-58C heat zone, so arms are comparable)
STRATA_Q6K_EXPERTS=OFF+STRATA_MMQ_KQUANTS=OFFWithin-arm CV 1.0-4.8%; wall_TPS (prefill-inclusive) shows the same trend.
3. Findings
STRATA_Q6K_EXPERTS=ON/STRATA_MMQ_KQUANTS=ONon sm_86 / AVX2, not to the 0.1.44.1 → 0.1.45 engine delta. Since pinning did not move the 0.1.44.1 baseline in the helpful direction (B: -6/-8% unpinned -> -8.3/-14% pinned), the pinning confound doesn't hide this conclusion — if anything the variable-attribution is conservative.Happy to re-run the 0.1.45 main build under the same pinned conditions to quantify the variables' delta exactly, if that helps triage.
⚠️ Correction (next comment): the follow-up bench of the actual dual-ON binary (arm D, pinned) shows the -20/27% is a NUMA-placement × dual-ON interaction, not the compile variables themselves — pinning recovers D to ~-8/-14%, on par with B/C. The two findings in this comment are superseded by the next one.
@oven1231231234 commented on GitHub (Oct 19, 2026):
Correction: the dual-ON variables are NOT the cause — it's a NUMA-placement sensitivity.
I'd attributed the -23/27% to
STRATA_Q6K_EXPERTS=ON/STRATA_MMQ_KQUANTS=ON. That was wrong. I've now benched the actual dual-ON binary under the pinned NUMA condition (the earlier A/B/C run only covered 0.1.43 / 0.1.44.1 / dualoff). One correction to a prior comment: the "main build" path I referenced (strata-0145-build/build/strata) turned out to be the same file as the dualoff build (identical sha256, CMakeCache OFF/OFF); the real dual-ON binary isStrata-data/strata-0145/strata(built 2026-10-17,Q6KTraitskernels present, arch 86).Full four-arm table, decode_TPS (narrative / code), 3 warmup + 5 runs each:
vs 0.1.43 (A):
Findings:
sched.cpu.affinity="all"), the dual-ON decode path degrades ~2x more than any other build on this rig.Caveats: unpinned runs (10-18) and pinned runs (10-19) are different days/heat zones — but A and B are nearly identical across the two conditions (±1%), which supports treating the D jump as real and not thermal drift. If a cleaner read is wanted I can re-run the unpinned D arm (one VM power cycle to drop the pinning) for a same-session D unpinned vs D pinned A/B — ~25 min.
Practical takeaway for this rig: on ESXi with
sched.cpu.affinity="all", keep the dual-ON build's vCPUs pinned to the GPU's NUMA node (numa.nodeAffinity). I'll keep the pinning on here (it fixes the regression with no downside measured for A/C).@oven1231231234 commented on GitHub (Oct 19, 2026):
Resolution update (2026-10-19): bisected — the regression starts at 0.1.44, at commit
661ff29, which flipped theSTRATA_ADAPT_OVERLAPdefault from ON to OFFFollowing hypothesis → ruled-out → bisect → mechanism, I ran a full controlled bisect of the
0.1.43 → 0.1.44.1range on this exact rig.Method
Controlled bisect over
e568e7037 (v0.1.43) .. 7dfd34378 (v0.1.44.1)(315 commits). Each candidate: clean build in an independent build dir with CMake flags matched to the production binary (CUDA 13.0 / arch 86 / Release,STRATA_NATIVE_EXPERTS=ON), engine swapped in, service restarted, ready-poll + smoke, then 3 warmups + 5 bench runs on the same prompts and method as the arms above. Verdict threshold = midpoint of the two calibrated endpoints, measured in the same window. Production binary restored and SHA-verified after every step (EXIT trap), so the service never sat on a probe build. Converged in 8 probe builds.Result: first bad commit =
661ff29Calibrated endpoints (same window):
Probe trace (verdict against the threshold
dec_n = 99.535):4cfeaa0(midpoint)6a99330818845eee9263e798f300a6830000cf3d51661ff29Last good in range
ee9263e;git bisectconverges to661ff29as the first bad.Mechanism
661ff29changedadapt_overlap()from on-by-default on Linux CUDA (the 0.1.43 behavior) to off-by-default on every backend, opt-in with=1:On this rig the entire guard chain passes (single GPU, no
--remote-expert-opt, no--adapt-async, no--peer-device, no--pipeline-windows, page-locked sources, adaptive tier active), so the switch is genuinely live: overlap was ON under 0.1.43 and OFF under 0.1.44.1. The decisive piece of evidence is the engine startup log — the661ff29build prints a reason-less off line,(a reason-less off means every guard passed and it is simply the new default), whereas the 0.1.43 build prints the on line. So this is a real behavior change on this box, not a no-op.
Why this rig gains from overlap
Single RTX 3090 over PCIe 3.0 x16, expert arena fully pinned in RAM, so every decode window swaps experts over PCIe. With overlap ON, each layer's copy lands while the next window runs, hiding the per-window PCIe wait behind compute. On this hardware that is a net win — consistent with upstream's own A4000
+5..8%/ P100+4.4%numbers, and my measured+6%narrative /+12%code. The flip that fixed the Blackwell desktops (which lose 19–21% with overlap ON, per #1964 / #1975 / #2010) removed the gain here. It is a per-hardware trade-off, not a defect in this rig.Fix + verification (to follow)
STRATA_ADAPT_OVERLAP=1restores the 0.1.43 behavior on 0.1.44.x. I will post a confirming A/B — 0.1.44.1 default vs 0.1.44.1 +STRATA_ADAPT_OVERLAP=1— expected to landdec_n ≈ 102 ± 1, i.e. back on arm A.0.1.45 — the answer, published shortly
I verified that at tag
v0.1.45both theadapt_overlap()function body and the guard chain are byte-identical tov0.1.44.1— so 0.1.45 also defaults overlap to OFF, and the-23/27%on the 0.1.45 arm is additive on top of this 0.1.44 baseline. The full 0.1.45 breakdown (the additive half of the range, including theSTRATA_DEQUANT_WIDE/ build-pin variables) will follow as a separate update.This confirms this issue's own finding #1 — the regression starts at 0.1.44, not 0.1.45 — and now pins exactly where:
661ff29.@oven1231231234 commented on GitHub (Oct 19, 2026):
Verification:
STRATA_ADAPT_OVERLAP=1restores 0.1.43 performance (the fix works)Per the last comment — ran a strict single-variable A/B on the same 0.1.44.1 binary, only the env differs.
Rig: RTX 3090 (sm_86) on VMware ESXi, PCIe 3.0 x16, RAM-resident experts,
strata-iq3_s.json(Qwen3.8-Flash-Next GSQ-RCO IQ3_S,--spec 4 --mtp rt), power limit pinned 350 W, bench = club-3090bench.sh(3 warmup + 5 runs, narrative ~600-1200 tok / code ~450-800 tok, thinking off, temp 0.6 / top_p 0.95 / top_k 20).Arms (same window, ~15 min apart, same binary
c2b5aeb1…, swap = systemd drop-in only):STRATA_ADAPT_OVERLAP=1So on default (overlap OFF) 0.1.44.1 this box sits at -9.2% / -18.8% decode; setting
STRATA_ADAPT_OVERLAP=1recovers it to within noise of 0.1.43 (+0.3% / -0.2%).Engine log evidence, one line per arm:
strata serve: adaptive overlap: off (STRATA_ADAPT_OVERLAP=1 turns it on)— the reason-less off, i.e. all guards pass, pure default flip from661ff29strata serve: adaptive overlap (STRATA_ADAPT_OVERLAP=0 turns it off): the adaptive tier's copies land while the next window runs (same tokens, a layer waits for its own copies)Workaround for Turing/Ampere PCIe boxes with RAM-resident experts: one-line systemd drop-in /
Environment=STRATA_ADAPT_OVERLAP=1.(Side note for anyone on 0.1.45: #2940 is an unrelated server.py regression — a non-thinking request with no sampling block inherits the card's
presence_penalty 1.5, ~25% decode drop on its own and it also disables the MTP drafts; pinning"sampling": {"presence_penalty": 0}in the run config works around it.)@fioruccione commented on GitHub (Oct 19, 2026):
Excellent investigation! The controlled A/B test makes the root cause of the 0.1.44 regression very clear on your system.
What’s particularly interesting is that the same optimization can help Ampere while hurting some Blackwell configurations.
Perhaps this is a good candidate for hardware-aware adaptive tuning in Strata, rather than a single default for every backend.
Thanks for the thorough testing and for sharing the results!
@oven1231231234 commented on GitHub (Oct 19, 2026):
0.1.45 breakdown (the additive half): no independent engine regression once the three confounders are controlled
This is the follow-up promised in the bisect comment — the
0.1.44.1 → 0.1.45(additive) half of the range. The question it answers: after the661ff29overlap flip is fixed, does 0.1.45 carry its own engine delta on top of 0.1.44.1? The −23/27% on the 0.1.45 arm looked additive, but it had three confounders stacked on top of the overlap default:presence_penalty 1.5onto non-thinking requests, ~25% decode drop on its own and disables the MTP drafts661ff29flip already counted in the 0.1.44.1 armWith all three controlled, here is 0.1.45 on the same rig, same bench, same method.
0.1.45 arm (controlled)
48a479aa…(arch 86, Release,STRATA_Q6K_EXPERTS=ON/STRATA_MMQ_KQUANTS=OFF, noSTRATA_DEQUANT_WIDEin the CMakeCache)STRATA_ADAPT_OVERLAP=1(systemd drop-in; engine log prints the on line)"sampling": {"presence_penalty": 0}in the run config (#2940 out;/propsconfirmspresence_penalty 0.0in the effective defaults)numa.nodeAffinity="1"(GPU socket), per the pinning A/B48a479aa, overlap=1, pp=0, pinnedPer-run: narrative 104.52 / 104.03 / 105.82 / 100.66 / 97.08 (median 104.03, TTFT 111 ms); code 122.35 / 117.84 / 104.50 / 127.85 / 117.93 (median 117.93, TTFT 95 ms). prefill-10k 1302 tok/s (n=3). Within-arm spread is the usual ±4-6%, so mean + median both shown.
Reading
661ff29) + the #2940 presence-penalty leak + the NUMA × dual-ON interaction — not a 0.1.45-specific engine change.STRATA_DEQUANT_WIDE/ build-pin variables are not the cost either: this controlled build isQ6K-ON / MMQ-OFF(not the full dual-ON release pins), and the Q6K/MMQ compile-variable delta was already shown to be ~2-3% when pinned (arm D vs arm C in the A/B/C/D table), so the conclusion does not hinge on this arm being dual-ON vs Q6K-ON/MMQ-OFF.State of the issue on this rig
STRATA_ADAPT_OVERLAP=1(→ +0.3% / −0.2% vs 0.1.43)Happy to run the full dual-ON build (
Q6K+MMQ) under the same controlled conditions to close the last variable, if useful.@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:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.