From owner-freebsd-questions@FreeBSD.ORG Fri Sep 12 21:22:20 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9C19307 for ; Fri, 12 Sep 2014 21:22:20 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0143.outbound.protection.outlook.com [157.56.110.143]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A452FB86 for ; Fri, 12 Sep 2014 21:22:19 +0000 (UTC) Received: from [IPv6:2601:2:4780:2fd:29ad:4147:aab1:2005] (2601:2:4780:2fd:29ad:4147:aab1:2005) by BN3PR0301MB0836.namprd03.prod.outlook.com (25.160.154.146) with Microsoft SMTP Server (TLS) id 15.0.1024.12; Fri, 12 Sep 2014 20:48:32 +0000 Message-ID: <54135C19.8080701@my.hennepintech.edu> Date: Fri, 12 Sep 2014 15:48:25 -0500 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Subject: Re: Request Validation of my Experience in buildworld References: <54135498.8080202@comcast.net> In-Reply-To: <54135498.8080202@comcast.net> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [2601:2:4780:2fd:29ad:4147:aab1:2005] X-ClientProxiedBy: BN3PR0301CA0002.namprd03.prod.outlook.com (25.160.180.140) To BN3PR0301MB0836.namprd03.prod.outlook.com (25.160.154.146) X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 0332AACBC3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(51704005)(199003)(24454002)(87266999)(20776003)(46102001)(59896002)(85306004)(89122001)(99396002)(107886001)(50986999)(65816999)(90102001)(33656002)(76176999)(65956001)(54356999)(81342001)(87976001)(47776003)(83322001)(107046002)(74662001)(110136001)(65806001)(99136001)(80316001)(74502001)(92566001)(23676002)(102836001)(80022001)(106356001)(50466002)(101416001)(92726001)(75432001)(88552001)(105586002)(86362001)(64126003)(64706001)(31966008)(85852003)(95666004)(97736003)(4396001)(42186005)(79102001)(77096002)(83506001)(21056001)(77982001)(76482001)(2351001)(83072002)(81542001)(89472002)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB0836; H:[IPv6:2601:2:4780:2fd:29ad:4147:aab1:2005]; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:0; LANG:en; X-OriginatorOrg: my.hennepintech.edu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2014 21:22:21 -0000 On 2014.09.12 15:16, Dave Babb wrote: > The WRKDIRPREFIX (from a answer I received in this mailing list), is so > that my ports and kernel are built in ram and not to the SSD until they > are complete. I have /usr/obj mounted in tmpfs.....I have 32Gb of > ram....of which I only used 7% of tmpfs during any of the experiences > below...... ... > Another dramatic drop in resources and another increase in performance. > > This experience was had across a desktop, and repeated on a ASUS laptop. > > Is this type of improvement typical? Yes. Putting your WRKDIR in RAM eliminates the biggest bottleneck and puts almost everything on the CPU, which is quite fast. You can use ccache to cache objects and make future builds even faster by not rebuilding anything unnecessarily.