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>

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

[-- Attachment #1 --]
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:
>> 
>> 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.
>> 
> 
> Hi Ian & all,
> 
> I did it manually for _bootstrap-tools anyway. Patches attached.
> 
> 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.
> 
> On -j4 it reduces time from ~82 sec. to ~60 sec. too.
> 
> It passed 'make -j24 universe' except the seemingly broken i386 kernels.
> 
> Any comments?

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

[-- Attachment #2 --]
-----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-----
help

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