Measurements on a mid-range PC (i5-12400F + RTX 3060): one preparing thread is the wall; thread counts and priority don't help #200

Closed
opened 2026-11-27 19:41:06 +00:00 by github-bot · 3 comments
Owner

@⁠leozinwf on GitHub · 2026-11-27 19:38 UTC · original

All the measurements in the README and docs/findings.md come from high-end machines (RTX 5070 + 9800X3D, i9-12900K + 7900 XTX). Here are numbers from a mid-range PC, in case they help decide what to work on next.

PC: Intel i5-12400F (6 cores / 12 threads, P-cores only), 48 GB DDR4-3200, GeForce RTX 3060 12 GB (driver 621.40), Windows 11, Windows power plan "High performance", HAGS on.
Build: 29d8dbf (release), pipelines made ahead with the launcher's -Preload (88,775 pipelines; 225 of 25,985 shaders don't translate; 27 pipelines have no host version).
Scene: the deck of the first house, standing still, same camera direction. Median of the last 2 minutes of each run, from the layer's own log.

Modes (launcher PLAY_FRAMEGEN.cmd)

Mode Real fps Shown (FSR 3 2x) Limit
1: Series X 1440p, DLSS Quality ~7.5 ~15 card, ~68 ms a frame
3: Series S, DLSS Quality ~12-13 (9 in denser outdoor scenes, ~10-13k draws) ~19-26 preparing thread
4: Series X 1440p, DLSS Performance 12.7 ~25 preparing thread

FSR 3 frame generation (AUTO, RTX 30) works: 2x, AMD DLLs signed, frames generated only once loading ends. At ~12 real fps it shows ghosting in motion, as expected.

Thread counts and priority (mode 4, same spot)

Run Real fps ms/frame Preparing thread "on the GPU" (frame line)
Defaults 12.7 79 49 ms 4 ms
VICTORY_THIN_THREADS=4 11.9 84 51 ms 4 ms
VICTORY_UNDER_THREADS=3 + VICTORY_VIEW_THREADS=3 11.6 88 54 ms 8 ms
Defaults + High priority 11.9 84 52 ms 7 ms

Differences are within run-to-run noise and the defaults came first, so fewer worker threads on a 12-thread CPU don't free time for the preparing thread. On this CPU that one thread (~50 ms: about 21 ms in the lists' steps, 14 of them texture refreshes; 8 copies in the card's memory; 8.5 planning) is the wall, which matches item 1 of "What is next" in docs/findings.md.

One documentation note

Before -Preload existed, running victory warm by hand as docs/README-foxhound.md "Warming up" describes made pipelines under a different translation fingerprint than the game (the shell didn't have VICTORY_EARLY_DEPTH=1 and the other launcher switches), so the driver cache missed and each mesh pipeline still took ~4 s in play. -Preload fixes that. It may be worth saying in "Warming up" that warm/shaders must run with the launcher's switches, or to point people to -Preload instead.

Happy to run more measurements on this machine if useful.


Generated by Claude Code

**@⁠leozinwf** on GitHub · 2026-11-27 19:38 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/200) All the measurements in the README and docs/findings.md come from high-end machines (RTX 5070 + 9800X3D, i9-12900K + 7900 XTX). Here are numbers from a mid-range PC, in case they help decide what to work on next. **PC:** Intel i5-12400F (6 cores / 12 threads, P-cores only), 48 GB DDR4-3200, GeForce RTX 3060 12 GB (driver 621.40), Windows 11, Windows power plan "High performance", HAGS on. **Build:** `29d8dbf` (release), pipelines made ahead with the launcher's `-Preload` (88,775 pipelines; 225 of 25,985 shaders don't translate; 27 pipelines have no host version). **Scene:** the deck of the first house, standing still, same camera direction. Median of the last 2 minutes of each run, from the layer's own log. ### Modes (launcher `PLAY_FRAMEGEN.cmd`) | Mode | Real fps | Shown (FSR 3 2x) | Limit | |---|---|---|---| | 1: Series X 1440p, DLSS Quality | ~7.5 | ~15 | card, ~68 ms a frame | | 3: Series S, DLSS Quality | ~12-13 (9 in denser outdoor scenes, ~10-13k draws) | ~19-26 | preparing thread | | 4: Series X 1440p, DLSS Performance | 12.7 | ~25 | preparing thread | FSR 3 frame generation (AUTO, RTX 30) works: 2x, AMD DLLs signed, frames generated only once loading ends. At ~12 real fps it shows ghosting in motion, as expected. ### Thread counts and priority (mode 4, same spot) | Run | Real fps | ms/frame | Preparing thread | "on the GPU" (frame line) | |---|---|---|---|---| | Defaults | **12.7** | 79 | 49 ms | 4 ms | | `VICTORY_THIN_THREADS=4` | 11.9 | 84 | 51 ms | 4 ms | | `VICTORY_UNDER_THREADS=3` + `VICTORY_VIEW_THREADS=3` | 11.6 | 88 | 54 ms | 8 ms | | Defaults + High priority | 11.9 | 84 | 52 ms | 7 ms | Differences are within run-to-run noise and the defaults came first, so fewer worker threads on a 12-thread CPU don't free time for the preparing thread. On this CPU that one thread (~50 ms: about 21 ms in the lists' steps, 14 of them texture refreshes; 8 copies in the card's memory; 8.5 planning) is the wall, which matches item 1 of "What is next" in docs/findings.md. ### One documentation note Before `-Preload` existed, running `victory warm` by hand as docs/README-foxhound.md "Warming up" describes made pipelines under a different translation fingerprint than the game (the shell didn't have `VICTORY_EARLY_DEPTH=1` and the other launcher switches), so the driver cache missed and each mesh pipeline still took ~4 s in play. `-Preload` fixes that. It may be worth saying in "Warming up" that `warm`/`shaders` must run with the launcher's switches, or to point people to `-Preload` instead. Happy to run more measurements on this machine if useful. --- _Generated by [Claude Code](https://claude.ai/code)_
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 19:41:06 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-27 20:59 UTC · original

