Host memory pressure: the free RAM lines can be moved #3584
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3584
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@BaRian29 on GitHub · 2026-11-30 01:23 UTC · original
BaRian29:pr/host-pressure-lines→main· +73 −10 · 1 files · 1 commits · openHost 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.