README: document XCL_VRAM_KEEP_SPARE_POOLS #3802
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3802"
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:52: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:54:52Z.
Review of
1e4616d6(code reading only, not a merge-check; draft) · 2 nitsIn short: This is the fourth PR with this bullet, after the closed #3799, #3800 and #3801. The indentation is now right: the bullet is a switch of its own, like the ones around it. The content matches the code. Two small points from the earlier reviews remain, and nothing blocks it.
Nit
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
-with a 4-space continuation line, likeXCL_SKIP_BINKand the other switches, so it no longer renders underXCL_WAIT_TIMEOUT_MS.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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.