_bootstrap-tools parallel build (was: Re: CFR, CFT: Fine-grained SUBDIR dependencies for parallel builds
Jia-Shiun Li
jiashiun at gmail.com
Tue Dec 16 05:00:58 UTC 2014
On Sat, May 31, 2014 at 10:04 PM, Ian Lepore <ian at 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?
-Jia-Shiun
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bootstrap.patch
Type: application/octet-stream
Size: 4223 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20141216/83dea8c2/attachment.obj>
More information about the freebsd-arch
mailing list