v2026.11.30.02: CPU preparing (~29.6 ms) & copying back (~10.8 ms) bottlenecks (4.1k–4.9k wide refreshes, 174k scatters, 4 land threads) #4249

Open
opened 2026-11-30 18:09:24 +00:00 by github-bot · 0 comments
Owner

@⁠KampeLoL on GitHub · 2026-11-30 17:45 UTC · original

What you see

Testing clean stock v2026.11.30.02 (84bd61e2) in open-world Series S gameplay (2560x1440 output, DLSS Quality, DLSS FG 4x, --fps 1000, default switches, no --preload before launch):

  • Improvements clearly confirmed in v2026.11.30.02: list::thin recording is down to 134–153 ms total across worker threads (41.5k–46.3k calls/frame), planning steps done on the card is 0.6–1.3 ms (p50 = 1.00 ms), and DLSS FG 4x scales 25 -> 100 / 31 -> 124.
  • Steady gameplay (3,446–6,629 draws/frame, excluding first-visit VICTORY_PIPELINE_WAIT_ALL stalls): 23.6–30.0 fps (33.3–42.3 ms/frame), leaving 3.5–11.8 ms/frame of GPU idle behind the submitting thread (the card about 71–89% busy).
  • Overall percentiles across 47 gameplay seconds (>= 1000 draws/frame, median 5451 draws): FPS p10/p50/p90 = 0.30 / 23.70 / 26.40, preparing p50/p90 = 29.6 / 60.1 ms, copying back p50 = 10.8 ms.

Three clear CPU / sync bottlenecks stand out in the steady telemetry:

  1. wide refreshes still spike to 4,059–4,891 / ~9,800 spans (10.0–14.1 ms in refreshes + 3.0–3.5 ms asking the write watch) in dense 6400+-draw scenes, even with RangeMemo and PageEpochs.
  2. copying back at 9.0–13.5 ms (p50 = 10.8 ms) on default VICTORY_LAND=1, 4 threads: landing 12.6–13.3 ms in all (merging 2.08–2.47 ms, read-backs and lists 2.68–3.42 ms, relay waited 17.8–20.1 ms + 2.4–2.5 ms fetches).
  3. host::send scatter churn (164k–186k words in scatters, 454–567 runs, 22–25 MB/frame) and card_copies = 4.2–5.9 ms.

