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
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-29T00:05:26Z.
At 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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by eleboucher on 2026-11-29T04:52:56Z.
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.