Launcher: renderer ports 6 and 7 on NVIDIA with ten or more cores #375
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!375
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-375"
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?
@urielbeaupre on GitHub · 2026-11-27 20:35 UTC · original
urielbeaupre:perf/nvidia-ports-6-7→main· +44 −0 · 2 files · 2 commits · openTurns on renderer ports 6 (
VICTORY_PORT_GUARD) and 7 (VICTORY_PORT_JOURNAL) inscripts/play.ps1for NVIDIA cards on CPUs with ten or more physical cores, outside-Safe.-Morestill overrides either. Fewer cores keep the defaults, because port 6 measured slower on an eight-core 9800X3D in #364.Why
A
VICTORY_PROFILEsample of the submitting thread on current main (aa917f3) showed about a fifth of its time in write-watch askings andwatch::guards. All of the time underguardswasRwLock::write_contended: the wide threads refreshing copies queue behind one another on the guards' lock, which is what port 6 shares.Measurements
RTX 4070 Ti 12 GB, Ryzen 9 7900X (12 cores), 63 GB, Windows 11 26200. Series S, diagnostics build of
aa917f3, windowed 1920×1080,-Machine 4070, unattended through the opening. The window is 170–270 s after input began: the prison cell, the character at the window, 4,400–4,600 draws a frame, no pipelines being made.Inside one run (
VICTORY_AB=5,VICTORY_PORT_GUARD,VICTORY_PORT_JOURNAL; the mean of the phases' median frame times, 5–6 phases each):Separate runs (same build and warmed cache, order alternated): port 6 ran 23.1 and 22.6 fps median against 21.8 and 22.0 without it. CPU preparation fell from 35–38 to 33–34 ms a frame, write-watch askings from 20–22 to 8 ms a frame, and refused askings from 218 to 2 a frame. The first run with the switch made about 400 pipelines again; it is left out.
The measurements are added to
docs/rtx4070-performance.md.What this does not cover
-Machine 4070andauto, with and without-Safe: both switches on outside-Safeon this 12-core PC, neither under it. (The first commit missed-Machine 4070, because$hasNvidiais only looked up forautoand7900xtx; fixed in the second.)Verification
cargo xtask policyandcargo test -p xtaskpass.play.ps1parses with no errors.🤖 Generated with Claude Code
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.