Repository navigation
Docs: measured compile-time effects of memory windows and DXC version - #346
Open
heretic1321 wants to merge 1 commit into
Open
heretic1321 wants to merge 1 commit into
heretic1321 wants to merge 1 commit into
Conversation
Collects the shader compile-time numbers published in issue ivall#156 and PRs ivall#187 and ivall#214 into one note, so they need not be derived again: driver time grows faster than DXIL size, the DXC version changes DXIL size (so a byte threshold is version-relative), the four-window switch form costs 12.5-15.5x DXC against one window with DXC 1.8/1.9 while the heap form (ivall#187) stays near one window, and only the cold driver run of a cell is a real compile. Every number is attributed to its author and thread; nothing was measured for this note. Assisted-by: Antigravity CLI (Claude Opus 5.5)
heretic1321
force-pushed
the
docs/compile-time-notes
branch
from
November 24, 2026 00:08
57aae02 to
420bcf7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
docs/compile-time-notes.md, a short developer note that collects the compile-time measurements already published in issue #156 (including its 23 sXMemMapPhysicalPagesScattercall that tripped the title's watchdog), #187 and #214, so they need not be derived again. Docs only: no Rust and no runtime change.What is in it
switchform is much slower (Kalmarv, Memory windows from the descriptor heap (no per-access switch); NVIDIA OOM fallback; physical-page fixes #187).BIG_DRIVER_COMPILE/XCL_BIG_PSO_KBonly holds for one DXC version.c3fb89e, yous0serious and Kalmarv in D3D12.X: bound driver PSO compile concurrency and surface stage progress (#156) #214, MiguelMachado-dev in Memory windows from the descriptor heap (no per-access switch); NVIDIA OOM fallback; physical-page fixes #187).XCL_TRACE_PSO_TIMEandXCL_BIG_PSO_KB(D3D12.X: bound driver PSO compile concurrency and surface stage progress (#156) #214). None of these is onmainyet, and the page says so.Tested
Docs only, nothing built or run. I read
docs/wave64-on-wave32.mdfor the house style. Every number on the page was copied from these sources and checked against them:XCL_BIG_PSO_KB/XCL_TRACE_PSO_TIME.c3fb89e(the switch-inlining premise and the RTX 3090 E2 numbers), the comments by Kalmarv (dense driver bench) and MiguelMachado-dev (E2 at 250 blocks), and the diff fore2_window_compile_time.main:BIG_DRIVER_COMPILEincrates/xcl/src/hle/d3d12x/real.rs.Not tested
XCL_BIG_PSO_KB=128suggested for DXC 1.9 in D3D12.X: bound driver PSO compile concurrency and surface stage progress (#156) #214 is not measured, and the page says so.AI use
Antigravity CLI with Claude Opus 5.5: read the threads, wrote the page and this description. A human reviewed them before submission.