Cache per-part buffer spans in the heap sweep #337
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!337
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-337"
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?
@XaviFortes on GitHub · 2026-11-26 17:29 UTC · original
XaviFortes:upstream/buffer-sweep→main· +131 −24 · 1 files · 1 commits · openSummary
Deduplicate descriptor slots selected by the rolling scan and the write journal. Cache buffer spans per sweep partition and rebuild a partition when a slot replacement or removal invalidates its span. Preserve the existing refresh cadence and unwatched-copy throttling.
Tested and benchmarked in VIctory-RDNA on an RX 7900 XT with Series X at 4K output. An earlier warm run reached a 42.5 ms heap-buffer pass before device removal. A later build with this change recorded an 8.55 ms final-minute median. The builds and scenes differed, so a controlled long-run A/B test would help isolate the gain.
Cherry-picked from
f8eb38d. Happy to adjust the patch to upstream style.View 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.