[GH-ISSUE #4389] [Engine] ~5 tok/s on RTX 4090 + 64GB RAM #1945

Closed
opened 2026-11-04 01:55:30 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @vittorioromeo on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4389

I am only getting ~5-10 tok/s on my setup, using Strata 0.2.7 (Engine 0.1.52) on Windows 11 x64, with Qwen3.8-Flash-Next IQ3_XXS (128K context).

My specs:

Image

Monitor screenshot:

Image

Is this expected? Or is there something wrong?

Originally created by @vittorioromeo on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4389 I am only getting ~5-10 tok/s on my setup, using Strata 0.2.7 (Engine 0.1.52) on Windows 11 x64, with Qwen3.8-Flash-Next IQ3_XXS (128K context). My specs: <img width="1147" height="495" alt="Image" src="https://github.com/user-attachments/assets/28e1d346-b5d3-4920-8137-79a319a95392" /> Monitor screenshot: <img width="2746" height="2226" alt="Image" src="https://github.com/user-attachments/assets/e21ba9dd-6c4e-480a-b908-065088392b1c" /> Is this expected? Or is there something wrong?
Author
Owner

@github-actions[bot] commented on GitHub (Oct 28, 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".

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:6458280068 --> @github-actions[bot] commented on GitHub (Oct 28, 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". 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

@vittorioromeo commented on GitHub (Oct 28, 2026):

Looked into this with the engine log (strata-iq3_xxs.log). Short version: it's not the GPU, the experts are being streamed from a SATA SSD because the resident RAM budget gets clamped hard.

1. Windows commit limit clamps the resident budget. The page file is only 4 GB, so the commit limit is ~67.7 GiB. The profile asks for --resident-budget-gib 39, but:

FileExpertSource: --resident-budget-gib 39.00 exceeds available commit (19.63 GiB minus 13 GiB headroom and a 0.25 GiB margin): 6.38 GiB
strata serve: WARNING the Windows commit limit is 67.7 GiB (RAM + page file) ... Raise the page file

2. The "work" resource profile makes it worse. It sets STRATA_RESIDENT_HEADROOM_GIB=13. First launch (4 GiB headroom) got 13.87 GiB of experts resident and ~10 tok/s decode; second launch (13 GiB headroom) got 6.38 GiB resident and ~5 tok/s, which is what the screenshot shows.

3. The rest is read from a SATA drive. Models live on a Samsung 860 EVO (SATA, ~550 MB/s); the monitor shows disk read pinned at ~448 MB/s, and the log reports ~520 GB read from the GGUF since start. GPU sits at 112 W of 428 W while "100%" busy, i.e. waiting on I/O.

Planned fixes on my side:

  • Page file to 32-64 GB on NVMe so the 39 GiB budget can be honored
  • Move the models to an NVMe drive
  • Drop back to 4 GiB headroom (not the "work" profile)
  • Possibly disable vision and lower the 4.9 GB VRAM reserve (~4.4 GB VRAM idle) for more GPU cache slots

Will report back with numbers. Suggestion for Strata: when the budget gets clamped this much, surfacing it in the GUI (not just the log) would have made this obvious.

<!-- gh-comment-id:6458319447 --> @vittorioromeo commented on GitHub (Oct 28, 2026): Looked into this with the engine log (`strata-iq3_xxs.log`). Short version: it's not the GPU, the experts are being streamed from a SATA SSD because the resident RAM budget gets clamped hard. **1. Windows commit limit clamps the resident budget.** The page file is only 4 GB, so the commit limit is ~67.7 GiB. The profile asks for `--resident-budget-gib 39`, but: ``` FileExpertSource: --resident-budget-gib 39.00 exceeds available commit (19.63 GiB minus 13 GiB headroom and a 0.25 GiB margin): 6.38 GiB strata serve: WARNING the Windows commit limit is 67.7 GiB (RAM + page file) ... Raise the page file ``` **2. The "work" resource profile makes it worse.** It sets `STRATA_RESIDENT_HEADROOM_GIB=13`. First launch (4 GiB headroom) got 13.87 GiB of experts resident and ~10 tok/s decode; second launch (13 GiB headroom) got 6.38 GiB resident and ~5 tok/s, which is what the screenshot shows. **3. The rest is read from a SATA drive.** Models live on a Samsung 860 EVO (SATA, ~550 MB/s); the monitor shows disk read pinned at ~448 MB/s, and the log reports ~520 GB read from the GGUF since start. GPU sits at 112 W of 428 W while "100%" busy, i.e. waiting on I/O. **Planned fixes on my side:** - Page file to 32-64 GB on NVMe so the 39 GiB budget can be honored - Move the models to an NVMe drive - Drop back to 4 GiB headroom (not the "work" profile) - Possibly disable vision and lower the 4.9 GB VRAM reserve (~4.4 GB VRAM idle) for more GPU cache slots Will report back with numbers. Suggestion for Strata: when the budget gets clamped this much, surfacing it in the GUI (not just the log) would have made this obvious.
Author
Owner

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

Thanks, this follows the format now.

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

@vittorioromeo commented on GitHub (Nov 4, 2026):

This was caused by the page file size capacity being too small on Windows.

<!-- gh-comment-id:6644120661 --> @vittorioromeo commented on GitHub (Nov 4, 2026): This was caused by the page file size capacity being too small on Windows.
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#1945
No description provided.