Title memory by address: VICTORY_MEMORY_NO_WAIT puts off a page look while a submission asks the write watch, so recording threads stop queueing on the memory mutex behind it #1729
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!1729
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1729"
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?
@101Leafy on GitHub · 2026-11-28 23:46 UTC · original
101Leafy:nv/memory-no-wait→main· +46 −18 · 12 files · 4 commits · merged 2026-11-29 08:16 UTCTitle memory looked up by address takes the memory mutex for its page look. While a submission asks the write watch, that can take seconds a frame in longer play runs, and every recording thread queues on the mutex behind it.
With
VICTORY_MEMORY_NO_WAIT=1the page look is put off while the write watch is busy. The pages keep what they last took and a later draw looks again. A page that was never taken still waits. Off by default.6f4e49cc98toe555130b01@eleboucher on GitHub · 2026-11-29 07:36 UTC · original
PC result: RTX 4070 Ti SUPER 16 GB, Ryzen 7 9800X3D, 16 GB RAM, Windows 11, native 1440p,
VICTORY_BVH_BUILDER=1 VICTORY_ACTIVATE_RAYS=1, diagnostics build of main568c5e5dplus this PR and several others (one exe, one switch per run), 10-minute runs, medians after 200 s. Same exe without the switch: 24.3 fps (p10 23.5), preparing 30.6 ms.With
VICTORY_MEMORY_NO_WAIT=1: 25.3 fps (p10 24.3), preparing 29.1 ms, about +1.0 fps. No crash. (10-minute runs; the PR mentions longer sessions, which these do not cover.)