[performance] DARNER_POOL_SMALL=auto #209

Open
opened 2026-12-04 04:57:07 +00:00 by ArdaRSS · 5 comments

What you see

I'd like to report a possible performance issue with DARNER_POOL_SMALL=auto.

I manually added this setting to an older build before you enabled it by default in the newer release. After adding it, I noticed a drop in in-game FPS on my RTX 5060 Ti 16GB. VRAM usage decreased, but overall performance also seemed to get worse.

Because of this, I suspect that DARNER_POOL_SMALL=auto may be contributing to the FPS drop. I can't say for certain that it's the cause, but I think it deserves a controlled test.

Could you compare these two configurations, especially on NVIDIA GPUs with 16GB of VRAM?

  • DARNER_POOL_SMALL=auto
  • DARNER_POOL_SMALL=0

Please compare actual FPS and frametime results, not just VRAM usage.

On GPUs with sufficient VRAM, the memory savings may not be worth a potential performance loss.

Before you post

  • I read the pinned known-issues thread at the top of the issue list (https://git.gtahub.st/TrustNo1/Darner/issues). If my problem is listed there, I reply in that thread instead of opening this.
  • This issue is about one problem.
  • I verified the game files and run no mods.

RAY TRACING in F1

Off

GPU and driver

RTX 5060 Ti 16GB 621.40

CPU, RAM and Windows version

Ryzen 5 7500F , 32 GB RAM , WINDOWS 11

Darner release or commit

v2026.12.02.02

Settings

series s x 2k x dlss quality k preset , fg off , rt off

Log files attached

e

Are you working on a fix?

I'd like to, with some pointers

### What you see I'd like to report a possible performance issue with `DARNER_POOL_SMALL=auto`. I manually added this setting to an older build before you enabled it by default in the newer release. After adding it, I noticed a drop in in-game FPS on my RTX 5060 Ti 16GB. VRAM usage decreased, but overall performance also seemed to get worse. Because of this, I suspect that `DARNER_POOL_SMALL=auto` may be contributing to the FPS drop. I can't say for certain that it's the cause, but I think it deserves a controlled test. Could you compare these two configurations, especially on NVIDIA GPUs with 16GB of VRAM? - `DARNER_POOL_SMALL=auto` - `DARNER_POOL_SMALL=0` Please compare actual FPS and frametime results, not just VRAM usage. On GPUs with sufficient VRAM, the memory savings may not be worth a potential performance loss. ### Before you post - [x] I read the pinned known-issues thread at the top of the issue list (https://git.gtahub.st/TrustNo1/Darner/issues). If my problem is listed there, I reply in that thread instead of opening this. - [x] This issue is about one problem. - [x] I verified the game files and run no mods. ### RAY TRACING in F1 Off ### GPU and driver RTX 5060 Ti 16GB 621.40 ### CPU, RAM and Windows version Ryzen 5 7500F , 32 GB RAM , WINDOWS 11 ### Darner release or commit v2026.12.02.02 ### Settings series s x 2k x dlss quality k preset , fg off , rt off ### Log files attached e ### Are you working on a fix? I'd like to, with some pointers

On an RTX 4070 Ti SUPER 16 GB, auto saved 1,006–1,410 MB of dedicated GPU memory in adjacent pairs. The real FPS difference changed direction between pairs.

Run order DARNER_POOL_SMALL Real FPS Median / p99 frame time (ms) Frames >100 ms Median dedicated / shared GPU MB
B2 0 35.46 27.72 / 46.45 0 13,377 / 3,253
A2 auto 31.17 31.65 / 43.34 1 11,967 / 2,304
A3 auto 36.31 27.04 / 44.85 0 12,237 / 2,293
B3 0 34.79 28.25 / 48.74 0 13,243 / 3,440

Official v2026.12.03.02, i5-13600KF, 32 GB, Windows 11 build 28000, driver 617.14. Series X, 2560×1440 SDR, DLSS Quality K (1706×960 input), FG and RT off. The log confirmed 4 KiB placement on for auto and off for 0. Both modes started from the same save and cache snapshot and were warmed separately. Two exploratory runs overlapped a background build and were excluded before this four-run sequence. Each scored window is +55 to +100 s after entering the world, 6,194 rendered intervals in total.

Before/after captures show the same character position and parked truck in all four runs. Traffic varied. Median draws/frame ranged from 5,732 to 6,968. Only B3 recorded new shaders/pipelines (5/17). Auto had the lower p99 in both pairs, but A2 had a 137 ms interval. I can confirm the memory savings in this stationary scene. I could not reproduce a consistent FPS penalty here. A drive or the original 5060 Ti/build could behave differently.

On an RTX 4070 Ti SUPER 16 GB, auto saved 1,006–1,410 MB of dedicated GPU memory in adjacent pairs. The real FPS difference changed direction between pairs. | Run order | DARNER_POOL_SMALL | Real FPS | Median / p99 frame time (ms) | Frames >100 ms | Median dedicated / shared GPU MB | |---|---|---:|---:|---:|---:| | B2 | 0 | 35.46 | 27.72 / 46.45 | 0 | 13,377 / 3,253 | | A2 | auto | 31.17 | 31.65 / 43.34 | 1 | 11,967 / 2,304 | | A3 | auto | 36.31 | 27.04 / 44.85 | 0 | 12,237 / 2,293 | | B3 | 0 | 34.79 | 28.25 / 48.74 | 0 | 13,243 / 3,440 | Official v2026.12.03.02, i5-13600KF, 32 GB, Windows 11 build 28000, driver 617.14. Series X, 2560×1440 SDR, DLSS Quality K (1706×960 input), FG and RT off. The log confirmed 4 KiB placement on for auto and off for 0. Both modes started from the same save and cache snapshot and were warmed separately. Two exploratory runs overlapped a background build and were excluded before this four-run sequence. Each scored window is +55 to +100 s after entering the world, 6,194 rendered intervals in total. Before/after captures show the same character position and parked truck in all four runs. Traffic varied. Median draws/frame ranged from 5,732 to 6,968. Only B3 recorded new shaders/pipelines (5/17). Auto had the lower p99 in both pairs, but A2 had a 137 ms interval. I can confirm the memory savings in this stationary scene. I could not reproduce a consistent FPS penalty here. A drive or the original 5060 Ti/build could behave differently.
Collaborator

Here are pointers for the A/B. Our guide is in PR #152, docs/ab-testing.md (not on main yet): #152

The short version:

Keep fixed

  • One darner.exe, the same save, the same spot (or the same recorded route), the same run length (3 to 5 minutes), and the same screen mode and resolution.
  • Frame generation and the frame rate cap the same in both arms (best: frame generation off, as you had it).
  • Change only DARNER_POOL_SMALL between auto and 0, in darner-settings.txt or with --set. Restart the game between runs.
  • Warm up first, with each setting, and do not count that run.
  • A quiet PC: no builds, downloads or other programs on the GPU.

Order: A B B A (auto, 0, 0, auto), at least two runs per arm. Runs drift, and this order cancels most of it.

Report

  • Build, GPU, driver, CPU, RAM, Windows, resolution, and the exact settings lines.
  • Average fps and the 1 % low for every run (the guide says how to get them from the log, or from DARNER_BENCH_CSV), the number of runs, and the spread between runs of the same arm.
  • draws/frame for each run. If two runs differ by more than about 10 %, the scene was not the same.
  • The log files, attached.
  • A difference smaller than the spread between same-arm runs is "not detectable here", not a win or a loss.

akimfomin's table above already uses the mirrored order (B A A B) on a 4070 Ti SUPER and saw the direction change between pairs. A run like that on the 5060 Ti, with the log attached, would show whether the drop you saw is repeatable. We have no clean POOL_SMALL A/B of our own to add.

Drafted with AI assistance (Claude Code).

Here are pointers for the A/B. Our guide is in PR #152, `docs/ab-testing.md` (not on `main` yet): https://git.gtahub.st/TrustNo1/Darner/pulls/152 The short version: **Keep fixed** - One `darner.exe`, the same save, the same spot (or the same recorded route), the same run length (3 to 5 minutes), and the same screen mode and resolution. - Frame generation and the frame rate cap the same in both arms (best: frame generation off, as you had it). - Change only `DARNER_POOL_SMALL` between `auto` and `0`, in `darner-settings.txt` or with `--set`. Restart the game between runs. - Warm up first, with each setting, and do not count that run. - A quiet PC: no builds, downloads or other programs on the GPU. **Order:** A B B A (auto, 0, 0, auto), at least two runs per arm. Runs drift, and this order cancels most of it. **Report** - Build, GPU, driver, CPU, RAM, Windows, resolution, and the exact settings lines. - Average fps and the 1 % low for every run (the guide says how to get them from the log, or from `DARNER_BENCH_CSV`), the number of runs, and the spread between runs of the same arm. - `draws/frame` for each run. If two runs differ by more than about 10 %, the scene was not the same. - The log files, attached. - A difference smaller than the spread between same-arm runs is "not detectable here", not a win or a loss. akimfomin's table above already uses the mirrored order (B A A B) on a 4070 Ti SUPER and saw the direction change between pairs. A run like that on the 5060 Ti, with the log attached, would show whether the drop you saw is repeatable. We have no clean POOL_SMALL A/B of our own to add. Drafted with AI assistance (Claude Code).

Attached the 6,194 scored frame intervals so others can recalculate the table. The ZIP contains four CSVs with relative times, frame times, draws, memory and cache activity.

Using the guide’s whole-window 1% low (1000 / p99), the results in run order were B2 21.53, A2 23.07, A3 22.30 and B3 20.52 FPS. Mean draws/frame were 5,933, 5,742, 6,162 and 6,960. A3/B3 differs by about 13% in draw count, above the guide’s scene-matching threshold, so I would exclude that pair from an FPS attribution. The remaining pair alone is insufficient to establish a speed change. The two auto runs differed by 5.14 FPS, compared with 0.67 FPS between the two runs with 0. These are 45-second scored windows. The repeat on the original 5060 Ti remains open.

Attached the 6,194 scored frame intervals so others can recalculate the table. The ZIP contains four CSVs with relative times, frame times, draws, memory and cache activity. Using the guide’s whole-window 1% low (1000 / p99), the results in run order were B2 21.53, A2 23.07, A3 22.30 and B3 20.52 FPS. Mean draws/frame were 5,933, 5,742, 6,162 and 6,960. A3/B3 differs by about 13% in draw count, above the guide’s scene-matching threshold, so I would exclude that pair from an FPS attribution. The remaining pair alone is insufficient to establish a speed change. The two auto runs differed by 5.14 FPS, compared with 0.67 FPS between the two runs with 0. These are 45-second scored windows. The repeat on the original 5060 Ti remains open.
Contributor

I'm referring you to the PR !151 where I left a comment about the possibility of a regression. I suspect that the increased number of textures remaining loaded is causing the FPS to drop, but I'm not at my PC right now to run more extensive tests.

You'll find all the detailed ABBA tests in the PR !151

I also think we should approach this carefully. Are the VRAM savings worth the FPS loss ? If so, how can we smooth out the performance impact and make the most of the freed-up VRAM ?

Comment written with the help of my keyboard

I'm referring you to the PR !151 where I left a comment about the possibility of a regression. I suspect that the increased number of textures remaining loaded is causing the FPS to drop, but I'm not at my PC right now to run more extensive tests. You'll find all the detailed ABBA tests in the PR !151 I also think we should approach this carefully. Are the VRAM savings worth the FPS loss ? If so, how can we smooth out the performance impact and make the most of the freed-up VRAM ? Comment written with the help of my keyboard

A 16 GB NVIDIA data point, with frame generation on: auto against 0 makes no frame-rate difference I can detect in the opening cinematic. Video memory is 1.7-1.8 GB lower with auto.

PC: RTX 4080 16 GB (driver 32.0.16.1742), Ryzen 9 7900, 32 GB, Windows 11 Home 26200. Build: v2026.12.03.02, diagnostics build of the tag (f3840d7), for the per-frame log. Settings: Series X, 4K output, DLSS Performance, frame generation 2x, ray tracing off.
Method: scripts/bench.ps1 -RayTracing off -Dlss performance -FrameGen 2 -AllowMenuFile -Seconds 180 -Warmup 0, the same copied save each run (the opening cinematic from its first frame, no input), one exe, shader cache warm from an earlier run of the same exe (median pipelines being made: 0 in every run). Order A B A B, not A B B A. The only change between arms is --set DARNER_POOL_SMALL=0; each log's small textures at 4 KiB steps: on (DARNER_POOL_SMALL=auto) / off (DARNER_POOL_SMALL=0) line confirms it. The window is 0-180 s after the world's first frame.

run DARNER_POOL_SMALL fps (median of the 5 s lines) 1 % low fps (1000 / p99) p99 / p99.9 frame time draws per frame (median) video memory, mean (peak), nvidia-smi card busy, mean
A1 auto 26.35 11.6 86.4 / 130.4 ms 4,817 12,947 MB (13,105) 72 %
B1 0 26.1 9.1 109.8 / 186.8 ms 4,788 14,667 MB (14,796) 68 %
A2 auto 26.1 11.4 87.5 / 141.0 ms 4,828 12,990 MB (13,153) 71 %
B2 0 26.4 12.8 78.1 / 148.0 ms 4,837 14,805 MB (14,905) 72 %
  • Frame rate: 26.1-26.35 fps with auto, 26.1-26.4 with 0. The difference between arms is smaller than the spread within each arm, so it's not detectable here.
  • 1 % low: spread widely within 0 (9.1 and 12.8) and narrowly within auto (11.6 and 11.4), so no direction can be read from it.
  • Video memory: 1,720 and 1,815 MB lower with auto, the same direction as the 4070 Ti SUPER runs above. No Exceeded VRAM budget lines in any run.
  • Draws per frame are within 1 % across the four runs, so the scene matched.

Not checked: the open world or driving, frame generation off, 8-12 GB cards, other cards. On this PC the slowdown from v2026.12.02.02 to v2026.12.03.02 comes from somewhere else (#193: #193 (comment)).

Logs attached: darner-issue-209-logs.zip, the four runs' logs, bench.ps1 summaries and nvidia-smi samples. User and PC names are replaced.

A 16 GB NVIDIA data point, with frame generation on: `auto` against `0` makes no frame-rate difference I can detect in the opening cinematic. Video memory is 1.7-1.8 GB lower with `auto`. **PC:** RTX 4080 16 GB (driver 32.0.16.1742), Ryzen 9 7900, 32 GB, Windows 11 Home 26200. **Build:** v2026.12.03.02, diagnostics build of the tag (f3840d7), for the per-frame log. **Settings:** Series X, 4K output, DLSS Performance, frame generation 2x, ray tracing off. **Method:** `scripts/bench.ps1 -RayTracing off -Dlss performance -FrameGen 2 -AllowMenuFile -Seconds 180 -Warmup 0`, the same copied save each run (the opening cinematic from its first frame, no input), one exe, shader cache warm from an earlier run of the same exe (median pipelines being made: 0 in every run). Order A B A B, not A B B A. The only change between arms is `--set DARNER_POOL_SMALL=0`; each log's `small textures at 4 KiB steps: on (DARNER_POOL_SMALL=auto)` / `off (DARNER_POOL_SMALL=0)` line confirms it. The window is 0-180 s after the world's first frame. | run | `DARNER_POOL_SMALL` | fps (median of the 5 s lines) | 1 % low fps (1000 / p99) | p99 / p99.9 frame time | draws per frame (median) | video memory, mean (peak), nvidia-smi | card busy, mean | |---|---|---|---|---|---|---|---| | A1 | `auto` | 26.35 | 11.6 | 86.4 / 130.4 ms | 4,817 | 12,947 MB (13,105) | 72 % | | B1 | `0` | 26.1 | 9.1 | 109.8 / 186.8 ms | 4,788 | 14,667 MB (14,796) | 68 % | | A2 | `auto` | 26.1 | 11.4 | 87.5 / 141.0 ms | 4,828 | 12,990 MB (13,153) | 71 % | | B2 | `0` | 26.4 | 12.8 | 78.1 / 148.0 ms | 4,837 | 14,805 MB (14,905) | 72 % | - **Frame rate:** 26.1-26.35 fps with `auto`, 26.1-26.4 with `0`. The difference between arms is smaller than the spread within each arm, so it's not detectable here. - **1 % low:** spread widely within `0` (9.1 and 12.8) and narrowly within `auto` (11.6 and 11.4), so no direction can be read from it. - **Video memory:** 1,720 and 1,815 MB lower with `auto`, the same direction as the 4070 Ti SUPER runs above. No `Exceeded VRAM budget` lines in any run. - Draws per frame are within 1 % across the four runs, so the scene matched. Not checked: the open world or driving, frame generation off, 8-12 GB cards, other cards. On this PC the slowdown from v2026.12.02.02 to v2026.12.03.02 comes from somewhere else (#193: https://git.gtahub.st/TrustNo1/Darner/issues/193#issuecomment-864605). Logs attached: `darner-issue-209-logs.zip`, the four runs' logs, `bench.ps1` summaries and `nvidia-smi` samples. User and PC names are replaced.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
5 participants
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
TrustNo1/Darner#209
No description provided.