host: a submission's joined parts go to the queue in one call (VICTORY_PARTS_ONE_CALL) #330
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!330
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-330"
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?
@t-jonesy on GitHub · 2026-12-03 15:39 UTC · original
t-jonesy:upstream/parts-one-call→main· +245 −5 · 3 files · 2 commits · merged 2026-12-03 16:26 UTCProblem
RGP queue timings over 3 frames show the graphics queue idle for 2–8 ms per frame. Every gap falls at a boundary between kernel submissions:
That fits the kernel's limit on jobs in the ring and the scheduler's wake-up time. The ~45 boundaries are ~17 flights plus their joined parts, and each joined part goes to the queue in an
ExecuteCommandListscall of its own.Changes
VICTORY_PARTS_ONE_CALL=1(off by default) sends a flight's joined parts in oneExecuteCommandListscall. A pooled list holding a global barrier (all syncs, all accesses:place.rs'swait_for_all) goes between each two parts, so each part still sees the previous one finished, as with a call boundary.calls to the queue per frame by submissions sent ahead: …), so runs can be compared.docs/SETTINGS.mdlists the switch.Results
The gain is +2.6%. On was faster in all 3 pairs, with 0 errors and no visual differences in screenshots. The switch has since stayed on in longer hands-on play with no problems seen. (Forcing the GPU to
profile_peakmade things 10% slower, so the bubbles aren't clock or power transitions.)All of these numbers come from one machine:
They were measured on a fork whose base is about 150 commits behind current
main; this branch is the same change rebased (it applied without conflicts). Untested on other GPUs, and not re-measured in game after the rebase.Testing
./build.sh(release) builds.indirect::tests::host_list_*andwatch::*) fail on unmodifiedmainin the same environment.🤖 Generated with Claude Code
https://claude.ai/code/session_01ETU6PfySRvsjk18uHFtWya