Capped adapters: the dynamic pool still gets 262,144 slots, and the copy fault budget never recovers #102
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX#102
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?
@kalijerry on GitHub · 2026-11-26 03:25 UTC · original
Follow-up to #35 (the PORTABLE_VIEWS cap) and #47 (the range search), measured on an RTX 3080 10 GB.
The measurement the two overflow cases miss
With the builder on, the copy tracker reports, per frame, on the same build:
had no copy) - v_readfirstlane/A drain runs out of its fault budget and stops filling pagesFAULTS is 128 and FAULTS_ALL 2048, and
self.faultedonly ever counts up, so after the first frame's cap is spent the rest of the session gets no more pages. 75 MB of the same 4 MiB window is also copied whole twice a frame (15.1 ms + 4.4 ms) regardless of what changed in it.Sizing: room past the cap is not the only problem
dynamic_slotsreturnsDYNAMIC(262,144) whenever the null slot is belowPORTABLE_VIEWS, so on a 3080 that fits a 1,835,008 heap the pool still only gets 262,144 slots, and the title's own slots past the cap are made afresh in it. Refusals of 2-slot tables at that size show the pool full as well as cut up - more room past the title is enough, but only if the heap is allowed to grow first.PR #96 takes the largest heap the card makes instead of the portable fallback and gives the pool room out of the title's slots past the cap, keeping a quarter of the limit for direct title slots.
Suggested order
faulteddecay, and raise FAULTS/FAULTS_ALL.Verification
0a43566+ builder + PR #96: draws dropped per frame 2,800 -> single digits.cargo test -p victory-gpu --libon the PR branch: 328 passed.