preload: --jobs / VICTORY_PRELOAD_JOBS to leave the rest of the PC free #382
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/382"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by fromrivertothesea on 2026-11-27T21:45:02Z.
Problem
victory preloadpassed no thread count to any of its three steps. Translating took every logical core, and making pipelines took two thirds of them, so the PC couldn't be used for anything else (playing, building) while a preload ran. The step commandsshadersandwarmalready take--jobs;preloaddidn't pass it on.Change
victory preload --jobs N, or the switchVICTORY_PRELOAD_JOBS=N(which the launcher's-Moreand the F1 menu's restart carry like any otherVICTORY_switch), gives each step N threads or processes:translate::precompile,warm::runandwarm::into_library.Preloading on N threads at a timewhen set.apps/victory/src/main.rsonly, +16/-4.Tested
On an RTX 5070 / 32 GB PC: an interrupted preload resumed with
VICTORY_PRELOAD_JOBS=3(at idle priority), and loggedPreloading on 3 threads at a time,... 3 processesandinto the pipeline library: 5386 pipelines (loading and slow ones), 3 threads. The game stayed playable alongside it.🤖 Generated with Claude Code
https://claude.ai/code/session_01FsQtBz4aDhUTip3jBagKEX
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T02:49:45Z.
Merged into main (
8fc2254) and shipped in v2026.11.27.10. The commit keeps you as its author, so it counts toward the contributors list. GitHub shows this as closed rather than merged only because the commits were applied on top of the newest main (new commit IDs). Thank you!Pull request closed