mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2478] CPU prefill share stays unarmed on a 32 GB machine; forcing it gives 1.8-2.2× prompt speed with no failures #1011
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1011
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dongli99 on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2478
RTX 3080 Laptop 8 GB, 32 GB RAM, Linux, Strata 0.1.44.1, Coder IQ1_M, setup's config (
--prefill auto, resident low-RAM mode), two starts from a cool GPU on the same day:STRATA_PREFILL_CPU_SHARE=autoWithout the env, the log says
the CPU prefill share is not armed by default: the experts it would read are 2.9 GiB of file pages and only 4.3 GiB of RAM is free to keep them. With it, the engine warns that the sharecan slow prompts or fail on a machine this short of memory(1.0 GiB of file pages, 3.6 GiB free), then runs at the speeds above.The resident set is decided the same way. Over three starts with the same config,
resident RAM modekept 19.43, 21.30 and 23.10 GiB of experts (the last withSTRATA_RESIDENT_HEADROOM_GIB=3). The first start warnedthe whole resident RAM mode does not fit (... resident complement 22.33 GiB exceeds available RAM (23.68 GiB) minus the 4 GiB safety headroom; 24.4 GiB of the RAM is file cache ...). We could not separate a decode effect of the resident size (one start each, overlapping ranges).On a 32 GB machine, prompt speed therefore depends on what ran before the start. Is the free-RAM threshold for the share conservative for the resident mode? Could setup measure the share once and record
STRATA_PREFILL_CPU_SHARE=autowhen it helps?@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:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.
@oldwinter commented on GitHub (Oct 24, 2026):
Re-tested on 0.2.4.1 / engine 0.1.48 as asked: still off by default, and on a Gyro-S setup it is worth 2.9-3.4x prompt reading (66 -> 238 tok/s at 3.2K, 138 -> 446 tok/s at 11.7K) with no failures.
Full data, including the observation that the planner's own read estimate gets worse (85 GB -> 253 GB per 32K prompt, chunk 8192 -> 2048) while throughput triples, is in #3923.