On Wed, Jun 30, 2021 at 12:46:59PM +0200, Miroslav Suchý wrote:
Dne 30. 06. 21 v 12:29 Zbigniew Jędrzejewski-Szmek napsal(a):
>The OP talks exclusively about "RAM". And I think RAM is what we need
From:
https://build.opensuse.org/package/view_file/openSUSE:Factory/memory-cons...
max_swapmem=$(awk '/SwapTotal/ { print $2 }' /proc/meminfo) \
max_jobs="$((($max_physmem + $max_swapmem) / ($mem_per_process * 1000)))" \
Oops. Yeah, I don't think this implementation much sense ;(
>to look at: even if there is bountiful swap, the build would be
quite
>slow if it was used to any significant degree. So we're probably
>better of limiting parallelism rather than using all that swap.
I agree.
Zbyszek