Repository navigation
Conversation
The scheduler starts one worker per logical processor at normal priority. While the title streams, they took the processor from the threads that record and submit frames, and the card stood idle behind them. The workers now run at THREAD_PRIORITY_BELOW_NORMAL, like the pipeline workers (pipeline/make.rs), and use what the frame leaves. Measured on an RTX 4060 Laptop 8 GB, i7-13620H, 16 GB, Series S with VICTORY_RELAY=2, same scene: 1.9 -> 2.3 fps mean in the world (median 2.0 -> 2.4); the oldest texture in the pick-by-index queue was 154 frames old against 465 before. Capping the workers at 4 instead gave 2.5 fps but left textures waiting up to 1,213 frames, so the count is left alone.
tuffn3ss
pushed a commit
to tuffn3ss/victory-plus
that referenced
this pull request
Nov 27, 2026
…icated capacity in the HUD Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.)