[GH-ISSUE #5441] [Engine] RX 9070 XT / 64 GB RAM: 50 → 14 tok/s after update — excessive SSD reads, request legacy RAM mode #3253

Open
opened 2026-11-07 14:39:11 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @jarkov87-web on GitHub (Nov 7, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5441

Area

[Engine] Performance regression / expert memory management

System configuration

  • CPU: AMD Ryzen 7 5700X
  • GPU: AMD Radeon RX 9070 XT 16 GB (HIP / gfx1201)
  • RAM: 64 GB DDR4-3200
  • OS: Windows 11
  • Storage: NVMe SSD
  • Model: Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S
  • Context limit: 204,800 tokens
  • KV cache: INT8

Problem

After updating Strata, I experienced a severe performance regression with the same model and hardware.

Previously, the model consistently generated approximately 46–50 tokens/s, even during long-running multi-agent workloads involving millions of processed tokens.

With Strata Desktop 0.2.11 and engine 0.1.57, generation has fallen to approximately 11–20 tokens/s, while the NVMe SSD now experiences sustained heavy read activity, sometimes reaching 3.3 GB/s.

These numbers are confirmed by the engine's own logs, not just the GUI speed counter.

Previous performance — engine 0.1.55

Actual engine log measurements:

9777 generated in 197103 ms (49.6 tok/s)
237 generated in 4689 ms (50.5 tok/s)
19746 generated in 409942 ms (48.2 tok/s)

The engine used a full expert arena:

strata generate: loaded 46.84 GiB at 3.02 GiB/s

The system was able to sustain extended inference workloads without observed memory-related crashes, although low-memory warnings were present.

Current performance — engine 0.1.57

2254 generated in 160734 ms (14.0 tok/s)
388 generated in 29412 ms (13.2 tok/s)

The new engine reports:

strata generate: not enough RAM for the expert arena
strata generate: experts via mmap
FileExpertSource: RAM budget 23.16 GiB
strata generate: resident RAM mode: 23.16 GiB of experts in RAM

It also explicitly warns:

the others are read from the SSD on every chunk

During the workload, the engine reported more than 2,500,000 MB of cumulative expert-file reads.

Interestingly, the GPU expert cache is larger in one current run (6.12 GiB) than in the previous engine run (4.75 GiB). The main difference appears to be reduced RAM residency and repeated file reads.

Expected behavior / feature request

I understand the intention behind conservative memory management and preventing out-of-memory crashes.

However, I would strongly appreciate an opt-in legacy full-RAM expert loading mode, or documented instructions for restoring equivalent behavior in current releases.

Advanced users should be able to explicitly accept memory-pressure risks when their systems have previously demonstrated stable operation with the full expert arena.

I would also appreciate an officially supported way to retain or roll back earlier engine versions.

Additional context

The previous and current results were obtained with different prompt lengths and drafting configurations, so they are observational evidence rather than a strictly controlled A/B benchmark.

I can provide redacted engine logs and perform controlled comparisons if needed.

Related discussions: #5059 (startup readiness) and #5391 (expert cold-tier management).

Thank you for your work on Strata. I would love to regain the performance that this hardware and model combination previously achieved.

<html> <html><head></head>

Follow-up: rollback to engine 0.1.55 restores full expert residency and performance

I rolled back the engine from 0.1.57 to 0.1.55, keeping the newer Strata Desktop application, the same Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S model, and --expert-cache auto.

Verified results

Metric | Engine 0.1.57 | Engine 0.1.55 -- | -- | -- Decode speed | ~11–14 tok/s | 53.7 tok/s average across 60 requests Peak observed decode | — | 70.8 tok/s Expert residency in system RAM | ~23.16 GiB | 46.84 GiB SSD read activity during inference | Up to ~3.3 GB/s | Typically ~0.1–5.8 MB/s in sampled readings GPU expert cache | Configuration-dependent | 3,415 slots (~6.5 GB) during the audit

Relevant engine log:

strata generate: loaded 46.84 GiB at 2.90 GiB/s
strata generate: expert cache 3201 slots, 6.13 GiB of VRAM
strata generate: R4 hit path ON - resident experts are computed on the GPU
strata generate: session is up (engine 0.1.55)

Real multi-agent workload

I ran another independent code audit using four concurrent Strata subagents plus the main agent, all served by the same Qwen 180B instance.

During this workload:

  • The engine maintained approximately 50–60 tok/s on observed decode requests.

  • Windows reported approximately 61–62 GB of 63.9 GB usable system RAM in use.

  • A direct Windows check reported approximately 2.0 GiB free physical RAM.

  • The strata.exe process used approximately 40.7 GiB working set and 57.7 GiB private memory.

  • GPU dedicated memory usage was approximately 14.3–14.5 GB out of 16 GB.

  • SSD activity remained dramatically lower than under engine 0.1.57.

The CPU was running at 4.6 GHz all-core OC. GPU overclocking was disabled for this run.

Memory-pressure trade-off

I recognize that full expert residency creates substantial memory pressure. The 0.1.55 engine warned about limited Windows commit headroom, and I understand that other systems may require SSD streaming.

However, this hardware has demonstrated that full residency is feasible and dramatically faster for this workload.

Request

Could newer engines provide an explicit opt-in option to restore the 0.1.55 full expert-arena behavior, accepting the increased memory-pressure risk?

With 0.1.57, selecting Keep experts in RAM also required approximately 51 GB of additional disk space for an expert-copy file, despite having the original GGUF files. The older automatic path did not require this extra copy.

These are observations from real workloads rather than a fully controlled A/B benchmark, but the difference is substantial and reproducible on this hardware.

Thank you for considering an advanced memory-management option for users with sufficient RAM.

</html> </html>
Originally created by @jarkov87-web on GitHub (Nov 7, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5441 ### Area [Engine] Performance regression / expert memory management ### System configuration - **CPU:** AMD Ryzen 7 5700X - **GPU:** AMD Radeon RX 9070 XT 16 GB (HIP / gfx1201) - **RAM:** 64 GB DDR4-3200 - **OS:** Windows 11 - **Storage:** NVMe SSD - **Model:** Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S - **Context limit:** 204,800 tokens - **KV cache:** INT8 ### Problem After updating Strata, I experienced a severe performance regression with the same model and hardware. Previously, the model consistently generated approximately **46–50 tokens/s**, even during long-running multi-agent workloads involving millions of processed tokens. With Strata Desktop 0.2.11 and engine 0.1.57, generation has fallen to approximately **11–20 tokens/s**, while the NVMe SSD now experiences sustained heavy read activity, sometimes reaching **3.3 GB/s**. These numbers are confirmed by the engine's own logs, not just the GUI speed counter. ### Previous performance — engine 0.1.55 Actual engine log measurements: ```text 9777 generated in 197103 ms (49.6 tok/s) 237 generated in 4689 ms (50.5 tok/s) 19746 generated in 409942 ms (48.2 tok/s) ``` The engine used a full expert arena: ```text strata generate: loaded 46.84 GiB at 3.02 GiB/s ``` The system was able to sustain extended inference workloads without observed memory-related crashes, although low-memory warnings were present. ### Current performance — engine 0.1.57 ```text 2254 generated in 160734 ms (14.0 tok/s) 388 generated in 29412 ms (13.2 tok/s) ``` The new engine reports: ```text strata generate: not enough RAM for the expert arena strata generate: experts via mmap FileExpertSource: RAM budget 23.16 GiB strata generate: resident RAM mode: 23.16 GiB of experts in RAM ``` It also explicitly warns: ```text the others are read from the SSD on every chunk ``` During the workload, the engine reported more than 2,500,000 MB of cumulative expert-file reads. Interestingly, the GPU expert cache is larger in one current run (6.12 GiB) than in the previous engine run (4.75 GiB). The main difference appears to be reduced RAM residency and repeated file reads. ### Expected behavior / feature request I understand the intention behind conservative memory management and preventing out-of-memory crashes. However, I would strongly appreciate an **opt-in legacy full-RAM expert loading mode**, or documented instructions for restoring equivalent behavior in current releases. Advanced users should be able to explicitly accept memory-pressure risks when their systems have previously demonstrated stable operation with the full expert arena. I would also appreciate an officially supported way to retain or roll back earlier engine versions. ### Additional context The previous and current results were obtained with different prompt lengths and drafting configurations, so they are observational evidence rather than a strictly controlled A/B benchmark. I can provide redacted engine logs and perform controlled comparisons if needed. Related discussions: #5059 (startup readiness) and #5391 (expert cold-tier management). Thank you for your work on Strata. I would love to regain the performance that this hardware and model combination previously achieved. <html> <body> <!--StartFragment--><html><head></head><body><h2><span>Follow-up: rollback to engine 0.1.55 restores full expert residency and performance</span></h2><p><span>I rolled back the engine from </span><strong><span>0.1.57 to 0.1.55</span></strong><span>, keeping the newer Strata Desktop application, the same Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S model, and </span><code><span>--expert-cache auto</span></code><span>.</span></p><h3><span>Verified results</span></h3> Metric | Engine 0.1.57 | Engine 0.1.55 -- | -- | -- Decode speed | ~11–14 tok/s | 53.7 tok/s average across 60 requests Peak observed decode | — | 70.8 tok/s Expert residency in system RAM | ~23.16 GiB | 46.84 GiB SSD read activity during inference | Up to ~3.3 GB/s | Typically ~0.1–5.8 MB/s in sampled readings GPU expert cache | Configuration-dependent | 3,415 slots (~6.5 GB) during the audit <p><span>Relevant engine log:</span></p><pre><code><span>strata generate: loaded 46.84 GiB at 2.90 GiB/s strata generate: expert cache 3201 slots, 6.13 GiB of VRAM strata generate: R4 hit path ON - resident experts are computed on the GPU strata generate: session is up (engine 0.1.55)</span></code></pre><h3><span>Real multi-agent workload</span></h3><p><span>I ran another independent code audit using </span><strong><span>four concurrent Strata subagents plus the main agent</span></strong><span>, all served by the same Qwen 180B instance.</span></p><p><span>During this workload:</span></p><ul><li><p><span>The engine maintained approximately 50–60 tok/s on observed decode requests.</span></p></li><li><p><span>Windows reported approximately 61–62 GB of 63.9 GB usable system RAM in use.</span></p></li><li><p><span>A direct Windows check reported approximately 2.0 GiB free physical RAM.</span></p></li><li><p><span>The </span><code><span>strata.exe</span></code><span> process used approximately 40.7 GiB working set and 57.7 GiB private memory.</span></p></li><li><p><span>GPU dedicated memory usage was approximately 14.3–14.5 GB out of 16 GB.</span></p></li><li><p><span>SSD activity remained dramatically lower than under engine 0.1.57.</span></p></li></ul><p><span>The CPU was running at </span><strong><span>4.6 GHz all-core OC</span></strong><span>. GPU overclocking was disabled for this run.</span></p><h3><span>Memory-pressure trade-off</span></h3><p><span>I recognize that full expert residency creates substantial memory pressure. The 0.1.55 engine warned about limited Windows commit headroom, and I understand that other systems may require SSD streaming.</span></p><p><span>However, this hardware has demonstrated that full residency is feasible and dramatically faster for this workload.</span></p><h3><span>Request</span></h3><p><span>Could newer engines provide an </span><strong><span>explicit opt-in option to restore the 0.1.55 full expert-arena behavior</span></strong><span>, accepting the increased memory-pressure risk?</span></p><p><span>With 0.1.57, selecting </span><em><span>Keep experts in RAM</span></em><span> also required approximately </span><strong><span>51 GB of additional disk space</span></strong><span> for an expert-copy file, despite having the original GGUF files. The older automatic path did not require this extra copy.</span></p><p><span>These are observations from real workloads rather than a fully controlled A/B benchmark, but the difference is substantial and reproducible on this hardware.</span></p><p><span>Thank you for considering an advanced memory-management option for users with sufficient RAM.</span></p></body></html><!--EndFragment--> </body> </html>
Author
Owner

@GruenSein commented on GitHub (Nov 7, 2026):

I am also seeing enormously regressed performance on my 32gb RAM + 8 GB VRAM setup. I used to achieve 30 t/s and 200-300 t/s prefill with the coder IQ1 variant - even with mmap-experts. Now, I am at 100 t/s prefill and 15 t/s decode. Combining this with the difficulty of managing the settings as these are scattered all over the place and interact in unforeseeable ways, this is somewhat frustrating :(

<!-- gh-comment-id:6709469084 --> @GruenSein commented on GitHub (Nov 7, 2026): I am also seeing enormously regressed performance on my 32gb RAM + 8 GB VRAM setup. I used to achieve 30 t/s and 200-300 t/s prefill with the coder IQ1 variant - even with mmap-experts. Now, I am at 100 t/s prefill and 15 t/s decode. Combining this with the difficulty of managing the settings as these are scattered all over the place and interact in unforeseeable ways, this is somewhat frustrating :(
Author
Owner

@KodakWizard commented on GitHub (Nov 7, 2026):

I have pretty much the same problem, very similar specs too. I am currently averaging around 16 tok/s

<!-- gh-comment-id:6714486008 --> @KodakWizard commented on GitHub (Nov 7, 2026): I have pretty much the same problem, very similar specs too. I am currently averaging around 16 tok/s
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#3253
No description provided.