On 27-1-2021 20:33, Ken Dreyer wrote:
I'm seeing some of our internal Red Hat builders going OOM and killing
ceph builds. This is happening across architectures.
Upstream our braggi builders have 48 vCPUs and 256GB of RAM. That's not small.
What is the minimum memory and CPU requirement for building pacific?
Internally, to use one ppc64le example, we're running with 14Gb RAM
and 16 CPUs, and the RPM spec file chooses -j5, hitting OOM. We tuned
mem_per_process from 2500 to 2700 a while back to alleviate this, but
we're still hitting OOM consistently with the pacific branch now.
Is more or less equal to what I find on my FreeBSD builds.
they are running in 16Gb ram and I had to tune them down to -j4 to not
run into OOM.
The OEPS mostly happens when a rather large compile job get Clang all
excited, and then we start linking in another thread with lots of libraries.
Sure and guaranteed OOM abort.
Have not looked in detail what all steps are using but it has grown in steps
at my end. Going from -j16 to -j10 and now -j4.