Hardware run for copy-bridges section 9: in-place probe, census and switches on an RTX 5090 #237

Open
opened 2026-12-04 07:24:17 +00:00 by wutzebaer · 0 comments
Contributor

docs/copy-bridges.md section 9 asks for a run on NVIDIA hardware before any
direct switch becomes a default. Here is one data point.

Setup

  • RTX 5090 (driver 621.40), Ryzen 9 5900X, 64 GB, Windows 11 26200
  • main at 57dea7f2 plus PR 23 (hwrt), release build
  • 2560x1440, DLSS Quality, frame generation 4x, DARNER_HW_RT=1
  • launcher defaults otherwise (DARNER_CARD_ALL=1, DARNER_CARD_BUFFERS_MIN_KB=64,
    DARNER_HEAP_TWIN=1, DARNER_PAGE_BUFFERS=3, relay and late waits on)
  • same save, same spot in the open world, one run per switch,
    fps = median of the frame-rate lines after the world is up

Probe (DARNER_INPLACE_PROBE=1)

  • ID3D12Device13: true; heap tier 2; cross-adapter row-major textures: false
  • private memory, whole allocation and a part of it: ok; heap is custom,
    write-back pages, pool L0, flags 0x421
  • GPU reads the bytes, and those the CPU wrote afterwards with no call in
    between: true; CPU reads what the GPU wrote, by copy and by UAV: true;
    write watching saw 0 of the copy's 16 pages
  • with the heap standing: read-only inside the part false, decommit inside
    false, decommit outside true
  • reserved section (OpenExistingHeapFromFileMapping): refused 0x80070057;
    committed section: ok, reads and writes true whatever the views do
  • cost, 64 MB never touched: private opened in 22.1 ms (working set +66 MB,
    shared with the card +64 MB), the card copies it out in 2.7 ms; committed
    section opened in 8.0 ms, copied out in 3.9 ms; a shared buffer of today's
    kind: 3.5 ms

Census (150 s after the first sweep, in the open world)

count MB
title buffers 3704 980
private, committed whole 3574 482
view memory, one run of a section 110 228
view memory, scattered pages 20 269
windows outside buffers 878 5342
private, committed whole 79 504
view memory, one run of a section 7 44
view memory, scattered pages 5 34
view memory with unmapped pages 635 3848
private but not committed whole, or guarded 151 906
other 1 6

At 30 s: the title's views of physical pages 115840 of 13475 MB, all but one a
single 64 KiB page, the longest 6236 MB; sections of 710, 185 and 6236 MB
eligible to be opened as one native heap.

Switches

Switch fps card busy directly backed (ledger)
none 14.5 45 % 0
DARNER_INPLACE_PROBE=1 15.9 45 % 0
DARNER_INPLACE_VIEW=1 16.3 50 % 0
DARNER_INPLACE_VIEW=2 17.0 47 % 0
DARNER_INPLACE=1 8.4 100 % 77 windows, 494 MB

What this shows

  • The driver accepts both openings and the mechanics hold on real hardware.
  • With the launcher's DARNER_CARD_ALL=1 no copy is refused a device-local side,
    so DARNER_INPLACE_VIEW=1/2 place nothing. The fps spread of the first four
    rows is run-to-run noise.
  • DARNER_INPLACE=1 places 77 windows (494 MB, 503 asks not openable), with no
    device removal and no ERROR lines. The card goes from about 45 % to 100 %
    busy and the frame rate roughly halves. Bulk copies out of opened memory are
    as fast as from a shared buffer (2.7 vs 3.5 ms for 64 MB), so the cost is in
    shaders reading the windows over the bus, not in the opening.
  • Most window memory is not openable at all: about 550 of 5342 MB.

Not covered

  • No placement through a section view was exercised in a real run.
  • One run per switch; no GPUView/ETW traces.

I can run other switch combinations on this machine if that helps; tell me
which.

