Gentoo Archives: gentoo-user

From: "Sam Jorna (wraeth)" <wraeth@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Change MAKEOPTS on the fly?
Date: Mon, 13 Jul 2020 23:34:44
Message-Id: b2b7229e-f03d-a9ea-8075-2e2fbf669038@gentoo.org
In Reply to: Re: [gentoo-user] Re: Change MAKEOPTS on the fly? by Neil Bothwick
1 On 14/7/20 2:33 am, Neil Bothwick wrote:
2 > You have to consider the --jobs option passed to emerge at the same time.
3 > It's no use limiting each emerge to 2 processes if you then run multiple
4 > emerges in parallel. Setting --load in MAKEOPTS and --load-average in
5 > EMERGE_DEFAULT_OPTS is worthwhile on a constrained system.
6
7 It's also worth pointing out that emerge's --load-average is only
8 evaluated when it's looking to start building a new package/job, as
9 opposed to MAKEOPTS' (ie. make's) --load which is evaluated every time
10 make wants to spawn a new thread. If your load average drops below the
11 threshold, emerge will start a new job with potentially -jN make threads
12 (though this is mitigated somewhat if also using --load in MAKEOPTS).
13
14 --
15 Sam Jorna (wraeth)

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Re: Change MAKEOPTS on the fly? "Sam Jorna (wraeth)" <wraeth@g.o>