[GH-ISSUE #4822] [Engine] RX 9070 XT (gfx1201), Windows, 0.1.55: prompt reading starts 40-60% slower than 0.1.44.1 and only reaches its old speed after ~30-45 min of use; STRATA_PLE_AUTO_RAM=0 is ~4x slower #2217

Closed
opened 2026-11-04 01:57:34 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @pros02 on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4822

Area

[Engine]

Desktop app, Terminal or source?

Source (git clone, updated with UPDATE.bat)

What happened

After updating from engine 0.1.44.1 to 0.1.55 (0.2.9, the prebuilt hip-rx9070 package from the signed feed), prompt reading on this RX 9070 XT is much slower for the first part of each engine session and then speeds up, with no log line at the change. Once warm, it is as fast as 0.1.44.1 or a bit faster. 0.1.44.1 had no such warm-up: it read at about 800 tok/s from its first request.

Otherwise 0.1.55 runs fine here, which may help since the 0.2.9 notes say the Windows hip-rx9070 engine was packaged but not run on a model: IQ3_S and UD-Q4_K_XL both start, 256K context, pictures on (the official CPU reader), reasoning_effort low / enable_thinking=false, and structured tool_calls (including parallel calls) all work.

tools/strata_bench.py --long --runs 3 (medians; same config, same boot):

Run 4K prompt tok/s 16K prompt tok/s 32K prompt tok/s Expert cache Start to ready
A. default, server already up ~1.5 h (warm) 674 876 710 2376 slots, 4.57 GiB —
B. default, bench right after a restart (cold) 471 370 704 2399 slots, 4.61 GiB ~65-70 s
C. STRATA_PLE_AUTO_RAM=0, right after a restart 157 180 198 4384 slots, 8.37 GiB ~45 s

The bench runs chat, 4K, 16K, the agent test, then 32K, so in run B the 32K prompts come ~20 min after start and are already warm again.

My agent workload (a local supervisor model in a coding loop, OpenAI chat requests, fresh 4K-26K prompts, temperature 0.2, reasoning_effort low):

  • 0.1.44.1, one session, 200 fresh prompts of >= 8K tokens: 645-967 tok/s from the first request on, no trend over the session (median ~810).
  • 0.1.55, one session started 23:12: the first 40 prompts of 2,954-24,686 tokens read at 296-582 tok/s; then, with nothing logged in between, the next 5 prompts of the same size (23-25K tokens) read at 868-967 tok/s. The change came about 45 minutes after the engine started.
strata serve: prompt 24518 tokens = 0 reused + 24518 read in 45020 ms (544.6 tok/s), 350 generated in 13695 ms (25.6 tok/s), drafts accepted 258 of 297, 2 checkpoints
strata serve: prompt 24489 tokens = 0 reused + 24489 read in 28198 ms (868.5 tok/s), 319 generated in 7093 ms (45.0 tok/s), drafts accepted 231 of 261, 2 checkpoints
strata serve: prompt 24590 tokens = 0 reused + 24590 read in 25669 ms (958.0 tok/s), ...

(The two lines in between those requests are the usual decode-cache / route-tail / KV-streaming / conversation-cache lines; nothing new.)

STRATA_PLE_AUTO_RAM=0 is not a workaround. On 0.1.55 the direct PLE reads give a much bigger expert cache (4384 vs 2376 slots) but read prompts at ~160-200 tok/s with no warm-up at all. 0.1.44.1 also used direct PLE reads (PLE direct read probe: 21447 rows/s (fine)) and was fast, so the direct path itself got much slower between the two engines, or something else that the RAM path hides.

Expected: prompt reading close to the warm speed from the first requests, as on 0.1.44.1.

I have not found the cause. Things that changed in the start-up lines between the two engines: the PLE table is now locked in RAM by the residency policy (27.5-29.7 s at start), the expert cache is smaller (2376-2399 vs 2613 slots), VRAM free after load is lower (262-378 MiB vs 920 MiB), and there is a new conversation cache (7680 MiB for 4 parked conversations). Which of these, if any, explains the slow first part is a guess I have not tested.

Smallest steps or command that reproduce it

  1. Windows 11, RX 9070 XT 16 GB, engine 0.1.55 hip-rx9070, the config below.
  2. Restart the server and, as soon as it is ready, run python tools/strata_bench.py --config strata-iq3_s.json --url http://127.0.0.1:8080 --long --runs 3 (run B).
  3. Leave the server up and busy for ~45 min (or run the bench a few times), then run the same command again (run A).
  4. For run C, restart with STRATA_PLE_AUTO_RAM=0 in the environment and repeat step 2.

Reproduction status

Reproduced locally (bench runs A-C in one boot on 2026-11-01; the agent-workload numbers are from the engine's own timing lines of two real sessions)

Strata version

  • Now: 0.2.9, commit c62d5e3a, engine 0.1.55 (prebuilt hip-rx9070, signed feed); /props build_info "Strata 0.1.55"
  • Before: commit 296b59d2, engine 0.1.44.1

Graphics card, memory and system

RX 9070 XT 16 GB (gfx1201, device ID 7550), PCIe 4.0 x16 (the card is PCIe 5.0) · Ryzen 9 5900XT 16-core · 128 GB RAM · Windows 11 26H2 (10.0.26300) · AMD Software: Adrenalin Edition 26.8.1, AMD Windows driver 32.0.31041.1004

Model, size and settings

Qwen3.8-Flash-Next GSQ-RCO IQ3_S native pack (2 shards) with the PLE GGUF and the MTP draft layer. Same command line on both engines and in all three bench runs (paths removed):

--serve --pack <pack> --native <gguf> --ple-gguf <ple> --expert-profile <profile> --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp <mtp> --max-context 262144 --kv int8 --kv-resident 32768 --vision --vram-reserve-mib 700

Config env: only STRATA_HIPBLASLT_TUNING (the gfx1201 table from tools/hip). Prompt chunk is auto: 6144 tokens, a 384-slot ring on both engines, with no host-aware plan line, so I do not think this is #3518.

Logs

Start-up lines, 0.1.55 default (run B):

strata generate: PLE table locked in RAM (--ple-io ram chosen by the residency policy) in 29.7 s
strata generate: expert cache 2399 slots, 4.61 GiB of VRAM; policy is
strata serve: PLE table lock given back: the lock left 21.6 GiB of RAM for the conversation cache, 21.6 GiB without it (the table stays cached; --conversation-cache-mib N and --ple-io ram are kept as asked)
strata serve: conversation cache sized from the free RAM: 7680 MiB for up to 4 parked conversations, so an agent's next turn reuses its prompt (--conversation-cache-mib N sets it, 0 turns it off)
strata serve: 378 MiB of VRAM free with everything loaded

0.1.55 with STRATA_PLE_AUTO_RAM=0 (run C):

strata generate: PLE direct read probe: 20455 rows/s (fine)
strata generate: expert cache 4384 slots, 8.37 GiB of VRAM; policy is
strata serve: 702 MiB of VRAM free with everything loaded
strata serve: prompt 16058 tokens = 0 reused + 16058 read in 89016 ms (180.4 tok/s), 24 generated in 1081 ms (22.2 tok/s)

0.1.44.1 (same config):

strata generate: PLE direct read probe: 21447 rows/s (fine)
strata generate: expert cache 2613 slots, 5.01 GiB of VRAM; policy is
strata serve: 920 MiB of VRAM free with everything loaded
strata serve: prompt 14710 tokens = 0 reused + 14710 read in 18546 ms (793.2 tok/s), 565 generated in 13389 ms (42.2 tok/s), drafts accepted 405 of 468, 1 checkpoints

Notes

  • strata_bench's README (all three runs) reports the GPU as "AMD Radeon RX 6700 XT, 12 GiB VRAM" and the driver as 32.0.21045.5002, and names the folder ...-rx-6700-xt-.... The card in this PC is an RX 9070 XT 16 GB with driver 32.0.31041.1004; there is no RX 6700 XT in it. I have not looked at where the bench reads this from.
  • Not tested: a cold-start bench on 0.1.44.1 (I only have its real-workload timings); UD-Q4_K_XL; Linux; whether the warm-up is tied to time, to the number of requests, or to tokens read.
Originally created by @pros02 on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4822 ### Area [Engine] ### Desktop app, Terminal or source? Source (git clone, updated with UPDATE.bat) ### What happened After updating from engine 0.1.44.1 to 0.1.55 (0.2.9, the prebuilt hip-rx9070 package from the signed feed), prompt reading on this RX 9070 XT is much slower for the first part of each engine session and then speeds up, with no log line at the change. Once warm, it is as fast as 0.1.44.1 or a bit faster. 0.1.44.1 had no such warm-up: it read at about 800 tok/s from its first request. Otherwise 0.1.55 runs fine here, which may help since the 0.2.9 notes say the Windows hip-rx9070 engine was packaged but not run on a model: IQ3_S and UD-Q4_K_XL both start, 256K context, pictures on (the official CPU reader), reasoning_effort low / enable_thinking=false, and structured tool_calls (including parallel calls) all work. **tools/strata_bench.py --long --runs 3 (medians; same config, same boot):** | Run | 4K prompt tok/s | 16K prompt tok/s | 32K prompt tok/s | Expert cache | Start to ready | |---|---|---|---|---|---| | A. default, server already up ~1.5 h (warm) | 674 | 876 | 710 | 2376 slots, 4.57 GiB | — | | B. default, bench right after a restart (cold) | 471 | 370 | 704 | 2399 slots, 4.61 GiB | ~65-70 s | | C. STRATA_PLE_AUTO_RAM=0, right after a restart | 157 | 180 | 198 | 4384 slots, 8.37 GiB | ~45 s | The bench runs chat, 4K, 16K, the agent test, then 32K, so in run B the 32K prompts come ~20 min after start and are already warm again. **My agent workload (a local supervisor model in a coding loop, OpenAI chat requests, fresh 4K-26K prompts, temperature 0.2, reasoning_effort low):** - 0.1.44.1, one session, 200 fresh prompts of >= 8K tokens: 645-967 tok/s from the first request on, no trend over the session (median ~810). - 0.1.55, one session started 23:12: the first 40 prompts of 2,954-24,686 tokens read at 296-582 tok/s; then, with nothing logged in between, the next 5 prompts of the same size (23-25K tokens) read at 868-967 tok/s. The change came about 45 minutes after the engine started. ``` strata serve: prompt 24518 tokens = 0 reused + 24518 read in 45020 ms (544.6 tok/s), 350 generated in 13695 ms (25.6 tok/s), drafts accepted 258 of 297, 2 checkpoints strata serve: prompt 24489 tokens = 0 reused + 24489 read in 28198 ms (868.5 tok/s), 319 generated in 7093 ms (45.0 tok/s), drafts accepted 231 of 261, 2 checkpoints strata serve: prompt 24590 tokens = 0 reused + 24590 read in 25669 ms (958.0 tok/s), ... ``` (The two lines in between those requests are the usual decode-cache / route-tail / KV-streaming / conversation-cache lines; nothing new.) **STRATA_PLE_AUTO_RAM=0 is not a workaround.** On 0.1.55 the direct PLE reads give a much bigger expert cache (4384 vs 2376 slots) but read prompts at ~160-200 tok/s with no warm-up at all. 0.1.44.1 also used direct PLE reads (`PLE direct read probe: 21447 rows/s (fine)`) and was fast, so the direct path itself got much slower between the two engines, or something else that the RAM path hides. Expected: prompt reading close to the warm speed from the first requests, as on 0.1.44.1. I have not found the cause. Things that changed in the start-up lines between the two engines: the PLE table is now locked in RAM by the residency policy (27.5-29.7 s at start), the expert cache is smaller (2376-2399 vs 2613 slots), VRAM free after load is lower (262-378 MiB vs 920 MiB), and there is a new conversation cache (7680 MiB for 4 parked conversations). Which of these, if any, explains the slow first part is a guess I have not tested. ### Smallest steps or command that reproduce it 1. Windows 11, RX 9070 XT 16 GB, engine 0.1.55 hip-rx9070, the config below. 2. Restart the server and, as soon as it is ready, run `python tools/strata_bench.py --config strata-iq3_s.json --url http://127.0.0.1:8080 --long --runs 3` (run B). 3. Leave the server up and busy for ~45 min (or run the bench a few times), then run the same command again (run A). 4. For run C, restart with `STRATA_PLE_AUTO_RAM=0` in the environment and repeat step 2. ### Reproduction status Reproduced locally (bench runs A-C in one boot on 2026-11-01; the agent-workload numbers are from the engine's own timing lines of two real sessions) ### Strata version - Now: 0.2.9, commit c62d5e3a, engine 0.1.55 (prebuilt hip-rx9070, signed feed); `/props` build_info "Strata 0.1.55" - Before: commit 296b59d2, engine 0.1.44.1 ### Graphics card, memory and system RX 9070 XT 16 GB (gfx1201, device ID 7550), PCIe 4.0 x16 (the card is PCIe 5.0) · Ryzen 9 5900XT 16-core · 128 GB RAM · Windows 11 26H2 (10.0.26300) · AMD Software: Adrenalin Edition 26.8.1, AMD Windows driver 32.0.31041.1004 ### Model, size and settings Qwen3.8-Flash-Next GSQ-RCO IQ3_S native pack (2 shards) with the PLE GGUF and the MTP draft layer. Same command line on both engines and in all three bench runs (paths removed): ``` --serve --pack <pack> --native <gguf> --ple-gguf <ple> --expert-profile <profile> --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp <mtp> --max-context 262144 --kv int8 --kv-resident 32768 --vision --vram-reserve-mib 700 ``` Config env: only `STRATA_HIPBLASLT_TUNING` (the gfx1201 table from tools/hip). Prompt chunk is `auto: 6144 tokens, a 384-slot ring` on both engines, with no host-aware plan line, so I do not think this is #3518. ### Logs Start-up lines, 0.1.55 default (run B): ``` strata generate: PLE table locked in RAM (--ple-io ram chosen by the residency policy) in 29.7 s strata generate: expert cache 2399 slots, 4.61 GiB of VRAM; policy is strata serve: PLE table lock given back: the lock left 21.6 GiB of RAM for the conversation cache, 21.6 GiB without it (the table stays cached; --conversation-cache-mib N and --ple-io ram are kept as asked) strata serve: conversation cache sized from the free RAM: 7680 MiB for up to 4 parked conversations, so an agent's next turn reuses its prompt (--conversation-cache-mib N sets it, 0 turns it off) strata serve: 378 MiB of VRAM free with everything loaded ``` 0.1.55 with STRATA_PLE_AUTO_RAM=0 (run C): ``` strata generate: PLE direct read probe: 20455 rows/s (fine) strata generate: expert cache 4384 slots, 8.37 GiB of VRAM; policy is strata serve: 702 MiB of VRAM free with everything loaded strata serve: prompt 16058 tokens = 0 reused + 16058 read in 89016 ms (180.4 tok/s), 24 generated in 1081 ms (22.2 tok/s) ``` 0.1.44.1 (same config): ``` strata generate: PLE direct read probe: 21447 rows/s (fine) strata generate: expert cache 2613 slots, 5.01 GiB of VRAM; policy is strata serve: 920 MiB of VRAM free with everything loaded strata serve: prompt 14710 tokens = 0 reused + 14710 read in 18546 ms (793.2 tok/s), 565 generated in 13389 ms (42.2 tok/s), drafts accepted 405 of 468, 1 checkpoints ``` ### Notes - strata_bench's README (all three runs) reports the GPU as "AMD Radeon RX 6700 XT, 12 GiB VRAM" and the driver as 32.0.21045.5002, and names the folder `...-rx-6700-xt-...`. The card in this PC is an RX 9070 XT 16 GB with driver 32.0.31041.1004; there is no RX 6700 XT in it. I have not looked at where the bench reads this from. - Not tested: a cold-start bench on 0.1.44.1 (I only have its real-workload timings); UD-Q4_K_XL; Linux; whether the warm-up is tied to time, to the number of requests, or to tokens read.
Author
Owner

@pros02 commented on GitHub (Nov 2, 2026):

Thanks for the data point in #4861 — good to know the slow start did not show up on an RX 9070 with 0.1.55.

I have since removed Strata from this PC (it now runs only image generation), so I can no longer test or provide more logs for this report. Closing it on my side. If someone else sees the same warm-up behaviour on an RX 9070 XT, feel free to reopen or reference this issue.

<!-- gh-comment-id:6584866442 --> @pros02 commented on GitHub (Nov 2, 2026): Thanks for the data point in #4861 — good to know the slow start did not show up on an RX 9070 with 0.1.55. I have since removed Strata from this PC (it now runs only image generation), so I can no longer test or provide more logs for this report. Closing it on my side. If someone else sees the same warm-up behaviour on an RX 9070 XT, feel free to reopen or reference this issue.
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#2217
No description provided.