cores: lower victory-list priority on V-Cache CCD and move ahead workers off CCD0 #1857
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1857
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1857"
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?
@Bazovsky on GitHub · 2026-11-29 00:48 UTC · original
Bazovsky:pr/cores-vcache-list-priority→main· +61 −7 · 5 files · 1 commits · merged 2026-11-29 08:16 UTCFixes #
What it changes
Follow-up to #1093 (and addressing CCD0 contention raised in #1662) on dual-CCD 3D V-Cache CPUs (e.g. Ryzen 9 9950X3D):
victory-list-*(crates/victory-gpu/src/cores.rs,list/thin.rs): when the process is placed on one V-Cache CCD (PLACED == true, 7 shared cores after carving a dedicated core forvictory-submit),VICTORY_HELPER_PRIORITY=1previously left the thin list translators (victory-list-*, ~2.86 cores CPU) atABOVE_NORMALpriority — competing equal-priority with submit-blocking helpers (victory-heap-sync,victory-wide,victory-under,victory-records,victory-views) and preempting normal-priority title/cutscene threads anduploads ahead.keep_list_workerkeepsvictory-list-*inheriting CCD0's CPU sets (avoiding the cross-CCDplan_cardpenalty measured when moving list translators to CCD1) while dropping their priority toBELOW_NORMAL(-1, overridable viaVICTORY_LIST_PRIORITY=-2..=2). When not placed (PLACED == false: single-CCD X3D, Intel hybrid, non-X3D,VICTORY_CACHE_CORES=0), existingVICTORY_HELPER_PRIORITYbehaviour is preserved unchanged.crates/victory-gpu/src/texture/ahead.rs,picked.rs,ahead.rs):uploads ahead,victory-picked, andvictory-aheadcallkeep_off_the_frames_coresso they run on the otherwise ~95% idle frequency CCD (CCD1), matchingvictory-pipelinesanddstorage.crates/victory-gpu/src/cores.rs): addslist_worker_priority_drops_below_normal_only_when_placed_or_overridden.How it was tested
amd3dvcacheSvcrunning); Series X profile, 1440p SDR, DLSS Quality, Frame Generation OFF, RT default (VICTORY_AMBIENT/VICTORY_BVH_MISS).origin/maind4b5d51vs 3×pr/cores-vcache-list-priority28793b8, identical release buildsRUSTFLAGS="-C target-cpu=znver5", 150 s prologue cutscene runs covering light cutscenes100..1500, mid cutscenes1500..3000, and heavy Bink cutscene3000..4000, 0 D3D12 errors,left_in_middle = 0.00,title_waited = 0.00 msin all 6 runs):heaps_endunderrefplan100..1.5k1.5k..3k3k..4kA1 CTRLA2 CTRLA3 CTRLB1 FIXB2 FIXB3 FIXd4b5d51): mean 28.17 ms (35.5 fps), p95 34.90 ms, Prep 27.15 ms,heaps_end0.97 ms,under2.50 ms,texture::aheadlatency 0.7–1.2 ms (28,154–45,931 turned down), 3,828 DLSS frames in 150 s.28793b8): mean 26.47 ms (37.8 fps, +2.3 fps / +6.5%), p95 33.58 ms (-1.32 ms), Prep 25.20 ms (-1.95 ms),heaps_end0.40 ms (-2.4×),under2.23 ms (-10.8%),texture::aheadlatency 0.2–0.3 ms (11,074–11,977 turned down, -70%), 3,992 DLSS frames (+164) — zero overlap between CTRL and FIX across all metrics.victory-list-*itself off CCD0 onto CCD1 was also tested (150 s), and while it improved the heaviest Bink window (27.7 → 31.2 fps), it added+0.5–0.9 mscross-CCD cache traffic onplan_card; keepingvictory-list-*on CCD0 atBELOW_NORMALavoids the cross-CCD penalty while eliminating helper/title contention.cargo testpassed for the crates it touches: yes (victory-gpu: 551 passed, 0 failed — 514 non-watch + 37watch::testsserial;clippy+--features diagnosticscheck clean with 0 new warnings).Checked for overlap