Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use logical CPUs instead of physical by default (#2391)
Some reasons to prefer logical count as the default: - Chips reporting many logical CPUs vs physical, such as via hyperthreading, probably know better than us about the workload the CPUs can handle. - The logical count (`num_cpus::get()`) takes into consideration schedular affinity, and cgroups CPU quota, in case the user wants to limit the amount of CPUs a process can use. Closes #2269
- Loading branch information