[GH-ISSUE #5534] [Engine] Conversation cache restores 0/16 with the 0.2.7+ defaults on 4x RTX 5080 (16/16 with STRATA_DEFAULTS=026) #5506

Open
opened 2026-11-08 05:53:30 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @blange48 on GitHub (Nov 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5534

Conversation cache no longer restores with the 0.2.7+ defaults (v0.2.7 and v0.2.12).

Setup: 4× RTX 5080 16 GB, layer split 12,24,36, Qwen3.8-Flash-Next IQ3_S, --batch 8 --batch-groups 4 --conversation-cache-mib 24576 --conversation-cache-slots 16, served over HTTP.

Symptom: with the defaults, 0/16 follow-up requests hit the cache (median first token 2.8 s). In /metrics, parks keeps rising while restores stays flat, so every follow-up rereads the whole context. With STRATA_DEFAULTS=026 the same test gives 16/16 at 0.23 s (median), and a follow-up during a 45K read takes 4.2 s instead of 8.9 s.

What it is not: neither STRATA_PREFILL_LAYER_MAJOR=0 nor STRATA_BATCH_GROUPS_NV_SERIAL=1 fixes it (both stay at 0/16), so it is another default changed in 0.2.7 that STRATA_DEFAULTS=026 turns off. We have not isolated which one yet.

Cost of the workaround: the 0.2.12 defaults are 11 to 14% faster at 8 and 16 clients (4 / 8 / 16 clients: 307 / 453 / 466 tok/s against 292 / 442 / 408 with STRATA_DEFAULTS=026), so we would like to keep them once the culprit is known.

Happy to provide logs and the test script (16 conversations opened, then one follow-up each, first-token time measured).

Originally created by @blange48 on GitHub (Nov 7, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5534 Conversation cache no longer restores with the 0.2.7+ defaults (v0.2.7 and v0.2.12). **Setup:** 4× RTX 5080 16 GB, layer split 12,24,36, Qwen3.8-Flash-Next IQ3_S, `--batch 8 --batch-groups 4 --conversation-cache-mib 24576 --conversation-cache-slots 16`, served over HTTP. **Symptom:** with the defaults, 0/16 follow-up requests hit the cache (median first token 2.8 s). In `/metrics`, `parks` keeps rising while `restores` stays flat, so every follow-up rereads the whole context. With `STRATA_DEFAULTS=026` the same test gives 16/16 at 0.23 s (median), and a follow-up during a 45K read takes 4.2 s instead of 8.9 s. **What it is not:** neither `STRATA_PREFILL_LAYER_MAJOR=0` nor `STRATA_BATCH_GROUPS_NV_SERIAL=1` fixes it (both stay at 0/16), so it is another default changed in 0.2.7 that `STRATA_DEFAULTS=026` turns off. We have not isolated which one yet. **Cost of the workaround:** the 0.2.12 defaults are 11 to 14% faster at 8 and 16 clients (4 / 8 / 16 clients: 307 / 453 / 466 tok/s against 292 / 442 / 408 with `STRATA_DEFAULTS=026`), so we would like to keep them once the culprit is known. Happy to provide logs and the test script (16 conversations opened, then one follow-up each, first-token time measured).
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#5506
No description provided.