DirectStorage: decode workers run below normal priority #348
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!348
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-348"
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?
@N7z on GitHub · 2026-11-24 23:49 UTC · original
N7z:dstorage-low-priority→main· +13 −1 · 1 files · 1 commits · openThe DirectStorage scheduler starts one decode worker per logical processor, at normal priority. While the title streams, those workers compete with the threads that record and submit frames, and the card waits behind them. This puts the workers at
THREAD_PRIORITY_BELOW_NORMAL, as the pipeline workers already are (crates/victory-gpu/src/pipeline/make.rs), so they use what the frame leaves. The worker count is unchanged.Why
dstorage::workat 17% of the process's samples:seek_read8%, zlib 5%, BCPack 1.3%. That is 16 threads on this machine.Measured (one machine; same scene each run,
--console series-s,VICTORY_RELAY=2, release build; world frame-line windows only)Checks
cargo clippy -p victory-hle --all-targets --locked -- -D warnings: clean.cargo test -p victory-hle --locked: 95 passed;no_dll_planting1 passed.Not tested
Related
No game data.
(AI-assisted: Claude Code profiled the run, wrote the change and this description; the runs were played by me.)
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.