Use six pipeline workers in the RTX 3060 preset #422
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
old-names
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!422
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-422"
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?
@Indy2l on GitHub · 2026-11-28 15:53 UTC · original
Indy2l:preset/3060-pipeline-workers→main· +60031 −5429 · 206 files · 660 commits · closed without mergingSummary
-Machine 3060now uses six pipeline workers (VICTORY_PIPELINE_WORKERS=6) instead of the three it inherits from the 4070 profile. Nothing else changes.With a cold pipeline cache, for example after a translator or driver change, about 460 of the prologue route's pipelines take over a second each to compile on this PC: 1,450 s together, the longest 61 and 72 s. With three workers that work alone takes about 8 minutes. The pipelines the picture needs are cheap, but they wait behind the slow ones, so the world stays black until the backlog clears and then fills in at once.
On
fe7c6e5, i5-12400F / RTX 3060 12 GB / 16 GB, Series S, the same prologue route each time. Before each run, the driver's shader cache files forvictory.exeand the cache directory'spipelinesfolder were removed. Shader translations were kept.Warm runs with three workers on the same base gave 7.7 and 8.8 fps, so more workers did not cost frames in play. The workers run below the title's threads.
This shortens the cold start but doesn't remove it: with six workers the longest compiles still hold up the cheap pipelines for about a minute. A separate change to the queue order will address that.
docs/rtx3060-16gb.mdhas the new row in the settings table and the measurements above.Verification
cargo build --locked --profile diag -p victory --features diagnostics, then each run withscripts\play.ps1 -Machine 3060 -Console series-s -Windowed -More @{VICTORY_OUTPUT='1920x1080'; VICTORY_UPSCALER='6'; VICTORY_RENDER_SCALE='0.5'; VICTORY_PIPELINE_WORKERS='<n>'}. That is the same value the preset now sets. Each log confirms it withpipeline workers workers=<n>.cargo run -p xtask --locked -- policy: 322 files ok.scripts\play.ps1parses with the PowerShell parser.git diff --check: clean.cargo testwere not rerun.🤖 Generated with Claude Code
@TaynanGT on GitHub · 2026-11-29 11:35 UTC · original
Thanks for the matched cold-cache runs and visual comparisons. Six workers shortened the queue drain on this 3060/16 GB setup. Please keep the change scoped to that preset and measure peak commit and memory pressure too; the long-pipeline ordering work belongs separately in #424.
@Indy2l on GitHub · 2026-11-29 17:09 UTC · original
The change stays in the
-Machine 3060row only.Memory for the same three cold runs. A sampler read the game process and the system every 3 s. These figures cover the first 590 s of each run, which includes every queue drain (423 to 595 s). i5-12400F, 16 GB RAM, RTX 3060 12 GB; commit limit 63.85 GB.
With six workers, peak private was 0.25 GB higher than with three, and peak commit 0.2 GB higher, at 58% of the limit. Four workers peaked higher than six. Paging was heavy in all three runs, as usual on 16 GB with this title: the working set stays around 12.5 GB. The median rate was higher with six workers, the mean about the same. These are single runs, so I wouldn't read the paging difference as more than run-to-run spread.
@TaynanGT on GitHub · 2026-11-29 19:02 UTC · original
Thanks for the memory measurements. The reported increase in peak system commit is modest (0.18 GB), but paging is already heavy on this 16 GB setup. Keeping six workers limited to the 3060 preset makes sense; I would avoid generalizing the result to other presets from these single runs.
@TaynanGT on GitHub · 2026-11-30 17:07 UTC · original
mainhas moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the currentmainand open a new PR; I'll review it there.Pull request closed