(Note: initial world entry also saw 1.9–7.3 s compile stalls and 0.7–1.2 s mid-world hitches on newly built pipelines under VICTORY_PIPELINE_WAIT_ALL=1 after the post-#4003 cache reset.)

GPU and driver

NVIDIA GeForce RTX 5090 Laptop GPU (24 GB VRAM), driver 621.14.0

CPU, RAM and Windows version

Intel Core Ultra 9 275HX (8 non-SMT P-cores + 16 E-cores = 24 threads), 32 GB RAM, Windows 11 build 26300

VIctory release or commit

v2026.11.30.02 (84bd61e2)

Settings

Series S (--series-s), 2560x1440 (--res 1440), DLSS Quality (--dlss quality), DLSS FG 4x (--fg-type dlss --framegen 4), --fps 1000, stock defaults (no custom --set switches).

Logs

Representative steady-state blocks from victory-nvidia-play-20261130-173214-25392.log (0 errors, clean window-close exit, no new entries in crashes.log):

2026-11-30T17:37:57.224298Z  INFO victory_gpu::host: the relay per frame (VICTORY_RELAY=1): 20.0 flights landed in 11.8 landings by the thread that copies back, beside the submitting thread; that thread waited 20.0 ms for the card with nothing to land and 2.4 ms for fetches of card copies' pieces, and was 13.0 ms landing in all (the frame line's "copying back" is its time; "settles" above are waits of other threads for it)
2026-11-30T17:37:57.224303Z  INFO victory_gpu::host: bytes of submissions' own sent up per frame (VICTORY_SEND_OWN): 25.4 MB in 567 runs, 164300 words in scatters; 1.45 ms taking them out of the CPU sides
2026-11-30T17:37:57.224309Z  INFO victory_gpu::land: landing per frame (VICTORY_LAND=1, 4 threads): which pieces to fetch 0.18 ms, then the fetches (the relay's line); looking through copies in the PC's memory 0.00 ms beside them and 0.00 ms more; merging what was fetched 2.08 ms (5.08 ms on all threads, 54 jobs), merging the others 0.00 ms (0.00 on all threads); of the threads' time 0.26 ms waiting for the title's bytes going in, 0.33 ms opening or noting guards; then ranges done with 0.10 ms, read-backs and lists 3.42, the title told 0.07, the rest 0.00
2026-11-30T17:37:57.224350Z  INFO victory_gpu::host: the card's clock per frame: nothing of ours queued 11.6 ms (the card about 72% busy by this count), 11.4 ms of that while the submitting thread was working (the card idle behind us), the rest outside marked submit work; the submitting thread stood waiting for the card 0.0 ms
2026-11-30T17:37:57.224358Z  INFO victory_gpu::host: preparing per frame, the submitting thread: 30.2 ms in its submissions: 3.3 asking the write watch (0.4 of them finding what to ask), 1.5 putting the title's bytes under flights' writes, 17.8 in the lists' steps (refreshes 10.4 in 41 flushes of 9716, 8710 of them known to copy nothing, 4719 on several threads, 0.6 one at a time in 309 before shader writes; copies and fills 2.3, the refreshes before copies among them), 0.0 snapshots, 4.4 for copies in the card's memory, 1.4 sending the lists (VICTORY_LIGHT_REFRESH is on); ahead of these 0.0 waiting for the submission lock, 1.1 planning steps done on the card, 0.0 waiting for flights, 0.6 the heaps' records and what is swept; at the end 0.1 waiting for the heaps' records; after the sending 0.5 (the flight noted, landed lists reset and given back)
2026-11-30T17:37:57.224511Z  INFO victory_gpu::host: 24.2 fps, 41.3 ms/frame (27.1 preparing: copies 12.3 ms 53.6 MB, textures 2.1 ms 37.3 MB; 0.0 on the GPU; 9.4 copying back 1.2 MB), 6497 draws/frame, dropped 124 draws or dispatches (0 being made) and 820 indirect (819 of all these left out on purpose: ray-tracing passes without the structure builder)

2026-11-30T17:39:08.310759Z  INFO victory_gpu::host: the relay per frame (VICTORY_RELAY=1): 20.2 flights landed in 11.8 landings by the thread that copies back, beside the submitting thread; that thread waited 17.8 ms for the card with nothing to land and 2.5 ms for fetches of card copies' pieces, and was 12.6 ms landing in all
2026-11-30T17:39:08.310765Z  INFO victory_gpu::host: bytes of submissions' own sent up per frame (VICTORY_SEND_OWN): 22.4 MB in 454 runs, 174542 words in scatters; 1.33 ms taking them out of the CPU sides
2026-11-30T17:39:08.310771Z  INFO victory_gpu::land: landing per frame (VICTORY_LAND=1, 4 threads): which pieces to fetch 0.17 ms, then the fetches (the relay's line); looking through copies in the PC's memory 0.00 ms beside them and 0.00 ms more; merging what was fetched 2.38 ms (5.25 ms on all threads, 54 jobs), merging the others 0.00 ms (0.00 on all threads); of the threads' time 0.21 ms waiting for the title's bytes going in, 0.45 ms opening or noting guards; then ranges done with 0.12 ms, read-backs and lists 2.82, the title told 0.07, the rest 0.00
2026-11-30T17:39:08.310807Z  INFO victory_gpu::host: the card's clock per frame: nothing of ours queued 3.6 ms (the card about 89% busy by this count), 3.5 ms of that while the submitting thread was working (the card idle behind us), the rest outside marked submit work; the submitting thread stood waiting for the card 0.3 ms
2026-11-30T17:39:08.310814Z  INFO victory_gpu::host: preparing per frame, the submitting thread: 28.4 ms in its submissions: 2.9 asking the write watch (0.3 of them finding what to ask), 1.7 putting the title's bytes under flights' writes, 15.1 in the lists' steps (refreshes 8.5 in 45 flushes of 6060, 5051 of them known to copy nothing, 1117 on several threads, 0.3 one at a time in 323 before shader writes; copies and fills 2.0, the refreshes before copies among them), 0.0 snapshots, 4.4 for copies in the card's memory, 1.6 sending the lists (VICTORY_LIGHT_REFRESH is on); ahead of these 0.7 waiting for the submission lock, 1.0 planning steps done on the card, 0.0 waiting for flights, 0.8 the heaps' records and what is swept; at the end 0.0 waiting for the heaps' records; after the sending 0.6 (the flight noted, landed lists reset and given back)
2026-11-30T17:39:08.310976Z  INFO victory_gpu::host: 30.0 fps, 33.3 ms/frame (24.2 preparing: copies 10.2 ms 45.2 MB, textures 2.0 ms 31.9 MB; 0.3 on the GPU; 9.6 copying back 1.0 MB), 5346 draws/frame, dropped 85 draws or dispatches (0 being made) and 780 indirect

Are you working on a fix?

I'd like to, with some pointers

We have clean v2026.11.30.02 checked out and building locally on this 275HX + RTX 5090 Laptop machine, and would be happy to run any targeted diagnostics / A/B runs (VICTORY_LAND_THREADS, VICTORY_FAST_CORES, RangeMemo / AHEAD_SNAP miss stats) or help contribute patches for the wide refresh misses, host::send scatter coalescing, and land read-back/merge cost if maintainers point us at where you'd most like help.

**@⁠KampeLoL** on GitHub · 2026-11-30 17:45 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4248) ### What you see Testing clean stock **`v2026.11.30.02`** (`84bd61e2`) in open-world Series S gameplay (`2560x1440` output, DLSS Quality, DLSS FG 4x, `--fps 1000`, default switches, no `--preload` before launch): - **Improvements clearly confirmed in `v2026.11.30.02`:** `list::thin` recording is down to **134–153 ms** total across worker threads (`41.5k–46.3k` calls/frame), `planning steps done on the card` is **0.6–1.3 ms** (`p50 = 1.00 ms`), and DLSS FG 4x scales `25 -> 100` / `31 -> 124`. - **Steady gameplay (`3,446–6,629` draws/frame, excluding first-visit `VICTORY_PIPELINE_WAIT_ALL` stalls):** **23.6–30.0 fps** (`33.3–42.3 ms/frame`), leaving **3.5–11.8 ms/frame of GPU idle behind the submitting thread** (`the card about 71–89% busy`). - **Overall percentiles across 47 gameplay seconds (`>= 1000` draws/frame, median `5451` draws):** `FPS p10/p50/p90 = 0.30 / 23.70 / 26.40`, `preparing p50/p90 = 29.6 / 60.1 ms`, `copying back p50 = 10.8 ms`. Three clear CPU / sync bottlenecks stand out in the steady telemetry: 1. **`wide` refreshes still spike to `4,059–4,891 / ~9,800` spans** (`10.0–14.1 ms` in refreshes + `3.0–3.5 ms` asking the write watch) in dense `6400+`-draw scenes, even with `RangeMemo` and `PageEpochs`. 2. **`copying back` at `9.0–13.5 ms` (`p50 = 10.8 ms`)** on default `VICTORY_LAND=1, 4 threads`: `landing 12.6–13.3 ms in all` (`merging 2.08–2.47 ms`, `read-backs and lists 2.68–3.42 ms`, `relay waited 17.8–20.1 ms + 2.4–2.5 ms fetches`). 3. **`host::send` scatter churn (`164k–186k words in scatters`, `454–567 runs`, `22–25 MB/frame`)** and `card_copies = 4.2–5.9 ms`. *(Note: initial world entry also saw `1.9–7.3 s` compile stalls and `0.7–1.2 s` mid-world hitches on newly built pipelines under `VICTORY_PIPELINE_WAIT_ALL=1` after the post-`#4003` cache reset.)* ### GPU and driver NVIDIA GeForce RTX 5090 Laptop GPU (24 GB VRAM), driver 621.14.0 ### CPU, RAM and Windows version Intel Core Ultra 9 275HX (8 non-SMT P-cores + 16 E-cores = 24 threads), 32 GB RAM, Windows 11 build 26300 ### VIctory release or commit v2026.11.30.02 (84bd61e2) ### Settings Series S (`--series-s`), `2560x1440` (`--res 1440`), DLSS Quality (`--dlss quality`), DLSS FG 4x (`--fg-type dlss --framegen 4`), `--fps 1000`, stock defaults (no custom `--set` switches). ### Logs Representative steady-state blocks from `victory-nvidia-play-20261130-173214-25392.log` (`0` errors, clean window-close exit, no new entries in `crashes.log`): ```text 2026-11-30T17:37:57.224298Z INFO victory_gpu::host: the relay per frame (VICTORY_RELAY=1): 20.0 flights landed in 11.8 landings by the thread that copies back, beside the submitting thread; that thread waited 20.0 ms for the card with nothing to land and 2.4 ms for fetches of card copies' pieces, and was 13.0 ms landing in all (the frame line's "copying back" is its time; "settles" above are waits of other threads for it) 2026-11-30T17:37:57.224303Z INFO victory_gpu::host: bytes of submissions' own sent up per frame (VICTORY_SEND_OWN): 25.4 MB in 567 runs, 164300 words in scatters; 1.45 ms taking them out of the CPU sides 2026-11-30T17:37:57.224309Z INFO victory_gpu::land: landing per frame (VICTORY_LAND=1, 4 threads): which pieces to fetch 0.18 ms, then the fetches (the relay's line); looking through copies in the PC's memory 0.00 ms beside them and 0.00 ms more; merging what was fetched 2.08 ms (5.08 ms on all threads, 54 jobs), merging the others 0.00 ms (0.00 on all threads); of the threads' time 0.26 ms waiting for the title's bytes going in, 0.33 ms opening or noting guards; then ranges done with 0.10 ms, read-backs and lists 3.42, the title told 0.07, the rest 0.00 2026-11-30T17:37:57.224350Z INFO victory_gpu::host: the card's clock per frame: nothing of ours queued 11.6 ms (the card about 72% busy by this count), 11.4 ms of that while the submitting thread was working (the card idle behind us), the rest outside marked submit work; the submitting thread stood waiting for the card 0.0 ms 2026-11-30T17:37:57.224358Z INFO victory_gpu::host: preparing per frame, the submitting thread: 30.2 ms in its submissions: 3.3 asking the write watch (0.4 of them finding what to ask), 1.5 putting the title's bytes under flights' writes, 17.8 in the lists' steps (refreshes 10.4 in 41 flushes of 9716, 8710 of them known to copy nothing, 4719 on several threads, 0.6 one at a time in 309 before shader writes; copies and fills 2.3, the refreshes before copies among them), 0.0 snapshots, 4.4 for copies in the card's memory, 1.4 sending the lists (VICTORY_LIGHT_REFRESH is on); ahead of these 0.0 waiting for the submission lock, 1.1 planning steps done on the card, 0.0 waiting for flights, 0.6 the heaps' records and what is swept; at the end 0.1 waiting for the heaps' records; after the sending 0.5 (the flight noted, landed lists reset and given back) 2026-11-30T17:37:57.224511Z INFO victory_gpu::host: 24.2 fps, 41.3 ms/frame (27.1 preparing: copies 12.3 ms 53.6 MB, textures 2.1 ms 37.3 MB; 0.0 on the GPU; 9.4 copying back 1.2 MB), 6497 draws/frame, dropped 124 draws or dispatches (0 being made) and 820 indirect (819 of all these left out on purpose: ray-tracing passes without the structure builder) 2026-11-30T17:39:08.310759Z INFO victory_gpu::host: the relay per frame (VICTORY_RELAY=1): 20.2 flights landed in 11.8 landings by the thread that copies back, beside the submitting thread; that thread waited 17.8 ms for the card with nothing to land and 2.5 ms for fetches of card copies' pieces, and was 12.6 ms landing in all 2026-11-30T17:39:08.310765Z INFO victory_gpu::host: bytes of submissions' own sent up per frame (VICTORY_SEND_OWN): 22.4 MB in 454 runs, 174542 words in scatters; 1.33 ms taking them out of the CPU sides 2026-11-30T17:39:08.310771Z INFO victory_gpu::land: landing per frame (VICTORY_LAND=1, 4 threads): which pieces to fetch 0.17 ms, then the fetches (the relay's line); looking through copies in the PC's memory 0.00 ms beside them and 0.00 ms more; merging what was fetched 2.38 ms (5.25 ms on all threads, 54 jobs), merging the others 0.00 ms (0.00 on all threads); of the threads' time 0.21 ms waiting for the title's bytes going in, 0.45 ms opening or noting guards; then ranges done with 0.12 ms, read-backs and lists 2.82, the title told 0.07, the rest 0.00 2026-11-30T17:39:08.310807Z INFO victory_gpu::host: the card's clock per frame: nothing of ours queued 3.6 ms (the card about 89% busy by this count), 3.5 ms of that while the submitting thread was working (the card idle behind us), the rest outside marked submit work; the submitting thread stood waiting for the card 0.3 ms 2026-11-30T17:39:08.310814Z INFO victory_gpu::host: preparing per frame, the submitting thread: 28.4 ms in its submissions: 2.9 asking the write watch (0.3 of them finding what to ask), 1.7 putting the title's bytes under flights' writes, 15.1 in the lists' steps (refreshes 8.5 in 45 flushes of 6060, 5051 of them known to copy nothing, 1117 on several threads, 0.3 one at a time in 323 before shader writes; copies and fills 2.0, the refreshes before copies among them), 0.0 snapshots, 4.4 for copies in the card's memory, 1.6 sending the lists (VICTORY_LIGHT_REFRESH is on); ahead of these 0.7 waiting for the submission lock, 1.0 planning steps done on the card, 0.0 waiting for flights, 0.8 the heaps' records and what is swept; at the end 0.0 waiting for the heaps' records; after the sending 0.6 (the flight noted, landed lists reset and given back) 2026-11-30T17:39:08.310976Z INFO victory_gpu::host: 30.0 fps, 33.3 ms/frame (24.2 preparing: copies 10.2 ms 45.2 MB, textures 2.0 ms 31.9 MB; 0.3 on the GPU; 9.6 copying back 1.0 MB), 5346 draws/frame, dropped 85 draws or dispatches (0 being made) and 780 indirect ``` ### Are you working on a fix? I'd like to, with some pointers We have clean `v2026.11.30.02` checked out and building locally on this `275HX + RTX 5090 Laptop` machine, and would be happy to run any targeted diagnostics / A/B runs (`VICTORY_LAND_THREADS`, `VICTORY_FAST_CORES`, `RangeMemo` / `AHEAD_SNAP` miss stats) or help contribute patches for the `wide` refresh misses, `host::send` scatter coalescing, and `land` read-back/merge cost if maintainers point us at where you'd most like help.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 18:09:24 +00:00
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA#4249
No description provided.