Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2014 15:59:02 -0500
From:      Glen Barber <gjb@FreeBSD.org>
To:        Tim Daneliuk <tundra@tundraware.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: And Here I Thought buildworld/makeworld Was IO Bound
Message-ID:  <20140210205902.GJ1629@glenbarber.us>
In-Reply-To: <52F93AFF.9090806@tundraware.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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:
> >><SNIP>
> >>
> >>>
> >>>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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140210205902.GJ1629>