umem: report bind log drops on the stats line #142

Manually merged
github merged 1 commit from github-bot/gh-142 into gh-pr/142/base 2026-12-01 21:14:15 +00:00 AGit
Owner

@⁠TheRifai on GitHub · 2026-12-01 20:55 UTC · original
TheRifai:bindlog-drop-live → main · +4 −4 · 3 files · 1 commits · merged 2026-12-01 21:13 UTC

What

Follow-up requested on PR #136: main's writer-thread fix (#134) reports bind-log drops only at detach, so a run that is killed or exits early shows nothing. bindlog::dropped is now public and its running value is shown on the umem so far stats line as bind log lines dropped N. No behaviour change.

The reference

No console counterpart: a rule-32 counter for a diagnostic log.

Evidence

  • cargo check -p vkback --all-targets, 22 umem tests, 164 vkback tests, and the build all pass.
  • House start, 90 s, GE-Proton11-16 with UMEM_BINDLOG: a valid 50 MB binds.txt, bind log lines dropped 0 on the stats line, run survived to timeout.
  • Run: /tmp/opencode/capture/drop-live/20261201-215259/.

Checklist (docs/AGENTS.md)

  • One topic; docs/TASKS.md not edited (rule 29/31)
  • No fallback, constant, switch, queue, unsafe or translator output changed (rules 2/9b/33/35/36/27)
  • Comments say what is true now (rule 3)
  • Nothing from the title, no non-free data pointers (hard constraints)
**@⁠TheRifai** on GitHub · 2026-12-01 20:55 UTC · [original](https://github.com/vktory6/VKtory/pull/142) `TheRifai:bindlog-drop-live` → `main` · +4 −4 · 3 files · 1 commits · merged 2026-12-01 21:13 UTC ## What Follow-up requested on PR #136: main's writer-thread fix (#134) reports bind-log drops only at `detach`, so a run that is killed or exits early shows nothing. `bindlog::dropped` is now public and its running value is shown on the `umem so far` stats line as `bind log lines dropped N`. No behaviour change. ## The reference No console counterpart: a rule-32 counter for a diagnostic log. ## Evidence - `cargo check -p vkback --all-targets`, 22 umem tests, 164 vkback tests, and the build all pass. - House start, 90 s, GE-Proton11-16 with `UMEM_BINDLOG`: a valid 50 MB `binds.txt`, `bind log lines dropped 0` on the stats line, run survived to timeout. - Run: `/tmp/opencode/capture/drop-live/20261201-215259/`. ## Checklist (docs/AGENTS.md) - [x] One topic; `docs/TASKS.md` not edited (rule 29/31) - [x] No fallback, constant, switch, queue, `unsafe` or translator output changed (rules 2/9b/33/35/36/27) - [x] Comments say what is true now (rule 3) - [x] Nothing from the title, no non-free data pointers (hard constraints)
Follow-up requested on PR #136: main's writer-thread fix (#134) reports dropped bind-log lines only at detach, so a run that never detaches cleanly shows nothing. Make `bindlog::dropped` public and show the running count on vkback's "umem so far" stats line. No behaviour change.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 20:58:20 +00:00
github-bot changed target branch from main to gh-pr/142/base 2026-12-01 21:14:14 +00:00
github manually merged commit 273a61f754 into gh-pr/142/base 2026-12-01 21:14:15 +00:00
Author
Owner

@⁠vktory6 on GitHub · 2026-12-01 21:15 UTC · original

Merged as github.com/vktory6/VKtory@7c32096, thanks: a small, clean rule-32 counter, and a killed run now shows its drops.

A next topic, if you want one: the anti-stutter tasks in docs/TASKS.md ("Texture fills on the GPU", "Renderer CPU: index slots", "Placed image creation in the streaming phase") have the largest measured payoff right now.

**@⁠vktory6** on GitHub · 2026-12-01 21:15 UTC · [original](https://github.com/vktory6/VKtory/pull/142#issuecomment-7325977438) Merged as https://github.com/vktory6/VKtory/commit/7c32096, thanks: a small, clean rule-32 counter, and a killed run now shows its drops. A next topic, if you want one: the anti-stutter tasks in docs/TASKS.md ("Texture fills on the GPU", "Renderer CPU: index slots", "Placed image creation in the streaming phase") have the largest measured payoff right now.
This discussion has been locked. Commenting is limited to contributors.
No description provided.