docs(d3d12): four list threads and the fast cores on a hybrid Intel PC #3140
Closed
leonida/mandy
limittox wants to merge 0 commits from
docs/thin-threads-hybrid into main
pull from: docs/thin-threads-hybrid
merge into: leonida:main
leonida:main
leonida:github-pr/3295
leonida:beta
leonida:docs/changelog-3483-3500
leonida:github-pr/3294
leonida:github-pr/2975
leonida:github-pr/2815
leonida:feat/gate-driver-start
leonida:feat/skip-pipelines-release
leonida:perf/lazy-compare
leonida:perf/mwaitx-wait
leonida:test/prio-ceiling-main
leonida:fix/ab-cpu-stdout
leonida:fix/gate-old-crashes
leonida:diag/ab-cpu
leonida:test/main-0312
leonida:github-pr/3291
leonida:diag/indirect-clamp-census
leonida:feat/barrier-enhanced
leonida:perf/texture-frame-ceiling
leonida:perf/dstorage-threads
leonida:fix/console-queue-dma-tables
leonida:fix/port-descriptors-record-parts
leonida:fix/frame-waits-fence
leonida:fix/console-sampler-words
leonida:fix/graphics-userdata-spill
leonida:fix/xg-reserved-layout-rotation
leonida:fix/barrier-console-flags
leonida:fix/switches-wait-test-child
leonida:test/list-value-waits
leonida:test/lot-gxdk-0412
leonida:fix/bvh-compacted-size
leonida:docs/i18n-quickstarts
leonida:feat/native-pipeline-slots
leonida:fix/clippy-leonida-gpu
leonida:fix/list-value-producers
leonida:fix/descriptor-page-straddle
leonida:fix/xmem-low-window
leonida:fix/ffx-jitter-never-zero
leonida:fix/run-stdout-closed
leonida:github-pr/2892
leonida:github-pr/2896
leonida:feat/warm-save-every
leonida:github-pr/2980
leonida:github-pr/2994
leonida:github-pr/3005
leonida:github-pr/3010
leonida:github-pr/3136
leonida:github-pr/3303
leonida:github-pr/3220
leonida:github-pr/3143
leonida:github-pr/3330
leonida:github-pr/3226
leonida:github-pr/3187
leonida:carry/3395
leonida:github-pr/2946
leonida:github-pr/2947
leonida:github-pr/2945
leonida:github-pr/2983
leonida:github-pr/3001
leonida:github-pr/3372
leonida:github-pr/3128
leonida:github-pr/3296
leonida:github-pr/2588
leonida:github-pr/3119
leonida:github-pr/3378
leonida:fix/crash-diagnostics
leonida:feat/dlss-mip-bias
leonida:fix/retired-out-of-order
leonida:fix/dxr-postbuild-barrier
leonida:fix/amd-relay-default
leonida:fix/removed-report-wait
leonida:feat/heap-twin
leonida:feat/vram-margin
leonida:github-pr/2472
leonida:github-pr/3123
leonida:github-pr/3088
leonida:assets/annonce-v1
leonida:github-pr/2794
leonida:github-pr/3300
leonida:github-pr/3304
leonida:github-pr/3308
leonida:github-pr/3367
leonida:github-pr/3369
leonida:fix/launcher-dlss-diagnostics
leonida:github-pr/3269
leonida:github-pr/2957
leonida:github-pr/3205
leonida:fix/crash-zero-guard
leonida:github-pr/3185
leonida:github-pr/3099
leonida:github-pr/3104
leonida:github-pr/3348
leonida:github-pr/3379
leonida:github-pr/3377
leonida:perf/darner-title-priority-ceiling
leonida:github-pr/3376
leonida:gh-readonly-queue/main/pr-3311-b5c45b663dbc5a9c3532bb3f307e5f81b32faefa
leonida:gh-readonly-queue/main/pr-3088-af22e7847ff5808f72d1a1881c24be2fafd20b54
leonida:gh-readonly-queue/main/pr-3123-7f3fa026a94c6646e89244f28e1ce22290361867
leonida:github-pr/3373
leonida:github-pr/3368
leonida:github-pr/3198
leonida:gh-readonly-queue/main/pr-3354-637baa0b77ba47222e7280b17c1a59c6a1781d57
leonida:gh-readonly-queue/main/pr-3365-d7a0e0196a43834813014b4bd3aa5502a8263b14
leonida:gh-readonly-queue/main/pr-3361-5dfe8bbd05ed12fb2f2e1718d9af77a7c5f46fd8
leonida:gh-readonly-queue/main/pr-3366-8da9148204e9d12c585efa9ac2b7cc1ab08c7682
leonida:github-pr/3346
leonida:github-pr/3375
leonida:github-pr/2958
leonida:github-pr/3151
leonida:github-pr/3307
leonida:github-pr/3278
leonida:github-pr/3374
leonida:fix/runtime-test-conservative-fixtures
leonida:github-pr/3366
leonida:ci/shard-semantic-linux
leonida:github-pr/3354
leonida:docs/fg-limit-fps-switch
leonida:github-pr/3365
leonida:fix/read-file-hard-link
leonida:github-pr/3364
leonida:fix/book-slot-heap-never-read
leonida:github-pr/3361
leonida:github-pr/3263
leonida:github-pr/3360
leonida:github-pr/3353
leonida:github-pr/3331
leonida:fix/alias-later-queued-submissions
leonida:github-pr/3352
leonida:github-pr/3228
leonida:github-pr/3349
leonida:claude/gallant-sagan-aamatr
leonida:github-pr/3200
leonida:github-pr/3132
leonida:github-pr/3323
leonida:github-pr/3332
leonida:github-pr/3340
leonida:github-pr/3311
leonida:github-pr/3334
leonida:github-pr/3297
leonida:github-pr/3256
leonida:github-pr/2567
leonida:github-pr/2851
leonida:d3d12/agility-sdk-621
leonida:github-pr/3164
leonida:github-pr/3114
leonida:github-pr/3050
leonida:github-pr/3113
leonida:github-pr/3326
leonida:github-pr/3144
leonida:github-pr/2642
leonida:github-pr/3072
leonida:github-pr/2789
leonida:github-pr/2643
leonida:github-pr/3009
leonida:github-pr/3035
leonida:github-pr/3031
leonida:github-pr/2686
leonida:github-pr/2834
leonida:github-pr/3321
leonida:github-pr/3325
leonida:github-pr/3290
leonida:github-pr/3324
leonida:github-pr/3130
leonida:claude/fervent-curie-m19lnr
leonida:github-pr/3309
leonida:github-pr/3305
leonida:github-pr/3306
leonida:github-pr/3302
leonida:github-pr/3301
leonida:github-pr/3345
leonida:github-pr/3211
leonida:github-pr/3027
leonida:github-pr/3286
leonida:github-pr/3235
leonida:github-pr/3265
leonida:github-pr/3275
leonida:codex/skip-no-hit-ray-passes
leonida:github-pr/2823
leonida:github-pr/2911
leonida:github-pr/3262
leonida:github-pr/3125
leonida:github-pr/3206
leonida:github-pr/3250
leonida:github-pr/3238
leonida:github-pr/3188
leonida:github-pr/2952
leonida:github-pr/3217
leonida:github-pr/3168
leonida:t3/preserve-fsr-sdk-restart-path
leonida:t3/propagate-host-failure-hresult
leonida:github-pr/3209
leonida:t3/launcher-custom-parameters
leonida:github-pr/3207
leonida:github-pr/3183
leonida:github-pr/3160
leonida:github-pr/3201
leonida:ci/less-to-run
leonida:github-pr/2930
leonida:github-pr/2797
leonida:github-pr/2999
leonida:perf/native-compute-shader-forms
leonida:github-pr/3191
leonida:github-pr/3011
leonida:github-pr/3019
leonida:github-pr/2996
leonida:gh-readonly-queue/main/pr-2789-45dc41f95c1cd0dcc29c2c50582e0e9af8a77259
leonida:claude/blissful-franklin-ukp7ag
leonida:github-pr/3141
leonida:github-pr/3156
leonida:github-pr/3150
leonida:github-pr/3153
leonida:github-pr/3163
leonida:github-pr/3142
leonida:github-pr/3139
leonida:github-pr/2841
leonida:github-pr/3069
leonida:github-pr/3098
leonida:github-pr/3107
leonida:github-pr/3071
leonida:github-pr/2774
leonida:github-pr/2889
leonida:github-pr/3075
leonida:github-pr/2661
leonida:github-pr/3064
leonida:github-pr/3054
leonida:github-pr/3049
leonida:github-pr/2855
leonida:github-pr/2943
leonida:github-pr/3016
leonida:github-pr/2887
leonida:github-pr/3006
leonida:github-pr/3003
leonida:github-pr/2993
leonida:notes/card-time-and-plant-flicker
leonida:github-pr/2989
leonida:feat/vulkan-rs
leonida:github-pr/2985
leonida:github-pr/2951
leonida:github-pr/2982
leonida:github-pr/752
leonida:github-pr/792
leonida:github-pr/2877
leonida:github-pr/2654
leonida:github-pr/2893
leonida:github-pr/2948
leonida:github-pr/2944
leonida:github-pr/2919
leonida:github-pr/2915
leonida:archive/ci/less-to-run/20261202T1121Z
leonida:github-pr/2800
leonida:github-pr/2822
leonida:github-pr/2833
leonida:github-pr/2840
leonida:github-pr/2831
leonida:github-pr/2832
leonida:github-pr/2801
leonida:github-pr/2890
leonida:github-pr/2891
leonida:github-pr/2664
leonida:github-pr/2807
leonida:rt-call-trace
leonida:github-pr/2755
leonida:perf/ahead-split
leonida:github-pr/2587
leonida:github-pr/2698
leonida:github-pr/2609
leonida:github-pr/3219
leonida:docs/readme-runtime-proposal
leonida:github-pr/2017
leonida:github-pr/1741
leonida:github-pr/1667
leonida:codex/coord-claim-check-20261124-7e48
No reviewers
Assignees
Clear assignees
No assignees
Labels
Clear labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
enhancement
New feature or request
missing claim
Needs a claim in #14
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
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
Projects
Clear projects
No items
No project
Milestone
Clear milestone
No items
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Reference
leonida/mandy!3140
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/thin-threads-hybrid"
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?
Pull request closed
This pull request cannot be reopened because the branch was deleted.
Claimed 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 at 8422def75, 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
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.
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
mainat 8422def75 (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
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).
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.
mainat 8422def75, 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.
Rebased onto
main16243cd6e (head now 4d111e94e).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=6onmainat 16243cd6e.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 on 8422def75, and the entry describes them.AI-assisted: Claude Opus 5.5 (Claude Code). A separate read-only reviewer agent checked the rebase.
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).
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.
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