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

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

@⁠101Leafy on GitHub · 2026-12-01 00:49 UTC · original
101Leafy:nv/heap-ask-lines → main · +60 −1 · 1 files · 1 commits · open

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.

**@⁠101Leafy** on GitHub · 2026-12-01 00:49 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4653) `101Leafy:nv/heap-ask-lines` → `main` · +60 −1 · 1 files · 1 commits · open 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.
A round of the descriptor heaps' records asked about a whole heap each time, holding all of it and walking every line with each stripe's lock taken beside the write faults, for the few blocks a round finds written. That came to 28 ms a frame of asking for 327 blocks. A take now splits its range into runs of lines that are known by their bits or not and asks about each run on its own, so lines nothing wrote are answered from the journal without being guarded again. VICTORY_HEAP_ASK_LINES=0 asks about the range in one go as before.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 00:52:16 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
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/4654/head:github-bot/gh-4653'
git switch 'github-bot/gh-4653'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-4653'
git switch 'github-bot/gh-4653'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-4653'
git switch 'github-bot/gh-4653'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-4653'
git switch 'main'
git merge --squash 'github-bot/gh-4653'
git switch 'main'
git merge --ff-only 'github-bot/gh-4653'
git switch 'main'
git merge 'github-bot/gh-4653'
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/trustno1-coder--VIctory-NVIDIA!4654
No description provided.