From owner-freebsd-stable@FreeBSD.ORG Fri Mar 1 19:37:02 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1244F786 for ; Fri, 1 Mar 2013 19:37:02 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from yoshi.bluerosetech.com (yoshi.bluerosetech.com [174.136.100.66]) by mx1.freebsd.org (Postfix) with ESMTP id F2FD1119E for ; Fri, 1 Mar 2013 19:37:01 +0000 (UTC) Received: from chombo.houseloki.net (c-76-27-220-79.hsd1.wa.comcast.net [76.27.220.79]) by yoshi.bluerosetech.com (Postfix) with ESMTPSA id 719B8E6001; Fri, 1 Mar 2013 11:36:55 -0800 (PST) Received: from [127.0.0.1] (ivo.houseloki.net [10.9.70.20]) by chombo.houseloki.net (Postfix) with ESMTPSA id 7F62178A; Fri, 1 Mar 2013 11:36:54 -0800 (PST) Message-ID: <5131035A.2050803@bluerosetech.com> Date: Fri, 01 Mar 2013 11:36:58 -0800 From: Darren Pilgrim User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Ian Smith Subject: Re: Building RELENG_9 (or RELENG_9_*) on a small machine? References: <512EB5BD.1020803@bluerosetech.com> <20130228014635.GB70215@glenbarber.us> <512F23AC.1000003@bluerosetech.com> <20130302042828.J32142@sola.nimnet.asn.au> In-Reply-To: <20130302042828.J32142@sola.nimnet.asn.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2013 19:37:02 -0000 On 2013-03-01 10:50, Ian Smith wrote: > At 256MB - the > minimum earlier that completed installation without disabling CTL - swap > often sat at ~14MB but blew out to around 165MB building those huge llvm > libraries - cc1plus 332M, 173M resident was one top I snipped, but I > can't say I caught the biggest. I had top running throughout a build and saw cc1plus reach 460 MB with 171MB resident, at that point CPU was down to about 4% and the system was hammering swap. As a testament to FreeBSD's robustness, I could still log in via ssh, start screened shells, and generally conduct admin tasks while cc1plus beat the crap out of my VM. Even start and stop other services. > Then I added 128MB (to 384MB) and repeated the first buildworld (incl. > clang) expecting huge savings as it'd only touched swap to about 12MB a > time or two, mostly having 100MB+ of free memory .. wow, down to 7h02m! For 9.x, I changed my notes to "256 MB to run, 768 MB to build". For 8.x, the numbers were 192 MB to run, 512 MB to build. > Here at least, building llvm libs and clang doubles buildworld time! and > extends /usr/obj from 675MB to 1GB. I'll be doing `make buildkernel buildworld` ET and size comparisons between RELENG_8_3 and RELENG_9_1 when I test out my buildbox. I'd like to gather memory usage metrics as well, if someone knows some tricks for that. My current approach is somewhat crude. :) If there's interest I'll follow up with the results here.