2 ms·
Okay I looked it up, and the default is max-jobs=auto (uses # of logical cores) and cores=0 (each job can use all threads), so if I have a machine with 16 cores
by SushiHippie 2y ago
Okay I looked it up, and the default is max-jobs=auto (uses # of logical cores) and cores=0 (each job can use all threads), so if I have a machine with 16 cores and 32 threads, it may run 32 jobs at the same time, where each job is allowed to use 32 threads.
See:
https://search.nixos.org/options?channel=unstable&show=nix.settings.max-jobs&from=0&size=50&sort=relevance&type=packages&query=nix.settings.max-jobs https://search.nixos.org/options?channel=unstable&show=nix.s...
https://search.nixos.org/options?channel=unstable&show=nix.settings.cores&from=0&size=50&sort=relevance&type=packages&query=nix.settings.cores https://search.nixos.org/options?channel=unstable&show=nix.s...
and
https://nixos.org/manual/nix/stable/advanced-topics/cores-vs-jobs https://nixos.org/manual/nix/stable/advanced-topics/cores-vs...