Cache per-part buffer spans in the heap sweep #337
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from avatarmanz/VIctory-7900XTX. Originally posted by XaviFortes on 2026-11-26T17:29:28Z.
Summary
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.