Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2014 11:49:41 -0800
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        Jia-Shiun Li <jiashiun@gmail.com>
Cc:        Ian Lepore <ian@freebsd.org>, freebsd-arch <freebsd-arch@freebsd.org>
Subject:   Re: _bootstrap-tools parallel build (was: Re: CFR, CFT: Fine-grained SUBDIR dependencies for parallel builds
Message-ID:  <8F3BDC42-83EE-46FA-AEFB-F35561290D48@gmail.com>
In-Reply-To: <CAHNYxxO0F%2BHojpq2As--PeDn0WP6AVew5%2B-4c24bG7TC4hzsrQ@mail.gmail.com>
References:  <CAHNYxxO0F%2BHojpq2As--PeDn0WP6AVew5%2B-4c24bG7TC4hzsrQ@mail.gmail.com>

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

--Apple-Mail=_DE47CF0E-56AA-4000-ADDD-446C5AF35C1E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

On Dec 15, 2014, at 21:00, Jia-Shiun Li <jiashiun@gmail.com> wrote:

> On Sat, May 31, 2014 at 10:04 PM, Ian Lepore <ian@freebsd.org> wrote:
>>=20
>> The parallelism in the bootstrap stuff in Makefile.inc1 is done with =
a
>> different-but-similar mechanism, and it would be nice to fix that to
>> just use bsd.subdir.mk instead of almost-duplicating it inline.  =
That's
>> on a longer-term to-do list for me.
>>=20
>=20
> Hi Ian & all,
>=20
> I did it manually for _bootstrap-tools anyway. Patches attached.
>=20
> It reduces 'make -j24 _botostrap-tools' time from ~55 sec. to ~25 sec.
> on a 12C IVB-EP.
> It scales more linearly in comparison to single-job ~250 sec on the
> same machine.
> Main blockers were tblgen & groff.
>=20
> On -j4 it reduces time from ~82 sec. to ~60 sec. too.
>=20
> It passed 'make -j24 universe' except the seemingly broken i386 =
kernels.
>=20
> Any comments?

Hi Jia-Shiun!
	I submitted the gnu/usr.bin/groff portion of your patch in =
r275866 . I=92m going to look at stripping down bootstrap-tools, et al a =
bit more in the next couple days and I=92ll be using your patch in part =
with some parallel efforts I=92ve done on a branch on my github fork as =
well: https://github.com/yaneurabeya/freebsd/tree/faster-build .
Thank you!

--Apple-Mail=_DE47CF0E-56AA-4000-ADDD-446C5AF35C1E
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEbBAEBCgAGBQJUkd5VAAoJEMZr5QU6S73eluoH+MIyjUBfSsG2XIJ/bDIE7aU6
QYl6otb/aPE9Ayuc80HD/M+3uzQJEx+aaqAqkyLPdsRZpypo2nfQE57uqSHvSJu0
eB4gkoF6cRA8WuZeo9ozBtRUud3WQj9JwOjta+DLVCfSGDnoHSxFrDI1v7Zmfhj9
ikhimJygh5afUEsx0nAUKKLObjf9/cfgNUfIr3bhSXRRmCFVPBS1fWjRg1VMuTkH
cgPSOYAIxN04oDRSiXFEhVqDG5dJt+J/6xSatmzL+AV3nITCutVx6BEkCgtTCTf/
PJ1ErTFzZKeM/Dgd4+OMnzSI2o1BbZlgBFWRSsu4BJpZU3JLysY0cU2h3/VbBQ==
=IFZq
-----END PGP SIGNATURE-----

--Apple-Mail=_DE47CF0E-56AA-4000-ADDD-446C5AF35C1E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8F3BDC42-83EE-46FA-AEFB-F35561290D48>