GPU diagnostics: report marked-page batch sizes #3627
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!3627
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3627"
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?
@andrewpozdnakov7-jpg on GitHub · 2026-11-27 23:29 UTC · original
andrewpozdnakov7-jpg:codex2/marked-page-batch-histogram→main· +28 −1 · 2 files · 1 commits · openThe copy-back benchmark in #3604 found that scratch reuse behaves differently for one-page calls and larger batches. The existing aggregate page total does not show which call sizes are common.
Report raw call counts for 1, 2–15, 16–255, and 256 or more compared pages in each diagnostics reporting window. The count is taken after withheld ranges are filtered. Empty calls do not enter the histogram.
On Windows with app-local WARP 1.0.22 and D3D12 Agility 1.620.2, two synthetic calls still report three compared pages in total. The new line shows one call in each of the first two buckets. One of the calls also supplies a withheld page. A separate counter test checks the bucket boundaries and verifies that the following window is empty.
Benchmark motivating this measurement · Coordination claim
AI-assisted with OpenAI Codex.
@andrewpozdnakov7-jpg on GitHub · 2026-11-27 23:30 UTC · original
I ran the same synthetic copy-back checks on main and
c59ae39using app-local WARP 1.0.22 and Agility SDK 1.620.2. Both reported three compared pages. The new batch line reported one single-page call and one 2–15 page call. One of those calls also supplied a withheld page, which was excluded from the batch size.The four bucket boundaries and the reporting-window reset passed. The existing GPU suite passed 246 tests, with one ignored. The app-local SDK identity check and strict GPU Clippy with default and all features also passed.
The follow-up measurement is to collect these four counts during the same workload used in the #3604 benchmark, so the maintainers can see which synthetic batch sizes are representative.
If you reuse the code, please retain the Git author on cherry-pick or rebase, or add Co-authored-by: andrewpozdnakov7-jpg [email protected] if folding it into another commit.
View 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.