[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: make: dynamic scaling of maxJobs ?
On Fri, Aug 02, 2013 at 03:45:19PM -0700, Simon Gerraty wrote:
> Note: This only applies to the initial instance of make, the sub-makes
> get a normal -j value - being the maxJobTokens value in effect when they
> are started. The theory being that the sub-makes don't run long enough
> to be a serious issue.
The sub-makes should all take tokes out of the token queue created
by the outer make. If this isn't happening the makefiles need fixing
so that make passes the correct parameters to the sub makes.
If you are soing a netbsd build, the outer make doesn't actually
run many different things - probably only one child make for
every sub directory - so it won't recalculate the number of tokens
very often (if at all).
I actually suspect it might be better looking at why the current
version of netbsd gets unresponsive under load.
David Laight: david%l8s.co.uk@localhost
Main Index |
Thread Index |