Dimitry Andric
54ff5d7323
Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process
...
all the SUBDIR entries in parallel, instead of serially. Apply this
option to a selected number of Makefiles, which can greatly speed up the
build on multi-core machines, when using make -j.
This can be extended to more Makefiles later on, whenever they are
verified to work correctly with parallel building.
I tested this on a 24-core machine, with make -j48 buildworld (N = 6):
before stddev after stddev
======= ====== ======= ======
real time 1741.1 16.5 959.8 2.7
user time 12468.7 16.4 14393.0 16.8
sys time 1825.0 54.8 2110.6 22.8
(user+sys)/real 8.2 17.1
E.g. the build was approximately 45% faster in real time. On machines
with less cores, or with lower -j settings, the speedup will not be as
impressive. But at least you can now almost max out a machine with
buildworld!
Submitted by: jilles
MFC after: 2 weeks
2014-03-26 22:30:38 +00:00
..
2014-02-20 22:22:39 +00:00
2014-02-16 19:44:07 +00:00
2013-04-12 17:57:40 +00:00
2014-02-16 19:44:07 +00:00
2013-04-12 17:57:40 +00:00
2014-02-16 19:44:07 +00:00
2014-02-16 19:44:07 +00:00
2013-04-12 17:57:40 +00:00
2013-04-12 17:57:40 +00:00
2013-02-02 22:28:29 +00:00
2013-04-12 17:57:40 +00:00
2014-02-16 19:44:07 +00:00
2013-02-02 22:28:29 +00:00
2013-04-12 17:57:40 +00:00
2014-02-16 19:44:07 +00:00
2013-04-12 17:57:40 +00:00
2014-02-16 19:44:07 +00:00
2014-02-16 19:44:07 +00:00
2013-04-12 17:57:40 +00:00
2013-09-20 01:52:02 +00:00
2014-02-18 19:58:01 +00:00
2013-09-20 01:52:02 +00:00
2014-02-18 19:58:01 +00:00
2014-02-18 19:58:01 +00:00
2013-11-12 17:25:33 +00:00
2013-09-20 01:52:02 +00:00
2014-02-18 19:58:01 +00:00
2013-09-20 01:52:02 +00:00
2013-09-20 01:52:02 +00:00
2013-09-20 01:52:02 +00:00
2013-09-20 01:52:02 +00:00
2013-09-20 01:52:02 +00:00
2013-09-20 01:52:02 +00:00
2013-09-20 01:52:02 +00:00
2013-09-20 01:52:02 +00:00
2013-09-20 01:52:02 +00:00
2013-09-20 01:52:02 +00:00
2013-09-20 01:52:02 +00:00
2013-09-20 01:52:02 +00:00
2013-11-12 17:25:33 +00:00
2013-12-03 21:29:45 +00:00
2013-09-20 01:52:02 +00:00
2013-11-12 17:25:33 +00:00
2013-12-03 19:23:54 +00:00
2013-11-12 17:25:33 +00:00
2013-09-20 01:52:02 +00:00
2013-09-20 01:52:02 +00:00
2013-09-20 01:52:02 +00:00
2013-09-20 01:52:02 +00:00
2013-09-20 01:52:02 +00:00
2014-02-18 19:58:01 +00:00
2013-11-12 17:25:33 +00:00
2014-02-16 19:44:07 +00:00
2013-04-12 17:57:40 +00:00
2013-04-12 17:57:40 +00:00
2014-02-16 19:44:07 +00:00
2013-04-12 17:57:40 +00:00
2013-02-02 22:28:29 +00:00
2013-02-02 22:28:29 +00:00
2013-02-02 22:28:29 +00:00
2014-02-16 19:44:07 +00:00
2013-04-12 17:57:40 +00:00
2013-04-12 17:57:40 +00:00
2014-02-16 19:44:07 +00:00
2014-02-16 19:44:07 +00:00
2014-02-16 19:44:07 +00:00
2014-02-16 19:44:07 +00:00
2013-02-02 22:28:29 +00:00
2014-02-16 19:44:07 +00:00
2013-02-02 22:28:29 +00:00
2013-04-12 17:57:40 +00:00
2012-12-03 19:24:08 +00:00
2013-04-12 17:57:40 +00:00
2014-02-16 19:44:07 +00:00
2013-06-12 18:48:53 +00:00
2014-02-16 19:44:07 +00:00
2013-04-12 17:57:40 +00:00
2013-04-12 17:57:40 +00:00
2013-02-02 22:28:29 +00:00
2013-02-02 22:28:29 +00:00
2014-02-16 19:44:07 +00:00
2014-02-16 19:44:07 +00:00
2013-04-12 17:57:40 +00:00
2013-02-02 22:28:29 +00:00
2013-02-02 22:28:29 +00:00
2013-04-12 17:57:40 +00:00
2014-02-16 19:44:07 +00:00
2014-02-16 19:44:07 +00:00
2013-12-16 18:45:21 +00:00
2014-02-16 19:44:07 +00:00
2014-02-16 19:44:07 +00:00
2013-02-02 22:28:29 +00:00
2013-02-02 22:28:29 +00:00
2013-02-02 22:28:29 +00:00
2014-02-16 19:44:07 +00:00
2013-02-02 22:28:29 +00:00
2014-02-20 22:22:39 +00:00
2014-02-20 22:22:39 +00:00
2014-02-20 22:22:39 +00:00
2014-02-20 22:22:39 +00:00
2014-02-20 22:22:39 +00:00
2014-02-20 22:22:39 +00:00
2014-02-16 19:44:07 +00:00
2013-04-12 17:57:40 +00:00
2013-04-12 17:57:40 +00:00
2014-02-16 19:44:07 +00:00
2014-02-16 19:44:07 +00:00
2013-04-12 17:57:40 +00:00
2013-06-12 18:48:53 +00:00
2014-02-16 19:44:07 +00:00
2013-09-20 01:52:02 +00:00
2013-02-02 22:28:29 +00:00
2013-02-02 22:28:29 +00:00
2013-02-02 22:28:29 +00:00
2014-03-23 12:49:25 +00:00
2012-08-23 17:08:07 +00:00
2013-09-20 01:52:02 +00:00
2014-03-26 22:30:38 +00:00