Refreshes: the journal taken per check of a copy known to copy nothing (VICTORY_JOURNAL_SHORT=1) #372
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/readmet3xt-lab--foxhound!372
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-372"
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?
@yagizakkaya01 on GitHub · 2026-12-01 19:36 UTC · original
yagizakkaya01:pr/journal→main· +26 −8 · 2 files · 72 commits · closed without mergingRequested by yağız akkaya · project thread
For #361.
The checks of copies known to copy nothing held the write watch journal's read lock for a whole batch: 32 checks on a helper, up to 256 on the submitting thread. std's RwLock lets no new reader in while a writer waits, so whenever a landing or a refresh that asked the kernel wanted to note pages, every other reader queued behind it. In a diagnostics timeline the refresh helpers and the submitting thread stood 2.5–4.8 ms at once on
JOURNAL. WithVICTORY_JOURNAL_SHORT=1each check takes the lock on its own. Off by default.Machine 1 (as in PR 1; switches otherwise the launcher's,
WIDE_THREADS=8). Measured together withPRIORITY_TIERS=2,1,0(PR 4), not alone:preparing per frame: 66 → 54 msMachine 2 (as in PR 1, all four changes together): refreshes 10.7 → 6.9 ms, asking the write watch 7.0 → 5.7 ms.
A run with this switch alone is still to come.
🤖 Generated with Claude Code
@readmet3xt-lab on GitHub · 2026-12-01 21:09 UTC · original
Thank you. Taken behind its switch (
VICTORY_JOURNAL_SHORT, off by default) and being measured. We'll report the results here.Pull request closed