`docs/copy-bridges.md` section 9 asks for a run on NVIDIA hardware before any direct switch becomes a default. Here is one data point. **Setup** - RTX 5090 (driver 621.40), Ryzen 9 5900X, 64 GB, Windows 11 26200 - main at 57dea7f2 plus PR 23 (hwrt), release build - 2560x1440, DLSS Quality, frame generation 4x, DARNER_HW_RT=1 - launcher defaults otherwise (DARNER_CARD_ALL=1, DARNER_CARD_BUFFERS_MIN_KB=64, DARNER_HEAP_TWIN=1, DARNER_PAGE_BUFFERS=3, relay and late waits on) - same save, same spot in the open world, one run per switch, fps = median of the frame-rate lines after the world is up **Probe (DARNER_INPLACE_PROBE=1)** - ID3D12Device13: true; heap tier 2; cross-adapter row-major textures: false - private memory, whole allocation and a part of it: ok; heap is custom, write-back pages, pool L0, flags 0x421 - GPU reads the bytes, and those the CPU wrote afterwards with no call in between: true; CPU reads what the GPU wrote, by copy and by UAV: true; write watching saw 0 of the copy's 16 pages - with the heap standing: read-only inside the part false, decommit inside false, decommit outside true - reserved section (OpenExistingHeapFromFileMapping): refused 0x80070057; committed section: ok, reads and writes true whatever the views do - cost, 64 MB never touched: private opened in 22.1 ms (working set +66 MB, shared with the card +64 MB), the card copies it out in 2.7 ms; committed section opened in 8.0 ms, copied out in 3.9 ms; a shared buffer of today's kind: 3.5 ms **Census (150 s after the first sweep, in the open world)** | | count | MB | |---|---|---| | title buffers | 3704 | 980 | | private, committed whole | 3574 | 482 | | view memory, one run of a section | 110 | 228 | | view memory, scattered pages | 20 | 269 | | windows outside buffers | 878 | 5342 | | private, committed whole | 79 | 504 | | view memory, one run of a section | 7 | 44 | | view memory, scattered pages | 5 | 34 | | view memory with unmapped pages | 635 | 3848 | | private but not committed whole, or guarded | 151 | 906 | | other | 1 | 6 | At 30 s: the title's views of physical pages 115840 of 13475 MB, all but one a single 64 KiB page, the longest 6236 MB; sections of 710, 185 and 6236 MB eligible to be opened as one native heap. **Switches** | Switch | fps | card busy | directly backed (ledger) | |---|---|---|---| | none | 14.5 | 45 % | 0 | | DARNER_INPLACE_PROBE=1 | 15.9 | 45 % | 0 | | DARNER_INPLACE_VIEW=1 | 16.3 | 50 % | 0 | | DARNER_INPLACE_VIEW=2 | 17.0 | 47 % | 0 | | DARNER_INPLACE=1 | 8.4 | 100 % | 77 windows, 494 MB | **What this shows** - The driver accepts both openings and the mechanics hold on real hardware. - With the launcher's DARNER_CARD_ALL=1 no copy is refused a device-local side, so DARNER_INPLACE_VIEW=1/2 place nothing. The fps spread of the first four rows is run-to-run noise. - DARNER_INPLACE=1 places 77 windows (494 MB, 503 asks not openable), with no device removal and no ERROR lines. The card goes from about 45 % to 100 % busy and the frame rate roughly halves. Bulk copies out of opened memory are as fast as from a shared buffer (2.7 vs 3.5 ms for 64 MB), so the cost is in shaders reading the windows over the bus, not in the opening. - Most window memory is not openable at all: about 550 of 5342 MB. **Not covered** - No placement through a section view was exercised in a real run. - One run per switch; no GPUView/ETW traces. I can run other switch combinations on this machine if that helps; tell me which.
TrustNo1 changed title from [report] Hardware run for copy-bridges section 9: in-place probe, census and switches on an RTX 5090 to Hardware run for copy-bridges section 9: in-place probe, census and switches on an RTX 5090 2026-12-06 03:22:49 +00:00
Sign in to join this conversation.
No milestone
No project
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.

Dependencies

No dependencies set

Reference
TrustNo1/Darner#237
No description provided.