From owner-freebsd-current@freebsd.org Mon Jul 27 12:14:59 2015 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 138F79ABAAE for ; Mon, 27 Jul 2015 12:14:59 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C58BB229 for ; Mon, 27 Jul 2015 12:14:58 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1ZJhJ1-000Fvi-CN; Mon, 27 Jul 2015 15:14:55 +0300 Date: Mon, 27 Jul 2015 15:14:55 +0300 From: Slawa Olhovchenkov To: David Chisnall Cc: Matthias Apitz , freebsd-current@freebsd.org Subject: Re: duration of buildworld Message-ID: <20150727121455.GW44094@zxy.spb.ru> References: <20150727055804.GA2312@c720-r276659> <20150727120006.GJ43740@zxy.spb.ru> <4948BBDE-BE3D-4465-9BCA-BCFDB44989FA@cl.cam.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4948BBDE-BE3D-4465-9BCA-BCFDB44989FA@cl.cam.ac.uk> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Mon, 27 Jul 2015 12:14:59 -0000 On Mon, Jul 27, 2015 at 01:06:15PM +0100, David Chisnall wrote: > On 27 Jul 2015, at 13:00, Slawa Olhovchenkov wrote: > > > > May be swap trashing on clang compilation? > > 4GB ought to be enough for building clang with -j2. A few of the > template-heavy files can use 500+MB of RAM compiling and linking > with BFD ld can easily hit 1GB (a lot more for a debug build - don't > try this on a 32-bit system!). I am try building 9.x with lot of memory and see about 1GB consumption when comiling (not linking) four clang library. I am don't know how clang in head consumption memory with self-compilation. And we don't know about available memory at this system (may be firefox runing?)