Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2016 21:47:11 -0700
From:      Alfred Perlstein <alfred@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: r300951 make buildworld duration 18h
Message-ID:  <574D174F.9030907@freebsd.org>
In-Reply-To: <20160530144300.GW41922@home.opsec.eu>
References:  <20160530143726.GA2418@c720-r292778-amd64.oa.oclc.org> <20160530144300.GW41922@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
It's too bad make(1) can't have a "max parallel jobs" for a particular 
directory.

I believe that some of the llvm build winds up using nearly a gig of RAM 
per compiled .c file, so when you are running 2 jobs at once, LLVM will 
swap like mad.

If we could add something under the llvm directory "max jobs = RAM/1GB" 
we could have much faster build worlds.

-Alfred

On 5/30/16 7:43 AM, Kurt Jaeger wrote:
> Hi!
>
>> Yesterday I pulled via svn co ... a fresh r300951 and started the
>> buildworld as
>>
>> # make -j2 buildworld
>>
>> it ended today at lunchtime after 18 hours. The laptop has
>> 2x Intel Atom 1.6GHz and 1 GByte RAM and was otherwise unused.
>> Is this the normal buildworld time of today?
> Yes, this sounds in line with similar setups.
>
>> I think it spent most of the time in building the llvm...
> Yes, llvm is a real hog.
>
> That's why I normally build on amd64 boxes...
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?574D174F.9030907>