N+1 processors appears to perform 2-3% faster than using
just N processors. I've done an A/B test both locally and on
a cloud VM.
Fixes for this and the previous commit were reported by Sedar
Dilek <sedar.dilek@gmail.com>. Thanks!
# Get the number of processors available to the scheduler
# Other techniques such as `nproc` only get the number of
# processors available to a single process.
- NumProc=$(getconf _NPROCESSORS_ONLN)
+ NumProc=$(($(getconf _NPROCESSORS_ONLN)+1))
# Build CoreCLR