[GH-ISSUE #20] Windows 11 + RTX 5090: builds and runs; page-file sizing caps the RAM tier; GSQ-RCO 3.5-bit slower than llama.cpp #9

Closed
opened 2026-10-29 21:19:04 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @anbow1 on GitHub (Oct 8, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/20

Thanks for Maya! First report from Windows with an NVIDIA GPU, as the README asks.

Hardware / software

  • RTX 5090 32 GB (CC 12.0), PCIe 5.0
  • Ryzen 7 9800X3D (8 cores / 16 threads, AVX-512)
  • 128 GB DDR5 (127.4 GB usable)
  • Model on SanDisk Extreme Pro 1 TB NVMe (G:); page file on separate NVMe drives (C:, F:)
  • Windows 11, NVIDIA driver 617.42
  • CUDA 13.3 (only toolkit installed), VS 2022 Build Tools, CMake 4.4, Python 3.14.5
  • Project Maya v1.0.13

What worked

  • --check passed; the engine and vision encoder compiled fine with CUDA 13.3 + VS 2022 Build Tools (not 12.8).
  • Setup with --gguf-dir on an existing GSQ-RCO 3.5-bit file worked; images on, context 131072.

Issue 1: page file limits the RAM tier (big effect)

With a 17 GB, then 8 GB page file, the commit limit was ~135 GB. With 31 GB of VRAM charged to it,
the engine sized its RAM tier at ~90 GB although 27 GB of physical RAM stayed free
(min(ullAvailPhys, ullAvailPageFile) in glm_fast_path.cu). The SSD ran at 76% busy, ~770 MB/s.

  • Before: commit 127/135 GB (94%), engine 90.5 GB RAM, 2.4-4.1 tok/s
  • After adding a 64 GB page file on F: (commit limit 199 GB): engine 112 GB RAM, 8.4-11 tok/s

--check does warn, but the hint ("System managed, or larger than your VRAM") was not enough here:
"System managed" ended up at only 8 GB. Suggestion: have --check compute the needed size
(model + VRAM − RAM + headroom) and print it, or warn at engine start when the commit limit,
not physical RAM, caps the RAM tier.

Issue 2: decode slower than llama.cpp on the same file

Same GGUF (GSQ-RCO 3.5-bit), same PC, 128K context, images on, thinking_budget: 0:

Backend Decode
Maya v1.0.13 (after the page-file fix) 8.4-11 tok/s
llama.cpp ~13.6 tok/s (end-to-end average over my coding benchmark)
ExLlamaV3 3.05 bpw (TabbyAPI) ~10.7 tok/s

Observations while decoding: expert cache hit 45-51% (not rising after several requests),
SSD still 50% busy at 330-520 MB/s, CPU ~63%, VRAM 31/32 GB, 6 GB RAM free.
Guess: an 8-core CPU may bottleneck the CPU lane for RAM-tier experts; PCIe 5.0 x16 might do better with a higher PCIE_SHARE.

--calibrate: [TODO: not run yet / result: …]

Minor

  • The default thinking_budget of 32768 is easy to miss when comparing with other backends;
    maybe print it in the startup summary alongside the context.

Attached: maya-report.txt, maya-bench.txt

maya-report.txt
maya-bench.txt

Originally created by @anbow1 on GitHub (Oct 8, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/20 Thanks for Maya! First report from Windows with an NVIDIA GPU, as the README asks. ## Hardware / software - RTX 5090 32 GB (CC 12.0), PCIe 5.0 - Ryzen 7 9800X3D (8 cores / 16 threads, AVX-512) - 128 GB DDR5 (127.4 GB usable) - Model on SanDisk Extreme Pro 1 TB NVMe (G:); page file on separate NVMe drives (C:, F:) - Windows 11, NVIDIA driver 617.42 - CUDA 13.3 (only toolkit installed), VS 2022 Build Tools, CMake 4.4, Python 3.14.5 - Project Maya v1.0.13 ## What worked - `--check` passed; the engine and vision encoder **compiled fine with CUDA 13.3 + VS 2022 Build Tools** (not 12.8). - Setup with `--gguf-dir` on an existing GSQ-RCO 3.5-bit file worked; images on, context 131072. ## Issue 1: page file limits the RAM tier (big effect) With a 17 GB, then 8 GB page file, the commit limit was ~135 GB. With 31 GB of VRAM charged to it, the engine sized its RAM tier at ~90 GB although **27 GB of physical RAM stayed free** (`min(ullAvailPhys, ullAvailPageFile)` in `glm_fast_path.cu`). The SSD ran at 76% busy, ~770 MB/s. - Before: commit 127/135 GB (94%), engine 90.5 GB RAM, **2.4-4.1 tok/s** - After adding a 64 GB page file on F: (commit limit 199 GB): engine 112 GB RAM, **8.4-11 tok/s** `--check` does warn, but the hint ("System managed, or larger than your VRAM") was not enough here: "System managed" ended up at only 8 GB. Suggestion: have `--check` compute the needed size (model + VRAM − RAM + headroom) and print it, or warn at engine start when the commit limit, not physical RAM, caps the RAM tier. ## Issue 2: decode slower than llama.cpp on the same file Same GGUF (GSQ-RCO 3.5-bit), same PC, 128K context, images on, `thinking_budget: 0`: | Backend | Decode | |---|---:| | Maya v1.0.13 (after the page-file fix) | 8.4-11 tok/s | | llama.cpp | ~13.6 tok/s (end-to-end average over my coding benchmark) | | ExLlamaV3 3.05 bpw (TabbyAPI) | ~10.7 tok/s | Observations while decoding: expert cache hit 45-51% (not rising after several requests), SSD still 50% busy at 330-520 MB/s, CPU ~63%, VRAM 31/32 GB, 6 GB RAM free. Guess: an 8-core CPU may bottleneck the CPU lane for RAM-tier experts; PCIe 5.0 x16 might do better with a higher `PCIE_SHARE`. `--calibrate`: [TODO: not run yet / result: …] ## Minor - The default `thinking_budget` of 32768 is easy to miss when comparing with other backends; maybe print it in the startup summary alongside the context. Attached: `maya-report.txt`, `maya-bench.txt` [maya-report.txt](https://github.com/user-attachments/files/33216134/maya-report.txt) [maya-bench.txt](https://github.com/user-attachments/files/33216135/maya-bench.txt)
Author
Owner

@mw00 commented on GitHub (Oct 8, 2026):

Thank you, this is the first Windows + NVIDIA report, and a very useful one. Both issues are addressed in v1.0.15.

Issue 1, the page file. You're right: the commit limit, not the RAM, was capping the RAM tier, and nothing said so.

  • --check now asks for a page file of at least your VRAM + 8 GB (40 GB here) and says what a smaller one costs. It also warns that "System managed" can stay at 8 GB.
  • The engine prints a warning in the server window at start when the commit limit caps its RAM tier below the free RAM, with how much to add.

Issue 2, decode below llama.cpp. Three things in the engine held this machine back. Two are fixed in v1.0.15 (#24, found by @tanutanu56 in #13):

  1. The CPU / PCIe split was measured on an idle link. At start the engine times expert copies over PCIe to decide how many RAM-tier experts the CPU computes. GeForce cards hold the link at Gen1 when idle, so your PCIe 5.0 x16 link measured several times slower than it runs, and the 8-core CPU got most of the RAM-tier experts (your guess was right). The timing now runs with the GPU kept busy.
  2. Experts leaving VRAM were read again from the SSD when a token needed them before their copy to RAM had landed. Part of the SSD traffic you saw was this.
  3. 137 GB on 32 GB VRAM + 128 GB RAM is right at the edge. After Windows, the 6 GB headroom and the KV cache, a few GB of the coldest experts stay on the SSD. 128K context also takes VRAM the expert cache could use; at 32K more experts fit.

After updating (git pull, then START-MAYA.bat), could you:

  • run START-MAYA.bat --calibrate once (it measures real decode with a few CPU / PCIe splits);
  • then post --bench and --report?

The glm stat lines in the report show disk reads per token and the CPU lane, which tells us what's left.

<!-- gh-comment-id:6069348555 --> @mw00 commented on GitHub (Oct 8, 2026): Thank you, this is the first Windows + NVIDIA report, and a very useful one. Both issues are addressed in [v1.0.15](https://github.com/mw00/project-maya/releases/tag/v1.0.15). **Issue 1, the page file.** You're right: the commit limit, not the RAM, was capping the RAM tier, and nothing said so. - `--check` now asks for a page file of at least your VRAM + 8 GB (40 GB here) and says what a smaller one costs. It also warns that "System managed" can stay at 8 GB. - The engine prints a warning in the server window at start when the commit limit caps its RAM tier below the free RAM, with how much to add. **Issue 2, decode below llama.cpp.** Three things in the engine held this machine back. Two are fixed in v1.0.15 (#24, found by @tanutanu56 in #13): 1. **The CPU / PCIe split was measured on an idle link.** At start the engine times expert copies over PCIe to decide how many RAM-tier experts the CPU computes. GeForce cards hold the link at Gen1 when idle, so your PCIe 5.0 x16 link measured several times slower than it runs, and the 8-core CPU got most of the RAM-tier experts (your guess was right). The timing now runs with the GPU kept busy. 2. **Experts leaving VRAM were read again from the SSD** when a token needed them before their copy to RAM had landed. Part of the SSD traffic you saw was this. 3. **137 GB on 32 GB VRAM + 128 GB RAM is right at the edge.** After Windows, the 6 GB headroom and the KV cache, a few GB of the coldest experts stay on the SSD. 128K context also takes VRAM the expert cache could use; at 32K more experts fit. After updating (`git pull`, then `START-MAYA.bat`), could you: - run `START-MAYA.bat --calibrate` once (it measures real decode with a few CPU / PCIe splits); - then post `--bench` and `--report`? The `glm stat` lines in the report show disk reads per token and the CPU lane, which tells us what's left.
Author
Owner

@anbow1 commented on GitHub (Oct 9, 2026):

15-18t/s!
so slightly faster than main llama. well done!
maya-report.txt
maya-bench.txt

<!-- gh-comment-id:6075285852 --> @anbow1 commented on GitHub (Oct 9, 2026): 15-18t/s! so slightly faster than main llama. well done! [maya-report.txt](https://github.com/user-attachments/files/33235957/maya-report.txt) [maya-bench.txt](https://github.com/user-attachments/files/33235956/maya-bench.txt)
Author
Owner

@mw00 commented on GitHub (Oct 11, 2026):

Thank you, good to see 15-18 tok/s on Windows. The page-file finding led to the commit-limit checks: --check recommends a page-file size, and the engine warns at start when Windows' commit limit, not the RAM, caps the RAM tier. Closing this as done. Please open a new issue if anything comes back on a current release.

<!-- gh-comment-id:6104669458 --> @mw00 commented on GitHub (Oct 11, 2026): Thank you, good to see 15-18 tok/s on Windows. The page-file finding led to the commit-limit checks: `--check` recommends a page-file size, and the engine warns at start when Windows' commit limit, not the RAM, caps the RAM tier. Closing this as done. Please open a new issue if anything comes back on a current release.
Sign in to join this conversation.
No labels
pull-request
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
mw00/project-maya#9
No description provided.