]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
make.sh: Fit more processes into memory
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 4 Mar 2019 17:21:15 +0000 (17:21 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 4 Mar 2019 17:21:15 +0000 (17:21 +0000)
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>
make.sh

diff --git a/make.sh b/make.sh
index 39a1c5380841a3ada47c7d156c5080fe90747064..e28819f9b3333a1971e37dd90b677aad1309f5c3 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -202,9 +202,9 @@ configure_build() {
 
        # Determine parallelism
        # We assume that each process consumes about
 
        # 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.
        # 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
        local cpu_max=$(( ${SYSTEM_PROCESSORS} + 1 ))
 
        local parallelism