Report dynamic descriptor allocation pressure #2570

Open
Yoruiopz wants to merge 1 commit from upstream-pr/2570 into main
Yoruiopz commented 2026-11-29 14:26:25 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Yoruiopz on 2026-11-29T14:26:25Z.


Problem

A dynamic descriptor request can fail when the heap has too few free slots or when its free slots are split into small runs. The released bitmap allocator logs the request size on the first miss. The periodic host line counts binds that were dropped after recovery was attempted.

Change

  • Include free slots, capacity, and fragmentation in the first failure warning.
  • Report capacity misses, fragmentation misses, recovered tables, and dropped binds in the same reporting interval. Allocator misses count individual attempts, including retries and root views.

Validation

  • Built the release and passed the focused allocator unit test and the asset policy for all three changed files.
  • On an RTX 5070 Laptop GPU with a 262,144-slot dynamic heap, the first failed request needed 123 consecutive slots while 4,090 slots were free. One interval recorded 136 fragmentation misses, 136 recovered tables, and zero dropped binds. The next interval recorded 228 fragmentation misses and 13 dropped binds. Both intervals had zero capacity misses.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5551654357 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2570). Originally posted by [Yoruiopz](https://github.com/Yoruiopz) on 2026-11-29T14:26:25Z. --- ## Problem A dynamic descriptor request can fail when the heap has too few free slots or when its free slots are split into small runs. The released bitmap allocator logs the request size on the first miss. The periodic host line counts binds that were dropped after recovery was attempted. ## Change - Include free slots, capacity, and fragmentation in the first failure warning. - Report capacity misses, fragmentation misses, recovered tables, and dropped binds in the same reporting interval. Allocator misses count individual attempts, including retries and root views. ## Validation - Built the release and passed the focused allocator unit test and the asset policy for all three changed files. - On an RTX 5070 Laptop GPU with a 262,144-slot dynamic heap, the first failed request needed 123 consecutive slots while 4,090 slots were free. One interval recorded 136 fragmentation misses, 136 recovered tables, and zero dropped binds. The next interval recorded 228 fragmentation misses and 13 dropped binds. Both intervals had zero capacity misses.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2570:upstream-pr/2570'
git switch 'upstream-pr/2570'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2570'
git switch 'upstream-pr/2570'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2570'
git switch 'upstream-pr/2570'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2570'
git switch 'main'
git merge --squash 'upstream-pr/2570'
git switch 'main'
git merge --ff-only 'upstream-pr/2570'
git switch 'main'
git merge 'upstream-pr/2570'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA!2570
No description provided.