perf(gpu): eliminate CPU->GPU shadow copies, guards lock contention, and submission lock waits #234
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: launcher
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
run report
security: hold
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs gpu test
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Androtim--MiniVI#234
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?
@Androtim on GitHub · 2026-11-30 10:17 UTC · original
Measured on RTX 4060 Ti 8 GB (Series X 1440p
-PlayParity, warm shader cache,<playtest-log>):59.7–65.3 ms/frame(including23.9–28.1 mscopying49.9–51.7 MB/framein host shadows and25.5–27.3 msin guards).29148(20.2–20.5submissions/frame):59.0–59.2 msuser +18.4–20.7 mskernel time in submissions, with28.4–32.1 ms/framewaiting on the submission lock.victory_gpu::copystatwrite-tracker lock waits (all threads):149–165guardswaits/frame =74.17–78.53 ms/frame, plus346–359write faults/frame (6.22–8.01 ms).Proposed Direction
D3D12_HEAP_TYPE_GPU_UPLOADheaps where supported.watchguard metadata lock-free to eliminate74–78.5 ms/frameof cross-thread guard lock contention.Related to #170.
@Androtim on GitHub · 2026-12-02 14:18 UTC · original
Closing as superseded by #276 and merged staging/write-watch/remap improvements (#322, #324, #328).