startup: #1408's thread holding slows the post-confirm load 3–4x #3333
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#3333
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@lukaslw-lab on GitHub · 2026-11-28 10:05 UTC · original
Since #1408 the debugger holds every other thread for each hook step. A 250 s title run has ~28k step windows with
~100 threads alive, mostly during the post-confirm load, and
run.ps1can't pass--suspend-others 0.Same build and input script, RTX 3080 Ti / i7-4790K / Win10; fps measured between inflated-block counts:
main)--suspend-othersdefault flipped, or the launcher before #1408)#3334 adds
run.ps1 -SuspendOthers 0/run.sh --suspend-others 0; the default stays on, so traces are unchanged.@tedin7: thanks for #1408. It fixes real trace gaps; this only adds a way to turn it off for timing runs.
@Leyukaka on GitHub · 2026-11-28 14:41 UTC · original
With holding on, the application also stops: an access violation in its own code, a write to address 0. It did not stop in the run with holding off.
Offline VM, same shader cache, 300 s runs, A pressed every 10 s from 120 s:
--suspend-others99e3ef0e99e3ef0ec45bf9ab(before #1408)--suspend-others 0run, a manual click came at about 190 s; all 29 PSOs were created before it, at 145-147 s.24fcd0b5and99e3ef0e, between 189.9 and 215.9 s.c45bf9ab..99e3ef0e.So runs that go past the first confirm need
--suspend-others 0(#3334); otherwise their timing and outcome reflect the harness.