Performance data from a 6-core + RTX 3060 PC: three defaults and the DLSS model #585

Open
opened 2026-12-04 00:06:55 +00:00 by Kebabbabek · 0 comments
Kebabbabek commented 2026-12-04 00:06:55 +00:00 (Migrated from github.com)
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by Kebabbabek on 2026-12-04T00:06:55Z.


foxhound version:
A build of main from 1 December 2026 (before 0.8.3), with local changes. I couldn't run 0.8.3.5 because it needs the title profile, which I don't have. Where 0.8.3.5's code has moved on from what I measured, I say so below.

GPU / CPU / RAM / Windows:
RTX 3060 12 GB (Resizable BAR on), Ryzen 5 5600 (6 cores, 12 threads), 32 GB, Windows 11.

Launcher settings (resolution, DLSS, Frame Generation, VRAM limit):
1080p output, Series S, DLSS Performance (so it renders at 960x540), no frame generation, no VRAM limit set.

What happens, and when:

Frame rates are around 18–24 fps, so I measured the defaults that should matter on a PC like this. Several of them come out differently here than in your notes, which were measured on one faster PC.

How I measured:

  • I replayed the same recorded input from the same saved point each run, with the window in front, in a release build.
  • I compared seconds 90–330 of each run.
  • Runs of the same build differ by about ±4 ms at ~50 ms frames, so each A/B is 2–3 rounds, taken in turn.
  • "Interior" is a sunlit indoor scene about 8 minutes in. "Start" is the first minutes of play.

1. VICTORY_GUARD_HOT=50 (launcher and play script) is slower here

VICTORY_STORE_BESIDE=1 was on in both builds.

GUARD_HOT=50 off
Interior (3 rounds) 63.2 ms/frame 61.0
Start (2 rounds) 43.8 42.0

Leaving blocks open longer was much worse (diagnostics build, interior): 200 ms gave 91 ms/frame and 500 ms gave 127. At 50–60 ms frames, a block left open is copied whole at every refresh that takes it. That seems to cost more than the faults and protection changes it saves. #361 saw the same on an 8 GB laptop: 250 ms took refreshes from 17 to 50 ms.

Suggestion: leave it off by default, or tie it to frame time.

2. VICTORY_WINDOWS_BAR_MB=1024 is faster here, but the launcher doesn't set it

WINDOWS_BAR_MB=0 1024
Interior (3 rounds) 54.5 ms/frame 51.1 (every run faster than every run without)
Start (3 rounds) 40.5 39.5

2048 was no better than 1024. This agrees with the 29 → 26 ms in the comment on window_mapped_most.

Suggestion: 1024 by default where Resizable BAR is present. Your VICTORY_WINDOWS_BAR_FROM_BUDGET=1 could serve as the guard for 8 GB cards. I couldn't test it, because it isn't in my build.

3. The DLSS model: the driver's default for Performance costs 1 ms more than K and draws white specks

VICTORY_DLSS_PRESET=default gives model M for Performance with NGX 310.9.16. I timed the DLSS evaluate alone, 960x540 → 1080p on the 3060, as the median of repeated runs on stand-in textures:

Model ms per frame
L 3.25
M (default) 2.56
J / K 1.56
E 0.69

In the interior, model M shows many bright one-pixel white specks over dark surfaces: ceiling, walls, furniture. With K they are gone, and only faint dust in the sunlight remains. I checked each change on its own (model vs a shader change), and the specks follow the model only.

Suggestion: K as the default model for Performance.

4. Turning off the Windows hypervisor (VBS / memory integrity) helped a lot

VBS on off
Interior (3 rounds) 61.0 ms/frame 55.0
Start 42.0 42.2

How I turned it off: bcdedit /set hypervisorlaunchtype off, plus memory integrity off. The write watch's kernel calls got about twice as fast.

These runs are from before and after a reboot, so not taken in turn. Turning this off lowers Windows' protection, so it's a README note for people who want to choose, not a default.

Smaller notes

