README: document XCL_VRAM_KEEP_SPARE_POOLS #3801
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3801"
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?
Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-12-03T17:45:22Z.
Documents
XCL_VRAM_KEEP_SPARE_POOLS, which is read incrates/xcl/src/hle/d3d12x/vram.rsbut was not mentioned in the README switches list.What is in it
README.md: add anXCL_VRAM_KEEP_SPARE_POOLSbullet to the "Switches for how a title runs" sub-list, after theXCL_WAIT_TIMEOUT_MSbullet.Tested
mainate99b0bd:keep_spare_pools()parses the value as ausizeand falls back to 1; empty-pool reclaim keeps up to that many completely empty pool heaps of each class warm, so0keeps none. In that tree the variable name appears only invram.rs; the README onmainandamd-devhas no mention of it, and PR/issue search found no duplicate PR.Regression run
Not tested
AI use
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-03T17:46:14Z.
Review of
0b47c9cd(code reading only, not a merge-check; draft) · 3 nitsIn short: This is the third PR with this bullet, after the closed #3799 and #3800. The text is the same, and it still matches the code. The bullet is still indented 4 spaces, so it is still a sub-item of
XCL_WAIT_TIMEOUT_MS. The two other small points from those reviews still apply.Nit
-(2 spaces), and their continuation lines are 4 spaces. For example,- \XCL_SKIP_BINK`: …is followed byintros), …. A-at 4 spaces, as here, opens a sub-list inside theXCL_WAIT_TIMEOUT_MS` item. Change the first line to 2 spaces and the second to 4. It is enough to push the fix to this PR's branch; a new PR is not needed each time.reclaim_empty_heapscounts the kept heaps perheap_evictableclass (vram.rs~1869): evictable pool heaps and the rest.XCL_WAIT_TIMEOUT_MS, so whichever lands second has a one-line conflict.Checked and fine
keep_spare_pools(vram.rs~2071): it trims and parses ausize, and falls back to 1.0keeps none. Heaps are 64 MiB (1024 × 64 KiB), and only completely empty ones above the count are freed.Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.
Pull request closed