Skip the unified-memory BO scan for a single owner #233
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!233
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-233"
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?
@tommiehansen on GitHub · 2026-12-02 19:57 UTC · original
tommiehansen:perf/radv-local-bo-list→main· +19 −9 · 1 files · 1 commits · closed without mergingChange
Avoid walking the unified-memory buffer-object list during submission when all entries belong to the submitting winsys. The existing loop already excludes every such entry. Conservatively track the known common owner under the same lock used for list mutation and submission.
The mixed-owner path still reads the live handles and priorities in the original order. BO lifetime, allocation sizing, and GPU submission stay unchanged. In a single-owner workload, the skip reduces the filter's CPU work from one inspection per BO to a constant-time check.
Validation
Please compare submission CPU cost, p99 frame time and image parity at native 1080p on RX 9060 XT 16 GB and native 1440p on RX 9070 XT under Linux, with RT enabled and frame generation disabled.
Independent hardware testing
Both #248 and #233 were independently adopted by @ultimatebash in PR #267 and are included in commit 9166acc0.
The combined configuration reported the following results on an AMD Radeon RX 6750 XT (12 GB VRAM), comparing the old configuration with the new short release run:
These are independently reported results for the combined configuration, including other RAM and VRAM management changes. The runs differ in duration, and the author reports substantial run-to-run variation in separate experiments. They do not establish the individual performance contribution of either PR, but they do provide evidence of successful integration and hardware exercise on AMD. Isolated A/B measurements and RDNA4 validation remain desirable.
@tommiehansen on GitHub · 2026-12-03 11:18 UTC · original
Independent hardware testing update: @ultimatebash integrated this PR together with #248 in #267 (commit 9166acc0).
On an RX 6750 XT (12 GB), the combined configuration reported:
These results include other memory-management changes and compare runs of different durations, so they cannot be attributed to this PR alone. Nevertheless, they confirm external adoption and hardware exercise. I've updated the PR description with the evidence and its limitations. Isolated A/B testing would help establish the individual impact.
@goldfishdev on GitHub · 2026-12-03 16:57 UTC · original
Superseded by #267, which carries this change and has 12 GB hardware testing. Closing to keep the review in one place.
Pull request closed