Where the card's time goes, the exact multiply, thread counts, scratch memory
  • Card time by command (diagnostics build with VICTORY_GPU_TIMING=1, interior, ~42 ms a frame on the card):

    Command ms per frame How many
    Indirect 21 5,350
    Dispatches 12 1,250
    Mesh 6.5 1,450
    Alias copies 1.6 81
    Draws 1.2

    Every alias copy goes from R32_UINT (written) to R9G9B9E5_SHAREDEXP (read). Castable formats might avoid them; I haven't tried.

  • The exact multiply (v_mul_legacy_f32) is about 15% of the title's shader instructions. On NVIDIA each one becomes FMUL + FMNMX + FSETP + FSEL.

    • In an offline replay of a captured interior frame, a plain multiply took 3.0 ms off 41. It's not safe, since 0·inf gives NaN.
    • A form that turns a NaN product into +0 took 0.8 ms off. It differs from the exact form only for NaN·x (x ≠ 0) and the sign of zero.
    • Live, neither raised fps here, because the PC is processor-bound once the card has slack.
  • Card load: with model K, the card is idle about 7–10 ms of each ~50 ms frame in the interior (busy 81–85%). The game's own threads and the submitting thread are the limit there.

  • List threads: on this 6-core CPU, 8 list threads were faster than 0.8.3's 6 or 4, which supports 0.8.3.5 going back to 8. These are 3 rounds each, from an older build with the window not in front:

    8 threads 6 4
    Interior 58.5 ms/frame 62.3 62.0
    Start 49.8 51.1 51.7
  • Scratch memory: keeping fewer spare scratch chunks on a 32 GB PC gave +6–8% here. 0.8.3.5's SPARE_MOST cap covers the same problem.

Tools

To get repeatable runs I wrote an input record/replay tool. It records pad input with timestamps, replays it from a saved point, and takes screenshots at intervals. A script compares the frame times of a window of seconds across runs. If that would be useful in the repository, I can open a PR.

Log:
I can provide logs for any of the runs above, with the game folder replaced by <game>.

