GPU diagnostics: measure pipeline worker backlog during shared shader waits #1604
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
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
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
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/Marvisak--VIctory!1604
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1604/head"
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?
@ToxicmaggotRP on GitHub · 2026-11-24 19:42 UTC · original
ToxicmaggotRP:diagnostics/pipeline-runnable-backlog→main· +548 −23 · 3 files · 8 commits · closed without merging[## Summary
Adds diagnostics-only measurements for pipeline worker occupancy while shader translations are shared through
OnceLock.This is a measurement step related to #1509. Existing translation-wait timings show that workers can block on another worker's shader initialization, but they do not show whether more pipeline jobs remain queued during those waits.
This patch measures that overlap before proposing any scheduling change.
Changes
diagnosticsfeature; normal builds and scheduling behaviour are unchanged.Scope and limitations
This PR does not introduce a dependency-aware scheduler or claim a frame-time improvement.
A non-empty queue does not by itself prove that every queued pipeline is independently runnable. These measurements are intended to establish whether the suspected worker starvation is occurring in real workloads.
Verification
mainatffe310e.scheduler_metrics.rs.Please treat this as a draft for review of the instrumentation and its measurement semantics.](#1604)
Pull request closed