Copies with nothing new: VICTORY_NEW_BATCH=1 answers a flush's copies together, the write journal read once for all of them instead of once a copy (each copy's own three locks still once each, a copy is in a flush once) #1785
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!1785
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1785"
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-29 00:05 UTC · original
101Leafy:nv/new-batch→main· +135 −25 · 12 files · 4 commits · merged 2026-11-29 08:16 UTCAt a flush, each copy was asked on its own whether it holds anything new, and every one of those asks read the write journal again.
With VICTORY_NEW_BATCH=1 the flush's copies are answered together: each copy's own locks are still taken once, but the journal is read once for all of them. Notes copied out of a copy can only be older than the copy's own, so the answer can only say "changed" more often, never less.
Off by default.
055302cea9toc2121de9bc@eleboucher on GitHub · 2026-11-29 04:52 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, #1761 and a few others, 10-minute run each, medians after 200 s.VICTORY_NEW_BATCH=1With the switch on, the answers move from the threads to the submitting thread (about 11,000 refreshes a frame here, ~10,000 of them copying nothing), and the submitting thread is the critical path in this run, so the frame gets ~1.3 fps slower.