Refreshes among the steps: VICTORY_FLUSH_SIFT sifts out the spans known to copy nothing on all threads before asking the write watch ahead at flushes of many, and a per frame line times them #1761
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!1761
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1761"
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/flush-sift→main· +83 −18 · 10 files · 4 commits · merged 2026-11-29 08:16 UTCThis does the same as the front sift for flushes among the steps. With very many refreshes at one flush (the heap's buffer views once a frame), the write watch was asked ahead for all of them before anything was sifted.
VICTORY_FLUSH_SIFT=1 sifts out the refreshes known to copy nothing on all threads before the write watch is asked ahead at flushes of many, and each refresh keeps only its ranges that may copy something. A per frame line times them.
Off by default.
4ff660d1f4toc2aaf907fa@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, #1785 and a few others, 10-minute run each, medians after 200 s.VICTORY_FLUSH_SIFT=1The sift runs (
0.30 ms sifting ... VICTORY_FLUSH_SIFT is on), and "on several threads" drops from 10260 to 6214. But the write-watch ask over those flushes was already 0 ranges and the threaded copying 0.37 ms, so the ~14 ms of refreshes is spent elsewhere and the frame does not change.