RFC: VRAM-first lazy coherency & async pipelined submissions (unified-memory V2 roadmap) #3703

Open
opened 2026-11-28 09:32:55 +00:00 by Texbirds · 10 comments
Texbirds commented 2026-11-28 09:32:55 +00:00 (Migrated from github.com)
Contributor

Imported from Marvisak/VIctory. Originally posted by Texbirds on 2026-11-28T09:32:55Z.


Summary

Incremental optimization PRs on main (63bcca4) have already made huge progress — e.g. VRAM shadows (#3312), wave-coalesced dirty marks (#2958, 411 → 283 ms on RTX 4070 SUPER), multi-threaded marked copy-back (#2914), batched guard takes (#3585), batched MEM_WRITE_WATCH hot-page tracking (#3615), and sparse streamed texture mips (#2389).

However, profiling in #400 and #407 shows that even with all of those combined, world frame times will hit a hard architectural ceiling because of three coupled assumptions in the current coherency model:

  1. Hard CPU/GPU serialization on every submission: Host::execute (crates/victory-gpu/src/host.rs:1156) holds a global submitted lock and blocks on WaitForSingleObject(self.event, INFINITE) (host.rs:1283) after every ExecuteCommandLists. Frame time is sum(CPU + Prep + GPU + CopyBack) instead of max(CPU, GPU).
  2. Eager GPU→CPU copy-back of GPU-only memory: Shadow::writing (shadow.rs:326), Shadow::copy_back (shadow.rs:397), and Shadow::copy_back_marked (shadow.rs:491) assume the title's CPU might read every page shaders write, forcing per-write shader dirty-mark atomics, synchronous GPU drains, and post-submission copy-backs even though the vast majority of GPU outputs (G-buffers, shadow maps, skinning/morph outputs, indirect args, compute intermediates) are never read back by the CPU.
  3. L0 host-RAM residency vs. L1 VRAM bandwidth: #407 explored eliminating copies via OpenExistingHeapFromAddress / MEMORY_POOL_L0, but @qntic's measurements in #407 confirmed the PCIe ceiling of that route (~13 GB/s GPU reads from host heap vs. ~71 GB/s from VRAM on an RX 6600 XT; the gap is even wider on 500–1000 GB/s GPUs). Meanwhile, #3312 confirmed that moving buffers into VRAM directly cuts frame time.

This RFC proposes a 5-track, incremental, opt-in roadmap that builds directly on existing PRs (#3312, #3585, #3615, #2389) rather than discarding them, so multiple contributors can work in parallel without colliding.


The 5-Track Incremental Architecture

Each track can land behind an opt-in environment variable, be validated with synthetic D3D12/VEH tests, and be benchmarked on live world runs before becoming default.

Track 1 — Lazy GPU_OWNED Read-Fault Coherency (VICTORY_LAZY_COPYBACK=1) (Keystone)

  • Idea: Track 64 KiB pages with a 3-state ownership protocol (CPU_OWNED, SHARED, GPU_OWNED).
  • When a submission writes to a tracked buffer range on the GPU, do not eagerly copy it back after ExecuteCommandLists. Instead, mark those pages GPU_OWNED and set their CPU virtual addresses to PAGE_NOACCESS.
  • Common case (GPU-only outputs): The CPU never reads them → 0 bytes copied back over PCIe, 0 pre-write snapshots, 0 merge_writeback.
  • Rare case (actual CPU readback, e.g. occlusion/culling/physics feedback): The title's CPU thread hits a read #PF → VEH sees GPU_OWNED → waits only on the fence that last wrote that page → copies that 64 KiB page from VRAM to title RAM → transitions it to SHARED → resumes.
  • Adaptive promotion: Allocations that read-fault on consecutive frames (true CPU readback rings) auto-promote to an async DMA readback path so they stop faulting.
  • Why this comes first: Removing eager post-submission copy-back is the prerequisite that unlocks Track 2 (removing WaitForSingleObject per submission) and Track 4 (removing dirty-mark shader atomics).

Track 2 — Async Pipelined Host::execute (VICTORY_ASYNC_SUBMIT=1)

  • Replace the single-submission submitted lock + WaitForSingleObject(self.event, INFINITE) (host.rs:1283) with a ring of in-flight submission contexts (each carrying its fence value, upload ring slice, and deferred resource retirement list).
  • CPU records and submits continuously (overlapping CPU frame N+1 with GPU frame N), blocking only when:
    1. The title explicitly waits on a ID3D12Fence,
    2. A CPU thread read-faults on a GPU_OWNED page (Track 1), or
    3. Max frames-in-flight (e.g. 2–3) is reached.

Track 3 — DEFAULT VRAM + 64 KiB CreateReservedResource Tiled Residency + Async COPY Queue

  • Builds on #3312 (DEFAULT VRAM shadows) and #2389 (sparse streamed texture mips).
  • Mirror Xbox Series X|S's 64 KiB physical-page aliasing (MapViewOfFile3 / XMem) directly in GPU VRAM using D3D12 CreateReservedResource + UpdateTileMappings (D3D12_TILED_RESOURCE_TILE_SIZE_IN_BYTES == 65536, matching watch::PAGE 1:1):
    • Aliased buffers share the same physical VRAM tiles (no duplicate VRAM).
    • Uncommitted virtual ranges consume 0 bytes of VRAM.
  • Upload only CPU-dirtied pages (tracked via #3585 + #3615) from a pinned UPLOAD / ReBAR D3D12_HEAP_TYPE_GPU_UPLOAD ring over a dedicated D3D12 COPY queue running concurrently with 3D/Compute.

Track 4 — Zero-Instrumentation Shaders for GPU_OWNED Buffers

  • Once Track 1 tracks GPU writes at binding/submission granularity rather than per-thread dirty-mark bitmaps, shaders targeting GPU-only buffers can omit view-write dirty-mark atomics completely (eliminating the remaining atomic/branch overhead even after #2958).
  • Over contiguous tiled VRAM ranges (Track 3), raw title-memory accesses can also simplify software page-table lookups.

Track 5 — GPU Compute-Shader Texture Detiling

  • Stream raw console-tiled (RDNA2 64 KiB micro-tile) texture bytes into a small VRAM staging ring via the async COPY queue and dispatch a small DXIL compute shader to detile directly into DEFAULT tiled textures.
  • Removes CPU detiling cost and eliminates large CPU-side texture staging buffers, bringing total Windows commit down toward native PC levels (~14–16 GB RAM + ~9–11 GB VRAM).

Coordination & Next Steps

  • This is not meant to replace ongoing shader/stability/correctness work — those remain essential. The goal is to align the memory/GPU performance effort around a shared target architecture so PRs compose instead of colliding.
  • Feedback welcome on edge cases (especially around watch.rs aliasing, PAGE_NOACCESS interaction with kernel reads / DirectStorage watch::writing, and memory.rs raw-address writes).
  • If there is consensus on the direction (and no one has already started it), I am happy to start an opt-in prototype of Track 1 (VICTORY_LAZY_COPYBACK=1) with synthetic D3D12 + VEH read-fault tests.

Related: #400, #407, #1633, #2389, #2914, #2958, #3312, #3585, #3615.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6662706531 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3703). Originally posted by [Texbirds](https://github.com/Texbirds) on 2026-11-28T09:32:55Z. --- ### Summary Incremental optimization PRs on `main` (`63bcca4`) have already made huge progress — e.g. VRAM shadows (`#3312`), wave-coalesced dirty marks (`#2958`, 411 → 283 ms on RTX 4070 SUPER), multi-threaded marked copy-back (`#2914`), batched guard takes (`#3585`), batched `MEM_WRITE_WATCH` hot-page tracking (`#3615`), and sparse streamed texture mips (`#2389`). However, profiling in `#400` and `#407` shows that even with all of those combined, world frame times will hit a hard architectural ceiling because of **three coupled assumptions** in the current coherency model: 1. **Hard CPU/GPU serialization on every submission:** `Host::execute` (`crates/victory-gpu/src/host.rs:1156`) holds a global `submitted` lock and blocks on `WaitForSingleObject(self.event, INFINITE)` (`host.rs:1283`) after every `ExecuteCommandLists`. Frame time is `sum(CPU + Prep + GPU + CopyBack)` instead of `max(CPU, GPU)`. 2. **Eager GPU→CPU copy-back of GPU-only memory:** `Shadow::writing` (`shadow.rs:326`), `Shadow::copy_back` (`shadow.rs:397`), and `Shadow::copy_back_marked` (`shadow.rs:491`) assume the title's CPU *might* read every page shaders write, forcing per-write shader dirty-mark atomics, synchronous GPU drains, and post-submission copy-backs even though the vast majority of GPU outputs (G-buffers, shadow maps, skinning/morph outputs, indirect args, compute intermediates) are never read back by the CPU. 3. **`L0` host-RAM residency vs. `L1` VRAM bandwidth:** `#407` explored eliminating copies via `OpenExistingHeapFromAddress` / `MEMORY_POOL_L0`, but `@qntic`'s measurements in `#407` confirmed the PCIe ceiling of that route (~13 GB/s GPU reads from host heap vs. ~71 GB/s from VRAM on an RX 6600 XT; the gap is even wider on 500–1000 GB/s GPUs). Meanwhile, `#3312` confirmed that moving buffers *into* VRAM directly cuts frame time. This RFC proposes a **5-track, incremental, opt-in roadmap** that builds directly on existing PRs (`#3312`, `#3585`, `#3615`, `#2389`) rather than discarding them, so multiple contributors can work in parallel without colliding. --- ### The 5-Track Incremental Architecture Each track can land behind an opt-in environment variable, be validated with synthetic D3D12/VEH tests, and be benchmarked on live world runs before becoming default. #### Track 1 — Lazy `GPU_OWNED` Read-Fault Coherency (`VICTORY_LAZY_COPYBACK=1`) *(Keystone)* - **Idea:** Track 64 KiB pages with a 3-state ownership protocol (`CPU_OWNED`, `SHARED`, `GPU_OWNED`). - When a submission writes to a tracked buffer range on the GPU, **do not eagerly copy it back** after `ExecuteCommandLists`. Instead, mark those pages `GPU_OWNED` and set their CPU virtual addresses to `PAGE_NOACCESS`. - **Common case (GPU-only outputs):** The CPU never reads them → **0 bytes copied back over PCIe, 0 pre-write snapshots, 0 `merge_writeback`**. - **Rare case (actual CPU readback, e.g. occlusion/culling/physics feedback):** The title's CPU thread hits a read `#PF` → VEH sees `GPU_OWNED` → waits *only* on the fence that last wrote that page → copies that 64 KiB page from VRAM to title RAM → transitions it to `SHARED` → resumes. - **Adaptive promotion:** Allocations that read-fault on consecutive frames (true CPU readback rings) auto-promote to an async DMA readback path so they stop faulting. - **Why this comes first:** Removing eager post-submission copy-back is the prerequisite that unlocks **Track 2** (removing `WaitForSingleObject` per submission) and **Track 4** (removing dirty-mark shader atomics). #### Track 2 — Async Pipelined `Host::execute` (`VICTORY_ASYNC_SUBMIT=1`) - Replace the single-submission `submitted` lock + `WaitForSingleObject(self.event, INFINITE)` (`host.rs:1283`) with a **ring of in-flight submission contexts** (each carrying its fence value, upload ring slice, and deferred resource retirement list). - CPU records and submits continuously (overlapping CPU frame $N+1$ with GPU frame $N$), blocking only when: 1. The title explicitly waits on a `ID3D12Fence`, 2. A CPU thread read-faults on a `GPU_OWNED` page (Track 1), or 3. Max frames-in-flight (e.g. 2–3) is reached. #### Track 3 — `DEFAULT` VRAM + 64 KiB `CreateReservedResource` Tiled Residency + Async `COPY` Queue - Builds on `#3312` (`DEFAULT` VRAM shadows) and `#2389` (sparse streamed texture mips). - Mirror Xbox Series X|S's **64 KiB physical-page aliasing** (`MapViewOfFile3` / `XMem`) directly in GPU VRAM using D3D12 **`CreateReservedResource`** + **`UpdateTileMappings`** (`D3D12_TILED_RESOURCE_TILE_SIZE_IN_BYTES == 65536`, matching `watch::PAGE` 1:1): - Aliased buffers share the same physical VRAM tiles (no duplicate VRAM). - Uncommitted virtual ranges consume 0 bytes of VRAM. - Upload only CPU-dirtied pages (tracked via `#3585` + `#3615`) from a pinned `UPLOAD` / ReBAR `D3D12_HEAP_TYPE_GPU_UPLOAD` ring over a dedicated D3D12 **`COPY` queue** running concurrently with 3D/Compute. #### Track 4 — Zero-Instrumentation Shaders for `GPU_OWNED` Buffers - Once Track 1 tracks GPU writes at binding/submission granularity rather than per-thread dirty-mark bitmaps, shaders targeting GPU-only buffers can omit view-write dirty-mark atomics completely (eliminating the remaining atomic/branch overhead even after `#2958`). - Over contiguous tiled VRAM ranges (Track 3), raw title-memory accesses can also simplify software page-table lookups. #### Track 5 — GPU Compute-Shader Texture Detiling - Stream raw console-tiled (RDNA2 64 KiB micro-tile) texture bytes into a small VRAM staging ring via the async `COPY` queue and dispatch a small DXIL compute shader to detile directly into `DEFAULT` tiled textures. - Removes CPU detiling cost and eliminates large CPU-side texture staging buffers, bringing total Windows commit down toward native PC levels (~14–16 GB RAM + ~9–11 GB VRAM). --- ### Coordination & Next Steps - This is **not** meant to replace ongoing shader/stability/correctness work — those remain essential. The goal is to align the memory/GPU performance effort around a shared target architecture so PRs compose instead of colliding. - **Feedback welcome** on edge cases (especially around `watch.rs` aliasing, `PAGE_NOACCESS` interaction with kernel reads / DirectStorage `watch::writing`, and `memory.rs` raw-address writes). - If there is consensus on the direction (and no one has already started it), I am happy to start an opt-in prototype of **Track 1 (`VICTORY_LAZY_COPYBACK=1`)** with synthetic D3D12 + VEH read-fault tests. Related: `#400`, `#407`, `#1633`, `#2389`, `#2914`, `#2958`, `#3312`, `#3585`, `#3615`.
Ym1r1710 commented 2026-11-28 10:17:41 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Ym1r1710 on 2026-11-28T10:17:41Z.


Some numbers from a setup where part of track 1 already exists in a different form. They might help size tracks 1 and 2.

7800X3D (8c/16t), RTX 5080 16 GB, 32 GB RAM, Win 11, Series S profile. The build is main plus a lot of fork work. In this build the copy-back doesn't happen at the end of each submission. It runs on its own threads next to the submit thread.

Copy-back stops being what the frame waits for, but it doesn't get cheaper. It is still about 36 MB a frame and roughly 30 ms of CPU on those threads. The submit thread waits on it only 1-2 ms a frame. So the lazy GPU_OWNED idea would mostly free CPU time on other cores, not frame time directly.

That freed time still matters here, because the CPU is close to full. The process uses about 400 ms of CPU per ~35 ms frame indoors, so about 12 of 16 logical cores are busy. Every attempt to move cores between thread groups lost as much as it gained.

Where the limit moved for us:

  • Indoors (the balcony at the start, ~5.5k draws): the submit thread itself. It does about 28 ms of its own work a frame, and nothing in its profile is above 3-4 ms. The median is about 36 ms.
  • Outdoors (walking with the camera turning, 8-16k draws): the list translation threads.
    • Heavy frames take 450-1200 ms of translator thread time on 8 threads. Frame time is roughly that divided by 8.
    • Descriptor tables are about two thirds of the translator time.
    • The GPU is around 35% busy.

One thing that may apply to main as well: host memory pressure.

  • We enter that state about 10 s into the world and never leave it. Commit room drops to about 4 GB with 32 GB RAM and a 16 GB page file.
  • While in that state, the build freed every spare scratch chunk once a second, and the next frames made them again (upload buffers, residency, fresh pages). That cost about 28 ms of translator time a frame on average, and about 90 ms in the second right after a trim.
  • With 256 MB of spares kept instead, p95 went from 115 to 103 ms and p99 from 147 to 120 ms on the outdoor route.
  • Turning the pressure handling off completely gave the same result and nothing more. So the cost was the trim, not the low memory itself.

I'd guess the reports of world entry under memory pressure (7-8 fps on a 4090 with 64 GB) see part of the same thing.

On track 2: on this machine the per-submission wait isn't the limit any more. The submit thread stands idle for 0.3-3 ms a frame indoors.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7237801624 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3703#issuecomment-7237801624). Originally posted by [Ym1r1710](https://github.com/Ym1r1710) on 2026-11-28T10:17:41Z. --- Some numbers from a setup where part of track 1 already exists in a different form. They might help size tracks 1 and 2. 7800X3D (8c/16t), RTX 5080 16 GB, 32 GB RAM, Win 11, Series S profile. The build is main plus a lot of fork work. In this build the copy-back doesn't happen at the end of each submission. It runs on its own threads next to the submit thread. **Copy-back stops being what the frame waits for, but it doesn't get cheaper.** It is still about 36 MB a frame and roughly 30 ms of CPU on those threads. The submit thread waits on it only 1-2 ms a frame. So the lazy GPU_OWNED idea would mostly free CPU time on other cores, not frame time directly. That freed time still matters here, because the CPU is close to full. The process uses about 400 ms of CPU per ~35 ms frame indoors, so about 12 of 16 logical cores are busy. Every attempt to move cores between thread groups lost as much as it gained. Where the limit moved for us: - **Indoors** (the balcony at the start, ~5.5k draws): the submit thread itself. It does about 28 ms of its own work a frame, and nothing in its profile is above 3-4 ms. The median is about 36 ms. - **Outdoors** (walking with the camera turning, 8-16k draws): the list translation threads. - Heavy frames take 450-1200 ms of translator thread time on 8 threads. Frame time is roughly that divided by 8. - Descriptor tables are about two thirds of the translator time. - The GPU is around 35% busy. **One thing that may apply to main as well: host memory pressure.** - We enter that state about 10 s into the world and never leave it. Commit room drops to about 4 GB with 32 GB RAM and a 16 GB page file. - While in that state, the build freed every spare scratch chunk once a second, and the next frames made them again (upload buffers, residency, fresh pages). That cost about 28 ms of translator time a frame on average, and about 90 ms in the second right after a trim. - With 256 MB of spares kept instead, p95 went from 115 to 103 ms and p99 from 147 to 120 ms on the outdoor route. - Turning the pressure handling off completely gave the same result and nothing more. So the cost was the trim, not the low memory itself. I'd guess the reports of world entry under memory pressure (7-8 fps on a 4090 with 64 GB) see part of the same thing. On track 2: on this machine the per-submission wait isn't the limit any more. The submit thread stands idle for 0.3-3 ms a frame indoors.
Texbirds commented 2026-11-28 12:03:06 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Texbirds on 2026-11-28T12:03:06Z.


This telemetry is pure gold — thank you @Ym1r1710, especially the outdoor translator breakdown and the trim-thrashing numbers.

Three huge takeaways that sharpen this RFC immediately:

  1. Track 1 (Lazy GPU_OWNED) under core saturation: Even when copy-back is offloaded off the submit thread, burning ~30 ms/frame across 12/16 busy logical cores directly starves the list-translation threads outdoors. Eliminating the ~95% of GPU-only copy-backs gives those cores back and cuts the memory pressure that triggers the trim loop.
  2. Host memory-pressure hysteresis (quick win): Freeing spare upload/scratch chunks under pressure only to re-allocate + fault fresh pages on the very next frame (90 ms spike right after trim, P99 147 → 120 ms just by keeping 256 MB) is a classic hysteresis bug — a minimum retained spare floor + lower commit footprint (lazy snapshots / GPU detiling) attacks both sides of it.
  3. Descriptor tables = ~2/3 of outdoor translator time (450–1,200 ms / 8 threads while the 5080 is only 35% busy): That's a massive signal that once submission/copy-back stops dominating, descriptor-table translation/caching becomes the #1 outdoor CPU wall (which pairs directly with keeping hot descriptor/table pages out of GUARDS contention).
<!-- greyfinch-sync:Marvisak/VIctory:comment:7238958300 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3703#issuecomment-7238958300). Originally posted by [Texbirds](https://github.com/Texbirds) on 2026-11-28T12:03:06Z. --- This telemetry is pure gold — thank you @Ym1r1710, especially the outdoor translator breakdown and the trim-thrashing numbers. Three huge takeaways that sharpen this RFC immediately: 1. **Track 1 (Lazy `GPU_OWNED`) under core saturation:** Even when copy-back is offloaded off the submit thread, burning ~30 ms/frame across 12/16 busy logical cores directly starves the list-translation threads outdoors. Eliminating the ~95% of GPU-only copy-backs gives those cores back *and* cuts the memory pressure that triggers the trim loop. 2. **Host memory-pressure hysteresis (quick win):** Freeing spare upload/scratch chunks under pressure only to re-allocate + fault fresh pages on the very next frame (90 ms spike right after trim, P99 147 → 120 ms just by keeping 256 MB) is a classic hysteresis bug — a minimum retained spare floor + lower commit footprint (lazy snapshots / GPU detiling) attacks both sides of it. 3. **Descriptor tables = ~2/3 of outdoor translator time (450–1,200 ms / 8 threads while the 5080 is only 35% busy):** That's a massive signal that once submission/copy-back stops dominating, descriptor-table translation/caching becomes the #1 outdoor CPU wall (which pairs directly with keeping hot descriptor/table pages out of `GUARDS` contention).
CheetahDoesStuff commented 2026-11-28 13:28:15 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by CheetahDoesStuff on 2026-11-28T13:28:15Z.


I would definently recommend that you fork this and write a prototype, the maintainer hasnt merged anything in several days so dont expect too much work being done for you.

Fork it, implement it, showcase it (here and r/fitgirlrepack), get attention/awareness.

Prove that it works, that is what would get this merged/implemented in the mainstream forks.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7239957557 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3703#issuecomment-7239957557). Originally posted by [CheetahDoesStuff](https://github.com/CheetahDoesStuff) on 2026-11-28T13:28:15Z. --- I would definently recommend that you fork this and write a prototype, the maintainer hasnt merged anything in several days so dont expect too much work being done for you. Fork it, implement it, showcase it (here and r/fitgirlrepack), get attention/awareness. Prove that it works, that is what would get this merged/implemented in the mainstream forks.
KingKaom commented 2026-11-28 18:09:11 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by KingKaom on 2026-11-28T18:09:11Z.


RDNA4 (RX 9070 XT) data point — second machine, series-x profile, fork build (VIctory-RDNA) with its fast preset applied (flags spanning guard-page handling, journal/copy-back paths, constants/descriptors):

  • World runs at a 30 fps cadence-lock median here (walk-route medians 29.9-36 fps), not single-digit — consistent with this RFC's view that the guard/drain/copy-back machinery, not hardware, is the wall. Whether the preset flags are a partial Track-1 in practice is exactly what this RFC would settle.
  • Ordering evidence for Track 1 before Track 2: we measured submit-side overlap without removing eager copy-back (VIctory-RDNA#4: raised in-flight cap + deferred release off the submit path; n=2, same route): no walk-window win (36.2/34.4 vs 33.5 control, which cadence-locks at 33.3-33.5) and entry hitches ~2x control. Overlap alone bought nothing — matches the RFC's claim that Track 2 only pays off once lazy copy-back lands first.

Caveat: our numbers are diag-profile builds (this fork's plain release path is currently blocked on a separate boot regression, logged in VIctory-RDNA#3).

AI-assisted (Hermes Agent)

<!-- greyfinch-sync:Marvisak/VIctory:comment:7243570789 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3703#issuecomment-7243570789). Originally posted by [KingKaom](https://github.com/KingKaom) on 2026-11-28T18:09:11Z. --- **RDNA4 (RX 9070 XT) data point** — second machine, series-x profile, fork build (VIctory-RDNA) with its `fast` preset applied (flags spanning guard-page handling, journal/copy-back paths, constants/descriptors): - World runs at a 30 fps cadence-lock median here (walk-route medians 29.9-36 fps), not single-digit — consistent with this RFC's view that the guard/drain/copy-back machinery, not hardware, is the wall. Whether the preset flags are a partial Track-1 in practice is exactly what this RFC would settle. - **Ordering evidence for Track 1 before Track 2:** we measured submit-side overlap *without* removing eager copy-back (VIctory-RDNA#4: raised in-flight cap + deferred release off the submit path; n=2, same route): no walk-window win (36.2/34.4 vs 33.5 control, which cadence-locks at 33.3-33.5) and entry hitches ~2x control. Overlap alone bought nothing — matches the RFC's claim that Track 2 only pays off once lazy copy-back lands first. Caveat: our numbers are diag-profile builds (this fork's plain release path is currently blocked on a separate boot regression, logged in VIctory-RDNA#3). <sub>AI-assisted (Hermes Agent)</sub>
KingKaom commented 2026-11-28 18:20:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by KingKaom on 2026-11-28T18:20:49Z.


Self-correction (day after my comment above): our first human playtest with the pad on this same build showed our movement framing was too generous. The ~30 fps cadence-lock holds while standing; under actual player input frame time drops to single digits on any movement (overlay sample 7 fps / 142.9 ms / 9140 draws during world streaming). The "walk medians" we and others cite blend standing with scripted forward-walk, so they overstate moving fps.

This actually sharpens this RFC's model from the AMD side: standing is cheap, moving is where draws explode and every submission's drain/copy-back cost becomes directly visible in frame time — the movement cliff is the serialization wall.

One more observed fact from the live run (fork-specific, reported here since it affects how any of us read frame numbers): the player character rendered without proper hand/leg meshes and some wrong textures in this build — separate from the frame-time story.

AI-assisted (Hermes Agent)

<!-- greyfinch-sync:Marvisak/VIctory:comment:7243720562 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3703#issuecomment-7243720562). Originally posted by [KingKaom](https://github.com/KingKaom) on 2026-11-28T18:20:49Z. --- Self-correction (day after my comment above): our first **human playtest with the pad** on this same build showed our movement framing was too generous. The ~30 fps cadence-lock holds **while standing**; under actual player input frame time drops to **single digits on any movement** (overlay sample 7 fps / 142.9 ms / 9140 draws during world streaming). The "walk medians" we and others cite blend standing with scripted forward-walk, so they overstate moving fps. This actually sharpens this RFC's model from the AMD side: standing is cheap, moving is where draws explode and every submission's drain/copy-back cost becomes directly visible in frame time — the movement cliff *is* the serialization wall. One more observed fact from the live run (fork-specific, reported here since it affects how any of us read frame numbers): the player character rendered without proper hand/leg meshes and some wrong textures in this build — separate from the frame-time story. <sub>AI-assisted (Hermes Agent)</sub>
Texbirds commented 2026-11-28 23:25:28 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Texbirds on 2026-11-28T23:25:28Z.


Appreciate the RDNA4 data point and especially the honest human-playtest follow-up, @KingKaom.

Two really useful signals here:

  1. Track 1 before Track 2 is now empirically confirmed on AMD too: VIctory-RDNA#4 showing zero walk-window gain and ~2x worse entry hitches when overlapping submissions without removing eager copy-back matches the RFC's dependency order cleanly — pipelining on top of eager readbacks just widens the contention window.
  2. Standing/scripted medians vs. real movement (7 fps / 142.9 ms @ 9,140 draws): That aligns right alongside @Ym1r1710's outdoor numbers (8–16k draws). Once you're actually moving and streaming, draw count, descriptor-table translation, and copy-back/guard contention all spike together — which is why real pad movement is the only honest benchmark for this.

@CheetahDoesStuff — totally fair point, and agreed that working code + A/B numbers are what actually move the needle while upstream main is quiet. The write-watch tracking piece is already implemented and benchmarked in #3615 (CI green, independently verified on Windows), and the next concrete prototype on my fork is Track 1 (VICTORY_LAZY_COPYBACK=1) starting with narrow, resource-level GPU_OWNED ownership (GPU-written scratch/shadow-mask buffers first rather than a blanket global flip) so we can verify zero visual corruption or TDRs before widening it. Will post real A/B numbers once that's running.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7247421136 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3703#issuecomment-7247421136). Originally posted by [Texbirds](https://github.com/Texbirds) on 2026-11-28T23:25:28Z. --- Appreciate the RDNA4 data point and especially the honest human-playtest follow-up, @KingKaom. Two really useful signals here: 1. **Track 1 before Track 2 is now empirically confirmed on AMD too:** `VIctory-RDNA#4` showing zero walk-window gain and ~2x worse entry hitches when overlapping submissions *without* removing eager copy-back matches the RFC's dependency order cleanly — pipelining on top of eager readbacks just widens the contention window. 2. **Standing/scripted medians vs. real movement (`7 fps / 142.9 ms @ 9,140 draws`):** That aligns right alongside @Ym1r1710's outdoor numbers (8–16k draws). Once you're actually moving and streaming, draw count, descriptor-table translation, and copy-back/guard contention all spike together — which is why real pad movement is the only honest benchmark for this. @CheetahDoesStuff — totally fair point, and agreed that working code + A/B numbers are what actually move the needle while upstream `main` is quiet. The write-watch tracking piece is already implemented and benchmarked in #3615 (CI green, independently verified on Windows), and the next concrete prototype on my fork is **Track 1 (`VICTORY_LAZY_COPYBACK=1`)** starting with **narrow, resource-level `GPU_OWNED` ownership** (GPU-written scratch/shadow-mask buffers first rather than a blanket global flip) so we can verify zero visual corruption or TDRs before widening it. Will post real A/B numbers once that's running.
Fran-co-F commented 2026-11-29 03:25:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Fran-co-F on 2026-11-29T03:25:27Z.


Data point for Tracks 1-3: a Linux fork that already has most of Track 1/2 in another form, measured both standing and while playing.

Setup: Ryzen 7 9800X3D, RX 9070 XT 16 GB, 31 GB RAM, Linux (CachyOS). SlaktarnVI (a VIctory fork for Proton/AMD) under a self-built Wine 11.17 with patched vkd3d-proton, S70 preset (Series X profile, 1440p).

In that fork submissions are already sent ahead (VICTORY_LATE_WAIT + VICTORY_RELAY): about 20 submissions a frame, settled 0.3-1 times a frame. Copy-back runs on its own thread, and submissions are prepared on a thread of ours (VICTORY_ASYNC_SUBMIT).

1. Track 1/3 in practice: write-combined title memory in VRAM, at the title's own addresses

  • F1: private WC memory (XMemVirtualAlloc protect 0x400) goes into VRAM in place, in 32 MiB blocks. The heaps are opened with OpenExistingHeapFromAddress, and vkd3d-proton backs them with VRAM placed at the same address (VK_EXT_map_memory_placed). This needs a Wine change to allow placed maps for 64-bit processes.
  • F2: pure-WC view sections get a shared VRAM heap.
  • Key rule: nothing the CPU reads may go to VRAM. CPU reads of VRAM run at roughly 10 MB/s, and the fork's copy-back merge (safecopy.rs) reads title memory 32 bytes at a time. An access map (per 64 KiB block, AMD IBS sampling for CPU loads) showed the CPU reads only about 0.3 % of what is copied back.

Result in a static scene (prison cell, 120 s, median of 5-s windows):

fps ms/frame copies copy-back
fork as is 17.9 56.0 17.8 ms, 98 MB 42 MB
F1+F2 20.7 48.4 11.1 ms, 31 MB 0 MB

The prologue cutscene went from 19.9 to 28.7 fps.

2. Standing vs. playing: this matters more than any of the above

Fifteen minutes of real play with a pad, binned by draws per frame (median real fps of 5-s windows, frame generation off in the count):

draws/frame fork as is F1+F2 + list cap 512 + 48 readers
1,000-3,000 22.8 29.0
3,000-5,000 19.6 24.0
5,000-7,000 17.7 19.3
> 7,000 9.4 11.8
overall 16.2 19.9

The static scene has about 3,000 draws per frame; playing gives 6,000-14,000 (correlation of fps with draws: −0.68). The memory work helps in every bin, but it moves a cost that is roughly fixed per frame. The cost that grows when moving is per draw. (Caveat: with our changes we also saw visual problems in that session, such as flicker on trees, missing menu glyphs, and textures and assets not loading while driving, none of which the unmodified fork showed. So the fps column is not "free".) Our submit thread worked a median 32 ms a frame while playing (42-98 ms in the worst windows), against 13-21 ms standing. This matches @KingKaom's standing-vs-moving report above. Medians from scripted or standing scenes overstate playable fps by a lot.

3. Smaller findings that may save someone time

  • VICTORY_LATE_WAIT_LISTS=512 (default 256): the submit thread's waits for "lists in the air" went from a median of 4 ms a frame (peaks of 20-48 ms) to 0. Its work fell from about 21 to 13 ms in the static scene, with 0 tables refused and no crash. Fps did not rise there, because the title's own threads became the limit (about 46 ms a frame).
  • Card-compare fetch: with copies in the card's memory, after each flight the relay sends a second list to fetch the flagged pieces and waits again. That is 2.3 extra waits a frame, a median of 10.6 ms, for 0.1-0.2 MB. It sits on the relay thread, off the submit path, but settles for "lists in the air" wait for landings, so it shows up indirectly.
  • Scene-cut hitches are DirectStorage read latency. It is not decompression or staging:
    • Workers sit in pread64 waiting for page-cache I/O (folio_wait_bit_common) 50-87 % of the time during a cut.
    • BCPack uses at most 1.5 workers; staging waits are near 0.
    • The NVMe is 19-67 % busy at 0.3-0.8 ms per I/O. Each worker gets about 40 MB/s (about 2 ms per 76 KB request), so 16 synchronous readers cap out near 500 MB/s while the title queues up to 3,200 requests.
    • 48 workers removed the staging limit (with a 128 MiB floor) but did not clearly fix the worst windows. io_uring or overlapped reads with real queue depth look like the right fix.
  • Guard work under Wine ("F3"), mostly negative results:
    • Coalescing VirtualProtect does nothing: the blocks opened per frame are isolated 64 KiB blocks, 1.1-1.3 per call.
    • VICTORY_PORT_GUARD=1 cuts the lock waits but quadruples protect time. NtProtectVirtualMemory takes Wine's global virtual_mutex plus mmap_lock.
    • VICTORY_COPY_BESIDE/STORE_BESIDE/WRITE_SITES cut view-memory guard cost by about a third (copies −44 % in MB). Yet the submit thread only saved about 2 ms, and some combinations showed wrong textures on screen, so we left them off.

Code (all opt-in, experimental, with the Wine and vkd3d-proton patches F1 needs): Fran-co-F/SlaktarnVI branches vram-wc and dstorage-workers. Full write-up with known problems: Slaktarn700/SlaktarnVI#15.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7250038915 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3703#issuecomment-7250038915). Originally posted by [Fran-co-F](https://github.com/Fran-co-F) on 2026-11-29T03:25:27Z. --- Data point for Tracks 1-3: a Linux fork that already has most of Track 1/2 in another form, measured both standing and while playing. **Setup:** Ryzen 7 9800X3D, RX 9070 XT 16 GB, 31 GB RAM, Linux (CachyOS). [SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI) (a VIctory fork for Proton/AMD) under a self-built Wine 11.17 with patched vkd3d-proton, S70 preset (Series X profile, 1440p). In that fork submissions are already sent ahead (`VICTORY_LATE_WAIT` + `VICTORY_RELAY`): about 20 submissions a frame, settled 0.3-1 times a frame. Copy-back runs on its own thread, and submissions are prepared on a thread of ours (`VICTORY_ASYNC_SUBMIT`). ### 1. Track 1/3 in practice: write-combined title memory in VRAM, at the title's own addresses - **F1:** private WC memory (`XMemVirtualAlloc` protect `0x400`) goes into VRAM in place, in 32 MiB blocks. The heaps are opened with `OpenExistingHeapFromAddress`, and vkd3d-proton backs them with VRAM placed at the same address (`VK_EXT_map_memory_placed`). This needs a Wine change to allow placed maps for 64-bit processes. - **F2:** pure-WC view sections get a shared VRAM heap. - **Key rule:** nothing the CPU reads may go to VRAM. CPU reads of VRAM run at roughly 10 MB/s, and the fork's copy-back merge (`safecopy.rs`) reads title memory 32 bytes at a time. An access map (per 64 KiB block, AMD IBS sampling for CPU loads) showed the CPU reads only about 0.3 % of what is copied back. **Result in a static scene** (prison cell, 120 s, median of 5-s windows): | | fps | ms/frame | copies | copy-back | |---|---|---|---|---| | fork as is | 17.9 | 56.0 | 17.8 ms, 98 MB | 42 MB | | F1+F2 | 20.7 | 48.4 | 11.1 ms, 31 MB | **0 MB** | The prologue cutscene went from 19.9 to 28.7 fps. ### 2. Standing vs. playing: this matters more than any of the above Fifteen minutes of real play with a pad, binned by draws per frame (median real fps of 5-s windows, frame generation off in the count): | draws/frame | fork as is | F1+F2 + list cap 512 + 48 readers | |---|---|---| | 1,000-3,000 | 22.8 | 29.0 | | 3,000-5,000 | 19.6 | 24.0 | | 5,000-7,000 | 17.7 | 19.3 | | > 7,000 | 9.4 | 11.8 | | overall | 16.2 | 19.9 | The static scene has about 3,000 draws per frame; playing gives 6,000-14,000 (correlation of fps with draws: −0.68). The memory work helps in every bin, but it moves a cost that is roughly fixed per frame. The cost that grows when moving is per draw. (Caveat: with our changes we also saw visual problems in that session, such as flicker on trees, missing menu glyphs, and textures and assets not loading while driving, none of which the unmodified fork showed. So the fps column is not "free".) Our submit thread worked a median 32 ms a frame while playing (42-98 ms in the worst windows), against 13-21 ms standing. This matches @KingKaom's standing-vs-moving report above. Medians from scripted or standing scenes overstate playable fps by a lot. ### 3. Smaller findings that may save someone time - **`VICTORY_LATE_WAIT_LISTS=512`** (default 256): the submit thread's waits for "lists in the air" went from a median of 4 ms a frame (peaks of 20-48 ms) to 0. Its work fell from about 21 to 13 ms in the static scene, with 0 tables refused and no crash. Fps did not rise there, because the title's own threads became the limit (about 46 ms a frame). - **Card-compare fetch:** with copies in the card's memory, after each flight the relay sends a second list to fetch the flagged pieces and waits again. That is 2.3 extra waits a frame, a median of 10.6 ms, for 0.1-0.2 MB. It sits on the relay thread, off the submit path, but settles for "lists in the air" wait for landings, so it shows up indirectly. - **Scene-cut hitches are DirectStorage read latency.** It is not decompression or staging: - Workers sit in `pread64` waiting for page-cache I/O (`folio_wait_bit_common`) 50-87 % of the time during a cut. - BCPack uses at most 1.5 workers; staging waits are near 0. - The NVMe is 19-67 % busy at 0.3-0.8 ms per I/O. Each worker gets about 40 MB/s (about 2 ms per 76 KB request), so 16 synchronous readers cap out near 500 MB/s while the title queues up to 3,200 requests. - 48 workers removed the staging limit (with a 128 MiB floor) but did not clearly fix the worst windows. io_uring or overlapped reads with real queue depth look like the right fix. - **Guard work under Wine ("F3"), mostly negative results:** - Coalescing `VirtualProtect` does nothing: the blocks opened per frame are isolated 64 KiB blocks, 1.1-1.3 per call. - `VICTORY_PORT_GUARD=1` cuts the lock waits but quadruples protect time. `NtProtectVirtualMemory` takes Wine's global `virtual_mutex` plus `mmap_lock`. - `VICTORY_COPY_BESIDE`/`STORE_BESIDE`/`WRITE_SITES` cut view-memory guard cost by about a third (copies −44 % in MB). Yet the submit thread only saved about 2 ms, and some combinations showed wrong textures on screen, so we left them off. Code (all opt-in, experimental, with the Wine and vkd3d-proton patches F1 needs): [Fran-co-F/SlaktarnVI](https://github.com/Fran-co-F/SlaktarnVI) branches `vram-wc` and `dstorage-workers`. Full write-up with known problems: Slaktarn700/SlaktarnVI#15.
Texbirds commented 2026-11-29 09:02:18 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Texbirds on 2026-11-29T09:02:18Z.


This is an incredible dataset, @Fran-co-F — thank you for sharing both the draw-binned pad-play numbers and the negative results (and for being upfront about the visual regressions).

A few things here sharpen the RFC significantly:

  1. AMD IBS measuring ~0.3% CPU reads of copy-back is the cleanest hardware proof yet of Track 1's premise: ~99.7% of eager copy-back is never touched by the CPU. Cutting copy-back from 42 MB → 0 MB and copies 98 → 31 MB (19.9 → 28.7 fps in the prologue, +2–6 fps across every draw bin) shows the ceiling of removing that fixed per-frame memory tax.

  2. The visual glitches (flicker, missing menu glyphs, unloaded assets while driving) reinforce narrow/lazy ownership: Even with a strict WC-only filter, blanket 32 MiB block placement in VRAM still gets bitten by that remaining ~0.3% (or missing CPU/GPU visibility barriers on specific resources like glyph atlases/streaming buffers). That lines up with what folks have seen on Windows too: either narrow, resource-level GPU ownership first, or a lazy read-fault (PAGE_NOACCESS) trap to catch the rare CPU read cleanly without paying 10 MB/s uncached VRAM reads or silent staleness.

  3. The fixed-per-frame vs. per-draw split is now confirmed across 3 independent setups:

    • Your 9800X3D + 9070 XT (Linux, 0 MB copy-back): 29.0 fps at 1–3k draws → 11.8 fps at >7k draws (r = -0.68, submit thread 32 ms median / 42–98 ms worst).
    • @Ym1r1710's 7800X3D + 5080 (Windows): outdoors (8–16k draws), 8 translator threads burn 450–1,200 ms (~2/3 descriptor tables) while the GPU is 35% busy.
    • @KingKaom's 9070 XT: standing ~30 fps → 7 fps @ 9,140 draws under real pad movement.

    That makes the roadmap much clearer: Tracks 1–3 remove a large fixed per-frame tax (and free CPU cores), but hitting 30+ fps in 8k–14k draw street driving also requires attacking per-draw translation & descriptor-table overhead once copy-back stops dominating.

  4. Bonus takeaways that save a ton of dead-end work:

    • Card-compare fetch costing ~10.6 ms median across 2.3 extra waits/frame for only 0.1–0.2 MB (and indirectly stalling "lists in the air") is a strong reason to eliminate or defer those round-trips for GPU-owned resources.
    • DirectStorage hitches = synchronous pread64 queue-depth starvation (not BCPack, which uses ≤1.5 workers) — pointing straight at real async I/O (io_uring on Linux / properly pipelined overlapped I/O) rather than throwing more synchronous threads at it.
    • Coalescing VirtualProtect doing nothing (1.1–1.3 isolated 64 KiB pages/call) matches neonbyte1/VIctory#59 (1.67 pages/call) and reinforces why skipping VirtualProtect altogether on hot pool pages (GetWriteWatch, #3615) is a different lever from trying to merge VirtualProtect calls.

Really appreciate you linking Slaktarn700/SlaktarnVI#15 — this gives everyone working on both Windows and Linux forks a much more honest picture of where the wall moves next.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7253493801 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3703#issuecomment-7253493801). Originally posted by [Texbirds](https://github.com/Texbirds) on 2026-11-29T09:02:18Z. --- This is an incredible dataset, @Fran-co-F — thank you for sharing both the draw-binned pad-play numbers and the negative results (and for being upfront about the visual regressions). A few things here sharpen the RFC significantly: 1. **AMD IBS measuring ~0.3% CPU reads of copy-back** is the cleanest hardware proof yet of Track 1's premise: ~99.7% of eager copy-back is never touched by the CPU. Cutting copy-back from 42 MB → 0 MB and copies 98 → 31 MB (19.9 → 28.7 fps in the prologue, +2–6 fps across every draw bin) shows the ceiling of removing that fixed per-frame memory tax. 2. **The visual glitches (flicker, missing menu glyphs, unloaded assets while driving) reinforce narrow/lazy ownership:** Even with a strict WC-only filter, blanket 32 MiB block placement in VRAM still gets bitten by that remaining ~0.3% (or missing CPU/GPU visibility barriers on specific resources like glyph atlases/streaming buffers). That lines up with what folks have seen on Windows too: either **narrow, resource-level GPU ownership** first, or a **lazy read-fault (`PAGE_NOACCESS`)** trap to catch the rare CPU read cleanly without paying 10 MB/s uncached VRAM reads or silent staleness. 3. **The fixed-per-frame vs. per-draw split is now confirmed across 3 independent setups:** - Your 9800X3D + 9070 XT (Linux, 0 MB copy-back): `29.0 fps` at 1–3k draws → **`11.8 fps` at >7k draws** (`r = -0.68`, submit thread 32 ms median / 42–98 ms worst). - @Ym1r1710's 7800X3D + 5080 (Windows): outdoors (8–16k draws), 8 translator threads burn **450–1,200 ms** (~2/3 descriptor tables) while the GPU is 35% busy. - @KingKaom's 9070 XT: standing ~30 fps → **7 fps @ 9,140 draws** under real pad movement. That makes the roadmap much clearer: **Tracks 1–3 remove a large fixed per-frame tax** (and free CPU cores), **but hitting 30+ fps in 8k–14k draw street driving also requires attacking per-draw translation & descriptor-table overhead** once copy-back stops dominating. 4. **Bonus takeaways that save a ton of dead-end work:** - **Card-compare fetch** costing ~10.6 ms median across 2.3 extra waits/frame for only 0.1–0.2 MB (and indirectly stalling "lists in the air") is a strong reason to eliminate or defer those round-trips for GPU-owned resources. - **DirectStorage hitches = synchronous `pread64` queue-depth starvation** (not BCPack, which uses ≤1.5 workers) — pointing straight at real async I/O (`io_uring` on Linux / properly pipelined overlapped I/O) rather than throwing more synchronous threads at it. - **Coalescing `VirtualProtect` doing nothing (1.1–1.3 isolated 64 KiB pages/call)** matches `neonbyte1/VIctory#59` (1.67 pages/call) and reinforces why skipping `VirtualProtect` altogether on hot pool pages (`GetWriteWatch`, #3615) is a different lever from trying to merge `VirtualProtect` calls. Really appreciate you linking `Slaktarn700/SlaktarnVI#15` — this gives everyone working on both Windows and Linux forks a much more honest picture of where the wall moves next.
UlisesVoxer commented 2026-11-29 23:26:45 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by UlisesVoxer on 2026-11-29T23:26:45Z.


Native-Windows measurements for Track 3 (tiled residency), plus some
related numbers for Tracks 1 and 3. Sections 1–6 are standalone D3D12
tests with no title involved. Section 7 is from title runs.

System: Ryzen 9 5900X, 64 GB DDR4, NVIDIA GeForce RTX 4090
(22,608 MB dedicated reported), driver 616.64 (32.0.16.1664),
Windows 11 Pro 25H2 (build 26200.9974). D3D12 reports tiled resources
tier 4, resource heap tier 2, GPU upload heaps supported, 40-bit GPU
virtual addresses. Release build.

UpdateTileMappings (run at DDR4-3200)

How each figure was timed:

  • CPU: wall time inside the UpdateTileMappings call(s) on the
    direct queue.
  • Card: the difference between two queue timestamps (1 GHz),
    written by one command list submitted just before the call(s) and
    one just after. Note this interval includes driver and kernel work,
    not only GPU time: the same test at DDR4-2133 gave roughly twice
    these figures, CPU and card alike.
  • Repetitions: each case uses a freshly made reserved resource.
    Its first call is reported apart; the median and p90 are over the
    next 50 calls.
  • The heap: a DEFAULT heap of 4,096 tiles (256 MiB); buffers-only
    for buffers, non-RT/DS textures for textures.
  • Regions: each call maps one region of n tiles from one range.
    Each call's region starts n tiles further on in the resource,
    wrapping round at the end.

1. Cost per call

  • Resource size doesn't change the cost, and buffers and textures
    cost about the same.
  • Up to 256 tiles: about 30–80 µs of CPU and 130–450 µs on the
    card.
  • At 4,096 tiles: 0.6–1.0 ms of CPU and 1.5–2.3 ms on the card
    when mapping to heap tiles; about 0.17 ms CPU / 0.25 ms card when
    mapping to none.
  • p90 is higher: up to 4.5 ms on the card at 4,096 tiles.
  • From the call to the fence after the second list signalled, it
    takes about 40–60 µs more than the card figure.
  • First call on a fresh resource: most took 0.1–0.6 ms on the
    card. The exception is all 4,096 tiles to one heap tile: 512 MiB
    buffer 3.6 ms, 2 GiB buffer 3.6 ms, 512 MiB texture 3.6 ms, 2 GiB
    texture 5.5 ms.
Full table: median, CPU µs / card µs
Resource Tiles To heap tiles in a row All to one heap tile To none (NULL)
Buffer 64 MiB 1 34 / 148 32 / 132 32 / 146
16 34 / 167 34 / 141 28 / 140
256 57 / 223 51 / 186 42 / 144
4,096 — (1,024 tiles) — —
Buffer 512 MiB 1 31 / 132 30 / 135 27 / 132
16 37 / 168 35 / 157 35 / 149
256 67 / 208 77 / 454 46 / 150
4,096 655 / 1,932 815 / 1,755 166 / 255
Buffer 2 GiB 1 36 / 133 34 / 161 28 / 149
16 36 / 158 34 / 164 30 / 143
256 41 / 149 41 / 337 40 / 127
4,096 1,040 / 2,331 574 / 1,591 160 / 231
Texture 64 MiB (4096x4096 RGBA8, 128x128 tiles) 1 34 / 135 34 / 144 34 / 130
16 33 / 156 53 / 217 32 / 124
256 57 / 222 59 / 222 56 / 168
4,096 — (1,024 tiles) — —
Texture 512 MiB (16384x8192 RGBA8, 128x128 tiles) 1 60 / 227 63 / 218 37 / 133
16 52 / 207 40 / 183 40 / 158
256 72 / 297 61 / 312 41 / 145
4,096 606 / 1,732 726 / 1,612 182 / 257
Texture 2 GiB (16384x8192 RGBA32F, 64x64 tiles) 1 31 / 142 30 / 130 32 / 152
16 34 / 158 33 / 146 29 / 153
256 41 / 172 40 / 313 56 / 177
4,096 995 / 2,177 586 / 1,534 196 / 280

2. One call with K regions against K separate calls

Reserved buffer of 512 MiB and reserved texture of 512 MiB
(16384x8192 RGBA8). The K regions are spread apart (every other
region-sized slot), with one range each and heap tiles in a row. The
"K calls" figures time all K calls together, back to back, between
the same two timestamps. Median, µs.

Resource K Tiles a region CPU: one call / K calls Card: one call / K calls A region, CPU: one call / K calls A region, card: one call / K calls
Buffer 16 1 50 / 419 252 / 1,820 3.1 / 26 16 / 114
Buffer 16 16 99 / 494 310 / 1,855 6.2 / 31 19 / 116
Buffer 256 1 202 / 20,724 1,624 / 38,903 0.8 / 81 6.3 / 152
Buffer 256 16 1,283 / 23,891 3,469 / 44,966 5.0 / 93 13.6 / 176
Texture 16 1 55 / 379 254 / 2,420 3.4 / 24 16 / 151
Texture 16 16 107 / 421 355 / 2,104 6.7 / 26 22 / 132
Texture 256 1 248 / 29,087 2,285 / 55,474 1.0 / 114 8.9 / 217
Texture 256 16 1,107 / 26,391 3,501 / 50,267 4.3 / 103 13.7 / 196

The cost is per call, not per tile. One call carrying all K
regions is 8–100x cheaper on the CPU and 6–24x cheaper on the card
than K calls. Each separate call costs about 25–115 µs of CPU and
110–220 µs on the card, so 256 separate calls take 39–55 ms of card
time, against 1.6–3.5 ms batched.

3. Two regions on the same heap tiles (aliasing)

Each case has a fresh 16-tile DEFAULT heap; regions A and B are 16
tiles each, both mapped to heap tiles 0..15. A pattern was written
through A and read back through both; then a different pattern was
written through B and read back through both.

  • Writes and reads are copies to and from upload and readback
    buffers.
  • Barriers: an aliasing barrier with null resources before and
    after each write, plus a COPY_DEST → COPY_SOURCE transition of the
    written resource. Buffers otherwise go by implicit promotion from
    COMMON.
Case A after write A B after write A A after write B B after write B
One buffer, tiles 0..15 and 64..79 as written as written as written as written
Two buffers, tiles 0..15 and 32..47 as written as written as written as written
Buffer tiles 0..15 and texture tile row 0 (4096x4096 RGBA8; heap allowing both) as written the written bytes in another order (first difference at 0x10) the written bytes in another order (first difference at 0x10) as written
  • Buffer aliases: both regions read the same bytes, and a write
    through either shows through the other.
  • Buffer and texture: a write through either side changes what
    the other reads; the same bytes come through in another order, the
    texture's layout.
  • Debug layer: the device was never removed. With the layer on,
    in a process of its own, there were 0 messages at warning or worse
    in all three cases.

4. Heap types that can back a reserved resource

All nine tried worked, for both a reserved buffer and a reserved 2D
texture: DEFAULT, GPU_UPLOAD, UPLOAD, READBACK, CUSTOM L0
(not-available, write-combine, write-back), CUSTOM L1 (not-available,
write-combine).

  • Each was checked the same way: the heap was made, 16 tiles were
    mapped to it, and bytes copied in through the reserved resource
    came back right. The device was not removed.
  • The calls took 42–264 µs each.
  • With the debug layer on (an earlier run the same day), no warnings
    or errors.

Many tiles to one heap tile and to none: with
D3D12_TILE_RANGE_FLAG_REUSE_SINGLE_TILE, 16 tiles mapped to one
heap tile all read the same bytes. Tiles mapped with
D3D12_TILE_RANGE_FLAG_NULL read zeros.

Not tested: CPU access to tiles of a reserved resource backed by
a GPU_UPLOAD heap, and aliasing between a reserved resource and a
placed resource on the same heap.

5. Where the bytes live decides the card's read and write rate

Operation Card memory or GPU upload heap Host RAM (upload L0, custom write-back L0, or opened in place)
Compute pass reading a 2.2 GB buffer, cold, 16-byte loads 865 GB/s (the GPU upload heap reads at the same rate as card memory) 19.5–20.6 GB/s
Shader stores 133–134 GB/s 0.7 GB/s

Same direction as the #407 figures quoted in the RFC, with a larger
gap on this card.

6. A GPU upload heap as VRAM-resident, CPU-visible memory

CPU operation on the mapping Rate
Write, one thread 15.9 GB/s
Write, eight threads 21.2 GB/s
Read, block copy 0.043–0.047 GB/s
Read, dword by dword about 6 MB/s
  • A 2.2 GB buffer was made and mapped in 50 ms; the card read all of
    it in 2.66 ms.
  • CPU and card see each other's writes with no call in between, in
    both directions.
  • Shader stores into it read back right on the CPU (0 of 4 M dwords
    wrong). It worked as a vertex, index and constant buffer, and as a
    copy source and destination.
  • Placing the mapping at a chosen address works: reserve the
    address space around a hole, then Map lands in the hole. With
    everything from 4 GB up reserved it took 6.9–10.0 s for one 2.2 GB
    mapping; in a form with three mappings and small RAM pieces between
    them it took 0.07–0.45 s per mapping. The mapping survives the
    release of the reservations.
  • As far as I can tell the mapping can't be write-watched, and the
    D3D12 spec says a GPU upload heap falls back to system RAM silently
    when over budget.

So this suits memory the CPU only writes. Any CPU read of it is
hundreds of times slower than reading RAM.

From title runs

7. For Tracks 1 and 3

  • Who reads copied-back pages (6,941 pages sampled 1 in 16 after
    copy-back): the title touched about 7% within a second, about 77%
    were touched only by the layer's own code, and about 16% by nobody.
    Most copy-back today serves the layer's bookkeeping, not the title.
  • Not copying back large shader-written write-combined copies
    (the fork's VICTORY_WC_NO_BACK with its 1 MiB floor): about 95%
    less data copied back per frame on my PC. The floor matters, and so
    do exceptions above it: the title does read some large
    shader-written textures on the CPU.
  • A constraint for VRAM-resident pools: the title maps the same
    physical pages at two CPU addresses for its large pools (147,768
    such mapping calls in one run). A VRAM-resident design needs an
    answer for those ranges.
  • RAM speed: going from DDR4-2133 to 3200 took about 32% off my
    frame time with no code change. Worth checking on any DDR4 test
    machine.
<!-- greyfinch-sync:Marvisak/VIctory:comment:7264465705 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3703#issuecomment-7264465705). Originally posted by [UlisesVoxer](https://github.com/UlisesVoxer) on 2026-11-29T23:26:45Z. --- Native-Windows measurements for Track 3 (tiled residency), plus some related numbers for Tracks 1 and 3. Sections 1–6 are standalone D3D12 tests with no title involved. Section 7 is from title runs. **System:** Ryzen 9 5900X, 64 GB DDR4, NVIDIA GeForce RTX 4090 (22,608 MB dedicated reported), driver 616.64 (32.0.16.1664), Windows 11 Pro 25H2 (build 26200.9974). D3D12 reports tiled resources tier 4, resource heap tier 2, GPU upload heaps supported, 40-bit GPU virtual addresses. Release build. ## `UpdateTileMappings` (run at DDR4-3200) **How each figure was timed:** - **CPU:** wall time inside the `UpdateTileMappings` call(s) on the direct queue. - **Card:** the difference between two queue timestamps (1 GHz), written by one command list submitted just before the call(s) and one just after. Note this interval includes driver and kernel work, not only GPU time: the same test at DDR4-2133 gave roughly twice these figures, CPU and card alike. - **Repetitions:** each case uses a freshly made reserved resource. Its first call is reported apart; the median and p90 are over the next 50 calls. - **The heap:** a DEFAULT heap of 4,096 tiles (256 MiB); buffers-only for buffers, non-RT/DS textures for textures. - **Regions:** each call maps one region of *n* tiles from one range. Each call's region starts *n* tiles further on in the resource, wrapping round at the end. ### 1. Cost per call - **Resource size doesn't change the cost**, and buffers and textures cost about the same. - **Up to 256 tiles:** about 30–80 µs of CPU and 130–450 µs on the card. - **At 4,096 tiles:** 0.6–1.0 ms of CPU and 1.5–2.3 ms on the card when mapping to heap tiles; about 0.17 ms CPU / 0.25 ms card when mapping to none. - **p90 is higher:** up to 4.5 ms on the card at 4,096 tiles. - **From the call to the fence** after the second list signalled, it takes about 40–60 µs more than the card figure. - **First call on a fresh resource:** most took 0.1–0.6 ms on the card. The exception is all 4,096 tiles to one heap tile: 512 MiB buffer 3.6 ms, 2 GiB buffer 3.6 ms, 512 MiB texture 3.6 ms, 2 GiB texture 5.5 ms. <details> <summary>Full table: median, CPU µs / card µs</summary> | Resource | Tiles | To heap tiles in a row | All to one heap tile | To none (NULL) | |---|---|---|---|---| | Buffer 64 MiB | 1 | 34 / 148 | 32 / 132 | 32 / 146 | | | 16 | 34 / 167 | 34 / 141 | 28 / 140 | | | 256 | 57 / 223 | 51 / 186 | 42 / 144 | | | 4,096 | — (1,024 tiles) | — | — | | Buffer 512 MiB | 1 | 31 / 132 | 30 / 135 | 27 / 132 | | | 16 | 37 / 168 | 35 / 157 | 35 / 149 | | | 256 | 67 / 208 | 77 / 454 | 46 / 150 | | | 4,096 | 655 / 1,932 | 815 / 1,755 | 166 / 255 | | Buffer 2 GiB | 1 | 36 / 133 | 34 / 161 | 28 / 149 | | | 16 | 36 / 158 | 34 / 164 | 30 / 143 | | | 256 | 41 / 149 | 41 / 337 | 40 / 127 | | | 4,096 | 1,040 / 2,331 | 574 / 1,591 | 160 / 231 | | Texture 64 MiB (4096x4096 RGBA8, 128x128 tiles) | 1 | 34 / 135 | 34 / 144 | 34 / 130 | | | 16 | 33 / 156 | 53 / 217 | 32 / 124 | | | 256 | 57 / 222 | 59 / 222 | 56 / 168 | | | 4,096 | — (1,024 tiles) | — | — | | Texture 512 MiB (16384x8192 RGBA8, 128x128 tiles) | 1 | 60 / 227 | 63 / 218 | 37 / 133 | | | 16 | 52 / 207 | 40 / 183 | 40 / 158 | | | 256 | 72 / 297 | 61 / 312 | 41 / 145 | | | 4,096 | 606 / 1,732 | 726 / 1,612 | 182 / 257 | | Texture 2 GiB (16384x8192 RGBA32F, 64x64 tiles) | 1 | 31 / 142 | 30 / 130 | 32 / 152 | | | 16 | 34 / 158 | 33 / 146 | 29 / 153 | | | 256 | 41 / 172 | 40 / 313 | 56 / 177 | | | 4,096 | 995 / 2,177 | 586 / 1,534 | 196 / 280 | </details> ### 2. One call with K regions against K separate calls Reserved buffer of 512 MiB and reserved texture of 512 MiB (16384x8192 RGBA8). The K regions are spread apart (every other region-sized slot), with one range each and heap tiles in a row. The "K calls" figures time all K calls together, back to back, between the same two timestamps. Median, µs. | Resource | K | Tiles a region | CPU: one call / K calls | Card: one call / K calls | A region, CPU: one call / K calls | A region, card: one call / K calls | |---|---|---|---|---|---|---| | Buffer | 16 | 1 | 50 / 419 | 252 / 1,820 | 3.1 / 26 | 16 / 114 | | Buffer | 16 | 16 | 99 / 494 | 310 / 1,855 | 6.2 / 31 | 19 / 116 | | Buffer | 256 | 1 | 202 / 20,724 | 1,624 / 38,903 | 0.8 / 81 | 6.3 / 152 | | Buffer | 256 | 16 | 1,283 / 23,891 | 3,469 / 44,966 | 5.0 / 93 | 13.6 / 176 | | Texture | 16 | 1 | 55 / 379 | 254 / 2,420 | 3.4 / 24 | 16 / 151 | | Texture | 16 | 16 | 107 / 421 | 355 / 2,104 | 6.7 / 26 | 22 / 132 | | Texture | 256 | 1 | 248 / 29,087 | 2,285 / 55,474 | 1.0 / 114 | 8.9 / 217 | | Texture | 256 | 16 | 1,107 / 26,391 | 3,501 / 50,267 | 4.3 / 103 | 13.7 / 196 | **The cost is per call, not per tile.** One call carrying all K regions is 8–100x cheaper on the CPU and 6–24x cheaper on the card than K calls. Each separate call costs about 25–115 µs of CPU and 110–220 µs on the card, so 256 separate calls take 39–55 ms of card time, against 1.6–3.5 ms batched. ### 3. Two regions on the same heap tiles (aliasing) Each case has a fresh 16-tile DEFAULT heap; regions A and B are 16 tiles each, both mapped to heap tiles 0..15. A pattern was written through A and read back through both; then a different pattern was written through B and read back through both. - **Writes and reads** are copies to and from upload and readback buffers. - **Barriers:** an aliasing barrier with null resources before and after each write, plus a COPY_DEST → COPY_SOURCE transition of the written resource. Buffers otherwise go by implicit promotion from COMMON. | Case | A after write A | B after write A | A after write B | B after write B | |---|---|---|---|---| | One buffer, tiles 0..15 and 64..79 | as written | as written | as written | as written | | Two buffers, tiles 0..15 and 32..47 | as written | as written | as written | as written | | Buffer tiles 0..15 and texture tile row 0 (4096x4096 RGBA8; heap allowing both) | as written | the written bytes in another order (first difference at 0x10) | the written bytes in another order (first difference at 0x10) | as written | - **Buffer aliases:** both regions read the same bytes, and a write through either shows through the other. - **Buffer and texture:** a write through either side changes what the other reads; the same bytes come through in another order, the texture's layout. - **Debug layer:** the device was never removed. With the layer on, in a process of its own, there were 0 messages at warning or worse in all three cases. ### 4. Heap types that can back a reserved resource All nine tried worked, for both a reserved buffer and a reserved 2D texture: DEFAULT, GPU_UPLOAD, UPLOAD, READBACK, CUSTOM L0 (not-available, write-combine, write-back), CUSTOM L1 (not-available, write-combine). - Each was checked the same way: the heap was made, 16 tiles were mapped to it, and bytes copied in through the reserved resource came back right. The device was not removed. - The calls took 42–264 µs each. - With the debug layer on (an earlier run the same day), no warnings or errors. **Many tiles to one heap tile and to none:** with `D3D12_TILE_RANGE_FLAG_REUSE_SINGLE_TILE`, 16 tiles mapped to one heap tile all read the same bytes. Tiles mapped with `D3D12_TILE_RANGE_FLAG_NULL` read zeros. **Not tested:** CPU access to tiles of a reserved resource backed by a GPU_UPLOAD heap, and aliasing between a reserved resource and a placed resource on the same heap. ## Related measurements (standalone, at DDR4-2133) ### 5. Where the bytes live decides the card's read and write rate | Operation | Card memory or GPU upload heap | Host RAM (upload L0, custom write-back L0, or opened in place) | |---|---|---| | Compute pass reading a 2.2 GB buffer, cold, 16-byte loads | 865 GB/s (the GPU upload heap reads at the same rate as card memory) | 19.5–20.6 GB/s | | Shader stores | 133–134 GB/s | 0.7 GB/s | Same direction as the #407 figures quoted in the RFC, with a larger gap on this card. ### 6. A GPU upload heap as VRAM-resident, CPU-visible memory | CPU operation on the mapping | Rate | |---|---| | Write, one thread | 15.9 GB/s | | Write, eight threads | 21.2 GB/s | | Read, block copy | 0.043–0.047 GB/s | | Read, dword by dword | about 6 MB/s | - A 2.2 GB buffer was made and mapped in 50 ms; the card read all of it in 2.66 ms. - CPU and card see each other's writes with no call in between, in both directions. - Shader stores into it read back right on the CPU (0 of 4 M dwords wrong). It worked as a vertex, index and constant buffer, and as a copy source and destination. - **Placing the mapping at a chosen address works:** reserve the address space around a hole, then `Map` lands in the hole. With everything from 4 GB up reserved it took 6.9–10.0 s for one 2.2 GB mapping; in a form with three mappings and small RAM pieces between them it took 0.07–0.45 s per mapping. The mapping survives the release of the reservations. - As far as I can tell the mapping can't be write-watched, and the D3D12 spec says a GPU upload heap falls back to system RAM silently when over budget. So this suits memory the CPU only writes. Any CPU read of it is hundreds of times slower than reading RAM. ## From title runs ### 7. For Tracks 1 and 3 - **Who reads copied-back pages** (6,941 pages sampled 1 in 16 after copy-back): the title touched about 7% within a second, about 77% were touched only by the layer's own code, and about 16% by nobody. Most copy-back today serves the layer's bookkeeping, not the title. - **Not copying back large shader-written write-combined copies** (the fork's `VICTORY_WC_NO_BACK` with its 1 MiB floor): about 95% less data copied back per frame on my PC. The floor matters, and so do exceptions above it: the title does read some large shader-written textures on the CPU. - **A constraint for VRAM-resident pools:** the title maps the same physical pages at two CPU addresses for its large pools (147,768 such mapping calls in one run). A VRAM-resident design needs an answer for those ranges. - **RAM speed:** going from DDR4-2133 to 3200 took about 32% off my frame time with no code change. Worth checking on any DDR4 test machine.
Texbirds commented 2026-11-30 09:26:10 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Texbirds on 2026-11-30T09:26:10Z.


VOXER ACTUALLY COMING THROUGH! This is an incredible set of native-Windows measurements, @UlisesVoxer — thank you for running the full D3D12 test matrix and posting it here.

A few headline results that completely de-risk Track 3 on Windows (and give us hard design rules):

  1. Native D3D12 UpdateTileMappings is completely viable — as long as it's batched: Unlike vkd3d-proton's full-resource tile walk noted in neonbyte1/VIctory#128, native Windows cost is independent of reserved-resource size (64 MiB vs 2 GiB are identical at ~31–41 µs CPU / ~133–149 µs card), and batching K regions into a single call is 8–100x cheaper on CPU and 6–24x cheaper on card (256 regions in 1 call = 0.20 ms CPU / 1.62 ms card vs 39–55 ms unbatched). Hard rule for Track 3: always batch tile remaps per submission/frame.
  2. 64 KiB buffer↔buffer tile aliasing + NULL-tile zeroing work cleanly with 0 debug-layer warnings across all 9 heap types, while buffer↔texture aliasing confirms hardware swizzle differences (so buffer↔texture still goes through a copy/detile pass).
  3. The VRAM bandwidth numbers settle VRAM-first for good: 865 vs 20 GB/s (43x) on compute reads and 134 vs 0.7 GB/s (190x) on shader stores on a 4090 — and GPU_UPLOAD hitting 865 GB/s GPU reads + 21.2 GB/s CPU writes (at 6 MB/s CPU reads) cleanly defines its exact lane: CPU write-only, GPU read-many buffers under budget.
  4. 77% of copied-back pages touched only by the layer's own bookkeeping (+ 16% untouched = 93% pure layer overhead): Combined with VICTORY_WC_NO_BACK cutting copy-back by ~95% and your note that the title does CPU-read some large shader-written textures above the 1 MiB floor, that reinforces keeping Track 1 behind either a narrow resource-class allowlist or a lazy read-fault safety net rather than a blind global skip.

Also wild that DDR4-2133 → DDR4-3200 alone shaved ~32% off frame time — huge reminder to log RAM speed on any DDR4 A/B runs. Really appreciate you contributing this data to the thread! Good luck with future projects!

<!-- greyfinch-sync:Marvisak/VIctory:comment:7274203487 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/3703#issuecomment-7274203487). Originally posted by [Texbirds](https://github.com/Texbirds) on 2026-11-30T09:26:10Z. --- VOXER ACTUALLY COMING THROUGH! This is an incredible set of native-Windows measurements, @UlisesVoxer — thank you for running the full D3D12 test matrix and posting it here. A few headline results that completely de-risk Track 3 on Windows (and give us hard design rules): 1. **Native D3D12 `UpdateTileMappings` is completely viable — as long as it's batched:** Unlike `vkd3d-proton`'s full-resource tile walk noted in `neonbyte1/VIctory#128`, native Windows cost is independent of reserved-resource size (64 MiB vs 2 GiB are identical at ~31–41 µs CPU / ~133–149 µs card), and batching K regions into a single call is **8–100x cheaper on CPU and 6–24x cheaper on card** (256 regions in 1 call = `0.20 ms CPU / 1.62 ms card` vs `39–55 ms` unbatched). Hard rule for Track 3: **always batch tile remaps per submission/frame.** 2. **64 KiB buffer↔buffer tile aliasing + NULL-tile zeroing work cleanly** with 0 debug-layer warnings across all 9 heap types, while buffer↔texture aliasing confirms hardware swizzle differences (so buffer↔texture still goes through a copy/detile pass). 3. **The VRAM bandwidth numbers settle VRAM-first for good:** **865 vs 20 GB/s (43x)** on compute reads and **134 vs 0.7 GB/s (190x)** on shader stores on a 4090 — and `GPU_UPLOAD` hitting `865 GB/s` GPU reads + `21.2 GB/s` CPU writes (at `6 MB/s` CPU reads) cleanly defines its exact lane: CPU write-only, GPU read-many buffers under budget. 4. **77% of copied-back pages touched *only* by the layer's own bookkeeping (+ 16% untouched = 93% pure layer overhead):** Combined with `VICTORY_WC_NO_BACK` cutting copy-back by ~95% and your note that the title *does* CPU-read some large shader-written textures above the 1 MiB floor, that reinforces keeping Track 1 behind either a narrow resource-class allowlist or a lazy read-fault safety net rather than a blind global skip. Also wild that DDR4-2133 → DDR4-3200 alone shaved ~32% off frame time — huge reminder to log RAM speed on any DDR4 A/B runs. Really appreciate you contributing this data to the thread! Good luck with future projects!
Sign in to join this conversation.
No labels
No milestone
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.

Reference
Marvisak/VIctory#3703
No description provided.