[performance] DARNER_POOL_SMALL=auto #209
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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=automay 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=autoDARNER_POOL_SMALL=0Please 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
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.
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.
Here are pointers for the A/B. Our guide is in PR #152,
docs/ab-testing.md(not onmainyet): #152The short version:
Keep fixed
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.DARNER_POOL_SMALLbetweenautoand0, indarner-settings.txtor with--set. Restart the game between runs.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
DARNER_BENCH_CSV), the number of runs, and the spread between runs of the same arm.draws/framefor each run. If two runs differ by more than about 10 %, the scene was not the same.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.
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:
autoagainst0makes no frame-rate difference I can detect in the opening cinematic. Video memory is 1.7-1.8 GB lower withauto.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'ssmall 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.DARNER_POOL_SMALLauto0auto0auto, 26.1-26.4 with0. The difference between arms is smaller than the spread within each arm, so it's not detectable here.0(9.1 and 12.8) and narrowly withinauto(11.6 and 11.4), so no direction can be read from it.auto, the same direction as the 4070 Ti SUPER runs above. NoExceeded VRAM budgetlines in any run.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.ps1summaries andnvidia-smisamples. User and PC names are replaced.