Refreshes in front: VICTORY_FRONT_SIFT sifts out the spans known to copy nothing on all threads before asking the write watch ahead, and a per frame line times the sift, the asking and the copies #1760
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!1760
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1760"
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:57 UTC · original
101Leafy:nv/front-sift→main· +71 −18 · 10 files · 4 commits · merged 2026-11-29 08:16 UTCWith very many refreshes in front of a submission, the write watch was asked ahead for all of them, and each one was sifted next to the others' copies. With few refreshes the ones known to copy nothing were already sifted out first.
VICTORY_FRONT_SIFT=1 sifts out the spans known to copy nothing on all threads before the write watch is asked ahead, so it is only asked about the ones left, and the threads then share what copies. A per frame line times the sift, the asking and the copies.
Off by default.
c4c0bc2ec0to4e42a1d8e5@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_FRONT_SIFT=1: 24.9 fps (p10 23.7), preparing 30.0 ms. The sift runs ("refreshes in front of submissions per frame: 3.3-3.6 ms sifting ... 9.8-10.9 copying on the threads"), so the front work is now visible but the frame barely moves: the remaining cost is in the threaded copying, not in asking the write watch (0 ranges). No crash.