feat(anyxboxx): bigger worker pools on 16+ logical CPUs (19.6 -> 23.8 fps median) #462

Manually merged
github merged 1 commit from gh-pr/462/head into gh-pr/462/base 2026-11-27 00:35:31 +00:00
Owner

@⁠LooperSalty on GitHub · 2026-11-26 23:53 UTC · original
LooperSalty:feat/threads-by-cores → main · +180 −7 · 5 files · 1 commits · merged 2026-11-27 00:27 UTC

Summary

anyxboxx run and the launcher (Windows NVIDIA profile) give VIctory's worker pools Vice-Tay's 16-core sizes when the CPU has 16 or more logical CPUs: VICTORY_THIN_THREADS=12, VICTORY_UNDER_THREADS=8, VICTORY_LAND_THREADS=6 (instead of the -Machine 4070 set's 8/6/4, tuned for an 8-core Ryzen 7800X3D). Applied right after the tuned set, before --quality and the user's overrides, which still win. TUNED and profiles.toml are unchanged.

Measured

RTX 4070 SUPER, i7-13700KF (24 logical CPUs), Series X, 1920x1080, warm cache, same build, one run each (details and per-5-second figures: #455):

Pools World median 10th percentile
8 / 6 / 4 19.6 fps 5.7
12 / 8 / 6 23.8 fps 11.9

The overlay (#455) shows the landing pool full at x3.5-3.7 of 4 threads before, x4.4-5.2 of 6 after.

Notes

  • ANYXBOXX_LOGICAL_CPUS overrides the detected count (used by the tests so the golden comparison does not depend on the CI machine).

Test plan

  • cargo test --release -p anyxboxx -p anyxboxx-launcher (26 + 214)
  • pytest tests/test_anyxboxx_run.py tests/test_lanceur_victory.py (31), ruff
  • CI

🤖 Generated with Claude Code

**@⁠LooperSalty** on GitHub · 2026-11-26 23:53 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/462) `LooperSalty:feat/threads-by-cores` → `main` · +180 −7 · 5 files · 1 commits · merged 2026-11-27 00:27 UTC ## Summary `anyxboxx run` and the launcher (Windows NVIDIA profile) give VIctory's worker pools Vice-Tay's 16-core sizes when the CPU has 16 or more logical CPUs: `VICTORY_THIN_THREADS=12`, `VICTORY_UNDER_THREADS=8`, `VICTORY_LAND_THREADS=6` (instead of the `-Machine 4070` set's 8/6/4, tuned for an 8-core Ryzen 7800X3D). Applied right after the tuned set, before `--quality` and the user's overrides, which still win. `TUNED` and `profiles.toml` are unchanged. ## Measured RTX 4070 SUPER, i7-13700KF (24 logical CPUs), Series X, 1920x1080, warm cache, same build, one run each (details and per-5-second figures: #455): | Pools | World median | 10th percentile | | --- | --- | --- | | 8 / 6 / 4 | 19.6 fps | 5.7 | | **12 / 8 / 6** | **23.8 fps** | **11.9** | The overlay (#455) shows the landing pool full at x3.5-3.7 of 4 threads before, x4.4-5.2 of 6 after. ## Notes - `ANYXBOXX_LOGICAL_CPUS` overrides the detected count (used by the tests so the golden comparison does not depend on the CI machine). ## Test plan - [x] `cargo test --release -p anyxboxx -p anyxboxx-launcher` (26 + 214) - [x] `pytest tests/test_anyxboxx_run.py tests/test_lanceur_victory.py` (31), ruff - [ ] CI 🤖 Generated with [Claude Code](https://claude.com/claude-code)
`anyxboxx run` and the graphical launcher (Windows + NVIDIA profile only,
not with --no-tuned-settings) now apply Vice-Tay's 16-core pool sizes
(THIN 12, UNDER 8, LAND 6) over the 8-core TUNED set when the CPU has 16 or
more logical CPUs (std:🧵:available_parallelism). They come after the
tuned set and before --quality / --override, so the user still wins. TUNED
itself is unchanged.

Measured 2026-11-27, RTX 4070 SUPER + i7-13700KF (24 logical CPUs), Series X,
1080p, warm cache, same build, one run each: 8/6/4 gave a world median of
19.6 fps (10th percentile 5.7); 12/8/6 gave 23.8 fps (10th percentile 11.9).
The landing pool sat full at x3.5-3.7 of 4 threads before, x4.4-5.2 of 6 after.

ANYXBOXX_LOGICAL_CPUS pins the count (tests use it so they do not depend on
the machine).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:35:30 +00:00
github manually merged commit f99cbeeb17 into gh-pr/462/base 2026-11-27 00:35:31 +00:00
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-26 23:53 UTC · original

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-26T23:53:49.012581Z
We couldn’t complete this review. Comment @codex review to try again.
f99cbee 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.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-26 23:53 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/462#issuecomment-7205969211) <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"f99cbeeb175b64eedc0d5c45e5c268fafe3488e3","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-26T23:53:49.012581Z">2026-11-26T23:53:49.012581Z</relative-time><br/>We couldn’t complete this review. Comment `@codex review` to try again. | `f99cbee` | 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>
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-26 23:53 UTC · original

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.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-26 23:53 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/462#issuecomment-7205969788) 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).
Author
Owner

@⁠pepezin-ai on GitHub · 2026-11-27 00:43 UTC · original

Another data point for the 16-logical-CPU threshold, on a CPU that sits exactly at it.

Machine: Ryzen 7 5700X 8C/16T, 32 GB RAM, RTX 5070 12 GB, Windows 11. Series X, VICTORY_OUTPUT=1920x1080, warm cache, same save and spot (open world), one run each, 90 s measured after pipelines reached 0.

Pools (THIN / UNDER / LAND) fps mean fps median log confirms
8 / 6 / 4 (5a08a33) 9.05 9.60 –
12 / 8 / 6 (2225a8e) 10.91 11.65 list calls ... threads=12

About +20 %, in line with your 19.6 → 23.8 on 24 logical CPUs, so 16 looks like a fine threshold for 8-core SMT parts too. The texture queue was still draining in both runs (~9k waiting), so the absolute numbers will move up a bit.

Side note: tests/fixtures/lancer_victory_vicetay.ps1 still carries only the 8/6/4 set, so anyone launching through the PowerShell copy instead of anyxboxx run does not get these pools (I added the same ProcessorCount -ge 16 override locally to measure).

**@⁠pepezin-ai** on GitHub · 2026-11-27 00:43 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/462#issuecomment-7206700907) Another data point for the 16-logical-CPU threshold, on a CPU that sits exactly at it. **Machine:** Ryzen 7 5700X 8C/16T, 32 GB RAM, RTX 5070 12 GB, Windows 11. Series X, `VICTORY_OUTPUT=1920x1080`, warm cache, same save and spot (open world), one run each, 90 s measured after pipelines reached 0. | Pools (THIN / UNDER / LAND) | fps mean | fps median | log confirms | |---|---|---|---| | 8 / 6 / 4 (5a08a33) | 9.05 | 9.60 | – | | 12 / 8 / 6 (2225a8e) | **10.91** | **11.65** | `list calls ... threads=12` | About +20 %, in line with your 19.6 → 23.8 on 24 logical CPUs, so 16 looks like a fine threshold for 8-core SMT parts too. The texture queue was still draining in both runs (~9k waiting), so the absolute numbers will move up a bit. Side note: `tests/fixtures/lancer_victory_vicetay.ps1` still carries only the 8/6/4 set, so anyone launching through the PowerShell copy instead of `anyxboxx run` does not get these pools (I added the same `ProcessorCount -ge 16` override locally to measure).
This discussion has been locked. Commenting is limited to contributors.
No description provided.