mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-18 23:12:59 +02:00
make.sh: Fit more processes into memory
Because we have a good way to limit processes now, we should increase the default size a little bit Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
4
make.sh
4
make.sh
@@ -202,9 +202,9 @@ configure_build() {
|
||||
|
||||
# Determine parallelism
|
||||
# We assume that each process consumes about
|
||||
# 192MB of memory. Therefore we find out how
|
||||
# 128MB of memory. Therefore we find out how
|
||||
# many processes fit into memory.
|
||||
local mem_max=$(( ${SYSTEM_MEMORY} / 192 ))
|
||||
local mem_max=$(( ${SYSTEM_MEMORY} / 128 ))
|
||||
local cpu_max=$(( ${SYSTEM_PROCESSORS} + 1 ))
|
||||
|
||||
local parallelism
|
||||
|
||||
Reference in New Issue
Block a user