gpu(memory,descriptor): reclaim builder view pages, evict read-only arena pages, and cap placed-view shapes #512
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!512
Loading…
Reference in a new issue
No description provided.
Delete branch "hingeowl/Darner:pr/memory-builder-reclaim"
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?
What it changes
ViewShapes/ ownerless placed-view entries grow unbounded during long streaming flights.ReTerryDavis/ReVIctory(cc6549d0c50a9a8d1e371f21c1d84751a45a96c1,2d5c5adbd9ff9cf1906871e265a61d9fc890aec8,1d5151a14647f494b01213a301268b53fc454b4):memory.rs).DARNER_MEMORY_EVICT_FRAMES/DARNER_MEMORY_EVICT_ABOVE_MBto evict idle read-only by-address arena pages and fault them back on demand (memory.rs).ViewShapesat 262,144 (DARNER_PLACED_SHAPE_CAP,DARNER_VIEW_EVICT=0to disable) and sweeps idle ownerless placed/constant entries in bounded slices fromsync_heaps(descriptor.rs).How it was tested
b83e29e(based onmainc8258f9)cargo xtask policy— passcargo clippy --workspace --all-targets --locked -- -D warnings— passcargo clippy --workspace --all-targets --all-features --locked -- -D warnings— passcargo test -p darner-gpu --locked— passViewShapescap (DARNER_VIEW_EVICT=0disables); read-only arena eviction (DARNER_MEMORY_EVICT_FRAMES/DARNER_MEMORY_EVICT_ABOVE_MB) is opt-in.cam-city60(RTX 4090 + Ryzen 9 7950X3D, Series X, HW RT) as part of our integration branch.cargo xtask policy, both workspaceclippygates,cargo test -p darner-gpu --locked.Checklist
main.docs/asset-policy.md.Checked for overlap
[pr-performance][memory] gpu(memory,descriptor): reclaim builder view pages, evict read-only arena pages, and cap placed-view shapesto gpu(memory,descriptor): reclaim builder view pages, evict read-only arena pages, and cap placed-view shapesTest needed — commit
b83e29e2; what to check:ViewShapes/ ownerless placed-view entries grow unbounded during long streaming flights.ReTerryDavis/ReVIctory(cc6549d0c50a9a8d1e371f21c1d84751a45a96c1,2d5c5adbd9ff9cf1906871e265a61d9fc890aec8,1d5151a14647f494b01213a301268b53fc454b4):memory.rs).DARNER_MEMORY_EVICT_FRAMES/DARNER_MEMORY_EVICT_ABOVE_MBto evict idle read-only by-address arena pages and fault them back on demand (memory.rs).ViewShapesat 262,144 (DARNER_PLACED_SHAPE_CAP,DARNER_VIEW_EVICT=0to disable) and sweeps idle ownerless placed/constant entries in bounded slices fromsync_heaps(descriptor.rs).Evidence to post: card + driver, settings, commit tested, before/after (switch off vs on, two runs each), fps median and p99, and one line saying you looked at the picture.
Reply
testingto take this run; it's free again after 24 h with no results.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.