]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
make.sh: Set parallelism to number of CPU cores
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 26 Feb 2021 18:17:03 +0000 (18:17 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 20 May 2021 10:34:23 +0000 (10:34 +0000)
commit801c27d0017c74660248c6adc1b005072bc8af9e
tree2b03b2419c8646dfaee8481f52f958a4babfcda1
parent8e51ffb2813de819f54afdd38c5f8105fa942f57
make.sh: Set parallelism to number of CPU cores

Setting it to something higher than the number of physical CPU cores was
a good idea when we used to have slow magnetic storage. That way, at
least there was always one process waiting for IO.

With modern fast flash-based storage, this does not hold any more since
it is fast enough that we don't need to have a couple of processes ready
to wait.

It will probably have made work for the scheduler more challenging since
more processes were ready and processes were moved around processors.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh