Sampled slots: intersect readback marks with evicted indices before queueing wakes #3129
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!3129
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3129"
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?
@Heldenkrieger01 on GitHub · 2026-11-29 20:10 UTC · original
Heldenkrieger01:t3/optimize-readback-eviction→main· +83 −24 · 1 files · 1 commits · openRelated to #2608, which changes readback timing and queue priority. This reduces work per completed sweep when many marks and few wakeable slots intersect. Every sampled slot still gets its last-seen stamp. The eviction bitset and map share a lock so a matching index queues all its heaps.
Synthetic CPU benchmark, 1,048,576 slots, eight matching evictions, median of 31 timed sweeps after four warmups. Dense marks went from 4.02 ms to 1.31 ms. With 128 marks the extra scan raised the time from 23.9 µs to 53.5 µs. Frame rate was unmeasured.
All three sampled tests passed in an isolated rustc harness. Staged asset policy passed. The Windows GNU crate test executable built but exited with STATUS_ACCESS_VIOLATION even on --list.
Reviewed with sol-loop: 2 rounds with GPT-6.2-Sol. Sol verdict: approved.
Created with GPT-6.2-Astra in the Codex harness.
90de8c4560tof96d5ba533f96d5ba533to8a91912199View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.