mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5013] [Engine] Windows RX 9070 XT, 0.1.55: warm decode silently drops -42% after 7 h uptime with clean canaries; engine restart fully restores it #2319
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#2319
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 @dreamer7 on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5013
Environment. Windows 11 host, RX 9070 XT (gfx1201, HIP build), Xeon E5-2696 v3 (18c), 128 GB DDR3. Engine 0.1.55 (Strata 0.2.9 components) via the terminal app. Serve args include:
--context 262144,--prefill auto:16384,--kv k8v4 --kv-resident 32768, pool workers 16, cvec 0,--expert-profile ... --expert-profile-save-every 10,--mtp-draft-vocab(Cyrillic), CPU vision reader ("gpu": false, mmproj BF16), 4-slot conversation cache. Heavy agent workload: two long-lived OpenAI-compatible chat sessions (140 K tokens) parked/restoring all day.Timeline (same boot). Fresh Windows reboot at 13:00, engine started right after. Bench at 13:15: fixed-prompt warm decode batches (temperature 0, out=350): 60.7-64.4 tok/s, mean 62.1. Cold 42 K synthetic prompts (unique seeds, reused=0): 964 and 971 tok/s. Canaries:
expert_slots4244,prefill_cap16384,expert_cache_mib8062.At 20:05, same batches: decode 34.0-37.7 tok/s (-42%), while cold prefill is unchanged (947 tok/s, reused=0) and canaries are still clean (slots 4244, cap 16384, cvec 0). Only drift:
expert_cache_mib8062 -> 8309 (self-learned profile).Hardware ruled out. A 2.7 s HWiNFO64 log covers both bench windows. During GPU-active rows only: CPU core multipliers avg 30.5 -> 30.4, uncore 30.0 -> 30.0, package/ring thermal-throttle and power-limit flags No in both windows, GPU clock-limit constant 3450 MHz, PCIe link 8 GT/s, GPU temp avg 56 -> 47 C, hotspot max 99 -> 75 C. The tell: CPU core utilisation during bursts 41% -> 55% and effective CPU clock 1068 -> 1375 MHz - same clocks, 1.5x more CPU-seconds per decoded token. No third-party CPU load (total max 68%). Draft acceptance fell from 80-86% earlier in the day to 77%.
Recovery. Restarting the engine from the terminal app (2 min, no Windows reboot) restored everything: decode 61.4 / 57.0, second batch 63.6 / 59.7 (warm mean 60.4 = the 13:00 baseline), cold prefill 930, slots 4154. The 3rd run in each batch dipping with hit_rate 0.66 matches the known cache-cooling artifact and is not counted.
Question. Is silent conversation-cache/KV churn over long engine lifetime a known mode (closest reports I found: #4895, #4730)? Which
/metricscounters should I watch to catch it live (park/restore churn, KV eviction) - and should long agent sessions cap--kv-residentor the conversation-cache slots instead? I can capture engine.log on the next occurrence.@dreamer7 commented on GitHub (Nov 7, 2026):
Follow-up data from the same rig (Windows, RX 9070 XT/gfx1201, engine 0.1.56 / app 0.2.10, IQ3_S pack,
drafting mtp, 128 GB RAM, Haswell Xeon E5-2696 v3, PCIe 3.0 x16).Gradual decay without the cliff, measured 2026-11-07 at long engine-process uptime:
So ~-11% decode after 40 h; acceptance never degraded and the canaries stayed completely flat — unlike the original 0.1.55 report (a -42% cliff at 7 h) and unlike the known WDDM commit-squeeze pattern where slots/prefill_cap visibly collapse. On 0.1.56 the decay looks gradual, not a cliff.
Key diagnostic: the Terminal web UI "reload model" (or the equivalent control-API cycle
POST /v1/unload?wait=1thenPOST /v1/load— process uptime NOT reset,totals.sincekeeps counting) fully recovers speed at the same 42 h process uptime: measured 58.6/59.4 (97% of fresh), expert slots re-packed 3946→4070, vram_free 887. The first warm batch after such a reload is a cold-weights artifact (measured 51.6), second batch on is the real number.So on this machine the fatigue lives in the model / expert-cache state inside the engine, not in the long-lived process or WDDM handles. Workaround we run now: a daily unload→load→warmup cron (full cycle 101 s), after which morning numbers return to the fresh band (61–63). Happy to provide raw jsonl/logs or run a targeted experiment (e.g. A/B of expert-cache eviction vs KV/cvec state) if that helps localize it.