gpu(host,list): release scratch at landing and reclaim idle lists and fetch buffers under pressure #179
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: launcher
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
run report
security: hold
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs gpu test
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Androtim--MiniVI!179
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/179/head"
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?
@Androtim on GitHub · 2026-11-30 01:34 UTC · original
Androtim:feat/iter176-gpu-idle-reclaim-scratch-landing-fetch-shrink→main· +211 −22 · 2 files · 1 commits · closed without mergingSummary
list.rs,host.rs):list::trim_on_pressurewithlist::trim_idle(now)(backed bytrim_idle_count), retiring idle host lists older than2_000 msonly when host memory is pressured while preserving a warm reserve of16recent lists and countingTRIMMED_LISTS.VICTORY_IDLE_RECLAIM(idle_reclaim(), enabled by default;0opts out).list.rs,host.rs):HostList::release_scratch,Detached::release_scratch, andspare_what_fits, returning scratch chunks that fit insideSPAREat submission landing (in both asyncrelay_landafter read-backs and synchronoussettle) while keeping any overflow on the list untilreset()so nothing is freed prematurely.VICTORY_SCRATCH_AT_LANDINGtoggle (enabled by default;0restores reset-only return).host.rs):fetched_large_atonCardWork,buffer_large_atonRelayFetch) and addedHost::resize_fetch/fetch_resize_actionbefore card-back fetches.VICTORY_IDLE_RECLAIM(enabled by default), oversized fetch buffers that stay below capacity for at least2_000 msshrink toneeded.next_multiple_of(16 MiB)(or release when0), preserving peak allocation capacity during normal workloads.Verification
cargo +1.98.1-x86_64-pc-windows-gnu run -p xtask -- policy:asset policy: 311 files okcargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu list:: -- --test-threads=1:15 passed; 0 failed(including newtrim_idle_keeps_warm_reserve_and_recent_lists)cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu host:: -- --test-threads=1:147 passed; 0 failed; 17 ignored(including newfetch_resize_action_covers_grow_hold_release_and_pressure_shrink)cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets -- -D warnings(default and--features diagnostics): clean-PlayParity -AutoNudgeMenu):12.9 fpsmedian (77.7 ms),preparing 38.9 ms,copyback 12.8 ms, VRAM peak6522 MB/ budget min6873 MB(over=0 MB),60972textures uploaded,final_waiting=4573,mapped_rate=5.36 ms/s(down from8.43 ms/s),18/24lit PNGs (luma=105.67,edge_energy=6.99,magenta=0.0%),0crashes.1440p):11.7 fpsmedian (85.7 ms, up from10.45 fps),preparing 41.55 ms,copyback 15.35 ms,mapped_rate=6.62 ms/s(down from18.27 ms/s),19/24lit PNGs (luma=96.24,edge_energy=6.69,magenta=0.0%),0crashes.@Androtim on GitHub · 2026-11-30 02:03 UTC · original · edited 2026-11-30 16:02 UTC
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).@Androtim on GitHub · 2026-11-30 08:40 UTC · original
GitHub reports merge conflicts against current
mainafter Wave 6 merged. Please rebase onto latestmain.@Androtim on GitHub · 2026-12-01 01:38 UTC · original
Closing stale/conflicted backlog PR per #276. Superseded by the active root-architecture replacement pillars with isolated plain --release A/B verification.
Pull request closed