Repository navigation
Conversation
…ecting page probes
|
Tested on Windows 10 (i5-13600K + RTX 4080 16 GB, Series X,
Note this run measured #1058 as part of that 7-PR stack rather than standalone; all 5 AI-assisted benchmark and analysis (Gemini 4 Hydrogen). |
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.
With
VICTORY_COPY_PLAIN=1,plaincopy::copyskips everything under 256 bytes (LEAST = 256) so page-existence probes don't keep faulting. That floor also catches real small buffer reads inshadow::copy_back_with,relay_merge,card_merge, andcard_merge_relay— in the cell scene that was sending ~4,100 reads/frame back through the kernel copy path.Adds
plaincopy::copy_buffer(same fault guard and 2s faulted-block cache, without the 256-byte floor) andhost::read_buffer_into, and routes those four known-buffer read sites through it while leaving generalhost::read_into/ page probes untouched.Tested on Linux + Wine 11.22 + RX 7900 XT (RADV,
VICTORY_COPY_PLAIN=1,VICTORY_RELAY=2, 480 s run into the cell scene):plaincopysmall kernel fallbacks dropped from ~4,140/frame to ~62–96/frame (0.0–0.2faulted reads/frame)plaincopy::testspass under Wine (including a new small-buffer test).