warm: a worker's start is not its first pipeline's time #343
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!343
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-343"
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?
@mateozariquiey on GitHub · 2026-12-03 18:15 UTC · original
mateozariquiey:pr/warm-start→main· +58 −2 · 2 files · 1 commits · merged 2026-12-03 18:26 UTCProbably the cause of the stall in #325 (measured on another machine, not reproduced on that one).
Cause.
victory warmgives a pipeline 45 s (LONGEST), counted from the worker's last line. A worker read the catalogue and opened the card inside its first pipeline, so those 45 s also covered the worker's own start. On an i7-10700K (16 threads) with an RX 9070, ten workers started at once took 55 s each to start: the first pipeline of each was listed inwarm-bad.txtasunresponsive for 45 sand the title no longer made it (389 pipelines in one run).Change. The card is opened before the first pipeline is named (
known::make), and until a worker names one it has 300 s to start (STARTING). A worker that does not start in that time is an error of the run, with no pipeline listed. Once it has named a pipeline, each has the 45 s of before.Tested. i7-10700K, RX 9070, RADV, 10 processes, on a tree based on
842767a: 94,841 of 94,841 pipelines made, none listed as bad (389 before). New testa_slow_start_is_not_a_hung_pipeline; thewarm::tests pass on45591b0.Limits. Not tried on the 24-thread machine of #325: no progress at all with 14 or more workers fits a start longer than 45 s there, but I could not confirm it. It does not replace #336 (fewer workers by default).