Card-bound on a 12 GB card: the card meter puts 36–42 ms of a 46–53 ms frame in the title's lists, with 3.9 GB of page-buffer tiles in PC memory #373
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner#373
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
On a 41-minute open-world run (pipeline library warm: 337 compiles in the whole run), the frame rate is 18.8–21.7 fps, which is 46–53 ms a frame. Both figures are medians per 10 minutes, and frame generation doubles the shown rate.
The card looks like the limit:
At the same time, much of what the card reads is in the PC's memory (launcher defaults):
DARNER_PAGE_BUFFERS=3): 952 windows, "tiles in the PC's memory 3921 MB (68% of whole) + 0 MB on the card".DARNER_TEX_PARK=1): 11,925 textures (1,689 MB) parked in the PC's memory.What I don't know is whether this card time is the scene itself or comes partly from reading that memory over the bus. #83 is a related card-bound report, where one compute program was the top item on a 4070. The doc at
pagebuf.rs:69-75records that mode 2 cost the card 93 ms a frame against 37 when it read from the PC's memory, and it says mode 3 "drops what it cost". This run only shows that the card is busy with 3.9 GB of tiles in the PC's memory. It doesn't show the cause.An A/B with the card meter would settle it:
DARNER_PAGE_BUFFERS=4(hot pages on card tiles),DARNER_PAGE_BUFFERS=0, andDARNER_TEX_PARK=0, each against a baseline on the same route. I haven't run these yet and will add the results here.Before you post
RAY TRACING in F1
Off
GPU and driver
RTX 4070 Ti 12 GB, driver 621.01
CPU, RAM and Windows version
i7-14700K, 32 GB, Windows 11 (build 26300)
Darner release or commit
v2026.12.03.02
Settings
Series X, 1080p to 1440p, DLSS Quality, DLSS frame generation 2x, ray tracing off, texture quality high. Started from the play launcher with its defaults, including
DARNER_PAGE_BUFFERS=3,DARNER_TEX_PARK=1andDARNER_HEAP_TWIN=1. The full switches line is at the top of the log.Log files attached
darner-play-20261204-093959-22072.logis not attached (52 MB). I can share a redacted copy.Are you working on a fix?
No
Thanks for the careful write-up. One small request for the A/B you plan, so the card-time numbers can be weighed against memory.
Two of the arms probably change how much PC memory the title commits, so a faster arm may not be a free win:
DARNER_PAGE_BUFFERS=4: by the doc atpagebuf.rs:107-112, a hot tile keeps its tile in the PC's memory and also gets a tile on the card. So it adds card memory on top of the PC memory. On our PC (RTX 2070 SUPER, driver 621.40, a small test program, not Darner itself) a card-memory heap of 64 MiB raised the process's committed memory by about 64 MiB. We have not measured that for mode 4 or on a 12 GB card, so please treat it as a reason to look, not as a result.DARNER_PAGE_BUFFERS=0: this puts the windows back as whole buffers in the PC's memory. That gives back what mode 3 saves; your log's memory line will show how much that is on your run.Could you keep the log's
memory now:lines for each arm? That line givescommitted ... MB, the card's own memory in use against its budget, and the PC memory shared with the card. The last one before the end of each run, or one at the same minute in each run, is enough. Then a card-time gain can be set against what it costs in memory.No hurry, and the plan you wrote is already clear. If it helps, I can read a redacted log for these lines.
This post was written with AI assistance (Claude Code).
@Jesper-A: thanks, will do. For each arm and the baseline (same route), I'll post the card-meter time next to the last
memory now:line of the run (committed, the card's memory in use against its budget, and the PC memory shared with the card), plus one taken at the same minute in each run.These runs aren't done yet. I'm on other runs first, and I'll post the results here.
This post was written with AI assistance (Claude Code).
Some numbers from the same card model (RTX 4070 Ti 12 GB, driver 621.24) that might help with the bus-read question.
f3840d73, 1440p output, frame generation off, no cap, 10 min each, same save and camera script, all at about 8,000 draws a frame.Independent A–B–B–A on an RTX 4060 8 GB (driver 621.40), Ryzen 7 5800X, 32 GB RAM, Windows 11 build 26300. I used the
v2026.12.03.02revisionf3840d73, Series S, DLSS Quality, half texture quality, frame generation and RT off. A isDARNER_PAGE_BUFFERS=3, B is4. Every run started with an isolated clone of the same save and warm cache. The test covers the opening sequence, 45–150 s after the world marker. FPS uses complete rendered intervals and their summed duration. GPU time is the median of timed card-meter intervals for the title’s lists plus Darner’s present copies. I shifted readout timestamps back by the nominal one-second readback delay and kept complete intervals inside the window. Process commit and DXGI use are medians of sampled process-log values.The highest sampled placements were 335 MiB in B1 and 317 MiB in B2, with medians of 112 and 3 MiB across four and three samples. Both B passes had lower median GPU timestamp times for the title’s lists plus Darner’s present copies than either A pass. The narrowest gap was 0.15 ms, and the effective local budget also varied across runs, with medians of 5,785–6,677 MiB. The FPS, P99, process commit and DXGI-use ranges overlap across modes. This comparison covers only mode 3 versus 4 in the opening sequence. The original open-world route, mode 0 and texture parking off remain separate comparisons.
I reanalysed the same RTX 4060 ABBA capture on
f3840d73without running the game again. I kept the original 45–150 s window and usedcard_read_upto_presentto align the GPU counters. I grouped counter deltas until the watermark advanced and retained complete Present ranges inside the window. The numbers below are summed GPU timestamp time divided by the number of covered rendered Presents. They are a different statistic from the medians in the previous comment.Both mode 4 passes still used less measured GPU time, including sync and check. The closest gap in the sum was 0.382 ms/Present. The order also held when trimming the window to 46–149 s and 48–147 s. The runs still overlap in FPS and P99, and DXGI budgets varied. This supports a small difference in the measured GPU work for this opening sequence. It leaves the original open-world route and the cause of the difference untested.
For the next pair, I would set
DARNER_WINDOW_READS=1explicitly in both arms. Mode 4 enables read tracking on its own (winreads.rs), and the saved configuration for this capture did not record that setting.Analysis reviewed with Codex and Claude Code.
Mode 3 against mode 4 on an RTX 4070 Ti 12 GB with hardware RT: no gain here. With about 1 GB of hot pages on the card, card time fell about 1 ms and fps did not follow.
PC and method: RTX 4070 Ti 12 GB, driver 621.24, Ryzen 7 7800X3D, Windows 11. Own release build of
f3840d73. 1440p output, DLSS Quality, hardware RT, frame generation off, no cap. One save, standing with scripted camera turns, 10 min a run, counted from 120 s. Order W A B C C B A.DARNER_PAGE_BUFFERS=4DARNER_CARD_ROOM_FOR_TARGETS_MB=3072DARNER_WINDOW_READS=1+DARNER_CARD_TIMES=1One or two runs per arm, and the two A runs differ by 0.6 fps on heavy seconds, so the fps gaps are inside the spread. What I'd stand behind: no gain on this card and scene, the bus cost is around 1 ms, and mode 4 has a submit-side cost of 1.5 ms or more.
[performance][memory] Card-bound on a 12 GB card: the card meter puts 36–42 ms of a 46–53 ms frame in the title's lists, with 3.9 GB of page-buffer tiles in PC memoryto Card-bound on a 12 GB card: the card meter puts 36–42 ms of a 46–53 ms frame in the title's lists, with 3.9 GB of page-buffer tiles in PC memory