perf: opt-in priority for the submitting thread's helpers (VICTORY_HELPER_PRIORITY) #510

Open
LooperSalty wants to merge 2 commits from upstream-pr/510 into main
LooperSalty commented 2026-11-27 15:07:25 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by LooperSalty on 2026-11-27T15:07:25Z.


Port of TaynanGT/Vice-Tay 5c803d236 (Ash), adapted to this tree.

The helpers of the submitting thread (wide pool, landing, descriptor heap records, aside work) run at normal priority and compete for the performance cores with the translation threads. Measured on 27/11: the submitting thread works ~30 ms of a ~37 ms frame, mostly CPU preparation.

  • VICTORY_HELPER_PRIORITY=1 raises those helpers to THREAD_PRIORITY_ABOVE_NORMAL; off by default.
  • A failed SetThreadPriority is logged and returned (rule 3).
  • THIRD_PARTY.md row added.

Not measured in game yet (Full HD A/B planned).

Test plan: cargo test --release -p victory-gpu (459 passed, 43 ignored), cargo xtask policy OK.

🤖 Generated with Claude Code

<!-- greyfinch-sync:LooperSalty/AnyXboxX:issue:5528849617 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/510). Originally posted by [LooperSalty](https://github.com/LooperSalty) on 2026-11-27T15:07:25Z. --- Port of TaynanGT/Vice-Tay 5c803d236 (Ash), adapted to this tree. The helpers of the submitting thread (wide pool, landing, descriptor heap records, aside work) run at normal priority and compete for the performance cores with the translation threads. Measured on 27/11: the submitting thread works ~30 ms of a ~37 ms frame, mostly CPU preparation. - `VICTORY_HELPER_PRIORITY=1` raises those helpers to `THREAD_PRIORITY_ABOVE_NORMAL`; off by default. - A failed `SetThreadPriority` is logged and returned (rule 3). - THIRD_PARTY.md row added. Not measured in game yet (Full HD A/B planned). Test plan: `cargo test --release -p victory-gpu` (459 passed, 43 ignored), `cargo xtask policy` OK. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chatgpt-codex-connector[bot] commented 2026-11-27 15:07:32 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-27T15:07:32Z.


Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-27T15:07:29.200686Z
We couldn’t complete this review. Comment @codex review to try again.
dc31f62 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

<!-- greyfinch-sync:LooperSalty/AnyXboxX:comment:7221656979 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/510#issuecomment-7221656979). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-27T15:07:32Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"dc31f627a499b2beb79da163ca74226d1a885a6b","has_any_findings":true,"has_unresolved_findings":true,"status":"failed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ❌ Failed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ❌ **Failed** <relative-time datetime="2026-11-27T15:07:29.200686Z">2026-11-27T15:07:29.200686Z</relative-time><br/>We couldn’t complete this review. Comment `@codex review` to try again. | `dc31f62` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
chatgpt-codex-connector[bot] commented 2026-11-27 15:07:34 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-27T15:07:34Z.


You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

<!-- greyfinch-sync:LooperSalty/AnyXboxX:comment:7221657676 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/510#issuecomment-7221657676). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-27T15:07:34Z. --- You have reached your Codex usage limits for code reviews. You can see your limits in the [Codex usage dashboard](https://chatgpt.com/codex/cloud/settings/usage). To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your [settings](https://chatgpt.com/settings/code-review).
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/510:upstream-pr/510'
git switch 'upstream-pr/510'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/510'
git switch 'upstream-pr/510'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/510'
git switch 'upstream-pr/510'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/510'
git switch 'main'
git merge --squash 'upstream-pr/510'
git switch 'main'
git merge --ff-only 'upstream-pr/510'
git switch 'main'
git merge 'upstream-pr/510'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
LooperSalty/AnyXboxX!510
No description provided.