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