Skip to content

Docs: measured compile-time effects of memory windows and DXC version - #346

Open
heretic1321 wants to merge 1 commit into
xcl-dev:mainfrom
heretic1321:docs/compile-time-notes
Open

heretic1321 wants to merge 1 commit into
xcl-dev:mainfrom
heretic1321:docs/compile-time-notes

Conversation

@heretic1321

@heretic1321 heretic1321 commented Nov 24, 2026 •

Copy link
Copy Markdown

Adds docs/compile-time-notes.md, a short developer note that collects the compile-time measurements already published in issue #156 (including its 23 s XMemMapPhysicalPagesScatter call that tripped the title's watchdog), #187 (closed) and #214, so they need not be derived again. Docs only: no Rust and no runtime change.

What is in it

Tested

Not tested

  • AMD / wave64; no retail title run (docs-only change).
  • Nothing on the page was measured for this PR. Each number comes from one contributor's machine (NVIDIA only: RTX 3070 / 3090 / 4090 / 5070 Ti / 5080 on different drivers). Nothing here covers AMD.
  • The page draws conclusions from those numbers that nobody measured directly: a cold driver compile on a title thread could trip the watchdog (the 23 s case was a memory-mapping call, not a compile), and with DXC 1.7 the switch form's cost moves from DXC to the driver (one run, one machine).
  • The XCL_BIG_PSO_KB=128 suggested 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 and wrote the original page and description (human-reviewed before submission).
  • T3 Code / Antigravity, Orchestrator (Neon) / gemini-pro-orchestrator-neon: rebased onto upstream/main (6bac4b4), updated #187 status references to closed, and ran scripts/pr_check.py --local.
  • T3 Code / Antigravity, Gemini 4 Neon (gemini-4-neon): added @upipibi's attributed full-suite run to Tested in the description.

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
heretic1321 force-pushed the docs/compile-time-notes branch from 420bcf7 to 19ea007 Compare November 24, 2026 09:39
@upipibi

upipibi commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Full-suite run on this PR's head 19ea007, for the counts CONTRIBUTING.md item 2 asks for (the description says nothing was built or run, since it's docs only):

Tested

  • NVIDIA GeForce RTX 3070 (driver 616.56, wave32), Ryzen 9 5950X, Windows 11 Pro 26100, rustc 1.100.0 MSVC, debug
  • cargo build --workspace then cargo test --workspace --no-fail-fast -- --test-threads=4: 719 passed, 0 failed, 41 ignored (17 test binaries, the e2e title included)
  • SKIPPED: gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware (no wave64)

Not tested: AMD / wave64; no retail title (this PR changes only docs/compile-time-notes.md).

AI-assisted (Claude Code).

@heretic1321

Copy link
Copy Markdown
Author

Thanks @upipibi for running the full Windows GPU suite on 19ea007! I've added your attributed results to Tested in the PR description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants