From owner-freebsd-stable@FreeBSD.ORG Mon Feb 10 20:59:11 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 EB93CD90; Mon, 10 Feb 2014 20:59:10 +0000 (UTC) Received: from mail0.glenbarber.us (mail0.glenbarber.us [208.86.227.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B91A71890; Mon, 10 Feb 2014 20:59:10 +0000 (UTC) Received: from glenbarber.us (c-71-224-221-174.hsd1.nj.comcast.net [71.224.221.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id A629521E51; Mon, 10 Feb 2014 20:59:09 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us A629521E51 Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Mon, 10 Feb 2014 15:59:02 -0500 From: Glen Barber To: Tim Daneliuk Subject: Re: And Here I Thought buildworld/makeworld Was IO Bound Message-ID: <20140210205902.GJ1629@glenbarber.us> References: <52F84AF8.8050007@tundraware.com> <52F86768.9000109@googlemail.com> <52F8E8C6.2060909@tundraware.com> <20140210152407.GB1629@glenbarber.us> <52F8F426.9000003@tundraware.com> <20140210160736.GC1629@glenbarber.us> <52F93929.1070203@tundraware.com> <20140210204339.GI1629@glenbarber.us> <52F93AFF.9090806@tundraware.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="H6o9R95t2FPeZmf3" Content-Disposition: inline In-Reply-To: <52F93AFF.9090806@tundraware.com> X-Operating-System: FreeBSD 11.0-CURRENT amd64 User-Agent: Mutt/1.5.22 (2013-10-16) 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: Mon, 10 Feb 2014 20:59:11 -0000 --H6o9R95t2FPeZmf3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 10, 2014 at 02:47:59PM -0600, Tim Daneliuk wrote: > On 02/10/2014 02:43 PM, Glen Barber wrote: > >On Mon, Feb 10, 2014 at 02:40:09PM -0600, Tim Daneliuk wrote: > >>On 02/10/2014 10:07 AM, Glen Barber wrote: > >> > >> > >>> > >>>This machine is 48-core (4 x 12 cores) Opteron 6174 (2.2GHz), 128GB RA= M, > >>>with 5 drives in a raidz1 on a PERC H700 controller. > >>> > >>>Glen > >>> > >> > >>So ... in that config, you're saying that a buildworld/kernel time > >>on the order of 30-ish minutes is about right, is that correct? > >> > > > >Yes, for a stock (GENERIC kernel, empty src.conf and make.conf), this is > >correct. > > > >Glen > > >=20 >=20 > 'Really interesting given that I am getting comparable times > on a lowly quad I5 with 8GB. It speaks pretty loudly > to just how much you can scale up the compilation. Of course, > I'd expect your boxes to be able to do more of them simultaneously > (scale out)... >=20 There are two things to consider though. I'm not cranking the number of '-j' as high as it probably can go. I'm intentionally limiting it to 'j10' and '-j6' in order to do parallel builds. I'm sure '-j24' or higher in this case would reduce overall build time. I'm just not comfortable doing that, because there are a few (sometimes easily-triggered, other times not so easily-triggered) race conditions that can cause the builds to fall over to easily. So limiting to a relatively safe number, scaling out certainly does help. But this is a very specific, and probably atypical use case. :) Glen --H6o9R95t2FPeZmf3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBCAAGBQJS+T2WAAoJELls3eqvi17QLx8P/j3OTSn5dlLxw7wZJkoLkwta xg01mVGDj/D/zlWmlFtjwy2TYbKU9kg9EWUZjgIpBJFVe5zHnfLG0wLa7wV6qMW+ ZW4wFsj8AXR1t+kiVDX40+R5sBa+mXrW5R3RXfHO5H/YgJdw98xNdOdZpePchFSo dvwHwTAUzsRPzAUqkZKqUfq39k84alF8n8iUhuaD3w+X7GaNB988IXOU/rmehsLJ oP8oSzHCIBCvPn4hhu1Vfx4oEyyt2g8H3EI25dQ+Ue6PYnxo28mYfwIM5E45LOI0 E6UzX6P91GZ4ooS230aiiZYMvdj5+MVN+PEE9Q/kU1/HwLxxRFZFTKYmkchbT7m6 bp76Z99bXjJ0UO0TtfsvgUTEgMsEUzczgk1CJz71KhQksoWahoIxDoBWQ25aKSu/ S7dMCsWB/8HmY/c0rLMiPC0d7692v8e9Oyyvla1fr/9bh+uHQW7wAc7H5gB74xeI hsliJxVWqDDFQy+xrmEAMMXs+I6PuVl08c4LR4Ml0n/dA4/s0dnOJRGiNKe9NLX7 zIPhPlUIZr4itW2btAqq/ZblZ+ZJISVBN5/nv96zMg02RY2qJJsHkjtbSDwWppMz Bn+LieoXfXKq9IsBAXRCODmiqCvaMgppy+pHQ2KGLn9ppTsb8C63pYMm6pUEXNMU GXPzvWOKEnUmdn5HS2zl =XuHT -----END PGP SIGNATURE----- --H6o9R95t2FPeZmf3--