Skip to content

docs: record design B retention pressure and the 16 GiB commit reduction - #2780

Merged
R0Y00 merged 2 commits into
R0Y00:mainfrom
triggered02:docs/retire-pressure-2379
Nov 26, 2026
Merged

R0Y00 merged 2 commits into
R0Y00:mainfrom
triggered02:docs/retire-pressure-2379

Conversation

@triggered02

Copy link
Copy Markdown
Contributor

Records the #2379 design-B retention pressure and the separate 16 GiB host-commit reduction in docs/experiments.md, as R0Y00 requested ("record the approximately 9 GB result as pressure measured in that run, alongside the bytes still owned by live slots, recording holds and in-flight work where the counters distinguish them") and as promised after #2719 landed. Docs only; no behavior change. Refs #2379, #2679, #2719, #1199.

What is recorded

No game names, paths, dumps, or captures; adapters and aggregate counters only.

Verified (ab604660, from origin/main 96a7b4fb)

python -B tests/docs_links_check.py    # Checked 24 Markdown files and 540 links; self-test passed
python -B tests/bidi_controls_check.py # 2024 tracked files, no bidirectional controls
git diff --check                       # clean

The referenced fixtures (startup_resource_retire_reasons, startup_resource_retire_views, startup_slot133_lazy_textures, startup_slot133_heap_cap, xmem_*) are the acceptance commands listed in the section; the matched title pairs are local executable runs recorded as pressure measurements, not source-built fixtures.

NOT established

AI-assisted.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-26T08:30:24.516569Z
We couldn’t complete this review. Comment @codex review to try again.
ab60466 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@tedin7 tedin7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of head ab604660, docs only (docs/experiments.md, +107 lines).

Verdict: no code concerns. Merge stays with MasterDomino or @R0Y00. The tables report numbers from running the game: the matched retention pair, the ~6 min start-up attribution run, and the 16 GiB host-commit table built from #2767, #2770, #2773 and #2775. I do not have the game, so I could not reproduce any of those numbers. They are taken as the author's and MasterDomino's reports. Someone who has run the game should confirm them before this is merged.

What I checked against origin/main:

  • The Held names in the doc match the held_names[] array in src/startup_stubs/d3d12_xs_device.cpp: view-refs, list-hold, flight, queued-waiting-fence, drain-pending, unqueued, left-class:*, never-class:*. view-refs-in-visible-heap is also in the heartbeat line.
  • X2W_D3D12_RETIRE_REASONS is read in that file, and X2W_D3D12_RELEASE_RETIRED_VIEWS is still referenced there.
  • #2767, #2770, #2719, #2468 and #2679 are merged. #2773 and #2775 are still open, so the "together" row in the host-commit table describes changes that are not all on main yet.
  • The text names no game, path, dump or capture.

Small nit, not blocking: the new ## Design B ... heading comes right after a closing code fence with no blank line before it (line 17293). Add one blank line.

Commands run in a worktree at the exact head:

  • python3 tests/docs_links_check.py: passed, 24 files, 540 links.
  • python3 tests/bidi_controls_check.py: passed.
  • git diff --check origin/main...HEAD: clean.

CI was still pending when I looked. No Win2025 run (docs only).

AI-assisted; commands listed were executed locally.

@triggered02
triggered02 force-pushed the docs/retire-pressure-2379 branch from ab60466 to bb46eb6 Compare November 26, 2026 09:00
@triggered02

Copy link
Copy Markdown
Contributor Author

Thanks @tedin7. Added the blank line before the ## Design B ...\ heading and rebased onto current \main\ (\�b46eb60). \docs_links_check.py\ (25 files / 540 links) and \git diff --check\ clean. Agreed on the merge gate: the host-commit 'combined four' row is a local measurement with #2767/#2770/#2773/#2775 applied together (the latter two still open), not a claim they are all on main; the matched retention pair and attribution are MasterDomino's and JB2WIN's #2379 reports. Someone who has run the title should confirm the numbers before merge.

@triggered02

Copy link
Copy Markdown
Contributor Author

Title-run confirmation (@tedin7's merge gate): I ran the title locally on a 16 GiB host (GTX 1660 SUPER, 5,966 MiB VRAM, Windows 11, SysCommitLimit 22,931.8 MiB), release build, -Render -Translate -FakeUser -GpuMirror -LazyMemory, X2W_D3D12_BUDGET=1 X2W_D3D12_RELEASE_RETIRED=1 X2W_D3D12_RETIRE_REASONS=1.

So the merged-fix portion and the baseline are confirmed by a fresh title run; the full 8,787 MiB combined figure depends on #2773/#2775 landing. The matched RX 9070 XT retention pair and the view-refs attribution remain MasterDomino's and JB2WIN's #2379 reports as cited.

@R0Y00 R0Y00 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the published measurement sources and the title-neutral docs at d49ae8cc. The RX 9070 XT matched pair, the separate ownership attribution, the 180 s main-only run and the 300 s combined experiment now link to their respective reports. The text labels the large-heap cap as opt-in and avoids assigning the combined delta to one patch. This is a documentation review of contributor reports. Local checks on this head were docs links (25 files / 540 links), bidirectional controls (2,024 tracked files), and git diff --check; all passed.

@R0Y00
R0Y00 merged commit c5641b5 into R0Y00:main Nov 26, 2026
5 checks passed
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.

3 participants