From owner-freebsd-stable@FreeBSD.ORG Mon Feb 10 05:45:19 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 996CC927 for ; Mon, 10 Feb 2014 05:45:19 +0000 (UTC) Received: from mail-ea0-x230.google.com (mail-ea0-x230.google.com [IPv6:2a00:1450:4013:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2AE4F15AB for ; Mon, 10 Feb 2014 05:45:19 +0000 (UTC) Received: by mail-ea0-f176.google.com with SMTP id h14so2717404eaj.35 for ; Sun, 09 Feb 2014 21:45:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=lDz7cEv2gWeS7qkVzEGQGjXwC4gql7u/P2xVfIKiiXs=; b=ytJwlsEYfd+AUNOkahVtuw9mZINQIXrjfHcbm2HChB58DiuDOAcn2Drv8yLQV7eNvu 1frasK7VRhaqh9DQC1SBKyZklPUCUylYSyHRO30lKQjF12t8pWUqO4Wobv8dW5i7W1fm P/oEsUSyxdMFShUDTdifTGjiUhSpln+7TD17tGlDF2KHDmMKQn/vfzqfXXic/FaZB6DS 659sTVRQq8Fd6wiJAu8sbxj8ssT9HLqEtY6upxMNim8KGciIYGJvf3I2NJMDt4ZbjVim 2ga9SsXYqbdZNvgm0JCu02KrAvvnXLrtqCq7AYTsexGqgQbMt9iaVl3JzRYfQzYbD4FF gzWg== X-Received: by 10.15.44.202 with SMTP id z50mr86251eev.81.1392011117402; Sun, 09 Feb 2014 21:45:17 -0800 (PST) Received: from macbook-pro.local (ip-178-200-30-115.unitymediagroup.de. [178.200.30.115]) by mx.google.com with ESMTPSA id q44sm15221193eez.1.2014.02.09.21.45.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 09 Feb 2014 21:45:16 -0800 (PST) Message-ID: <52F86768.9000109@googlemail.com> Date: Mon, 10 Feb 2014 06:45:12 +0100 From: "army.of.root" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Tim Daneliuk , freebsd-stable@freebsd.org Subject: Re: And Here I Thought buildworld/makeworld Was IO Bound References: <52F84AF8.8050007@tundraware.com> In-Reply-To: <52F84AF8.8050007@tundraware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Mon, 10 Feb 2014 05:45:19 -0000 Am 10/02/14 04:43, schrieb Tim Daneliuk: > For some years now, I have been doing nightly builds of -STABLE > on an old Pentium D machine with 2G of memory. Buildworld + 2 > different kernels was taking in the neighborhood of 3 1/2 hours or so > to run. > > I then upgraded the Mobo/CPU to a Haswell Quadcore I5-4570 and, sure > enough, the build time for all the above came down to 30-35 mins or so. > > "So", says I, "I'll bet a faster drive would help considering all the > scribbling to the disk the compilers and makes do". So, I upgdared to > a Kingston SSD Now 300, 120G hard drive and he time to do the above > went down to .... wait, it's still about 30-35 mins ???? > > So, I've tried fiddling with different values for -j on the make > command line to little avail. Well, -j8 and -j16 show no real > difference here. > > So is the bounding function here actually CPU not IO? Am I missing > something? > > Thanks, > > P.S. Trying now with no -j arg on make invocation. Hi, the new machine has a lot more memory, I assume. The build probably will not even hit the disk due to caching. Also remember, the build process spawns probably millions of processes and that alone takes some time. And 30min sounds pretty great to me :D Best regards