The title's pipelines written down (VICTORY_PIPELINE_BOOK=1, off) and made ahead of a run, each batch in a process of its own (victory warm)
Every pipeline the title creates goes to known-pipelines.bin beside the pipeline library, its containers to known-shaders.bin (in the cache folder; they are the title's code). `victory warm` makes their host pipelines in idle-priority processes of 200 each and lets them go: the driver's cache on disk keeps them. Those earlier runs drew with come first; what is done is noted by translator and driver (warm-done.txt); a pipeline that ends or hangs its process is named in warm-bad.txt and skipped. VICTORY_EARLY_ALL does this in the running title and ended it inside the driver. Not measured yet: how long, and how much the driver's cache grows. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
eaef3651c6
commit
2f22f6e2c2
9 files changed
+736
-10
No files matched your search
@@ -62,6 +62,11 @@ pub fn use_pipeline_cache(dir: PathBuf) {
|
||||
let _ = DIR.set(dir);
|
||||
}
|
||||
|
||||
/// The folder the library is kept in.
|
||||
pub(super) fn folder() -> Option<PathBuf> {
|
||||
DIR.get().cloned()
|
||||
}
|
||||
|
||||
/// Host pipelines created, loaded from the library, and title pipelines
|
||||
/// started at creation, since the start.
|
||||
pub(crate) static MADE: AtomicU64 = AtomicU64::new(0);
|
||||
|
||||
Reference in new issue
Block a user