README: document XCL_VRAM_KEEP_SPARE_POOLS #3800
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3800"
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:38:06Z.
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:40:36Z.
Review of
cc5cdafc(code reading only, not a merge-check; draft) · 3 nitsIn short: This replaces the closed #3799, with the same text and the indentation changed. The content still matches the code. The bullet is still one level too deep: it renders as a sub-item of
XCL_WAIT_TIMEOUT_MS. Two small points from #3799's review still apply.Nit
-at 4 spaces therefore opens a sub-list inside theXCL_WAIT_TIMEOUT_MSitem, and the second line at 4 spaces stays inside it. The other switches use-(2 spaces), with continuation lines at 4. Use the same here.reclaim_empty_heapscounts the kept heaps perheap_evictableclass (vram.rs~1869): evictable pool heaps and the rest. "(evictable and not)" would tell a reader what the 1 counts.XCL_WAIT_TIMEOUT_MS, so whichever lands second has a one-line conflict.Checked and fine
keep_spare_pools(vram.rs~2071) trims and parses the value as ausize, and falls back to 1 when it is unset or not a number.0keeps none.sweep_and_reclaim).Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.
Pull request closed