Repository navigation
Conversation
MrSquirrel489
pushed a commit
to MrSquirrel489/VIctory-NVIDIA
that referenced
this pull request
Nov 27, 2026
…16-way and add VICTORY_WIDE_THREADS
MrSquirrel489
pushed a commit
to MrSquirrel489/VIctory-NVIDIA
that referenced
this pull request
Nov 27, 2026
…k when its submission lands Conflict with PR trustno1-coder#57 (upload pool) in host.rs: both additions kept. The memory bench counts RETIRED over its shards (PR trustno1-coder#139).
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.
Summary
Shard
RETIRED16-way (crates/victory-gpu/src/host.rs):retire_resourceandretirepreviously pushed ~20,000 items per frame across recording, descriptor-sync, and submitting threads onto a single globalMutex<VecDeque<(u64, Retired)>>(noted as ~2.9% of submitting-thread wall-time mutex contention in Host lists: pool the copy sources; memory pressure trims spares down to 128 MiB instead of to nothing #57'ssamplyprofile).Mutex<VecDeque<(u64, Retired)>>shards. Within each thread's shard,startedtimestamps arrive monotonically;bury(finished)drains all 16 shards and drops retired COM objects outside the locks, preserving identicalbury_laglifetime semantics.Cache
wide_threads()and exposeVICTORY_WIDE_THREADS(crates/victory-gpu/src/shadow.rs):wide_threads()was queried on everywide()invocation (~95 calls/frame) and hard-clamped to2..=6.OnceLock(preserving the existing2..=6default when unset) and honoursVICTORY_WIDE_THREADS(1..=16) so high-core CPUs (for example 16 P-core logical processors on i9-12900K/13900K/14900K or 16-core Ryzen) can widen parallel refresh batches without oversubscribing.Verification
--res 4k --dlss quality --framegen 4.cargo test --locked -p victory-gpu --lib wide_threads_tests: 1 passed, 0 failed.cargo test --locked -p xtask: 6 passed, 0 failed (asset policy green).Note: Made with AI assistance and reviewed, built, and tested by a human.