Repository navigation
Conversation
OGShotz
added a commit
to OGShotz/VIctory-Turing
that referenced
this pull request
Nov 29, 2026
moritz-eckhard-nickel
added a commit
to moritz-eckhard-nickel/VIctory-NVIDIA
that referenced
this pull request
Nov 30, 2026
…d low-memory window searches) 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.
What it changes
The one-second backoff in
upload::reservechecks an atomic before VirtualAlloc2, so simultaneous requests can enter expensive searches of a full address window. The cooldown also starts before the potentially long failed search.Serialize only the slow fallback search and start the cooldown when a failure completes. Early and pooled allocations remain outside the new mutex. Successful fallback searches may now queue behind one another; the trade-off needs measurement.
How it was tested
cargo testpassed for the crates it touches: no, not yet run. Added tests for a slow failed search and concurrent callers.victory-loader::unwind_copyis unused, outside the changed file. No successful test run is claimed.cargo test -p victory-gpu upload --locked, then compare low-window warnings, successful allocation latency, p95/p99 and worst frame time on the same streaming route.Checked for overlap
AI assistance
Prepared with AI assistance; gameplay validation and human review remain pending.