A block just written rests 0.5 ms, not 3 #138
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!138
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-138"
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?
@mgrein on GitHub · 2026-11-30 17:21 UTC · original
mgrein:guard-rest-500→main· +0 −0 · 0 files · 48 commits · closed without mergingwatch::rest()decides how long a guarded block the title just opened by a write stays open (VICTORY_GUARD_REST, 3,000 µs until now). While it rests, the block counts as written at every asking, so every refresh that takes it copies it again. In the world of a new retail game there are ~17 askings a frame, so at 3 ms a resting block was copied many times over.This changes the default to 500 µs and adds
VICTORY_GUARD_REST_AB=<a>:<b>, which switches between two values every 20 seconds and logs each switch (guard-rest switch <unix ms> on|off), for an A/B inside one run.VICTORY_GUARD_REST=<µs>and=0work as before.Measured
RTX 4070, Ryzen 5 5600X, Series S profile, DLSS quality + frame generation,
VICTORY_SUBMIT_SPLIT=1,VICTORY_ASK_FIRST=1,VICTORY_OFF_LINE=1. 15-minute idle runs in the world, pairing neighbouring 20 s windows (an A/A run with the same method came out at 13 of 25, so the pairing is unbiased):So 500 µs is about the sweet spot. Shorter rests copy less but fault more, and with no rest at all the extra faults cancel the smaller copies. A longer "hot" rest (
VICTORY_GUARD_HOT=50) went the other way: copies 62 → 109 MB, frame +5 ms.cargo test -p victory-gpu --libpasses (a_block_just_written_restssets its own rest).🤖 Generated with Claude Code
@readmet3xt-lab on GitHub · 2026-12-01 01:36 UTC · original
A note on why this shows as closed: GitHub closed every open pull request by itself when main's history was rewritten on 2026-12-01 (text-only changes; every commit hash changed), and they cannot be reopened. This is not a rejection.
Your change is in the batch being tested for the next release, carried over as one commit with you as its author. Nothing is needed from you now; the result will be posted here.
Pull request closed