kernel: the title's SetProcessPriorityBoost logged, left undone with VICTORY_TITLE_BOOST_KEEP=1 (off by default) #3757

Open
github-bot wants to merge 1 commit from github-bot/gh-3757 into main AGit
Owner

@⁠bigboss22869 on GitHub · 2026-11-30 06:05 UTC · original
bigboss22869:pr-title-boost → main · +22 −0 · 1 files · 1 commits · open

What it changes

The title calls SetProcessPriorityBoost(process, TRUE) at its start, turning the scheduler's wake-up boosts off for the whole process, the layer's own threads included. This exports it from the kernel module: the call is logged, and VICTORY_TITLE_BOOST_KEEP=1 leaves the boosts on. Off by default: done as the title asks.

How it was tested

  • GPU and profile: RTX 5070 Ti, Ryzen 7 7800X3D, Series X profile, frame generation on, release, camera turning, 4-min runs
  • Before: 22.0 / 22.6 rendered fps, p99 91–102 ms
  • After (together with VICTORY_TITLE_AFFINITY=free): 23.0 / 23.1 rendered fps, p99 82–84 ms; the boosts alone 22.3 against 22.0
  • cargo test passed for the crates it touches: yes (victory-hle kernel, 17/17)

Details in discussion #3752.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: none for SetProcessPriorityBoost

🤖 Generated with Claude Code

**@⁠bigboss22869** on GitHub · 2026-11-30 06:05 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3757) `bigboss22869:pr-title-boost` → `main` · +22 −0 · 1 files · 1 commits · open ## What it changes The title calls `SetProcessPriorityBoost(process, TRUE)` at its start, turning the scheduler's wake-up boosts off for the whole process, the layer's own threads included. This exports it from the kernel module: the call is logged, and `VICTORY_TITLE_BOOST_KEEP=1` leaves the boosts on. Off by default: done as the title asks. ## How it was tested - GPU and profile: RTX 5070 Ti, Ryzen 7 7800X3D, Series X profile, frame generation on, release, camera turning, 4-min runs - Before: 22.0 / 22.6 rendered fps, p99 91–102 ms - After (together with `VICTORY_TITLE_AFFINITY=free`): 23.0 / 23.1 rendered fps, p99 82–84 ms; the boosts alone 22.3 against 22.0 - `cargo test` passed for the crates it touches: yes (victory-hle kernel, 17/17) Details in discussion #3752. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: none for SetProcessPriorityBoost 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The title turns the scheduler's priority boosts off for the whole process
at its start, the layer's own threads with it. Camera turning on an RTX
5070 Ti and a Ryzen 7 7800X3D, release, frame generation on, together
with VICTORY_TITLE_AFFINITY=free: 23.0 / 23.1 rendered fps against
22.0 / 22.6, p99 82-84 ms against 91-102; the boosts alone 22.3 against
22.0. Tests kernel 17/17.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 06:08:11 +00:00
Author
Owner

@⁠Smoodie7 on GitHub · 2026-11-30 06:12 UTC · original

Looks good to me.

**@⁠Smoodie7** on GitHub · 2026-11-30 06:12 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3757#issuecomment-7270405933) Looks good to me.
Author
Owner

@⁠nicolasabosch on GitHub · 2026-11-30 23:19 UTC · original

Tested on an RTX 4070 Laptop 8 GB with VICTORY_TITLE_BOOST_KEEP=1: no measurable fps difference in this scene (2 runs).

What was built

  • Main e1251c31 with four opt-in PRs merged together and nothing else changed: #4069, #3757, #3614 and #4207. This PR's head was 32dfd3a7.
  • Release build, same profile as main.
  • Every switch was off except the one under test. The combined build with all switches off is the control.

Setup

  • PC: RTX 4070 Laptop 8 GB, i9-14900HX, 32 GB RAM, Windows 11.
  • Command: victory play --series-s --dlss performance --framegen 2, with no fps cap and the window minimized.
  • Route: scripted Enter presses into the world from a fixed copy of a save, then the character idles there for 300 s.
  • fps is the mean of the last 40 host: reports, about 200 s. These are real frames, not generated ones.
run fps ms/frame submit thread ms refreshes ms
main, 5 runs 15.94 – 16.41 61.0 – 62.8 38.4 – 40.5 14.2 – 15.2
combined build, switches off, run 1 16.45 60.8 35.4 12.4
combined build, switches off, run 2 16.93 59.2 37.3 13.9
VICTORY_TITLE_BOOST_KEEP=1, run 1 16.70 59.9 35.4 12.9
VICTORY_TITLE_BOOST_KEEP=1, run 2 16.80 59.6 37.5 13.5

On this laptop, identical runs differ by about 0.5–1 fps, so only an effect of roughly 1.5 fps or more would show.

In this scene the frame (~60 ms) is longer than the submit thread's own work (~33–40 ms), so a gain on the submit thread alone may not reach the fps here. Both runs came in about 0.3 fps above the control, which is within noise. The test used the switch alone, without VICTORY_TITLE_AFFINITY=free.

Not tested: driving, camera turns, interiors, an image comparison, other GPUs.

**@⁠nicolasabosch** on GitHub · 2026-11-30 23:19 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3757#issuecomment-7294978272) **Tested on an RTX 4070 Laptop 8 GB with `VICTORY_TITLE_BOOST_KEEP=1`: no measurable fps difference in this scene (2 runs).** **What was built** - Main `e1251c31` with four opt-in PRs merged together and nothing else changed: #4069, #3757, #3614 and #4207. This PR's head was `32dfd3a7`. - Release build, same profile as main. - Every switch was off except the one under test. The combined build with all switches off is the control. **Setup** - PC: RTX 4070 Laptop 8 GB, i9-14900HX, 32 GB RAM, Windows 11. - Command: `victory play --series-s --dlss performance --framegen 2`, with no fps cap and the window minimized. - Route: scripted Enter presses into the world from a fixed copy of a save, then the character idles there for 300 s. - fps is the mean of the last 40 `host:` reports, about 200 s. These are real frames, not generated ones. | run | fps | ms/frame | submit thread ms | refreshes ms | |---|---|---|---|---| | main, 5 runs | 15.94 – 16.41 | 61.0 – 62.8 | 38.4 – 40.5 | 14.2 – 15.2 | | combined build, switches off, run 1 | 16.45 | 60.8 | 35.4 | 12.4 | | combined build, switches off, run 2 | 16.93 | 59.2 | 37.3 | 13.9 | | VICTORY_TITLE_BOOST_KEEP=1, run 1 | 16.70 | 59.9 | 35.4 | 12.9 | | VICTORY_TITLE_BOOST_KEEP=1, run 2 | 16.80 | 59.6 | 37.5 | 13.5 | On this laptop, identical runs differ by about 0.5–1 fps, so only an effect of roughly 1.5 fps or more would show. In this scene the frame (~60 ms) is longer than the submit thread's own work (~33–40 ms), so a gain on the submit thread alone may not reach the fps here. Both runs came in about 0.3 fps above the control, which is within noise. The test used the switch alone, without `VICTORY_TITLE_AFFINITY=free`. **Not tested:** driving, camera turns, interiors, an image comparison, other GPUs.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/3757/head:github-bot/gh-3757'
git switch 'github-bot/gh-3757'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-3757'
git switch 'github-bot/gh-3757'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-3757'
git switch 'github-bot/gh-3757'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-3757'
git switch 'main'
git merge --squash 'github-bot/gh-3757'
git switch 'main'
git merge --ff-only 'github-bot/gh-3757'
git switch 'main'
git merge 'github-bot/gh-3757'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!3757
No description provided.