Lane priority on processors whose cores are all alike #9
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/ReTerryDavis--ReVIctory!9
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-9"
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?
@luannzin on GitHub · 2026-12-02 01:29 UTC · original
luannzin:lane-priority-equal-cores→main· +13 −6 · 1 files · 1 commits · merged 2026-12-04 01:54 UTCWhat this changes
VICTORY_LANE_PRIORITYnow also works on a processor whose cores are all alike. Onlycrates/victory-gpu/src/cores.rschanges.cores::askreturned before it registered the calling thread whenfast_setscame back empty, which it does on any processor with one efficiency class and one L3 size.settlegives the priorities to the registered threads only, so on such a processor the submitting thread kept its own "above normal", its helpers stayed at "normal", and the switch did nothing. The title's job workers run at "highest" there as everywhere.askregisters the thread whether or not there are fast sets.settlepasses a null pointer with a count of 0 toSetThreadSelectedCpuSetswhen there are no sets to ask for, so no selection is made and the thread runs on any processor as before.Nothing changes where fast sets exist (hybrid Intel, a Ryzen with one stacked-cache complex): the early return was the only thing the empty case touched.
Measured
Xeon E5-2680 v4 (14 cores, 28 threads, one class, one 35 MB L3), Radeon RX 7600 8 GB, 16 GB, Windows 10 22H2 with the Agility SDK 1.621, Series S profile, diag build of
925ac0awith this change,-Fast -Stream -SoftPagesand the other switches of my preset for this PC.One run standing in the first gameplay room of the prologue, with
VICTORY_AB=12,VICTORY_LIST_PRIORITY,VICTORY_TITLE_FREE,VICTORY_LANE_PRIORITY(every combination by turns, 12 s each, 19 phases in the world):VICTORY_LANE_PRIORITYThe room's view changed what a frame cost during the run (1,400 to 6,800 draws), so read it as about 5 ms, not as 5.5. In the same run
VICTORY_LIST_PRIORITYgave nothing (69.8 ms on, 68.7 off) andVICTORY_TITLE_FREEwas a little worse (71.4 on, 67.4 off), as the comments incores.rsalready say of the 9950X3D.Not tested
VICTORY_LANE_CORE: untouched, and still off by default.Checks
cargo clippy -p victory-gpu --all-targets --all-features -- -D warningsreports the same errors with and without this change (bigalloc.rs:124,flashrec.rs:686, four incores.rsfrom line 528 on, none in the lines changed here);maindoes not pass the workspace clippy on the pinned toolchain today.🤖 Generated with Claude Code