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
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-28T23:46:39Z.
Title 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.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by eleboucher on 2026-11-29T07:36:06Z.
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.)