perf(gpu): parallelize translation of eligible large thin command lists #599
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!599
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-599"
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-05 14:51 UTC · original
tommiehansen:perf/phase8-thin-split-20261205→main· +518 −14 · 3 files · 6 commits · openScope
Opt-in
VICTORY_THIN_SPLIT=1. Split only queued, closed, eligible large recordings (at least 32 chunks), preserving ordered state checkpoints and refusing unsupported commands, including indirect/compute, copies and uploads. Smaller or unsupported lists follow the existing path.Pinned native benchmark
Candidate and disabled baseline:
6f1d0d36b4342e3294b1940ffa7a82e53b508641, same binary, flag 0 vs 1. Windows WARP, four ABBA/BAAB blocks, 8 measured repetitions per arm within each trial, 4 workers. Exact thin-list job: 145692035029, artifactthin-split-evidence.4096 draw workload, median across 8 trial medians per arm:
All four paired blocks improve translation; 10 splits per enabled large trial and exact pixel oracle. Smaller lists do not show a reliable benefit and are conservatively gated. WARP submission times are not physical GPU timing or gameplay FPS. Further title traces, concurrency and hardware testing remain useful; ready for review as an opt-in, gated implementation.
Production eligibility census
Head
a494f84adds independent opt-inVICTORY_THIN_SPLIT_CENSUS=1counters for closed graphics lists, compatible lists, large lists, queued eligible lists and actual splits. The census works with splitting disabled; it does not assert gameplay frequency. Current native verification (passed). Pinned timing above applies to the earlier head; additional mixed-state and title replay coverage is still required.Current head
4e6dfd6Native checkpoint tests 2/2; WARP exact pixel oracle passes at 256, 1500 and 4096 draws. At 4096 draws, 10 splits, 1.840 ms total translation, 0.756 ms tail, 77.858 ms submit (8 measured samples; enabled-only run, not a paired comparison). At 256 draws, no split; at 1500, two splits. All-target diagnostic build passed. Previous paired results above remain pinned to the original implementation; census is opt-in. Actual title eligibility and AMD gameplay FPS are not established.
Independent RDNA4 gameplay follow-up
fsrajner, RX 9070 XT: matched intro snapshot, two interleaved repetitions, 4K FSR Quality, HWRT, FG off. Baseline 40/42 ms per frame vs enabled 40/41 ms; worst 5 s window 50.1/59.7 vs 46.5/49.3 ms. No errors. Average improvement within noise, not native-resolution evidence. Keep opt-in; promising tail behavior requires further repetitions/CPU-bound scenes.
@fsrajner on GitHub · 2026-12-05 20:06 UTC · original
A/B data point on RDNA 4. This PR was tested together with #612, #599, #553 and #608 in one build. All are opt-in, so the arms differ only by env.
Setup: RX 9070 XT 16 GB, Ryzen 7 7800X3D, CachyOS, repo-patched Mesa 26.3.1 RADV + vkd3d-proton, proton-cachyos-slr. Series X profile, 4K output with FSR 4.1.2 Quality, hardware RT (
HW_RT+LEAN_BUILDER+REUSE), frame generation off, headless gamescope. Base:main@49f5f9e+rt-7-reuse+ #542 (+ #611/#596, switched off). The four PRs merged with no conflicts.Method: the same intro snapshot every run, 120 s after the first A press. One warm-up run, then two rounds of all five arms, interleaved. "Long frames" are the
long framelines (≥ 50 ms). This scene is GPU-bound: the submit thread waits ~16 ms a frame on the card.SUBRENDER_WORKERS=8THIN_SPLIT=1JOIN_BARRIERS=1EVENT_DIRTY_SHADOWS=1View 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.