On 14/7/20 2:33 am, Neil Bothwick wrote:
> You have to consider the --jobs option passed to emerge at the same time.
> It's no use limiting each emerge to 2 processes if you then run multiple
> emerges in parallel. Setting --load in MAKEOPTS and --load-average in
> EMERGE_DEFAULT_OPTS is worthwhile on a constrained system.

It's also worth pointing out that emerge's --load-average is only
evaluated when it's looking to start building a new package/job, as
opposed to MAKEOPTS' (ie. make's) --load which is evaluated every time
make wants to spawn a new thread. If your load average drops below the
threshold, emerge will start a new job with potentially -jN make threads
(though this is mitigated somewhat if also using --load in MAKEOPTS).

-- 
Sam Jorna (wraeth)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to