On Wednesday, 15 February 2023 09:56:22 BST Peter Humphrey wrote: > Hello list, > > Not long ago I read that we should allow 2GB RAM for every emerge job - that > is, we should divide our RAM size by 2 to get the maximum number of > simultaneous jobs. I'm trying to get that right, but I'm not there yet. > > I have these entries in make.conf: > EMERGE_DEFAULT_OPTS="--jobs=16 --load-average=32 --autounmask=n --quiet- > unmerge-warn --ke> > MAKEOPTS="-j16" > > Today, though, I saw load averages going up to 72. Can anyone suggest better > values to suit my 24 threads and 64GB RAM?
Thanks all for your contributions. I've settled on the following, after some experimenting: EMERGE_DEFAULT_OPTS="--jobs --autounmask=n --quiet-unmerge-warn --keep-going --nospinner" MAKEOPTS="-j24" I've stopped using disk space for /var/tmp/portage, even for the biggest packages, because (a) it causes a huge increase in compilation time, even on a SATA SSD, and (b) I've never seen an OOM anyway. So what if the system load goes high? It's only the number of processes ready for execution at any instant. I imagine the kernel is effective in guarding its own memory spaces. -- Regards, Peter.