Open-world CPU/submit bottleneck: 9–11 fps (92–109 ms/frame) while GPU sits idle 34 ms/frame #170
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 Androtim/MiniVI. Originally posted by Androtim on 2026-11-29T23:11:42Z.
Summary
In a 12-minute Open-World RTX 4060 Ti 8 GB session on
origin/mainb46464d(wave5-openworld.cmd, Series S, DLSS Quality, Frame Gen OFF, RT OFF), visual glitches improved and zero freezes occurred, but open-world frame rate remains 9.1–10.8 fps (92.3–109.3 ms/frame) while the GPU sits mostly idle behind CPU/host submission bottlenecks.Environment & Log
origin/mainb46464d(wave5-openworld.cmd— includes #153, #155, #156, #161, #163, #164, #165, #52)720p -> 1080to1440), DLSS Quality, Frame Gen OFF, RT OFFvictory-nvidia-play-20261129-225747-6592.log(0 crashes, 0 DRED, 0 freezes)Observed Bottleneck Breakdown (at 10,098–10,379 draws/frame)
10.8 fps(92.3 ms) /9.1 fps(109.3 ms) — only0.3–1.2 mson GPU,9.3–12.4 mscopyback,25.4–38.0 mspreparing.victory_gpu::host):the card's clock per frame: nothing of ours queued 34.3 ms (the card about 69% busy by this count), 19.8 ms of that while the submitting thread was working (the card idle behind us).VICTORY_THIN_GATE):lists whose translation was held back for dynamic descriptor slots, per frame: 145.2–148.5, 5037.5–5040.0 ms in all; held back now 144–148, submitted lists not translated yet 144–148(even with #155's393,216dynamic slot cap).VICTORY_THIN):list calls translated by threads of ours per frame: 68917 in 569.0 ms (all threads), 212.5 lists, 436.5 pieces.VICTORY_ASYNC_SUBMIT):submissions prepared by a thread of ours, per frame: 40.0 in 1.0 presents, 16.3 in the line when one was added (at most 46); that thread worked 41.9 ms, and 2.17 ms more taking translated lists out of the line(with submitting-threadpreparing per frameat40.8 ms:14.8 msin the lists' steps,5.0 mswrite watch).Target Context
Even before dynamic-slot backpressure, the single submitting thread (41.9 ms) + copyback (9.3–12.4 ms) alone exceed the 33.3 ms (30 fps) target on Series S; reaching >= 30 fps on Series X 1440p requires cutting submitter/list-step overhead well under 20 ms and eliminating the
VICTORY_THIN_GATEdynamic descriptor stall at 10k draws/frame.Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-11-30T17:07:54Z.
Confirmed on
origin/mainincrates/victory-gpu: the three CPU/host submission bottlenecks reported in #170 remain present in the current codebase.Codebase Verification
Dynamic descriptor slot backpressure (
VICTORY_THIN_GATE)crates/victory-gpu/src/descriptor/host.rsdefinesDYNAMIC = 1 << 18(262,144),PORTABLE_DYNAMIC_CAP = DYNAMIC << 1(524,288), andPORTABLE_DYNAMIC_DEFAULT = DYNAMIC + (DYNAMIC >> 1)(393,216).crates/victory-gpu/src/list/thin.rsandRecording::held_backkeepVICTORY_THIN_GATEenabled by default and hold back non-first recordings whenever free dynamic slots drop belowall / 4(orall / 8 * 5while any submitted list is still translating, up toHELD_BACK_MOST_US = 250_000).Thin-list translation aggregate CPU cost (
VICTORY_THIN)crates/victory-gpu/src/list/thin.rschunks recorded commands everyCHUNK = 1024words and dispatches them toVICTORY_THIN_THREADS(default8worker threads instart) viaRecording::run, translating every recorded list call on CPU.Single-threaded async submitter (
VICTORY_ASYNC_SUBMIT)crates/victory-gpu/src/queue/behind.rsspawns a singlevictory-submitworker thread runningLane::serve, which unfoldsJob::Lists(Lane::unfold_entry) and serially executes submissions/presents on that single thread.Related Open PRs
perf(gpu/host): default-on lazy card compare and hot-piece narrowing) targets host-side compare/prepare overhead, thoughVICTORY_THIN_GATEbackpressure,VICTORY_THINtranslation cost, and the single-threadedvictory-submitlane remain open bottlenecks.Automated triage generated with Antigravity CLI (
agy).Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-02T14:17:55Z.
Closing as superseded by #276 and recent CPU/submission improvements (#324, #327, #328).