[GH-ISSUE #4024] [Engine] Strix Halo performance degradation #1735

Closed
opened 2026-11-04 01:53:35 +07:00 by bsakaguchi · 10 comments
Owner

Originally created by @MaxBeaud on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4024

I am on Linux and using AMD strix halo with 128gb of ram (96 vram) and I've just updated Strata and noticed drastic performance degradation. From ~50tok/s to ~15. Not only that before it was loading more into vram (50gb vs 24 now) and no CPU was used. Now I notice a lot of CPU usage and disk usage.

I am now using the qwen3-8-flash-next-unsloth-ud-iq4-xs model but the same behaviour was observed on the Q3 model (the one that initially gave me ~50tok/s). I only changed model because I did a fresh install.

For the version I am on the main branch (7dd5cf18). I am using the ./setup and ./upgrade scripts and not the app to run the engine.
Sorry if this is a bit vague or not structured enough I'll be happy to give more information.

Originally created by @MaxBeaud on GitHub (Oct 24, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4024 I am on Linux and using AMD strix halo with 128gb of ram (96 vram) and I've just updated Strata and noticed drastic performance degradation. From ~50tok/s to ~15. Not only that before it was loading more into vram (50gb vs 24 now) and no CPU was used. Now I notice a lot of CPU usage and disk usage. I am now using the qwen3-8-flash-next-unsloth-ud-iq4-xs model but the same behaviour was observed on the Q3 model (the one that initially gave me ~50tok/s). I only changed model because I did a fresh install. For the version I am on the main branch (7dd5cf18). I am using the ./setup and ./upgrade scripts and not the app to run the engine. Sorry if this is a bit vague or not structured enough I'll be happy to give more information.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 24, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".
  • Add the Strata version (Settings > About, or strata --version).

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6391016742 --> @github-actions[bot] commented on GitHub (Oct 24, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". - [ ] Add the Strata version (Settings > About, or `strata --version`). Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@MaxBeaud commented on GitHub (Oct 24, 2026):

/reopen

<!-- gh-comment-id:6391087782 --> @MaxBeaud commented on GitHub (Oct 24, 2026): /reopen
Author
Owner

@github-actions[bot] commented on GitHub (Oct 24, 2026):

Not reopened yet. Still missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".
  • Re-test on Strata 0.2.0-beta and name that version in the issue. If it no longer happens, say so in a comment instead.

Edit the issue and comment /reopen again. Details: CONTRIBUTING.md

<!-- gh-comment-id:6391088940 --> @github-actions[bot] commented on GitHub (Oct 24, 2026): Not reopened yet. Still missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". - [ ] Re-test on Strata 0.2.0-beta and name that version in the issue. If it no longer happens, say so in a comment instead. Edit the issue and comment `/reopen` again. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@MaxBeaud commented on GitHub (Oct 25, 2026):

/reopen no
I also tested it on dfa3f402 (tag: v0.2.4.2) and the behaviour is the same.

<!-- gh-comment-id:6391303292 --> @MaxBeaud commented on GitHub (Oct 25, 2026): /reopen no I also tested it on dfa3f402 (tag: v0.2.4.2) and the behaviour is the same.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 25, 2026):

Not reopened yet. Still missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".
  • Re-test on Strata 0.2.0-beta and name that version in the issue. If it no longer happens, say so in a comment instead.

Edit the issue and comment /reopen again. Details: CONTRIBUTING.md

<!-- gh-comment-id:6391304728 --> @github-actions[bot] commented on GitHub (Oct 25, 2026): Not reopened yet. Still missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". - [ ] Re-test on Strata 0.2.0-beta and name that version in the issue. If it no longer happens, say so in a comment instead. Edit the issue and comment `/reopen` again. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 25, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6393718654 --> @github-actions[bot] commented on GitHub (Oct 25, 2026): Thanks, this follows the format now.
Author
Owner

@MaxBeaud commented on GitHub (Oct 25, 2026):

/reopen no
sorry title didnt update

<!-- gh-comment-id:6393721423 --> @MaxBeaud commented on GitHub (Oct 25, 2026): /reopen no sorry title didnt update
Author
Owner

@Niko1221 commented on GitHub (Oct 26, 2026):

Thank you, it is useful even if short. To find out what changed, please attach: the engine start log (the lines 'expert cache N slots', the VRAM/RAM totals it prints, and the engine version line), the exact launch command or run config, and which release you came from. Then, with the same model, try the current release 0.2.6 (or main) and tell us the tok/s and the 'expert cache' line. If the old Q3 file is still on disk, run it once on 0.2.6 as well: the drop from 50 to 15 tok/s with half the experts in graphics memory looks like a cache-size or placement change, but a different model (IQ4_XS is larger than Q3) can cause the same on its own.

<!-- gh-comment-id:6423260208 --> @Niko1221 commented on GitHub (Oct 26, 2026): Thank you, it is useful even if short. To find out what changed, please attach: the engine start log (the lines 'expert cache N slots', the VRAM/RAM totals it prints, and the engine version line), the exact launch command or run config, and which release you came from. Then, with the same model, try the current release 0.2.6 (or main) and tell us the tok/s and the 'expert cache' line. If the old Q3 file is still on disk, run it once on 0.2.6 as well: the drop from 50 to 15 tok/s with half the experts in graphics memory looks like a cache-size or placement change, but a different model (IQ4_XS is larger than Q3) can cause the same on its own.
Author
Owner

@MaxBeaud commented on GitHub (Oct 26, 2026):

Here is the log. I did a update to get the latest changes from main. I flushed the Q3_S model on reinstall but was getting the same token decrease. I am redownloading it an will post the same startup log when done.

Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU)
  [ok] GPU: AMD Radeon 8060S (Ryzen AI Max, Strix Halo, gfx1151) (111 GB, AMD)

  ----------------------------------------------------------------------------------------------------
  Starting qwen3.8-flash-next-unsloth-ud-iq4_xs: it loads 34-55 GB into RAM and locks part of it for the GPU.
  While it does, YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES (longer the first time after a
  restart). That is normal: please wait and don't close this window - the browser opens when it is ready.
  Later, closing this window stops the model.
  ----------------------------------------------------------------------------------------------------
  Settings (strata-unsloth-ud-iq4_xs.json): --expert-cache auto --prefill auto --spec 4 --spec-min-p
    0.5 --max-context 262144 --kv int8 --resident-budget-gib 8 --vision --vram-reserve-mib 700; server
    127.0.0.1:8080
loading the vision encoder ...
loading the model (the first start takes a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] engine priority: nice +5 (this PC has built-in Radeon graphics that usually draw the desktop; STRATA_ENGINE_NICE=0 turns it off)
[strata] loading the most-used experts into RAM (up to 8 GiB; the rest are read from the model files as needed) and locking part of them for the GPU.
         YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal.
         Please wait and don't close this window; the browser opens when it is ready.
[strata] filling the GPU's expert cache (5745 experts, 12.94 GiB of VRAM) ...
[strata] almost ready ...
ready: http://127.0.0.1:8080/v1  (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 262144 tokens, images on)
       open http://127.0.0.1:8080/ in a browser to chat; close this window to stop the model
<!-- gh-comment-id:6423441059 --> @MaxBeaud commented on GitHub (Oct 26, 2026): Here is the log. I did a update to get the latest changes from main. I flushed the Q3_S model on reinstall but was getting the same token decrease. I am redownloading it an will post the same startup log when done. ``` Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU) [ok] GPU: AMD Radeon 8060S (Ryzen AI Max, Strix Halo, gfx1151) (111 GB, AMD) ---------------------------------------------------------------------------------------------------- Starting qwen3.8-flash-next-unsloth-ud-iq4_xs: it loads 34-55 GB into RAM and locks part of it for the GPU. While it does, YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES (longer the first time after a restart). That is normal: please wait and don't close this window - the browser opens when it is ready. Later, closing this window stops the model. ---------------------------------------------------------------------------------------------------- Settings (strata-unsloth-ud-iq4_xs.json): --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --resident-budget-gib 8 --vision --vram-reserve-mib 700; server 127.0.0.1:8080 loading the vision encoder ... loading the model (the first start takes a minute or two) ... [strata] starting the engine: reading the model's weights ... [strata] engine priority: nice +5 (this PC has built-in Radeon graphics that usually draw the desktop; STRATA_ENGINE_NICE=0 turns it off) [strata] loading the most-used experts into RAM (up to 8 GiB; the rest are read from the model files as needed) and locking part of them for the GPU. YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal. Please wait and don't close this window; the browser opens when it is ready. [strata] filling the GPU's expert cache (5745 experts, 12.94 GiB of VRAM) ... [strata] almost ready ... ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 262144 tokens, images on) open http://127.0.0.1:8080/ in a browser to chat; close this window to stop the model ```
Author
Owner

@MaxBeaud commented on GitHub (Oct 26, 2026):

The Q3_s did get better performance at first it quickly degraded, and the starting performance also wasnt as good before. The other thing is that the usage of CPU and RAM vs GPU VRAM still seems unbalanced even causing multiple system freezes (when infering).

Image

The btop screenshot isn't all that but it clearly show that something is hitting the CPU and heavy RAM loading bias. Also I want quick enough to capture it because the system froze but the GPU usage isn't 99-100% as it was before.

 Starting qwen3.8-flash-next-iq3_s: it loads about 55 GB into RAM and locks part of it for the GPU.
  While it does, YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES (longer the first time after a
  restart). That is normal: please wait and don't close this window - the browser opens when it is ready.
  Later, closing this window stops the model.
  ----------------------------------------------------------------------------------------------------
  Settings (strata-iq3_s.json): --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5
    --max-context 262144 --kv int8 --resident-experts --vision --vram-reserve-mib 700; server
    127.0.0.1:8080
loading the vision encoder ...
loading the model (the first start takes a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] engine priority: nice +5 (this PC has built-in Radeon graphics that usually draw the desktop; STRATA_ENGINE_NICE=0 turns it off)
[strata] loading the experts the GPU does not hold into RAM (of about 55 GB) and locking part of them for the GPU.
         YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal.
         Please wait and don't close this window; the browser opens when it is ready.
[strata] filling the GPU's expert cache (7466 experts, 14.16 GiB of VRAM) ...
[strata] almost ready ...
ready: http://127.0.0.1:8080/v1  (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 262144 tokens, images on)
       open http://127.0.0.1:8080/ in a browser to chat; close this window to stop the model
[strata] done: 0 tokens in 11 s (no speed) (cancel, cancel=True)
[strata] thinking: 24 of budget 196337 (max 261782) tokens, 30.2 tok/s, 1 s
[strata] answering: 58 of max 261782 tokens, 31.5 tok/s, 2 s
[strata] done: 73 tokens in 2 s (32.0 tok/s) (stop, cancel=False), expert cache 79.5% hit
[strata] thinking: 13 of budget 196268 (max 261690) tokens, 30.0 tok/s, 1 s
[strata] answering: 50 of max 261690 tokens, 33.8 tok/s, 2 s
[strata] answering: 87 of max 261690 tokens, 34.9 tok/s, 3 s
[strata] answering: 97 of max 261690 tokens, 5.5 tok/s, 18 s
[strata] answering: 98 of max 261690 tokens, 4.9 tok/s, 21 s
[strata] answering: 132 of max 261690 tokens, 6.3 tok/s, 22 s
[strata] answering: 155 of max 261690 tokens, 7.0 tok/s, 23 s
[strata] answering: 189 of max 261690 tokens, 8.1 tok/s, 24 s
[strata] answering: 201 of max 261690 tokens, 7.5 tok/s, 28 s
[strata] answering: 213 of max 261690 tokens, 7.6 tok/s, 29 s
[strata] answering: 225 of max 261690 tokens, 7.5 tok/s, 31 s
[strata] answering: 239 of max 261690 tokens, 7.7 tok/s, 32 s
[strata] answering: 251 of max 261690 tokens, 7.8 tok/s, 33 s
[strata] answering: 269 of max 261690 tokens, 7.9 tok/s, 35 s
[strata] answering: 281 of max 261690 tokens, 8.0 tok/s, 36 s
[strata] answering: 289 of max 261690 tokens, 4.0 tok/s, 72 s
[strata] answering: 289 of max 261690 tokens, 3.5 tok/s, 82 s
[strata] answering: 289 of max 261690 tokens, 3.2 tok/s, 92 s
[strata] answering: 290 of max 261690 tokens, 3.0 tok/s, 96 s
[strata] answering: 303 of max 261690 tokens, 3.1 tok/s, 98 s
[strata] answering: 318 of max 261690 tokens, 3.2 tok/s, 99 s
[strata] answering: 326 of max 261690 tokens, 3.3 tok/s, 100 s
[strata] answering: 334 of max 261690 tokens, 3.3 tok/s, 102 s
[strata] answering: 349 of max 261690 tokens, 3.4 tok/s, 103 s
[strata] answering: 364 of max 261690 tokens, 3.5 tok/s, 104 s
[strata] answering: 386 of max 261690 tokens, 3.7 tok/s, 105 s
[strata] answering: 402 of max 261690 tokens, 3.8 tok/s, 106 s
[strata] answering: 410 of max 261690 tokens, 3.8 tok/s, 107 s
[strata] answering: 423 of max 261690 tokens, 3.9 tok/s, 109 s
[strata] answering: 435 of max 261690 tokens, 4.0 tok/s, 110 s
[strata] answering: 439 of max 261690 tokens, 4.0 tok/s, 112 s
[strata] answering: 443 of max 261690 tokens, 3.9 tok/s, 113 s
[strata] answering: 448 of max 261690 tokens, 3.6 tok/s, 124 s
[strata] answering: 450 of max 261690 tokens, 3.6 tok/s, 125 s

Hope this helps @Niko1221 .

<!-- gh-comment-id:6425062202 --> @MaxBeaud commented on GitHub (Oct 26, 2026): The Q3_s did get better performance at first it quickly degraded, and the starting performance also wasnt as good before. The other thing is that the usage of CPU and RAM vs GPU VRAM still seems unbalanced even causing multiple system freezes (when infering). <img width="956" height="612" alt="Image" src="https://github.com/user-attachments/assets/f6c652f4-2c7e-41a5-8bd0-07af6ca8d602" /> The btop screenshot isn't all that but it clearly show that something is hitting the CPU and heavy RAM loading bias. Also I want quick enough to capture it because the system froze but the GPU usage isn't 99-100% as it was before. ``` Starting qwen3.8-flash-next-iq3_s: it loads about 55 GB into RAM and locks part of it for the GPU. While it does, YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES (longer the first time after a restart). That is normal: please wait and don't close this window - the browser opens when it is ready. Later, closing this window stops the model. ---------------------------------------------------------------------------------------------------- Settings (strata-iq3_s.json): --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --resident-experts --vision --vram-reserve-mib 700; server 127.0.0.1:8080 loading the vision encoder ... loading the model (the first start takes a minute or two) ... [strata] starting the engine: reading the model's weights ... [strata] engine priority: nice +5 (this PC has built-in Radeon graphics that usually draw the desktop; STRATA_ENGINE_NICE=0 turns it off) [strata] loading the experts the GPU does not hold into RAM (of about 55 GB) and locking part of them for the GPU. YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal. Please wait and don't close this window; the browser opens when it is ready. [strata] filling the GPU's expert cache (7466 experts, 14.16 GiB of VRAM) ... [strata] almost ready ... ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 262144 tokens, images on) open http://127.0.0.1:8080/ in a browser to chat; close this window to stop the model [strata] done: 0 tokens in 11 s (no speed) (cancel, cancel=True) [strata] thinking: 24 of budget 196337 (max 261782) tokens, 30.2 tok/s, 1 s [strata] answering: 58 of max 261782 tokens, 31.5 tok/s, 2 s [strata] done: 73 tokens in 2 s (32.0 tok/s) (stop, cancel=False), expert cache 79.5% hit [strata] thinking: 13 of budget 196268 (max 261690) tokens, 30.0 tok/s, 1 s [strata] answering: 50 of max 261690 tokens, 33.8 tok/s, 2 s [strata] answering: 87 of max 261690 tokens, 34.9 tok/s, 3 s [strata] answering: 97 of max 261690 tokens, 5.5 tok/s, 18 s [strata] answering: 98 of max 261690 tokens, 4.9 tok/s, 21 s [strata] answering: 132 of max 261690 tokens, 6.3 tok/s, 22 s [strata] answering: 155 of max 261690 tokens, 7.0 tok/s, 23 s [strata] answering: 189 of max 261690 tokens, 8.1 tok/s, 24 s [strata] answering: 201 of max 261690 tokens, 7.5 tok/s, 28 s [strata] answering: 213 of max 261690 tokens, 7.6 tok/s, 29 s [strata] answering: 225 of max 261690 tokens, 7.5 tok/s, 31 s [strata] answering: 239 of max 261690 tokens, 7.7 tok/s, 32 s [strata] answering: 251 of max 261690 tokens, 7.8 tok/s, 33 s [strata] answering: 269 of max 261690 tokens, 7.9 tok/s, 35 s [strata] answering: 281 of max 261690 tokens, 8.0 tok/s, 36 s [strata] answering: 289 of max 261690 tokens, 4.0 tok/s, 72 s [strata] answering: 289 of max 261690 tokens, 3.5 tok/s, 82 s [strata] answering: 289 of max 261690 tokens, 3.2 tok/s, 92 s [strata] answering: 290 of max 261690 tokens, 3.0 tok/s, 96 s [strata] answering: 303 of max 261690 tokens, 3.1 tok/s, 98 s [strata] answering: 318 of max 261690 tokens, 3.2 tok/s, 99 s [strata] answering: 326 of max 261690 tokens, 3.3 tok/s, 100 s [strata] answering: 334 of max 261690 tokens, 3.3 tok/s, 102 s [strata] answering: 349 of max 261690 tokens, 3.4 tok/s, 103 s [strata] answering: 364 of max 261690 tokens, 3.5 tok/s, 104 s [strata] answering: 386 of max 261690 tokens, 3.7 tok/s, 105 s [strata] answering: 402 of max 261690 tokens, 3.8 tok/s, 106 s [strata] answering: 410 of max 261690 tokens, 3.8 tok/s, 107 s [strata] answering: 423 of max 261690 tokens, 3.9 tok/s, 109 s [strata] answering: 435 of max 261690 tokens, 4.0 tok/s, 110 s [strata] answering: 439 of max 261690 tokens, 4.0 tok/s, 112 s [strata] answering: 443 of max 261690 tokens, 3.9 tok/s, 113 s [strata] answering: 448 of max 261690 tokens, 3.6 tok/s, 124 s [strata] answering: 450 of max 261690 tokens, 3.6 tok/s, 125 s ``` Hope this helps @Niko1221 .
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#1735
No description provided.