GPU diagnostics: report marked-page batch sizes #3627

Open
github-bot wants to merge 1 commit from github-bot/gh-3627 into main AGit
Owner

@⁠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 · open

The 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:29 UTC · [original](https://github.com/Marvisak/VIctory/pull/3627) `andrewpozdnakov7-jpg:codex2/marked-page-batch-histogram` → `main` · +28 −1 · 2 files · 1 commits · open The 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](https://git.gtahub.st/github/Marvisak--VIctory/pulls/3604) · [Coordination claim](https://git.gtahub.st/github/Marvisak--VIctory/issues/1633) AI-assisted with OpenAI Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 23:29:41 +00:00
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-11-27 23:30 UTC · original

I ran the same synthetic copy-back checks on main and c59ae39 using 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.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-11-27 23:30 UTC · [original](https://github.com/Marvisak/VIctory/pull/3627#issuecomment-7230199354) I ran the same synthetic copy-back checks on main and c59ae39 using 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.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/3627/head:github-bot/gh-3627'
git switch 'github-bot/gh-3627'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-3627'
git switch 'github-bot/gh-3627'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-3627'
git switch 'github-bot/gh-3627'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-3627'
git switch 'main'
git merge --squash 'github-bot/gh-3627'
git switch 'main'
git merge --ff-only 'github-bot/gh-3627'
git switch 'main'
git merge 'github-bot/gh-3627'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!3627
No description provided.