From owner-freebsd-current@freebsd.org Tue May 31 04:47:17 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B1C3B553EE for ; Tue, 31 May 2016 04:47:17 +0000 (UTC) (envelope-from alfred@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [IPv6:2001:470:1f05:b76::196]) by mx1.freebsd.org (Postfix) with ESMTP id 5EE0D1B1B for ; Tue, 31 May 2016 04:47:17 +0000 (UTC) (envelope-from alfred@freebsd.org) Received: from AlfredMacbookAir.local (unknown [IPv6:2601:645:8003:a4d6:5954:49d3:33ad:d196]) by elvis.mu.org (Postfix) with ESMTPSA id ACB8B346DE89 for ; Mon, 30 May 2016 21:47:11 -0700 (PDT) Subject: Re: r300951 make buildworld duration 18h To: freebsd-current@freebsd.org References: <20160530143726.GA2418@c720-r292778-amd64.oa.oclc.org> <20160530144300.GW41922@home.opsec.eu> From: Alfred Perlstein Organization: FreeBSD Message-ID: <574D174F.9030907@freebsd.org> Date: Mon, 30 May 2016 21:47:11 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20160530144300.GW41922@home.opsec.eu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2016 04:47:17 -0000 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... >