perf(gpu,hle): carve dedicated P-core for submit thread on hybrid CPUs and remove MnK smoothing/deadzone step Body: #1913
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!1913
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1913"
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?
@maetrik92 on GitHub · 2026-11-29 02:22 UTC · original
maetrik92:fix/hybrid-pcore-and-linear-mouse→main· +60 −34 · 2 files · 1 commits · openSummary
Intel Hybrid P-Core & Dedicated Submit Core (
crates/victory-gpu/src/cores.rs):keep_submit_core()only carved a dedicated physical core (with both SMT siblings removed from helper pools) whenPLACEDwas true (dual-CCD AMD 3D V-Cache topologies). On Intel hybrid CPUs (e.g., i9-14900K: 8 P-cores / 16 threads + 16 E-cores / 16 threads),victory-submitcompeted for execution slots on the same P-cores as title/helper workers, andkeep_off_the_frames_cores()left E-cores unused for background compilation / DirectStorage tasks.hybrid_halves()andfast_carved()to carve 1 dedicated physical P-core (THREAD_PRIORITY_HIGHEST) forvictory-submitwhenVICTORY_SUBMIT_CORE != 0, keep helper workers on the remaining P-cores, and offloadkeep_off_the_frames_cores()work to E-cores.1:1 Linear Mouse-to-Stick Aim (
crates/victory-hle/src/modules/mnk.rs):0.24minimum deadzone jump inMouse::update_look(), replacing them with direct 1:1 linear delta-to-stick scaling and immediate zeroing whendelta == [0, 0].A/B Benchmark (F3 Overlay)
930.048.020-vb_sub_story(1440p, DLSS Quality, RT OFF, FG OFF)VICTORY_BVH_MISS=0,VICTORY_BVH_BUILDER=0,VICTORY_SOFT_VIEWS=0,VICTORY_CARD_BUFFERS_MB=1024main)cores.rs+target-cpu=native)WAITS FOR GPU 2.4 ms)IDLE BEHIND US 0.6 ms)@nick0451 on GitHub · 2026-11-29 03:54 UTC · original
Tested on an i9-14900K (8P+16E, 32 threads) + RTX 3090, Windows 11, this PR on main
568c5e5. The log confirms the carve:submitting thread placed on dedicated P-core (VICTORY_SUBMIT_CORE) what="victory-submit" set=256 priority=2, and the helpers go tofast=14 of=32(main: 16 of 32). It runs cleanly: no crash, the same picture.Speed on a balcony save (Series S, DLSS performance, 2 rounds against main): 24.9 fps against 25.7, inside this batch's noise. This card is GPU-bound here (85-90% busy), so a submit-thread change can't show. A CPU-bound setup is needed to see the gain. I didn't test the MnK smoothing removal, which is bundled.
🤖 Generated with Claude Code
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.