docs(d3d12): four list threads and the fast cores on a hybrid Intel PC #3140
Closed
github-bot
wants to merge 1 commit from
github-bot/gh-3140 into main
AGit
pull from: github-bot/gh-3140
merge into: github:main
github:main
github:perf/darner-title-priority-ceiling
github:gh-readonly-queue/main/pr-3311-b5c45b663dbc5a9c3532bb3f307e5f81b32faefa
github:gh-readonly-queue/main/pr-3088-af22e7847ff5808f72d1a1881c24be2fafd20b54
github:gh-readonly-queue/main/pr-3123-7f3fa026a94c6646e89244f28e1ce22290361867
github:gh-readonly-queue/main/pr-3354-637baa0b77ba47222e7280b17c1a59c6a1781d57
github:gh-readonly-queue/main/pr-3365-d7a0e0196a43834813014b4bd3aa5502a8263b14
github:gh-readonly-queue/main/pr-3361-5dfe8bbd05ed12fb2f2e1718d9af77a7c5f46fd8
github:gh-readonly-queue/main/pr-3366-8da9148204e9d12c585efa9ac2b7cc1ab08c7682
github:fix/runtime-test-conservative-fixtures
github:ci/shard-semantic-linux
github:docs/fg-limit-fps-switch
github:fix/runtime-test-fixture-paths
github:fix/runtime-test-fixture-readers
github:fix/read-file-hard-link
github:fix/book-slot-heap-never-read
github:fix/depth-resolve-spv-path
github:fix/indirect-unused-batched
github:gh-pr/3358/base
github:fix/xmem-refusal-diagnostics
github:gh-pr/3357/base
github:ci/shorten-ci-time
github:fix/alias-later-queued-submissions
github:claude/gallant-sagan-aamatr
github:gh-pr/3342/base
github:gh-pr/3341/base
github:d3d12/agility-sdk-621
github:gh-pr/3293/base
github:gh-pr/3319/base
github:gh-pr/3318/base
github:gh-pr/3315/base
github:gh-pr/3313/base
github:gh-pr/3314/base
github:claude/fervent-curie-m19lnr
github:gh-pr/3216/base
github:gh-pr/3272/base
github:gh-pr/3276/base
github:gh-pr/3279/base
github:gh-pr/3257/base
github:gh-pr/3258/base
github:gh-pr/3271/base
github:codex/skip-no-hit-ray-passes
github:gh-pr/3230/base
github:gh-pr/3266/base
github:gh-pr/3247/base
github:gh-pr/3246/base
github:gh-pr/3244/base
github:claude/sharp-sagan-1jqnp3
github:t3/preserve-fsr-sdk-restart-path
github:t3/propagate-host-failure-hresult
github:t3/launcher-custom-parameters
github:t3/series-x-2160-startup
github:codex/d3d12-uncapped-simulation
github:ci/less-to-run
github:perf/native-compute-shader-forms
github:claude/blissful-franklin-ukp7ag
github:codex/full-precompile-default
github:gh-pr/3166/base
github:gh-pr/3148/base
github:gh-pr/3138/base
github:gh-pr/3106/base
github:gh-pr/3057/base
github:gh-pr/2756/base
github:gh-pr/2812/base
github:gh-pr/3032/base
github:gh-pr/2992/base
github:notes/card-time-and-plant-flicker
github:gh-pr/2986/base
github:gh-pr/3000/base
github:gh-pr/2966/base
github:gh-pr/2924/base
github:gh-pr/726/base
github:gh-pr/2761/base
github:gh-pr/2663/base
github:gh-pr/2861/base
github:gh-pr/2862/base
github:gh-pr/2820/base
github:gh-pr/2811/base
github:gh-pr/2803/base
github:rt-call-trace
github:gh-pr/2802/base
github:gh-pr/2766/base
github:perf/ahead-split
github:gh-pr/2589/base
github:gh-pr/2699/base
github:gh-pr/2696/base
github:docs/readme-runtime-proposal
github:gh-pr/1346/base
github:codex/coord-claim-check-20261124-7e48
No reviewers
Labels
Clear labels
accessibility
Barrier affecting people with disabilities
area: ci
.github/ workflows and settings
area: d3d12
The D3D12 runtime in d3d12/ (Rust: leonida.exe and its crates)
area: docs
Documentation
area: launcher
The launcher (launcher/)
area: runtime (legacy)
The earlier Vulkan runtime in runtime/
area: shader translator
The shader translator (leonida-shader, tools/rdna2spirv) and its tests
area: tools
tools/ and scripts/
area: viewer
The map viewer (viewer/)
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
duplicate
This issue or pull request already exists
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
invalid
This doesn't seem right
missing claim
Needs a claim in #14
needs in-game run
Changes the code a frame runs through: needs the 300 s in-game gate (docs/game_gate.md)
needs rebase
Conflicts with the base branch: rebase it on main
needs-triage
Needs maintainer evaluation before the next triage state
question
Further information is requested
ready-for-agent
Fully specified and ready for an AFK agent
submodules
Pull requests that update submodules code
wontfix
This will not be worked on
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!3140
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3140"
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?
@limittox on GitHub · 2026-12-02 13:36 UTC · original
limittox:docs/thin-threads-hybrid→main· +39 −4 · 2 files · 1 commits · closed without mergingClaimed in the coordination issue as: D3D12-THIN-THREADS-HYBRID (claim)
What and why
Documentation only: a measured answer to two questions for hybrid Intel processors, so nobody changes a default on a hunch.
LEONIDA_AB=4,LEONIDA_THIN_PARK,LEONIDA_THIN_PARK_N=2), -0.08 +-0.30 and -0.55 +-0.31 ms, the 114 pairs together -0.33 +-0.22 (95 % about -0.75 to +0.10) of a 43 ms frame. The launcher keeps six and the count is not sized from the core count. The entry says what this does not rule out: the six-core PC's 0.8 to 0.9 ms (eight against six) was not re-measured here, and a gain of the same share of the frame is still inside the interval.LEONIDA_FAST_CORES=2(the default) help on P+E cores? No clear difference against 0: it is read once per process, so separate runs in two ABBA sets of four pairs, -0.14 +-0.20 ms (95 % -0.61 to +0.32) of a 40 ms frame, 4 pairs faster with 0, 3 slower, 1 even. The default stays 2.Changes: a new last section in
d3d12/docs/findings.md, one line in the "Six list threads, not eight" bullet pointing to it (four against six is still not measured on that PC), andd3d12/docs/switches.mdregenerated withtools/d3d12_switches.py(LEONIDA_FAST_CORESandLEONIDA_THIN_PARK_Nare now named in findings.md; nothing else changes). No code changes.Tested
target\diag(diagnostics,dlss,mimalloc) built at8422def75, the launcher's settings, Series S,-Dlss quality(1280x720 to 1920x1080, no frame generation), one save, a few steps and then standing still: 2 in-run A/B parking runs (8 minutes standing, read withtools/d3d12_ab_compare.py phases) and 18 fast-cores runs (2 warm-ups and 16 in ABBA order, 5 minutes standing each, read withabbaon the standing stretch). Draws per frame were 3,490 to 3,580 (median) in every fast-cores run.python -I scripts/check_no_game_data.pyon both files: clean.python -I tools/d3d12_switches.py --check d3d12/docs/switches.md: passes; the regenerated page matches the generator's output.python -m unittest discover -s tests -p "test_docs_*.py": 56 of 57 pass. The one error istest_docs_python_depsfailing to parsetools/f16_interp_probe.py(a Python 3.12 f-string) under my local Python 3.10. It does not involve these files.main(16243cd6e).findings.mdconflicted only because another section was added at its end; both are kept. The regenerated switches page differs frommainonly in the two rows above and the name count in its header, which was one short onmain.play-nvidia.ps1still setsLEONIDA_THIN_THREADS=6there, and the entry now says so.GPUs tested: NVIDIA GeForce RTX 3060 Ti 8 GB, driver 610.88, no resizable BAR, Intel Core i5-12600K (6P+4E), 32 GB RAM, Windows 11 Pro 26300.
AI-assisted: yes. The runs were scripted and the entry written with Claude Opus 5.5 (Anthropic). Two rounds of separate read-only reviewer agents (Claude Opus 5.5) recomputed every number from the raw logs and checked style and the clean-room rules. The first round found 16 issues, all fixed; the second round confirmed the fixes and found 3 smaller points, also fixed.
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no translator change)🤖 Generated with Claude Code
@fiestorra on GitHub · 2026-12-02 16:23 UTC · original
Checked with the repository's own documentation checks, which is the whole of what a docs-only change can be checked by here:
So the switch table still matches the code and the documentation suite is green with it.
What that does not say, and it is the part that matters for a finding: that the measurements are right. They were made on a hybrid Intel PC, and this machine is a Ryzen 7 7800X3D - not hybrid, different core count, different scheduler - so I cannot rerun a single one of them, and I would not pretend the numbers transfer. What I can say is that the answer's shape is the one this repository asks for: a measured no ("no clear difference ... two standing [threads?]?"), which is worth more than a change that moves a default without one.
One thing in it I would keep in mind when reading: the finding says mapping pages on sixteen threads maps no more pages and makes frames longer, and scalar buffer loads four dwords a call gain nothing on that card - two negatives from the same session, and both are the kind of result that saves the next person a week.
AI-assisted: yes - DeepSeek v4.1 (flash).
Written with an AI assistant.
@MoonEyes on GitHub · 2026-12-02 18:13 UTC · original
Docs only. Checked on Linux with the repository's documentation checks on the merge with current
main: all pass.python -I tests/test_d3d12_switches.pyswitches.md(LEONIDA_FAST_CORES,LEONIDA_THIN_PARK_N) are what the generator writespython -I tests/test_docs_links.py,_repo_paths,_encoding,_repeated_lines,_list_items,_env_vars,_design_rowspython -I scripts/check_no_game_data.py d3d12/docs/findings.md d3d12/docs/switches.mdThe numbers against themselves: eight pairs, -0.14 +-0.20 ms, gives a 95 % interval of about -0.61 to +0.33 with t(7), as written. The 114 pairs, -0.33 +-0.22, give about -0.76 to +0.10, as written. The conclusions ("no clear difference", defaults kept) are phrased within what one PC and those intervals support, and the cross-reference to "Six list threads, not eight" now says what was and was not measured where.
Nit: the measurements are on
mainat8422def75(206 commits back). That is fine for a findings entry, but the default of six threads it compares against comes fromplay-nvidia.ps1, which has changed since. One line saying the launcher still setsLEONIDA_THIN_THREADS=6on currentmainwould date the entry clearly.Verdict: ready.
AI-assisted verification: Claude Opus (Claude Code), separate agent per batch.
Generated by Claude Code
@MoonEyes on GitHub · 2026-12-02 22:01 UTC · original
This pull request touches the render path, so it needs an in-game run before it can be merged: unit tests and CI do not catch rendering regressions (a device loss after an earlier merge is why this gate exists).
Could you, or anyone with a working setup, post a run report on the current head merged onto current
main:mainSHA it was merged onto;mainalone for comparison, if you can.Please do not attach logs or screenshots that show game content. If a run on this exact head is already posted, a link to it in a reply is enough.
AI-assisted (Claude Code).
3c48e365c2to4d111e94eb@fiestorra on GitHub · 2026-12-02 23:03 UTC · original
VERIFY-3140 — no fusiona, y lo demás que puedo decir de una entrada de
findings.md(this PR)mainef35d683egit merge --no-ffontomaind3d12/docs/findings.mdIt needs a rebase before the docs can be judged on the merged tree.
mainhas added entries tofindings.mdsince this branch left it, and the conflict is the file itself, not the content.What I could run anyway: the fourteen documentation checks on
main(the only tree that exists until it is rebased), and all fourteen pass — so the repository's docs machinery is not what is in the way here.What the entry is: a measurement of list threads against a hybrid Intel processor — "One PC: i5-12600K (6 fast cores with 12 threads and 4 slow cores: 16 logical processors), 32 GB of RAM, GeForce RTX 3060 Ti 8 GB (driver 610.88, no resizable BAR), Windows 11.
mainat8422def75, a diagnostics build with DLSS, the launcher's settings (LEONIDA_THIN_THREADS=6,LEONIDA_FAST_CORESunset, so 2), Series S profile…"That paragraph is the standard this repository asks for and I would say so even without the merge: the PC named with its core topology, the driver, whether resizable BAR is on, the commit, the exact launcher settings, the profile, and the measurement window (8 minutes in the two parking runs, 5 in the others, only the standing part measured). A number without those is a rumour; this one carries them.
And it is honest about what it does not show: "four against six is not measured on this PC (on a 16-thread hybrid processor it made no clear difference…)" — the negative is stated, not hidden.
What I could not test
Written with an AI assistant.
@limittox on GitHub · 2026-12-02 23:04 UTC · original
Rebased onto
main16243cd6e(head now4d111e94e).findings.mdconflicted only because the #2850 section was added at the same place. Both sections are kept,main's first.switches.mdis regenerated and--checkpasses. Besides the two rows, it brings the name count in its header up to date, which was one short onmain.On the nit: the entry now says that
play-nvidia.ps1still setsLEONIDA_THIN_THREADS=6onmainat16243cd6e.On the in-game run request: this pull request changes documentation only, so a run of this head is a run of
main. The 20 in-game runs it reports are on8422def75, and the entry describes them.AI-assisted: Claude Opus 5.5 (Claude Code). A separate read-only reviewer agent checked the rebase.
@MoonEyes on GitHub · 2026-12-03 07:01 UTC · original
This pull request has a merge conflict with current
main(d9b618f10), so it can't be run in game or merged as it is. Could you merge the latestmaininto it (or rebase onto it) and resolve the conflict? Once the head is updated, the in-game gate run can be done on the new head.AI-assisted (Claude Code).
@fiestorra on GitHub · 2026-12-03 09:23 UTC · original
Rebasadas contra
d9b618f10, con el recuento calculado y no elegidoLas tres chocaban en la misma línea de
d3d12/docs/switches.md, y las tres están resueltas contando el fichero en vez de copiando el número demain(porque las tres añaden filas, o sea que la cabecera cambia):Ramas
pr-3009-rebased,pr-3126-rebasedypr-3140-rebasedempujadas al fork, y las tres con el árbol verificado:Y el detalle que conviene mirar antes de fusionar:
#3009toca 9 ficheros.rscon 1851 líneas y#3126toca 5 con 742 — y las dos dejanleonida-gpuen715, igual quemain. O sea que ninguna de las dos añade un solo test al crate. No es un fallo de ellas (pueden ser cambios de runtime que el juego ejercita), pero es la diferencia con#3225, que trae dos, y con#3306, que trae cinco. Quien fusione debería saber que estas dos se van sin red.Lo que no verifiqué: el comportamiento en el juego, que es donde se ejercitan las dos.
@MoonEyes on GitHub · 2026-12-03 18:02 UTC · original
Thanks for the work on this. This pull request has a merge conflict with the current
mainand has had no new commit, comment or review for more than 5 hours, so I am closing it to keep the list of open pull requests manageable. This is not a judgement of the change. Whenever you like, merge the latestmaininto your branch, resolve the conflict, and reopen it (or open a new pull request that links this one). Please re-run the relevant tests on the new head; a reviewer will look at it when time allows, with no guarantee of timing or outcome.Generated by Claude Code
Pull request closed