]> 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, 15 Apr 2021 14:05:52 +0000 (14:05 +0000)
commit5922a0f7e8dc4778b1403fb8fdffa55ce99876db
treee3fc26cdbc421546c86e448a6ce97b252c6c8589
parentbbc5eb3662c1ae22cce7e92ca48caf7b7614f0d0
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