Repository navigation
Conversation
|
A first in-game data point from an NVIDIA 8 GB card. The two runs are short, so please read it as "it runs", not as a verdict.
Measurements and this report were prepared with an AI assistant (Claude Code); the runs were played on my machine. |
|
Testing feedback on Windows 11, AMD Ryzen 7 5700X (8C/16T), NVIDIA RTX 5080 16 GB, 32 GB RAM, Series X 1440p + DLSS Quality + DLSS MFG 4× ( Full disclosure: tested on a fork branch based on Result
|
|
Test results for this PR on our fork. It is ported as 7a84d45a, in batch 9 together with refresh and asking cuts on the same path (only the pages a submission reads). Setup: RTX 3080 Ti, driver 621.40, Windows 11 Pro build 26300, Ryzen 7 5700X. RT on. Each run is 240 s on the opening interior scene, with a valid (non-compile) rerun. Values are averages over the last 120 s.
Unit tests (victory-gpu): 483 passed. Thanks! |
… and AVX2 copy diff Adapted from trustno1-coder#614 by @wike1701.
…s, PRs trustno1-coder#697/trustno1-coder#614/trustno1-coder#700/trustno1-coder#666 - upload.rs: set default VICTORY_LOW_EARLY_MB=0 (restores bright bedroom & cuts stray faults while retaining explicit override + trustno1-coder#88 arena backoff) - host/panel.rs & shadow::register: port Spaghetih/victory-sley-fork 6d813b4 (panel COPY_SOURCE->COPY_DEST barrier via uploaded flag; retire replaced shadow entry) - descriptor.rs: port PR trustno1-coder#666 (FxHasher FastMap, split VIEW_SHAPES RwLock, forget early-out) - watch.rs/host.rs/shadow.rs: port PR trustno1-coder#697 (per-range ask holds), PR trustno1-coder#614 (lock-free atomic shadow copied + ReadJournal + wide_chunks + word_runs + deferred coalescing), PR trustno1-coder#700 (keep 4 MiB chunk in scratch_any_size) - shadow::land_tests: drop JournalRead before calling watch::nothing_new to prevent Windows SRWLock recursive read deadlock
|
Follow-up isolation test on the We isolated only the read-only lock-free refresh path and AVX2 copy diff from this PR — omitting
Isolation Result (20-Minute Run,
|
|
Thank you @POMXARK for the thorough 20-minute A/B isolation run — that was super helpful! I have removed \Deferred::refreshed_span\ from this PR so it now contains only the clean, 20-minute-verified subset: lock-free \Shadow::copied\ + \copy_lock, \watch::JOURNAL_KEPT\ / |
|
Tested the revised
The opening tank view matched, but at three later capture marks (610, 720, 940) the candidate faced the balcony while stock faced the radio. The window closed and the title suspended at count 996, before the planned 2,220. So this confirms the revised subset runs on this Proton/8 GB setup and the refresh workload is present; it does not establish a speedup, regression, or long-run stability. |
ee008d0 to
f27bb04
Compare
… and AVX2 copy diff
f27bb04 to
7382c36
Compare
…ARLY=2) in this fork's defaults Measured at the deck on the RTX 5070 Ti (native 1440p, no DLSS, 2026-11-28): the memory stack cost about 2 ms a frame on 16 GB; ASK_EARLY=2 gave 47.0 ms against 48.4 (p90 48.5 against 51.3). GUARD_HOT=50 with FAULT_UNLOCKED=1 was slower (51.1), more threads made no difference, PR trustno1-coder#614/trustno1-coder#697 with kibagami's direct constants made none (48.2), and renderer port 5 was slower (53.6-58.8: the heap records' thread made twice the records and the submissions waited for it). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Summary
Pure CPU hot-path optimization targeting the preparing /
efreshes bottleneck (~48–68 ms/frame on open-world captures, where ~8,100 of ~8,600 refreshes/frame copy nothing). Leaves GPU output and ordering byte-for-byte identical.
1. Lock-free no-op refresh fast path (watch.rs, shadow.rs, host.rs)
othing_new_with, stale_under_writes, window_use) read page generations lock-free; writers (copy_stale, merge_under_writes, landed) serialize on copy_lock and publish
ow with Ordering::Release only after ake_all finishes writing bytes.
anged_any: eliminates Shadow.pending, Shadow.copied, and Shadow.ranged mutex locks on the common whole-page read-only no-op path, while holding one JournalRead guard per 32-item chunk in wide_chunks (always dropped before Self::update).
2. Offload refresh coalescing to VICTORY_THIN workers (host.rs)
3. Faster real copy hot path (shadow.rs)
Verification