Write watch: heap rounds ask only the lines written since their last asking (VICTORY_HEAP_ASK_LINES) #4653

Open
101Leafy wants to merge 1 commit from upstream-pr/4653 into main
101Leafy commented 2026-12-01 00:49:37 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-12-01T00:49:37Z.


A round over the descriptor heaps' records asked about a whole heap each time. It held all of it and walked every line with each stripe's lock taken beside the write faults, for the few blocks a round finds written. In one measured run that was 28 ms a frame of asking for 327 written blocks.

A take now splits its range into runs of lines that are known by their bits and runs that are not, and asks about each run on its own. Lines nothing wrote are answered from the journal and are not guarded again.

VICTORY_HEAP_ASK_LINES=0 asks about the range in one go, as before.

cargo check -p victory-gpu is clean.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5576610946 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4653). Originally posted by [101Leafy](https://github.com/101Leafy) on 2026-12-01T00:49:37Z. --- A round over the descriptor heaps' records asked about a whole heap each time. It held all of it and walked every line with each stripe's lock taken beside the write faults, for the few blocks a round finds written. In one measured run that was 28 ms a frame of asking for 327 written blocks. A take now splits its range into runs of lines that are known by their bits and runs that are not, and asks about each run on its own. Lines nothing wrote are answered from the journal and are not guarded again. `VICTORY_HEAP_ASK_LINES=0` asks about the range in one go, as before. `cargo check -p victory-gpu` is clean.
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/4653:upstream-pr/4653'
git switch 'upstream-pr/4653'

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/4653'
git switch 'upstream-pr/4653'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/4653'
git switch 'upstream-pr/4653'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/4653'
git switch 'main'
git merge --squash 'upstream-pr/4653'
git switch 'main'
git merge --ff-only 'upstream-pr/4653'
git switch 'main'
git merge 'upstream-pr/4653'
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!4653
No description provided.