Re: make -j in Debian packages
- To: Adam Borowski <email@example.com>
- Cc: firstname.lastname@example.org
- Subject: Re: make -j in Debian packages
- From: Wouter Verhelst <email@example.com>
- Date: Sun, 2 Jul 2006 11:57:50 +0200
- Message-id: <[🔎] 20060702095750.GA13566@country.grep.be>
- In-reply-to: <20060630101210.GA974@angband.pl>
- References: <firstname.lastname@example.org> <20060628083154.GA5660@angband.pl> <20060628090626.GA29506@volo.donarmstrong.com> <20060628100131.GA10649@angband.pl> <20060628134207.GP4751@country.grep.be> <20060628164319.GA19068@angband.pl> <email@example.com> <20060628172739.GC19068@angband.pl> <firstname.lastname@example.org> <20060630101210.GA974@angband.pl>
On Fri, Jun 30, 2006 at 12:12:10PM +0200, Adam Borowski wrote:
> On Fri, Jun 30, 2006 at 03:26:15AM +0200, Goswin von Brederlow wrote:
> > Adam Borowski <email@example.com> writes:
> > > Still, the buildd admin has no way to estimate how much a sub-process
> > > of a package is going to use, the maintainer has at least a rough
> > > idea. Since the maintainer's action is needed anyway, he can as well
> > > provide this estimate.
> > > And then the buildd admin can set CONCURRENCY_LEVEL to 1 to centrally
> > > disable any parallelism of this kind.
> > One could patch make to use concurency when the ram permits. This
> > would involves checking the current ram usage and forking more builds
> > if there is enough
> Oh, so you mean checking the _free_ RAM instead of the _physical_ RAM?
> This would be reasonable
Not at all. It's not as if "the amount of free RAM" is a variable that
is static throughout a machine's usage. If something else is being done
on the machine in question, then whatever happens to be the amount of
free RAM available at the time the test is ran doesn't have to be the
amount of free RAM available at the time the most RAM is in use during
Additionally, it puzzles me how you think a maintainer will be able to
accurately predict how much RAM a certain build is going to use. There
are so many variables, that I think anything but 'this is the fastest
way to build it on my machine' is going to be unfeasible. And since
that's hardly useful...
Have you thought about that?
Fun will now commence
-- Seven Of Nine, "Ashes to Ashes", stardate 53679.4