gpu: cap idle staging pool blocks by host RAM and STAGING_KEPT #186
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/186"
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 Androtim/MiniVI. Originally posted by Androtim on 2026-11-30T02:39:55Z.
Summary
pool::staging_spares(limit, critical, pressure, limited_ram)and use it inpool::room()instead of passinglimit(up toSPARE_KEPT = 64blocks) directly toSTAGING.reclaim(...).0under critical OS commit headroom,1under host memory pressure,2on hosts with<= 32 GiBphysical RAM, andSTAGING_KEPT.min(limit)otherwise so idle upload storage does not grow toward 4 GiB.pool::tests::staging_spares_respects_commit_pressure_and_ram_caps.Verification
cargo +1.98.1-x86_64-pc-windows-gnu run -p xtask -- policy(311 files ok)cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu pool:: -- --test-threads=1(16 passed; 0 failed; 1 ignored)cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets -- -D warningscargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets --features diagnostics -- -D warningsPlayParity, 8 GB VRAM / 32 GiB RAM host): median12.85 fps,over=0 MB(used_max=6774 MB / budget_min=6868 MB,room_false=83.3%),final_waiting=3972,not made=125,lit=20/24(luma=103.14,magenta=0.0%),mapped_rate=8.08 ms/s,0crashes; late captured PNGs visually verified crisp.PlayParity, 8 GB VRAM / 32 GiB RAM host): median10.65 fps,over=0 MB(used_max=6870 MB / budget_min=6849 MB,room_false=100.0%),final_waiting=13618(reflecting 8 GB VRAM budget pressure with1632 MB1440p render targets and~905 MBavailable commit),lit=18/24(luma=106.88,magenta=0.0%),0crashes; late captured PNGs visually verified crisp.Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-30T03:04:45Z.
Automated triage for the maintainers (not an approval).
Verdict:
needs-rebase· CI (check):passingThis PR no longer merges cleanly into
main.To change the verdict: Rebase onto current
mainand resolve conflicts; CI and triage will run again automatically.Generated with Antigravity CLI (
agy).Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-01T01:38:09Z.
Closing as superseded by newer merged/tracked work per #276 (Core Architecture Rewrite Backlog).
Pull request closed