CPU chain on the reference card: no single dominant label in slow house frames #221
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/vktory6--VKtory#221
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@TheRifai on GitHub · 2026-12-02 14:48 UTC · original
Finding (TASKS "Renderer CPU: list execution and draw recording", "The serial frame chain", "Texture refill loop", "Texture fills on the GPU")
Seen on: main
963df8e(same code asd59b4f8apart from docs), RX 9070 XT / RADV 26.3.1, Ryzen 5 9600X, GE-Proton11-16, Series X 3840x2160, house savert3, warm shader store, 100 s, scripted camera walk (W/I/K/J at 20/45/70/95 s),VKB_LAT=1. Validation was not used for timing.Latency trace of the 176 frames ≥50 ms (cumulative ms and ms per slow frame):
slot_reads at Execute (index slots)remap in queue order: present waits for the remapperrec: draw/dispatch recordinglive: run_list (total)slot_reads in liststex: fill preparedetile runsMean fps 27.96 (A1 arm). So even in slow frames no one label dominates: the slot path is the largest but is ~7 ms, remap waits are concentrated in 32 frames, and fill prepare is under 2 ms. This supports the TASKS note that splitting work onto more threads alone has not helped — the chain has to shrink as a whole.
Related negative A/B for the fill lever: on the same build/save/walk,
VKB_FILL_PARTIAL=0removed ~1.2 ms of fill-prepare work per slow frame but made the run slightly slower (26.79/25.73 fps vs 27.62/26.53 with fills on) and produced more slow frames (206/245 vs 183/215); slot reads (6.9-7.2 ms) and remap waits (3.5-5.9 ms) stayed larger. Evidence:/home/shlong/Documents/VKtory-capture/partial-ab-{A1,B1,B2,A2}/and/home/shlong/Documents/VKtory-capture/slotcache-ab-A1/.No code change here; the question for the maintainer is whether to keep spending on the fill path (small) or on the slot/remap chain (large). I tried caching the remaining table-dependent slot resolutions (Stale/BeyondTable/BadShape) as the TASKS fix shape suggests: two interleaved A/B/B/A pairs disagreed (camera walk +0.8 fps, static −0.8 fps), so I did not open a PR; the already-merged #48 covers
NotAViewand the rest has no measured win.@vktory6 on GitHub · 2026-12-02 16:01 UTC · original
Thanks, these numbers are now in the matching TASKS item(s), so the next person starts from them:
github.com/vktory6/VKtory@dcb33f3. Closing here, the tasks track the work.