Thanks for the report. v2026.11.27.6 is out (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6). Since this was posted, releases from v2026.11.27.4 on include:

  • a fix for memory that kept growing through a session (PR #58), behind late-session slowdowns, full RAM/VRAM and coloured blocks;
  • a fix for very long frames when the low memory range filled up (PR #88).

If you have time, please try .6 and post new numbers or a new log here. It helps to see what changed on your PC.

**@⁠trustno1-coder** on GitHub · 2026-11-27 20:59 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/200#issuecomment-7228029288) Thanks for the report. **v2026.11.27.6** is out (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6). Since this was posted, releases from v2026.11.27.4 on include: - a fix for memory that kept growing through a session (PR #58), behind late-session slowdowns, full RAM/VRAM and coloured blocks; - a fix for very long frames when the low memory range filled up (PR #88). If you have time, please try .6 and post new numbers or a new log here. It helps to see what changed on your PC.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-27 21:08 UTC · original

Thanks for the detailed report. It's noted, and it stays here for others to find. Closing it, since it's a measurement rather than a single bug to fix. Since it was posted, v2026.11.27.4 and later (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6) fixed memory that kept growing and very long frames when memory filled up. If you find a specific bug or crash, please open an issue for it with the log.

**@⁠trustno1-coder** on GitHub · 2026-11-27 21:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/200#issuecomment-7228176576) Thanks for the detailed report. It's noted, and it stays here for others to find. Closing it, since it's a measurement rather than a single bug to fix. Since it was posted, v2026.11.27.4 and later (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6) fixed memory that kept growing and very long frames when memory filled up. If you find a specific bug or crash, please open an issue for it with the log.
Author
Owner

@⁠leozinwf on GitHub · 2026-11-27 21:39 UTC · original

Thanks! Tried v2026.11.27.6 on the same PC (i5-12400F, RTX 3060 12 GB, 48 GB), same spot on the first house's deck, mode 4 (Series X 1440p, DLSS Performance, FSR 3 frame generation 2x), standing still, medians from the layer's log:

Build Real fps Submitting thread GPU
29d8dbf (before) 12.1 73.5 ms 4.9 ms
v2026.11.27.6 13.3 first 2 min, 13.7 over 23 min (12.5–14.7) 67–68 ms 11–18 ms

About +12%, and it stayed steady for the whole 23 minutes with no late-session slowdown. Only one "host memory pressure" warning, while loading. I have the log of that run (victory-nvidia-20261127-180445.log, 25 min) if you want it.

The submitting thread still sets the frame at ~67 ms: refreshes ~11 ms, copies in the card's memory ~14–17, title bytes under shader writes ~9–12, planning ~8.

Side note, in case it helps: I also tried porting a few CPU-side changes from Belobug's AMD fork by hand.

  • UNDER_FUSED (one pass over the title's bytes under flights' writes): +12% on 29d8dbf in two off/on pairs (11.5→12.9, 12.1→13.6), but no measurable gain on top of .6.
  • Giving the submitting thread a core of its own (LANE_CORE, adapted for a 6-core CPU): +6% on 29d8dbf, nothing measurable on .6.
  • Joining barrier calls (JOIN_BARRIERS): slower here (11.6 vs 12.4).

So on .6 those overlap with what you already fixed. Run-to-run noise today was about ±0.7 fps.


Generated by Claude Code

**@⁠leozinwf** on GitHub · 2026-11-27 21:39 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/200#issuecomment-7228643982) Thanks! Tried **v2026.11.27.6** on the same PC (i5-12400F, RTX 3060 12 GB, 48 GB), same spot on the first house's deck, mode 4 (Series X 1440p, DLSS Performance, FSR 3 frame generation 2x), standing still, medians from the layer's log: | Build | Real fps | Submitting thread | GPU | |---|---|---|---| | 29d8dbf (before) | 12.1 | 73.5 ms | 4.9 ms | | **v2026.11.27.6** | **13.3 first 2 min, 13.7 over 23 min (12.5–14.7)** | 67–68 ms | 11–18 ms | About +12%, and it stayed steady for the whole 23 minutes with no late-session slowdown. Only one "host memory pressure" warning, while loading. I have the log of that run (`victory-nvidia-20261127-180445.log`, 25 min) if you want it. The submitting thread still sets the frame at ~67 ms: refreshes ~11 ms, copies in the card's memory ~14–17, title bytes under shader writes ~9–12, planning ~8. Side note, in case it helps: I also tried porting a few CPU-side changes from Belobug's AMD fork by hand. - `UNDER_FUSED` (one pass over the title's bytes under flights' writes): +12% on 29d8dbf in two off/on pairs (11.5→12.9, 12.1→13.6), but no measurable gain on top of .6. - Giving the submitting thread a core of its own (`LANE_CORE`, adapted for a 6-core CPU): +6% on 29d8dbf, nothing measurable on .6. - Joining barrier calls (`JOIN_BARRIERS`): slower here (11.6 vs 12.4). So on .6 those overlap with what you already fixed. Run-to-run noise today was about ±0.7 fps. --- _Generated by [Claude Code](https://claude.ai/code)_
This discussion has been locked. Commenting is limited to contributors.
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#200
No description provided.