higher values raise the system load but not speedup the build
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
local mem_max=$(( ${HOST_MEM} / 192 ))
local processors="$(system_processors)"
local mem_max=$(( ${HOST_MEM} / 192 ))
local processors="$(system_processors)"
- local cpu_max=$(( ${processors} * 2 ))
+ local cpu_max=$(( ${processors} + 1 ))
local parallelism
if [ ${mem_max} -lt ${cpu_max} ]; then
local parallelism
if [ ${mem_max} -lt ${cpu_max} ]; then