gpu: opt-in shared-memory pressure reaction (VICTORY_SEGMENT_TIGHT, review fixes) #161
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/ReTerryDavis--ReVIctory!161
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-160"
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?
@SovietBearz0r on GitHub · 2026-12-05 18:27 UTC · original
SovietBearz0r:razda-segment-tight→main· +266 −1 · 2 files · 1 commits · openReplaces the closed #103 with the review fixed: strictly off by default, and the hot-submit synchronous-drain problem removed.
Maintainer points addressed
VICTORY_SEGMENT_TIGHT=1..=100arms it (unwrap_or(92)gone); unset/0/invalid are off, and when off the function returns before any clock read or DXGIvideo_memory()query. README: off by default, 92 design point, 85 for the 8 GB safe preset,0disables, frame-time data on a spilling GPU is the gate.settleon everysend_lateremoved: while latched tight the settle happens at most once per 250 ms and never twice for one submission; other submissions trim idle lists/preludes (no GPU wait) and pipeline normally. One-per-crossing log line kept (with shared MB/budget and threshold).pct,sample,react).host.rs(no reformat otherwise).Verification
cargo test -p victory-gpu --lib: 719 passed, 0 failed, 21 ignored (+3: default-off, hysteresis, rate-limit incl. 10 submissions in one window → 1 settle); clippy-D warningsdefault and--all-featuresclean;cargo xtask policy442 files;cargo test -p xtask9;git diff --check.=92vs=85, watch the two crossing lines and settle counts. If you'd rather keep it out of tree until such a run exists, the branch is ready.WHY_MOSTinLATE_STATS; armed sampling still queriesvideo_memory()at ≤10 Hz on the submitting thread; zero shared budget keeps it conservatively latched.Supersedes #103 (closed); branch force-pushed
6096c210.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.