Two-die Ryzens and 8 GB cards: frame threads on one die, target reser… #730
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/730"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by c1miano on 2026-11-28T04:35:48Z.
…ve sized to the card, a native build
Claude-Session: https://claude.ai/code/session_01ULB8X6uKz9YY1ZUqZ9W4YP
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ArturoWolff on 2026-11-28T04:48:20Z.
Independent check of just the adaptive render-target reservation in
resource.rsfrom #730 (018d54fed45716e689ab592d63fdca5349fa4cb3), on RTX 4060 desktop 8 GB / 16 GB RAM, NVIDIA 620.73.4, Linux/GE-Proton11-14. Applied to current.01(63b902fe1720a5188ee79d94a88c8de0470f6349) with the previously tested Linux backing/DXC adaptations. No CCD affinity, native-profile compiler flags, or other #730 changes. Same cloned starting profile, separate fresh external caches, Series X1080to1440, 30 cap, DLSS/FG off, requested full lighting/write-back/ordinary waits. The effective settings of the default and adaptive arms match; the intermediate fixed-2560 MiB arm from #609 differs only by that override.The adaptive arm kept admitting textures later in loading, consistent with the budget-scaled intent. It eventually hit the admission line again. Clarification from the detailed queue reports: the headline "waiting" count is the total tracked queue, including many already-uploaded slots awaiting periodic rechecks, not a count of outstanding first uploads. The last due counts were only 2 / 1 / 1. The sample count and workload are not scene matched, so the uploaded-slot and byte counts are not a throughput or in-world FPS measurement. All three launches reached loading artwork then the same black overlay/first-story failure documented in #628, with no guard stop, OOM increment, recorded kernel GPU fault or reported device/fence error. The adaptive arm elapsed 136.293 s, versus 124.983 s default; no actual world was reached. Post-load render-target requirements and fidelity are still unqualified.
This supports trying the budget-scaled reservation instead of a universal 3072 MiB, but does not support calling it a fix for the #628 progression failure or recommending a new general Series X default without a post-load check. It is a single-factor complement to the multi-setting Series S report in #609, not the same experiment. Thanks for the proposal.
AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by urielbeaupre on 2026-11-28T17:56:23Z.
A data point for the two-die placement on a Ryzen 9 7900X (6+6 cores, two CCDs) with an RTX 4070 Ti 12 GB, Series S profile, DLSS off, same save, warm caches.
I couldn't merge the PR branch as a whole onto my test base (it brings in about 1,000 other commits), so I cherry-picked only
018d54f, "frame threads on one die, target reserve sized to the card". I put it on main63b902fplus #1038 and #1184. One build;VICTORY_ONE_CCDalternated; a warm-up run first (not counted). The log confirms the placement in the "on" runs ("the thread is kept on one die", 16 threads). Cutscene = seconds 60–110 after input, after = 110–165:VICTORY_ONE_CCDAverage: on 37.3 / 23.2, off 39.8 / 23.8. On this CPU there's no gain from keeping the frame's threads on one die. If anything it's slightly slower in the cutscene, though the second pair was even, so part of that is noise. My guess is that six cores on one die are tight for the submit thread, its helpers and the list translators together on a 6+6 part, while a 9900X/9950X with more cores per die has room. It might be worth keeping it off by default for 6-core-per-CCD parts, or measuring there before turning it on.
🤖 Generated with Claude Code
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by autogenes-sudo on 2026-11-29T22:56:05Z.
Measurements on another two-die Ryzen without V-Cache, in case they help with the placement part of this PR.
PC: Ryzen 9 5900X (two CCDs, 32 MB L3 each, SMT), RTX 5060 8 GB (driver 621.40), 32 GB DDR4-3600 in one stick (one channel), Windows 11. v2026.11.29.03, Series S, DLSS Performance,
--res 1080to1440, no frame generation.Method:
VICTORY_ABwith 15 s phases, run unattended with aVICTORY_INPUT_REPLAYpad tape (A every 5 s through the menus, then the character stands still, so phases are far less noisy than play), 64 phases per run. Effects are medians of neighbouring phases that differ only in the switch, with the draw count regressed out; ± is one standard error.Placement. A local switch re-applied
SetThreadSelectedCpuSetsevery second by thread name: the title's threads (no name, ortitle-main) on one CCD, the layer's (victory-*,dstorage*) on the other. The D3D background compiles were left alone.THREAD_PRIORITY_HIGHESTandVICTORY_HEAP_LOOK_QUIET; the three not separated), against all three offSo on this part, which die the title's threads get is worth several milliseconds, and the first die is the better one for them here. This is the reverse of what this PR does (the layer's frame threads on the preferred cores' die, the title on both). I did not measure this PR's variant.
Other switches on the same PC (same method, 48-64 phases each):
VICTORY_CBV_ONCE: +23 ms ± 4, 27 % slower.VICTORY_GUARD_HOT: +4 to +12 ms.VICTORY_COPY_BESIDE,VICTORY_SCRATCH_SHARED=0,VICTORY_HELPER_PRIORITY=0,VICTORY_GUARD_REST=0: no clear effect.VICTORY_RYZEN_PREPstreaming copy: no gain (bench_ryzen_snapshot_jobs: 13.06 against 12.89 ms per 144 MiB).Context:
samply import) had only ~9 of 24 logical processors busy.MWAITX, woken about 3 times a frame by the title's other threads.I built with fat LTO and
-C target-cpu=znver3as this PR does, but did not measure it separately.I can send the placement switch as a PR of its own if it is wanted.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.