[report][performance][memory][NVIDIA] Under-test switches (LIST_VIEWS_FRAME, FAST_PUBLISH, STREAM_RETIRE, LIST_LAZY) on an RTX 4050 Laptop 6 GB, Series S, frame generation 3x: no change in fps or memory #269
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?
Results
The README rows of
DARNER_LIST_VIEWS_FRAME,DARNER_FAST_PUBLISHandDARNER_STREAM_RETIREsay they were measured on one RTX 4090 or one PC and are "not yet checked on other cards, Series S or with frame generation", and the row ofDARNER_LIST_LAZYsays "Less memory; not measured". Here they are on a 6 GB laptop card, Series S, frame generation 3x. None of them changes frame rate or memory beyond the spread between runs here, and none broke anything in ten minutes each.What ran. One diag exe of
mainf3840d7(v2026.12.03.02), only the switches differ.scripts/bench.ps1 -Seconds 240 -Warmup 45 -Flicker, every run from the same copied save, standing in the city at about 13,000 draws a frame, no input. The runs were interleaved (A, L, P, S, Z, then the same again, then A, with runs for two pull requests between them); the shader and pipeline caches were warm, no shader or pipeline was made in a measured window. fps and ms are rendered frames (not generated ones), the median of the window's 5-second lines. Memory figures are the mean of the last twelvecopystat: memoryandmemory nowlines of a run (its last minute).DARNER_LIST_VIEWS_FRAME=1DARNER_FAST_LIST_VIEWS=1DARNER_DIRECT_DYNAMIC_CBV=1DARNER_FAST_PUBLISH=1DARNER_STREAM_RETIRE=1DARNER_LIST_LAZY=1What was seen.
preparing per frameline (median of the last minute) is 37.1 to 39.0 ms in A, 36.8 and 38.1 in L, 39.4 and 38.9 in P, 40.1 and 37.9 in S, 34.0 and 38.2 in Z.DARNER_LIST_VIEWS_FRAMEandDARNER_FAST_PUBLISHdo not show here.DARNER_LIST_LAZY=1does what it says to the lists: 1,030 to 1,050 host lists alive against 1,338 to 1,372 without it. Private memory is 190 and 270 MB under the mean of the A runs (17,858 MB) in its two runs, and the A runs themselves span 320 MB, so I can't call it a saving from two runs.crashes.log lines: 0in all runs, and the flicker detector counted 0 A-B-A events, black flashes and frozen frames in every switch run (about 3,400 frames judged in each).What it does not show. One PC, one standing scene, five minutes a run and two runs a switch: no drive, no streaming, so
DARNER_STREAM_RETIRE(which acts when the game unmaps textures) had little to do here. The frame is limited by the CPU in this scene (about 13,000 draws, GPU 1 to 2 ms waited for), so this says nothing about a GPU-limited scene.This report was written with AI assistance (Claude Code).
GPU and driver
RTX 4050 Laptop 6 GB (5,920 MB of its own), driver 621.24
CPU, RAM and Windows version
Ryzen 7 8845HS (8 cores, 16 threads), 32 GB, Windows 11 build 26300
Darner release or commit
main
f3840d7(v2026.12.03.02), built with cargo build --locked --profile diag -p darner --features diagnosticsSettings
Series S, 1080p to 1440p, DLSS Quality, frame generation 3x (DLSS), ray tracing off, texture quality half.
DARNER_FIRST_START_PRELOAD=0in every run (the bench's own).Logs
Not attached (the runs' logs are 11 files of the bench's folders). I can attach any of them if they are of use.
Are you working on a fix?
No
I’ll update the two README entries that say LIST_LAZY is unmeasured and LIST_VIEWS_FRAME has not been checked on Series S or with frame generation. I’ll attribute the measurements to this report and keep the three-switch configuration explicit.
Another data point on the descriptor switches, from a different card and a different exe. The short version: on this PC they cut descriptor work but I can't see it in fps, and the frame isn't limited where they help.
What ran. This is not the exe or the switch set from the report above. It is a diag build of one of my branches (main
f3840d73dplus two diagnostic commits, head599bf6f3a), which adds split counters for the descriptor fill and a switch that adds a fixed delay on the submit thread (DARNER_DIAG_SUBMIT_DELAY_US). Neither is upstream. The switch set is also different:DARNER_LIST_VIEWS_FRAME,DARNER_FAST_LIST_VIEWSandDARNER_DIRECT_DYNAMIC_CBVas in the report, plusDARNER_SHARED_TABLESandDARNER_SAME_TABLES. I did not testDARNER_FAST_PUBLISH,DARNER_STREAM_RETIREorDARNER_LIST_LAZY.PC: RTX 2070 SUPER 8 GB (Turing), driver 621.40, ReBAR off, Ryzen 7 5800X, 32 GB, Windows 11 Pro Insider 26320, GPU clocks unlocked. Series S, DLSS Performance, frame generation off, my usual play set of switches, free roaming. Each row is one run (n = 1 per arm); the numbers are the last 180 one-second lines of that run. From my past runs, two launches of the same setup differ by about 1 fps.
What I see.
What would show it in fps. A PC where the CPU is the limit: a fast card at low settings or a slower CPU, like the laptop in the report where the CPU limits the scene. I can't test that here.
Not measured. Memory: I did not record working set or private memory, so this says nothing about the README's working-set numbers. Also not measured: the three other switches, any other scene, and a second run per arm. No crash or device removal in these five runs. These are game results only; I ran no cargo gates for this.
Run logs are available if you want them.
This comment was written with AI assistance (Claude Code).
Does anyone here have a fast card (RTX 4080, 4090, 5080, 5090 or similar) and a few minutes? One log from you would answer a question I can't answer on my PC.
Why. On my RTX 2070 SUPER the card sets the frame time, so cutting CPU work shows no fps gain here (my numbers are in my comment above). On a fast card the CPU may be the limit instead. The CPU work I mean is the descriptor tables that the title's recording threads fill for every draw. On my PC the recording threads spend about 26 ms each per frame in list calls (about 206 ms over 8 threads), and about 100 ms of that total is filling descriptor tables (one diagnostics run, 2026-12-04). Whether that sets your frame time, I can't tell from here. That is a guess, not a result.
What to run. The normal release exe doesn't write the lines I need, so this needs a diagnostics build. It is built from source; I won't send an exe.
target\diag\darner.exe. The branch is on https://git.gtahub.st/Jesper-A/Darner, branchup-diag-desc-tables; see PR #307. It ismain(f3840d73d) plus three diagnostics-only commits: counters and timers around descriptor work, and one switch that stays off. The timers and the allocation counter add a little CPU cost, so the numbers read slightly high, and it may run a little slower than the release exe.DARNER_*switches for this run.darner-play-<date>-<time>-<number>.logordarner-nvidia-<date>-<time>.logfrom%LOCALAPPDATA%\darner\logs\(orlogsunderDARNER_HOME). If it is too big for the site, zip it. Please remove your user name, PC name and any tokens from the file first.Please tell me: graphics card and driver, CPU (model, cores/threads), RAM, resolution, DLSS mode, frame generation on or off, console profile (Series S or X), and the Darner version or commit.
Optional: a PresentMon 2.x CSV from the same 3 minutes (its GPUBusy and CPUWait columns would show the same thing from outside).
What I will read, and why (for the maintainer too). Three kinds of line in the log:
list calls by threadandrecording per frame: how much time each recording thread spends in list calls per frame.desc tables: how much of that is descriptor tables.frame chain: how long the title's main thread waits before it starts the next frame, next to how long the frame takes.If the recording threads are busy for about as long as the frame and the main thread doesn't wait, the CPU sets your frame time and descriptor work is worth cutting. If the main thread waits as it does on mine, the card is still the limit and it isn't. Either answer helps.
Thank you.
This comment was written with AI assistance (Claude Code).
Here is one from an RTX 5080, with one big difference from what you asked for: this is Linux under Proton, not Windows (vkd3d-proton turns D3D12 into Vulkan, which adds CPU work of its own). So it may not answer the question for Windows; take it as a data point.
Build. Your branch
up-diag-desc-tablesatc03ed4e, built with thediagnosticsfeature (cross-built withcargo xwin), plus the small Linux patches I always run with (64 MB stacks for the pipeline workers, a guard for driver compiler crashes, skipping the pipelines a warm saw hang, and two input helpers for scripted test runs), none of which touches descriptor work. No extraDARNER_*switches for this run.System. RTX 5080 16 GB, NVIDIA 620.73.04; Ryzen 7 7800X3D (8 cores, 16 threads); 30 GB; Arch Linux, Proton Experimental 11.0-20261123b.
Settings. Series X profile, 2560x1440, DLSS Balanced, frame generation off, my usual 30 fps cap (F1). The run mostly stayed under the cap (16 to 29 fps while walking), but frames that reached it waited for it.
The run. My own save, about 3.5 minutes walking in the open world, quit while walking. The first two minutes include loading and pipelines being compiled; from 14:00:20 to the end (14:03:47) the log shows 0 pipelines being made, so that is the window to read.
What I see in that window, for a quick look (yours to interpret):
list calls by thread: 8 threads, 23 to 24 ms each per frame.recording per frame: about 185 to 189 ms of list calls per frame over all recording threads, 0.0 ms waiting for pipelines.desc tables: about 138 to 139 ms of that intables()(74 %), of it about 80 ms filling about 79,000 slots per frame.frame chain: frames of 46 to 72 ms; the main thread stood 0 to 29 ms at the line's gate.Log attached (zipped, user name replaced). It is the game's whole output for that session, under a name of my own.
Here is one from Windows on a fast card: RTX 5080, your branch
up-diag-desc-tablesatc03ed4e. Two runs, the second with yourDARNER_DIAG_SUBMIT_DELAY_US. Short version: the card is not the limit here, but the threads that fill descriptor tables are not either. Our submitting thread is.System. RTX 5080 16 GB, driver 621.47; Ryzen 7 5800X3D (8 cores, 16 threads); 32 GB; Windows 11 build 26300.
Settings. Series X profile, 2560x1440, DLSS Balanced, frame generation off, ray tracing off, no frame cap.
Build and start.
cargo build --locked --profile diag -p darner --features diagnostics, started withscripts\play-nvidia.ps1 -NoMenu -Build diag -Dlss balanced -Fps 1000, so the launcher's own switch set and nothing of mine on top except test plumbing:DARNER_DATA_DIR(a save copied fresh for each run),DARNER_SKIP_BINK=1,DARNER_KEYS_FILEandDARNER_INPUT_REPLAY(a recorded walk, so both runs take the same route). Run 2 addsDARNER_DIAG_SUBMIT_DELAY_US=10000.The runs. Each loads the save, stands 30 s, then walks 200 s through the city on foot, at night. The numbers are those last 200 s. One warm-up run of the new exe came before, so pipelines were made by then:
waiting for pipelinesis 0.0 to 0.1 ms a frame in run 1 and at most 2.6 ms in run 2.Means per frame over the window (p10 to p90 in brackets where given):
frame chain)list calls by thread: threads, ms eachrecording per frame: list calls, ms over all threadsdesc tables:tables()calls, ms, share of list callsframe chain: the title stood at the line's gate, msframe chain: our submitting thread busy, msframe chain: it stood with the line empty, msthe card's clock: the card busythe card's clock: the submitting thread stood waiting for the card, msWhat I see.
tables()is 68 % of that (74 % in the Linux run above). With the launcher'sDARNER_THIN=1these are the 8darner-list-#threads of ours. They are not what the frame waits for on this PC.darner-list-#threads are about 250 ms of CPU a frame of about 640), so the submitting thread shares cores with them. Its own CPU time is about 24 ms a frame; the rest of its 42 ms is waits inside its jobs (thepreparing per frameline names about 5 ms of them as waiting for the submission lock). Whether cutting descriptor work would shorten those waits, these runs can't say.One related number, from a different setup. Earlier today I tried keeping those threads' list views over frames instead of per frame, as an in-run A/B on my usual settings (a release-profile build, Series S profile, another switch set, so not comparable with the table above). It made about 14 % fewer views a frame and changed nothing I could measure: frame time -0.02 ms ± 0.21 of 38.1 ms over 87 phases, and the translation threads' time per 1,000 list calls 3.702 against 3.700 ms. So on this PC, at least that part of the fill doesn't show in the frame.
Not measured. One PC, one route, one run per arm, on foot only (no driving), no PresentMon. The two runs don't see exactly the same frames (run 2 has 6 % more draws a frame). The driver was still compiling in the background for the new exe (its
D3D Background Threadused about 50 ms of CPU a frame in run 1), which takes cores from everything else. No crash and no device removal; each log has one Streamline error line at startup (presentCommon() was not observed) and none in the window.A few raw lines from the middle of run 1:
Both logs are kept; say so if you want the whole files and I'll attach them.