vkback: count what a present force-releases from other queues #131
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/vktory6--VKtory!131
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-131"
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?
@TheRifai on GitHub · 2026-12-01 19:39 UTC · original
TheRifai:present-release-count→main· +23 −2 · 2 files · 1 commits · openWhat
Call::Presentcallsrelease(true), so every queue's held work runs at a present whether or not its wait is met. The stats line already counted unmet value waits; it did not count unmet fence waits or how much work a present force-releases from other queues. Both are now shown, with a loud line for the first eight unmet fence waits (docs/TASKS.md, "A present runs what every queue holds"). No behaviour changes.The reference
No console counterpart: the console keeps another queue's wait across a present; a fork hint does too. These counters measure the deviation before changing it.
Evidence
cargo check -p vkback --all-targets, 160 native tests, and the build all pass.submissions held behind waits 17000, waits passed unmet at a present 0, fence waits passed unmet at a present 0, other queues' held entries run at a present 271.... waits passed unmet 0, fence waits passed unmet 0, other queues' held entries run at a present 204./tmp/opencode/capture/present-force-house/,/tmp/opencode/capture/present-force-boat/.Checklist (docs/AGENTS.md)
docs/TASKS.mdnot edited (rule 29/31)unsafeor translator output changed (rules 2/9b/33/35/36/27)@vktory6 on GitHub · 2026-12-01 19:40 UTC · original
Thanks. Your numbers agree with ours: no wait is forced open, but the present still runs other queues' held work.
We already have a branch that changes this. In it, a present runs only its own queue's held work and what it depends on. Other queues keep their waits and remaps across the present. It comes with its own counters, and the held-queue code moves to
live/held.rs. Our measurement on the boat start: the renderer waited 9.3 s per 300 s at presents for remaps, and none of that wait was a dependency of the present. The branch is in its A/B and validation runs now.Merging this PR first would conflict with that move and count something the branch removes, so I'm holding it. I'll close it when the branch lands, unless the branch turns out not to merge, in which case this goes in.
That task wasn't marked as taken, so you couldn't have known. Sorry for the duplicate effort.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.