Host memory pressure: the free RAM lines can be moved #3584
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3584"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by BaRian29 on 2026-11-30T01:23:51Z.
Host memory pressure: the free RAM lines can be moved
Branch:
BaRian29:pr/host-pressure-lines(one commit onmain41adb551)Open: https://github.com/trustno1-coder/VIctory-NVIDIA/compare/main...BaRian29:VIctory-NVIDIA:pr/host-pressure-lines
Summary
VICTORY_HOST_PRESSURE_MBandVICTORY_HOST_PRESSURE_CLEAR_MBmove the free RAM at which host memory pressure begins and ends. The defaults are unchanged: 3 and 5 GiB.A 32 GB PC stayed in pressure for a whole Series S run with 50 GB still left to commit, so texture prefetch was held back the whole time. That PC now runs with
VICTORY_HOST_PRESSURE_MB=1536andVICTORY_HOST_PRESSURE_CLEAR_MB=2560. The commit lines are not moved.The lines are read once (
physical_lines,OnceLock). A clear line below the enter line is raised to it, so pressure cannot flap.next_pressure(was, physical, commit, lines)holds the rule and has a test. Also documents the oneunsafeblock ofmemory_status.Testing
main(same 34 / 35 warnings;mainfails-D warningsinvictory-shaderandvictory-loader).cargo test -p victory-gpu --lib -- --test-threads=1: 922 passed, with the new pressure-lines test. The one failure,shader_cache::tests::every_switch_of_the_translator_is_in_the_key, is also onmain.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.