pub fn cpu_margin(parallelism: usize) -> usize
The threads left free for everything else: an eighth of them, at least one, and none when the process may run only two.