Skip to content

startup: #1408's thread holding slows the post-confirm load 3–4x #3331

Done

Description

@lukaslw-lab

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.ps1 can't pass --suspend-others 0.

Same build and input script, RTX 3080 Ti / i7-4790K / Win10; fps measured between inflated-block counts:

Thread holding runs fps 50–75k blocks 50k→100k blocks
on (main) 4 3–5 80–100 s
off (--suspend-others default flipped, or the launcher before #1408) 3 18–23 30–40 s

#3332 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.

Activity

  1. Leyukaka commented on Nov 28, 2026

    @Leyukaka
    Collaborator

    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:

    Commit --suspend-others First runtime service created Compute PSOs created after the input Result
    99e3ef0e 1 (default) 74.6 s 3 stop at 242.2 s
    99e3ef0e 0 15.3 s 29 running at 300 s
    c45bf9ab (before #1408) 1 15.4 s 29 running at 300 s
    • In the --suspend-others 0 run, a manual click came at about 190 s; all 29 PSOs were created before it, at 145-147 s.
    • The stop also happened in four runs with manual input at 24fcd0b5 and 99e3ef0e, between 189.9 and 215.9 s.
    • Without input, the application does not advance (0 compute PSOs created) and runs 300 s at six commits in c45bf9ab..99e3ef0e.

    So runs that go past the first confirm need --suspend-others 0 (#3332); otherwise their timing and outcome reflect the harness.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions