gpu(list): low-water, hysteresis-capped idle-list pressure trim (#756) #2721
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!2721
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2721"
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?
@HailLucifer666 on GitHub · 2026-11-29 16:33 UTC · original
HailLucifer666:perf/idle-list-pressure-trim→main· +294 −5 · 2 files · 2 commits · closed without mergingPart of #756 (Phase 1 low-risk idle-list pressure trim).
What it changes
Adds bounded, hysteresis-gated idle-list trimming under host memory pressure in
crates/victory-gpu/src/list.rs+host.rs::sweep():IDLE_LOW_WATERacross frames (shifted left viashift_low_waterwhenrecycle()drains stale head entries) and drains only cold surplus aboveIDLE_PRESSURE_FLOOR = 160(capped per sweep, dropping drained entries outside theIDLEmutex).PressureStaterequires 3 consecutive healthy sweeps before exiting pressure mode (prevents boundary flapping).VICTORY_IDLE_PRESSURE_TRIM=0disables pressure trim cleanly.How it was tested
cargo test -p victory-gpu --lib list::→ 25 passed, 0 failed (includingpressure_drain_count_respects_low_water_floor_and_cap,pressure_hysteresis_requires_three_healthy_sweeps_to_exit,lifo_cold_head_drain_preserves_newest_and_exact_bytes,stale_head_drain_shifts_low_water_left, andteardown_drops_drained_entries_outside_mutex).cargo clippy -p victory-gpu --lib --tests→ exit 0, 0 new warnings in touched files. (Pre-existingdiagnosticsfeature errors on829188e9untouched.)cargo testpassed for the crates it touches: yesChecked for overlap
829188e9forlist.rs/IDLE/#756. Related: #2334 (toucheslist.rs, different scope).@HailLucifer666 on GitHub · 2026-11-29 18:29 UTC · original
Closing as superseded by upstream commit \
1b4b6cd4\ (\2026.11.29.02), which restored \list::trim_idle(now)\ under \VICTORY_IDLE_RECLAIM\ with out-of-lock retirement.Pull request closed