DirectStorage: decode workers run below normal priority #348
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by N7z on 2026-11-24T23:49:39Z.
The 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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.