DirectStorage: a head read too big for staging lets the next lane start (VICTORY_DSTORAGE_STAGING_NEXT=1) #2332
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!2332
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2332"
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?
@101Leafy on GitHub · 2026-11-29 12:05 UTC · original
101Leafy:nv/dstorage-staging-next→main· +100 −6 · 1 files · 1 commits · merged 2026-11-30 14:12 UTCWhen the head read of the lane picked by weight does not fit in the staging buffer, every worker waits for a finish, even when other lanes have reads that would fit. With
VICTORY_DSTORAGE_STAGING_NEXT=1the scheduler starts the next lane by weight whose head fits, and marks the start as starved so the left-behind head is tried again at the next finish.The same switch gives a request's staging back once its source is read instead of when the whole request is done, so decoding (zlib, BCPack) no longer holds staging.
Off by default, so nothing changes unless it is set.
Tests:
a_head_too_big_for_staging_lets_the_next_lane_startcovers both settings, and the zlib failure test now checks thatexecutereports the source as read before zlib fails.