<!-- greyfinch-sync:readmet3xt-lab/foxhound:issue:6781327121 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/585). Originally posted by [Kebabbabek](https://github.com/Kebabbabek) on 2026-12-04T00:06:55Z. --- **foxhound version:** A build of `main` from 1 December 2026 (before 0.8.3), with local changes. I couldn't run 0.8.3.5 because it needs the title profile, which I don't have. Where 0.8.3.5's code has moved on from what I measured, I say so below. **GPU / CPU / RAM / Windows:** RTX 3060 12 GB (Resizable BAR on), Ryzen 5 5600 (6 cores, 12 threads), 32 GB, Windows 11. **Launcher settings (resolution, DLSS, Frame Generation, VRAM limit):** 1080p output, Series S, DLSS Performance (so it renders at 960x540), no frame generation, no VRAM limit set. **What happens, and when:** Frame rates are around 18–24 fps, so I measured the defaults that should matter on a PC like this. Several of them come out differently here than in your notes, which were measured on one faster PC. How I measured: - I replayed the same recorded input from the same saved point each run, with the window in front, in a release build. - I compared seconds 90–330 of each run. - Runs of the same build differ by about ±4 ms at ~50 ms frames, so each A/B is 2–3 rounds, taken in turn. - "Interior" is a sunlit indoor scene about 8 minutes in. "Start" is the first minutes of play. ### 1. `VICTORY_GUARD_HOT=50` (launcher and play script) is slower here `VICTORY_STORE_BESIDE=1` was on in both builds. | | GUARD_HOT=50 | off | |---|---|---| | Interior (3 rounds) | 63.2 ms/frame | 61.0 | | Start (2 rounds) | 43.8 | 42.0 | Leaving blocks open longer was much worse (diagnostics build, interior): 200 ms gave 91 ms/frame and 500 ms gave 127. At 50–60 ms frames, a block left open is copied whole at every refresh that takes it. That seems to cost more than the faults and protection changes it saves. #361 saw the same on an 8 GB laptop: 250 ms took refreshes from 17 to 50 ms. Suggestion: leave it off by default, or tie it to frame time. ### 2. `VICTORY_WINDOWS_BAR_MB=1024` is faster here, but the launcher doesn't set it | | WINDOWS_BAR_MB=0 | 1024 | |---|---|---| | Interior (3 rounds) | 54.5 ms/frame | 51.1 (every run faster than every run without) | | Start (3 rounds) | 40.5 | 39.5 | 2048 was no better than 1024. This agrees with the 29 → 26 ms in the comment on `window_mapped_most`. Suggestion: 1024 by default where Resizable BAR is present. Your `VICTORY_WINDOWS_BAR_FROM_BUDGET=1` could serve as the guard for 8 GB cards. I couldn't test it, because it isn't in my build. ### 3. The DLSS model: the driver's default for Performance costs 1 ms more than K and draws white specks `VICTORY_DLSS_PRESET=default` gives model M for Performance with NGX 310.9.16. I timed the DLSS evaluate alone, 960x540 → 1080p on the 3060, as the median of repeated runs on stand-in textures: | Model | ms per frame | |---|---| | L | 3.25 | | M (default) | 2.56 | | J / K | 1.56 | | E | 0.69 | In the interior, model M shows many bright one-pixel white specks over dark surfaces: ceiling, walls, furniture. With K they are gone, and only faint dust in the sunlight remains. I checked each change on its own (model vs a shader change), and the specks follow the model only. Suggestion: K as the default model for Performance. ### 4. Turning off the Windows hypervisor (VBS / memory integrity) helped a lot | | VBS on | off | |---|---|---| | Interior (3 rounds) | 61.0 ms/frame | 55.0 | | Start | 42.0 | 42.2 | How I turned it off: `bcdedit /set hypervisorlaunchtype off`, plus memory integrity off. The write watch's kernel calls got about twice as fast. These runs are from before and after a reboot, so not taken in turn. Turning this off lowers Windows' protection, so it's a README note for people who want to choose, not a default. ### Smaller notes <details> <summary>Where the card's time goes, the exact multiply, thread counts, scratch memory</summary> - **Card time by command** (diagnostics build with `VICTORY_GPU_TIMING=1`, interior, ~42 ms a frame on the card): | Command | ms per frame | How many | |---|---|---| | Indirect | 21 | 5,350 | | Dispatches | 12 | 1,250 | | Mesh | 6.5 | 1,450 | | Alias copies | 1.6 | 81 | | Draws | 1.2 | | Every alias copy goes from R32_UINT (written) to R9G9B9E5_SHAREDEXP (read). Castable formats might avoid them; I haven't tried. - **The exact multiply** (`v_mul_legacy_f32`) is about 15% of the title's shader instructions. On NVIDIA each one becomes FMUL + FMNMX + FSETP + FSEL. - In an offline replay of a captured interior frame, a plain multiply took 3.0 ms off 41. It's not safe, since 0·inf gives NaN. - A form that turns a NaN product into +0 took 0.8 ms off. It differs from the exact form only for NaN·x (x ≠ 0) and the sign of zero. - Live, neither raised fps here, because the PC is processor-bound once the card has slack. - **Card load:** with model K, the card is idle about 7–10 ms of each ~50 ms frame in the interior (busy 81–85%). The game's own threads and the submitting thread are the limit there. - **List threads:** on this 6-core CPU, 8 list threads were faster than 0.8.3's 6 or 4, which supports 0.8.3.5 going back to 8. These are 3 rounds each, from an older build with the window not in front: | | 8 threads | 6 | 4 | |---|---|---|---| | Interior | 58.5 ms/frame | 62.3 | 62.0 | | Start | 49.8 | 51.1 | 51.7 | - **Scratch memory:** keeping fewer spare scratch chunks on a 32 GB PC gave +6–8% here. 0.8.3.5's `SPARE_MOST` cap covers the same problem. </details> ### Tools To get repeatable runs I wrote an input record/replay tool. It records pad input with timestamps, replays it from a saved point, and takes screenshots at intervals. A script compares the frame times of a window of seconds across runs. If that would be useful in the repository, I can open a PR. **Log:** I can provide logs for any of the runs above, with the game folder replaced by `<game>`.
Sign in to join this conversation.
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
readmet3xt-lab/foxhound#585
No description provided.