Repository navigation
keep a busy descriptor slot, and leave the address-space walk off in release - #2877
kadiratesdev wants to merge 1 commit into
Conversation
A slot another thread is still making must not lose its host copy. The later used-meanwhile counter does not replace that continue. VirtualQuery over the whole process every 5 s holds the address-space lock. Release leaves that walk off unless VICTORY_PROCESS_MEMORY=1.
… in release Ported from trustno1-coder#2877: - slot_evict no longer lets go of a texture whose slot another thread is still making (it would drop the host copy under that thread); its slots are made again, as for a texture used meanwhile. - procmem's VirtualQuery walk over the whole process every 5 s holds the address-space lock against VirtualProtect and write-watch resets; release builds leave it off unless VICTORY_PROCESS_MEMORY=1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYG3qUwPk3QMYYEpg56RS6
…nd leave the address-space walk off in release trustno1-coder#2877 by kadiratesdev, head 5b7c23e.
|
We ran a test of On this machine the walk takes about 1.1 to 1.2 s (at most 1.5 s) over about 103,000 regions, every 5 s, on its own thread.
Runs 1 and 2 came from a session whose controls drifted by 9 ms, so they looked like a gain. We ran 3 to 5 in ABBA order with three controls that agreed within 1.4 ms: +0.4 ms and −0.5 %, so no change. We also split the 1 s frame-time lines of five control runs (walk on) into the seconds that overlap a walk and the others. The seconds during a walk have the same median frame (+0.3 ms) and the same longest frame per second (+0.2 ms, median). The one place it may show is the rarest hitch. The single worst frame of the run fell during a walk in 4 of the 5 control runs, while only about a third of the seconds overlap a walk. With the walk off, the worst frames were 269 to 284 ms, against 310 to 391 ms in the same session's controls. The p99 did not move (114 to 142 ms both ways). So on an 8-core CPU it does not touch the typical frame; a 6-core CPU may differ. Picture: 0 defects in 400 frames with the walk off. Setup:
AI Assisted |
|
Merged into our fork's integration branch for testing (dyshay/VIctory-NVIDIA, branch |
Fixes #
What it changes
Two small cuts we have been running on an RTX 3080 Ti / Ryzen 5800X fork and can answer questions about. Not a frame-rate claim.
SLOT_EVICT[6]stays the used-meanwhile path and does not replace this continue.VirtualQueryof the whole address space holds Windows' address-space lock againstVirtualProtectand write-watch resets. Release leaves it off.VICTORY_PROCESS_MEMORY=1asks for it.=0turns it off in a diagnostics build.How it was tested
cargo testpassed for the crates it touches: yes.a_busy_slot_is_not_evictedandaddress_space_walk_is_diagnostics_only_unless_asked_for, release,--locked.Checked for overlap
#2486 also skips a busy slot, and adds launcher scripts and other files this tree does not ship. This is only the GPU continue.
#2783 also turns the walk off, and bundles a miss-program change and a Foxhound worker cap. This is only
procmem.rs. The 222 ms to 88 ms note in that PR is the author's Ryzen 5 5600 + RTX 5070 measurement, not ours.#2764 is the reflection-miss clear. It is already open, so it is not repeated here. We tested an equivalent locally (
a_left_out_miss_output_is_cleared_unless_turned_off).