From owner-freebsd-stable@FreeBSD.ORG Tue Feb 11 00:05:42 2014 Return-Path: Delivered-To: freebsd-stable@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 D403D4D3 for ; Tue, 11 Feb 2014 00:05:42 +0000 (UTC) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8E9CC1924 for ; Tue, 11 Feb 2014 00:05:42 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.8/8.14.8) with ESMTP id s1B05Xng021727 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 10 Feb 2014 18:05:34 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <52F9694D.2060609@tundraware.com> Date: Mon, 10 Feb 2014 18:05:33 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Warren Block Subject: Re: And Here I Thought buildworld/makeworld Was IO Bound References: <52F84AF8.8050007@tundraware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ozzie.tundraware.com [75.145.138.73]); Mon, 10 Feb 2014 18:05:34 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: s1B05Xng021727 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2014 00:05:42 -0000 On 02/10/2014 09:03 AM, Warren Block wrote: > On Sun, 9 Feb 2014, Tim Daneliuk wrote: > >> So is the bounding function here actually CPU not IO? Am I missing >> something? > > Yes, it mostly is CPU. Make sure you are running powerd on that i5, it enables turbo mode and gives a noticeable speed increase. I enabled the various turbo features on the mobo and rebooted with powerd turned on. It appears to knock about 2 minutes off the build, but I need a bigger baseline than one try to confirm this. > > Also, consider using -DNO_CLEAN, leaving all the untouched object files in place for make to find and skip. I've seen buildworld times under a minute with that on my i5 and SSD. There are downsides (uname is not always updated correctly), but removing /usr/obj every so often and starting from scratch will fix that. Right after I did a complete buildworld/kernel, I ran it again with this option enabled. Essentially, I wanted to see how long it takes the make infrastructure to figure out it has nothing to do... about 2 minutes appears to be the answer. If I were sure that everything was being picked up properly (including uname), I'd do it this way every time ;) Thanks for the feedback and help. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/