The threads a frame waits for are kept on the fast cores (VICTORY_FAST_CORES=0: not; 1: without the helpers)
cpu_sets and keep_on_fast_cores are fxceless/victory-fork's (framelog.rs, commit 0b0074e0). Asked for by: submit, relay, late-wait, heap-sync, aside; and the helpers of the wide copies (refreshes, fills, snapshots) and of the landings. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
13ffc2833d
commit
96f2f32e84
8 files changed
+113
-2
No files matched your search
@@ -63,7 +63,10 @@ pub(crate) fn begin(work: impl FnOnce() -> Vec<Refresh> + Send + 'static) -> std
|
||||
let (send, jobs) = std::sync::mpsc::channel::<Job>();
|
||||
std::thread::Builder::new()
|
||||
.name("victory-aside".into())
|
||||
.spawn(move || jobs.into_iter().for_each(|job| job()))
|
||||
.spawn(move || {
|
||||
crate::cores::keep_on_fast_cores("victory-aside");
|
||||
jobs.into_iter().for_each(|job| job())
|
||||
})
|
||||
.ok()
|
||||
.map(|_| Mutex::new(send))
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user