Serialize launcher pipeline warmup #20
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
reviewed
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Slaktarn700--SlaktarnVI!20
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/20/head"
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?
@BottyIvan on GitHub · 2026-11-29 15:27 UTC · original
BottyIvan:pr/serial-pipeline-warmup→main· +90 −8 · 3 files · 4 commits · closed without mergingSummary
--again, use a 60-second silent-worker timeout, and report VKD3D cache sizes.Validation
1afad58, the launcher self-test and 8 warm tests passed under Proton; the diagnostic build succeeded.@Slaktarn700 on GitHub · 2026-11-29 22:01 UTC · original
Thank you for finding this. I see the same thing: one of my Prepare logs with 10 processes has 111 of these write errors. I want to compare the time and the number of saved entries with one process and with many before deciding. Two things I noticed: pipelines already marked as made are skipped, so people who prepared before get nothing new without
--again, and a pipeline that hangs holds the single worker for 180 s. If you have times or cache sizes from before and after, they would help.@BottyIvan on GitHub · 2026-11-30 23:39 UTC · original
I tested the updated Prepare flow:
--used --jobs 1 --againcompleted all 19 recorded pipelines without worker failures.I also compared 1 and 4 jobs on the same 160 pipelines, starting from separate copies of the existing cache:
Both runs reported 160 pipelines made, but VKD3D logged three exclusive write-file errors with 4 jobs. The smaller cache is concerning, although I haven't verified the saved entry counts. This was a single warm-cache comparison on an RX 7800 XT, so it isn't a conclusive performance benchmark.
My local changes also add
--again, reduce the silent-worker timeout to 60 seconds and report cache size before and after.@Slaktarn700 on GitHub · 2026-11-30 23:57 UTC · original
Thank you for the measurements; the lost cache entries with several jobs are the kind of proof I was missing. Could you put your local changes (
--again, the 60 s limit, the cache sizes) into this pull request? It still holds only the commits from 29 November, and it conflicts with main now (1afad58), so it needs a rebase as well. If a rebase is a nuisance, a new pull request against main is just as good.@BottyIvan on GitHub · 2026-12-01 00:23 UTC · original
I pushed the requested changes and merged main at
1afad58into this branch (rather than rebasing).I retested Prepare on Fedora / Proton with an RX 7800 XT:
--used --jobs 1 --againremade all 19 recorded pipelines in 1 s, with no worker failures or exclusive cache-write errors. The reported VKD3D cache size was 0.01 MiB both before and after; this was a small run on an existing cache, not a new benchmark.The preceding shader scan separately reported 195 unsupported containers and skipped 16 files above its size limit. The earlier 1-versus-4-worker comparison remains in my previous comment. The launcher self-test and 8 warm tests also passed after the merge.
@Slaktarn700 on GitHub · 2026-12-01 02:18 UTC · original
I measured it: 600 recorded pipelines on empty caches take 204 s with one worker and 52 s with ten here, and loading them afterwards takes 38 and 37 s, so the lost cache writes cost nothing I can measure; pipelines of up to 34 s would also be marked bad by the 60 s limit on slower PCs. So I will not take it, but the finding and the tests were good work.
Pull request closed