[GH-ISSUE #2295] 16GB RTX 5080 + 96GB RAM: intermittent VirtualAlloc error 1450 on expert-arena large pages + long-context (150-200k) stability data #922

Closed
opened 2026-11-04 01:47:04 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @guodongliang5689 on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2295

Hi Niko,

First of all — thank you for building Strata. It's genuinely impressive engineering, and it turned a 16 GB consumer card into a daily driver for a 125B model. Much appreciated.

Hardware: RTX 5080 16 GB (TUF), Core Ultra 7 265K (8P+12E, AVX2, no AVX-512), 96 GB DDR5 (48×2), TUF Z890, Windows 11. Single user, single GPU.

Setup: IQ3_S pack, --max-context 262144 --kv int8 --kv-resident 32768 --vram-reserve-mib 1212 --pcie-frac 1.00 --spec 4 --mtp --pool-workers 5 --adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97. Engine 0.1.42.

  1. Intermittent VirtualAlloc error 1450 on the expert arena (large pages)

Since 10-12, the expert arena (50,295,996,416 B) is refused at engine start on some boots but not others:

Boot Large pages Load speed
10-12 06:16 OK 3.17 GiB/s
10-12 12:42 refused → 4KB 3.79 GiB/s
10-12 18:38 refused → 4KB 2.87 GiB/s
10-13 17:02 refused → 4KB 1.55 GiB/s
10-13 22:00 OK 1.89 GiB/s

Same config, same machine. The only variable seems to be the system commit/working-set state at boot (log: "14.9 GiB left of a 107.1 GiB commit limit" on refused boots). Is this the lock-pages working-set quota (ERROR_WORKING_SET_QUOTA)? Would a pagefile tweak make large pages reliable here? Happy to run any diagnostic you suggest.

  1. Long-context stability (150k–200k tokens, zero errors)

This is why Strata is my daily driver:

  • 150–200k ctx decode: mean 86.7–91.5 tok/s (median ~89), peak 110
  • Max context reached: 200,248 tokens; 200k+ single sample 90.8 tok/s
  • Cold prefill: ~3316–3515 tok/s at 150k–180k tokens
  • Draft acceptance pooled: 85.1–89.8%
  • KV streaming hit: 94.7–99.3%; PCIe re-fetch 22–40% (mostly 25–33%) at near-full context
  • 326-request session: 779k generated tokens, instance avg 97.9 tok/s, zero errors

Happy to attach the full log if useful. Thanks again — the 0.1.42 TAIL_SKIP / PCIe-share work clearly pays off on this shape of machine.

Originally created by @guodongliang5689 on GitHub (Oct 13, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/2295 Hi Niko, First of all — thank you for building Strata. It's genuinely impressive engineering, and it turned a 16 GB consumer card into a daily driver for a 125B model. Much appreciated. Hardware: RTX 5080 16 GB (TUF), Core Ultra 7 265K (8P+12E, AVX2, no AVX-512), 96 GB DDR5 (48×2), TUF Z890, Windows 11. Single user, single GPU. Setup: IQ3_S pack, `--max-context 262144 --kv int8 --kv-resident 32768 --vram-reserve-mib 1212 --pcie-frac 1.00 --spec 4 --mtp --pool-workers 5 --adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97`. Engine 0.1.42. 1) Intermittent `VirtualAlloc error 1450` on the expert arena (large pages) Since 10-12, the expert arena (50,295,996,416 B) is refused at engine start on some boots but not others: | Boot | Large pages | Load speed | |---|---|---| | 10-12 06:16 | OK | 3.17 GiB/s | | 10-12 12:42 | refused → 4KB | 3.79 GiB/s | | 10-12 18:38 | refused → 4KB | 2.87 GiB/s | | 10-13 17:02 | refused → 4KB | 1.55 GiB/s | | 10-13 22:00 | OK | 1.89 GiB/s | Same config, same machine. The only variable seems to be the system commit/working-set state at boot (log: "14.9 GiB left of a 107.1 GiB commit limit" on refused boots). Is this the lock-pages working-set quota (ERROR_WORKING_SET_QUOTA)? Would a pagefile tweak make large pages reliable here? Happy to run any diagnostic you suggest. 2) Long-context stability (150k–200k tokens, zero errors) This is why Strata is my daily driver: - 150–200k ctx decode: mean 86.7–91.5 tok/s (median ~89), peak 110 - Max context reached: 200,248 tokens; 200k+ single sample 90.8 tok/s - Cold prefill: ~3316–3515 tok/s at 150k–180k tokens - Draft acceptance pooled: 85.1–89.8% - KV streaming hit: 94.7–99.3%; PCIe re-fetch 22–40% (mostly 25–33%) at near-full context - 326-request session: 779k generated tokens, instance avg 97.9 tok/s, zero errors Happy to attach the full log if useful. Thanks again — the 0.1.42 TAIL_SKIP / PCIe-share work clearly pays off on this shape of machine.
Author
Owner

@denchu-unagi commented on GitHub (Oct 16, 2026):

Same error here (1450 on the expert arena's large pages). In my case it appears after repeated restarts within one boot, and the file cache is not the cause:

  • Setup: 2x RTX 5060 Ti 16 GB, i5-12400F, 96 GB DDR4-3200, Windows 11, Strata 0.1.44.1, GSQ-RCO IQ3_XXS (expert arena 42,916,118,528 B), SeLockMemoryPrivilege granted.
  • Large pages succeed on the first launches after a reboot, but fail with VirtualAlloc error 1450 after repeated restarts within the same boot.
  • After stopping Strata: Free & Zero list 69.8 GB -> still 1450.
  • After clearing the standby list (RAMMap -Et): Free & Zero 76.1 GB, standby 0.04 GB -> still 1450.
  • Commit is not the limit here either: the serve log reports 23.4 GiB left of 139.8 GiB after the 4 KB fallback has committed the 40 GiB arena, so roughly 63 GiB was free when the large-page request failed. A commit or working-set quota shortage would normally return 1455 or 1453, not 1450.

This points to physical fragmentation rather than insufficient free RAM or commit. The arena is allocated with a single MEM_LARGE_PAGES VirtualAlloc (src/core/pinned.cu) and falls back entirely to 4 KB pages on failure.

Could the arena be allocated in chunks (e.g., 1 GiB) with a per-chunk fallback? If a single contiguous virtual range is required, placeholders (VirtualAlloc2 + MapViewOfFile3 with large-page sections) may keep it contiguous.

For reference, 4 KB pages did not affect decode speed here (56.4 vs 55.9 tok/s); only startup was slower (27-31 s vs 33-42 s).

<!-- gh-comment-id:6208703416 --> @denchu-unagi commented on GitHub (Oct 16, 2026): Same error here (1450 on the expert arena's large pages). In my case it appears after repeated restarts within one boot, and the file cache is not the cause: - Setup: 2x RTX 5060 Ti 16 GB, i5-12400F, 96 GB DDR4-3200, Windows 11, Strata 0.1.44.1, GSQ-RCO IQ3_XXS (expert arena 42,916,118,528 B), `SeLockMemoryPrivilege` granted. - Large pages succeed on the first launches after a reboot, but fail with `VirtualAlloc` error 1450 after repeated restarts within the same boot. - After stopping Strata: Free & Zero list 69.8 GB -> still 1450. - After clearing the standby list (`RAMMap -Et`): Free & Zero 76.1 GB, standby 0.04 GB -> still 1450. - Commit is not the limit here either: the serve log reports 23.4 GiB left of 139.8 GiB after the 4 KB fallback has committed the 40 GiB arena, so roughly 63 GiB was free when the large-page request failed. A commit or working-set quota shortage would normally return 1455 or 1453, not 1450. This points to physical fragmentation rather than insufficient free RAM or commit. The arena is allocated with a single `MEM_LARGE_PAGES` `VirtualAlloc` (`src/core/pinned.cu`) and falls back entirely to 4 KB pages on failure. Could the arena be allocated in chunks (e.g., 1 GiB) with a per-chunk fallback? If a single contiguous virtual range is required, placeholders (`VirtualAlloc2` + `MapViewOfFile3` with large-page sections) may keep it contiguous. For reference, 4 KB pages did not affect decode speed here (56.4 vs 55.9 tok/s); only startup was slower (27-31 s vs 33-42 s).
Author
Owner

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

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6270934079 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for taking the time to report this. We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
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#922
No description provided.