v2026.11.29.05 CPU submit wall (~56 ms vs 24.8 ms GPU) and 16 GB RAM paging spikes on RTX 5070 Ti Laptop #3909
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mia03ther on 2026-11-30T11:09:15Z.
What you see
On
v2026.11.29.05(with shaders preloaded cleanly before play viavictory play --preload->early=3676), stability is massively improved compared to.01: 0 crashes, 00x80070057, 00x8007000E, and worst single-pipeline GPU time dropped from 66.16 ms to 4.49 ms.However, gameplay is still choppy and drops frames heavily (10,933 frames total, 694 over 100 ms, worst frame 4,295.9 ms; steady in-world DLSS intervals sit at median 50.6 ms / 19.8 fps, best 45.7 ms / 21.9 fps, with mid-run drops to 14–18 fps and 140–205 ms hitches).
Two measured bottlenecks remain (matching the
victory-submitanalysis in #3905):preparing per frame = 56.2–64.5 ms) while the GPU waits idle (24.8 msGPU card time, 48% busy,33.2–228.9 msGPU idle per frame):preparing per frame:56.2 ms(lists' steps 29.8 ms: refreshes17.1 msacross 8,496 / 40 flushes, copies & fills6.4 ms;card copies 8.2 ms;heaps/sweep 6.5 ms;write watch 5.1 ms;sending 2.3 ms;after 2.1 ms).descriptor:13.53 ms(284.3 changed heap pages, 222,296 slots looked at, 13,253 raw twins/frame).VICTORY_THIN:259.0 mslate /617.8 msmid-run across threads (26,266–31,797calls/frame).8,650–8,856 MBof10,717–10,818 MBbudget viaVICTORY_TEXTURE_ROOM_PERCENT=78andVICTORY_SLOT_EVICT_PERCENT=80, shared RAM3.4 GB), private commit still reaches20.6–21.0 GB.5,494–5,863 MBstays resident in physical RAM (487–790 MBfree physical RAM), triggering140–205 msto4,295.9 mspaging hitches when streaming new assets (compilemem+THIN+landguard opens).GPU and driver
NVIDIA GeForce RTX 5070 Ti Laptop GPU (12 GB, WDDM budget ~10.7–11.1 GB), driver
621.24.0CPU, RAM and Windows version
AMD Ryzen 9 8940HX (16C / 32T), 16 GB system RAM (
36–48 GBpagefile on NVMe SSD), Windows 11 build 26300VIctory release or commit
v2026.11.29.05(SHA-256: 80612b22a3cb76503a361caf241afd54d110c64ffc2a6e0efd9b7edb30415a3f)Settings
series-s,540pinternal (960x540->1920x1080),DLSS Performance,Frame Generation OFF,Ray Tracing OFF,FPS cap 60victory-settings.txt:VICTORY_PIPELINE_WORKERS=2,VICTORY_PRELOAD_JOBS=2,VICTORY_ROOT_CACHE=0,VICTORY_TEXTURE_ROOM_PERCENT=78,VICTORY_SLOT_EVICT_PERCENT=80,VICTORY_SLOT_EVICT_LOW_PERCENT=70,VICTORY_WATER_LIGHT=0,VICTORY_PROCESS_MEMORY=0Logs
Redacted excerpts from
victory-nvidia-play-20261130-052224-20940.log(personal paths masked; timestamps, counters, and full steady-state breakdown kept verbatim):Sanitized play log excerpts (startup, 4.29s spike, and late in-world 56.2 ms CPU vs 24.8 ms GPU breakdown)
Are you working on a fix?
No
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-11-30T11:36:23Z.
@mia03ther, the 13,253 raw twins per frame in your 05:38 sample are worth checking against #3833. Could you paste the startup line beginning
host view heaps hold, including itsraw_twinsfield? That line is outside the current excerpt.If it says
raw_twins=false, #3833 removes the unused scratch copies made for cached list views. On the RTX 3070 Ti and RTX 4070 Ti SUPER comparisons the counter disappeared after this change, with FPS still within the uncertainty of those runs. PR and hardware resultsIf you can test the patch with the same route, settings and warm cache, the same
raw twinsanddescriptorlines would tell us how much of your submit time comes from those copies. This comparison only covers the descriptor component of the report.AI-assisted with OpenAI Codex.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mia03ther on 2026-11-30T15:25:54Z.
@andrewpozdnakov7-jpg Thanks for checking this! Yes —
raw_twinsis indeedfalsein the.05startup log:For reference, in the late-run 1-second samples from that same
.05log (05:37:58–05:38:01), both the raw twins and descriptor lines stay right around:raw twins of buffer views made per frame (VICTORY_RAW_VIEWS=0: none): 13236–13258, of them 591.4–596.2 that do not begin on 16 bytes (591.4–596.2 null)descriptor records the title copied into its heap as bytes (VICTORY_HEAP_SYNC=0: not looked for): per frame 262.6–268.3 changed heap pages, 198565–212197 slots looked at, 7746.4–8899.3 whose record was new and was mirrored, ... 12.94–14.92 ms (0.28–0.59 ms waited for)So #3833 looks directly relevant here. I am updating my local build to test against
v2026.11.30.01+ #3833 on the same route/settings, and will share a matchedraw twins/descriptorcomparison back on #3833 or here once I run it.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-11-30T15:33:04Z.
Thanks for confirming the 1M-view heap and
raw_twins=false. The #3833 branch now includes release mainc71899datb4575c7, so the same-route comparison can use that revision directly. The release retest reproduced the duplicate descriptor work on WARP and observed zero scratch twins with the fix when raw twins were disabled.The startup heap line and the late-run twin and descriptor samples you already identified are enough to compare the two runs. Thank you for taking the matched run.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mia03ther on 2026-11-30T16:37:21Z.
@andrewpozdnakov7-jpg Posted the matched #3833 comparison results (2026.11.30.01
c71899d+ #3833 on the same Ryzen 9 8940HX + RTX 5070 Ti 12 GB + 16 GB RAM machine) here: https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3833#issuecomment-7284964046Summary: with iews=1000000 raw_twins=false,
aw twins of buffer views made per frame dropped from 13,236–13,258 per frame (484 intervals) on .05 to **
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mia03ther on 2026-12-01T04:52:06Z.
Follow-up with the full matched comparison from PR #3833 (note my previous short summary comment above was truncated on submit), plus the remaining bottlenecks observed on this 16 GB RAM / 12 GB RTX 5070 Ti Laptop system.
Matched build & environment
v2026.11.29.05(43,437log lines)c71899d(v2026.11.30.01) + #3833, #4006, #3881, #3904, #4025 (VICTORY_KEEP_RAM_GB=8,VICTORY_SLOT_EVICT_PERCENT=94,VICTORY_CARD_ALL=1,VICTORY_COMPILE_MEMORY=0)Ryzen 9 8940HX(16C/32T),16 GB DDR5,NVIDIA GeForce RTX 5070 Ti Laptop GPU(12 GB, driver621.24), Windows 11 (26300),console=series-s,1920x1080content on2560x1440,DLSS Performance(framegen=false),views=1000000 raw_twins=false(Note:
c71899dstill defaultedVICTORY_COMPILE_MEMORY=0and the#3838copy-back classes; our short first attempt froze atbuffer mirror span 4226 MB/committed 18041 MB/4362.5 msframe before main reverted those defaults in075750a/v2026.11.30.03.)Before (
v2026.11.29.05) vs After (c71899d+ #3833 / #4006 / #3881 / #3904 / #4025)hostintervals (draws >= 1500):p10/p90):14.9 fps(8.4/18.1),67.0 ms/frame→19.4 fps(15.7/21.7),51.5 ms/frame(n=89→n=224)47.8 ms→41.4 ms/18.1 ms→13.2 msspans/frame >= 1000):56.5 ms(n=488) →45.9 ms(n=1187)frame_timesspikes:>100 msframes dropped from694 / 10,933 (6.35%)to398 / 56,348 (0.71%); active-worldp99median improved from144.6 msto77.3 msraw twins of buffer views made per frame:514log lines (13,236–13,258/frame late-run) →0lines (0twins across all56,348frames) (confirming #3833 onraw_twins=false)0pipeline/shader failures (first frame presented ms=575824).What still limits performance on 16 GB RAM + 12 GB RTX 5070 Ti Laptop
16:09:27):1 MB free,committed 16829 MB,buffer mirror span 3492 MB→6822.8 mshitch.22,338–23,104 MBcommitted (2,443–3,322 MBshared,9,046–9,775 MBVRAM of11,009 MBbudget):1,131.6 ms,1,005.3 ms,1,019.8 ms,750.0 ms.45.9 msmedian prep wall; addressed by open PRs #1556, #4422, #4532):19.6 msmedian per frame spent inrefreshes, scanning7,838spans/frame median where6,988(89.2%) are known no-ops (3,191+fanned out across threads).12.04 msat16:22:00up to14.67–17.65 msat16:29:00; addressed by #3105, #4461, #4736):16:22:00:285.5changed pages,256,142slots looked at,12.04 ms(4.64 msasking,4.41 msreading/comparing,2.35 msmaking).cardmeter) stays ~28–38 ms, with the card still idle ~13–24 ms/framebehind the submitting thread (card's clock).Next I plan to retest on
v2026.11.30.03+ / latestmain(075750a+) alongside the 16 GB commit/refresh PRs (#4242, #4305, #4737, #4422).Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by futurepro62 on 2026-12-01T05:10:27Z.
On the second bottleneck (16 GB RAM, 20-21 GB private, 0.5-0.8 GB free), two things from memory work on another 5070 Ti that may save you a test or two:
VICTORY_KEEP_RAM_GB=8on a 16 GB PC pins half the RAM as a hard minimum. @tyr0nsur showed on #3749 thatK32EmptyWorkingSetignores that minimum, and #2638 is about letting it go under pressure. On 31 GB I had to set it to 0 for the hand-back to do anything. At 16 GB it may be worth trying 0, or a small value, to see whether the 140-205 ms streaming hitches change.What I haven't tested: any 16 GB PC, and the laptop GPU. So treat these as leads, not results.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mia03ther on 2026-12-01T05:43:04Z.
Thanks for the suggestion. I tried
VICTORY_KEEP_RAM_GB=0on the 16 GB RAM / RTX 5070 Ti Laptop (12 GB) machine using the same localv2026.11.30.01-based build as my previous report. The startup log confirms the value was applied. The run ended 13m 35s after the first engine timestamp witha host command list did not close (0x80070057). The previous run with8lasted about 31 minutes and ended after the window was closed.This is one run at each setting without a matched full route, so I can't attribute the crash to the RAM setting or draw a frame-time conclusion. I restored
8for now. The command-list error also appears in #2237, but I haven't confirmed the same offending command. My next comparison will use the unmodified.03release with the RAM setting held fixed.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by nidea1 on 2026-12-01T09:36:30Z.
@mia03ther Two quick notes since you plan to test
#4737and listed#4736above:VICTORY_BUFFER_BLOCK_MB=16on<=32 GiBhosts): In a matched live A/B on RTX 3060 Ti 8 GB / 32 GB RAM (Series S, same binary:16 MiB+ autoSPARE_SCALEvs64 MiB+SPARE_SCALE=0, timestampst=78 / 109 / 140s; full table in #4737), it cut Shared GPU RAM by -950 to -1,231 MB and process PrivateBytes by -637 to -1,056 MB (plus-159 to -424 MBlog VRAM), directly targeting 16–32 GB commit pressure. (Caveat: both runs were short and my host had unrelated intermittentnvlddmkmEvent 153 / kernel BSOD0x3binstability, so a clean-host run on your 16 GB machine would be very useful data.)#4736doesn't cut descriptor-sync CPU time (12–17.6 msin your log) — its descriptor changes are safety/correctness fixes for#2361's dead render-target reclamation (slot-pinned refcount guard,make_againrace, depth-stencilTwincheck, and unmapped-slot guard) so idle RT copies can be reclaimed safely over longer runs.