[pr-performance] Play: less RAM kept — windows grown only as asked, spare blocks scaled and halved #59
Loading…
Reference in a new issue
No description provided.
Delete branch "Coder629nx/Darner:less-ram-kept"
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?
What it changes
RAM reports keep naming two keepings: empty texture blocks and windows of title memory that reach past what the title asked.
DARNER_SPARE_BLOCKS) is halved to 32, 2 GiB (pool.rs), andDARNER_SPARE_SCALE=1, now set indarner.exeandplay-nvidia.ps1, caps them by the card's budget besides: withDARNER_RIPE_BLOCKS=0a 16 GiB card keeps 8 blocks (512 MiB) and a 24 GiB card 12, under the 32-block cap.DARNER_WINDOW_GROW=1andDARNER_WINDOW_BUFFER_END=1, now set indarner.exeandplay-nvidia.ps1, grow a window only over what was asked and hold an unsized read no further than its buffer's end.A switch set by hand wins as before, and all three stay off outside
darner.exeand the launcher. README rows updated.How it was tested
4a92569plus this one change; no rig, no on-rig measurement of commit, private bytes, shared GPU memory or fps yet.the_powershell_launcher_sets_no_play_default_differentlytest; simulated here, runs in CI), and the pool scaling table inpool.rs's tests asserts against the constants and passes with the halved cap.DARNER_PLACED_NORMAL) is already on by default, and without a rig no new leak was identified. What this does is bound the two documented growth paths — spare blocks by the card's budget, windows to what was asked and the buffer's end — so neither can grow past its ceiling again.mainwould settle it.Checklist
main.docs/asset-policy.md(text only: README, two .rs files, one .ps1).Checked for overlap
da1a6e3d5atoeefe01913eView 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.