gpu: tighten idle eviction and library trim timers under VRAM/RAM pressure #48
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by fever308 on 2026-11-24T20:54:46Z.
Summary
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.
Imported from fxceless/victory-fork. Originally posted by im-a-cat on 2026-11-25T07:21:21Z.
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.Imported from fxceless/victory-fork. Originally posted by fever308 on 2026-11-25T07:27:25Z.
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
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.