gpu: tighten idle eviction and library trim timers under VRAM/RAM pressure #48
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/fxceless--victory-fork!48
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-48"
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?
@fever308 on GitHub · 2026-11-24 20:54 UTC · original
fever308:feat/pressure-aware-eviction→main· +107 −8 · 5 files · 2 commits · openSummary
Preserves
IDLE_FRAMES = 4and minimum1,000 ms(VRAM) /2,000 ms(RAM) floors.Evidence
5,000 msVRAM idle timeout and10,000 msRAM idle/trim timeouts regardless of live host memory pressure.After:
cargo test -p victory-gpu idle_ms_scales_with_pressure: 2 passed (vram_idle_ms_scales_with_pressure,ram_idle_ms_scales_with_pressure), 0 failed.cargo clippy -p victory-gpu --all-targets -- -D warnings(default and--all-features): clean.Merge Danger
Door: two-way
Only tightens existing sweep thresholds under pressure;
VICTORY_SWEEP=0,VICTORY_TEXTURE_SWEEP=0, andVICTORY_LIBRARY_TRIM=0still disable sweeps.Blast Radius: Eviction
Under high VRAM or host RAM pressure, idle host textures, staging buffers, loose shadows, and mapped library pages are released sooner and recreated if reused.
@im-a-cat on GitHub · 2026-11-25 07:21 UTC · original
Checked against current
fxceless/main(a26859f):git merge --no-commit --no-ff pr-48produces an empty diff (available_physical_ram,vram_idle_ms,ram_idle_msinhost.rs, and the callers inresource.rs,shadow.rs,texture.rs, andpipeline/library.rsare already present onmain). Sharing as a heads-up that #48 appears already landed and safe to close.@fever308 on GitHub · 2026-11-25 07:27 UTC · original
Thanks for checking and for the heads-up,
@im-a-cat! Confirmed locally againstfxceless/main(a26859f) — merging this branch produces an empty diff (including commit8845117), so #48 is indeed already landed onmain. Leaving it for the maintainer/author to close cleanly.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.