mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
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#1564
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 @bobgitmcgrath on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3734
Environment
strata-0.1.47-dual(v0.2.2-era source build),serve/server.py--peer-device 1, experts in GTT/system RAM); 121 GiB usable system RAMtools/iq_pack.py(native_experts v4) referencing the GGUF shards in placeSummary
When serving a pack whose experts are read in place from the native GGUF shards, the engine's expert file pages accumulate as non-reclaimable memory on top of the
--resident-budget-gibpage-locked pool — roughly doubling the expert RAM footprint.posix_fadvise(POSIX_FADV_DONTNEED)across all shards frees nothing, so the pages are pinned/dma-mapped rather than ordinary cache. On a 128 GB unified box this forces--resident-budget-gibbelow the lend-coverage threshold (#669), which turns 50K+-token prompts into SSD streams.Measurements (30-s audit series, five windows, load → battery → restore)
UD-Q5_K_XL,
--resident-budget-gib 48, steady state under load:gtt_used55.6 GB)UD-IQ4_XS (production, same pattern, smaller): engine RssFile 29.1 GB with MemAvailable ~66 GiB — comfortable only because the model is smaller.
The fadvise test
After a full Q5 load (MemAvailable 4 GiB at that moment):
No meaningful release — consistent with the pages being mapped/pinned for GPU access rather than plain page cache.
Impact
48) leaves the lend region fully uncovered — the engine reports1001 of 1001 lendable slots (100%) will read their experts from the pack during a long prompt(#669) — so 50K+-token prompts stream experts from SSD (~206 tok/s prompt reads measured).54→ 65 % covered,56–58→ full) drops MemAvailable to 3–4 GiB and trips OOM-floor guards;--conversation-cache-min-free-mibthrottling kicks in constantly.Asks
Any of these would let UD-Q5_K_XL run with full lend coverage on this class of machine; today the choice is uncovered lend (slow 50K+ prompts) or OOM-floor instability.
Evidence available
Full 30-s audit series (meminfo incl. Shmem/Mlocked/Unevictable/Cached/AnonPages/Swap, per-card sysfs
mem_info_vram_used/mem_info_gtt_used, engine VmRSS/VmLck/RssAnon/RssFile) across five windows, plus engine logs showing the #669 lend lines at budgets 48/54. Happy to attach.@github-actions[bot] commented on GitHub (Oct 22, 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:
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
@github-actions[bot] commented on GitHub (Oct 28, 2026):
Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection.
To bring it back: fix the title (area prefix) and the missing parts, then comment
/reopen. A check runs and reopens it, or tells you what is still missing. See CONTRIBUTING.md.