Date: Sun, 02 Nov 1997 12:20:52 -0800 From: "Jordan K. Hubbard" <jkh@time.cdrom.com> To: Wolfram Schneider <wosch@cs.tu-berlin.de> Cc: smp@freebsd.org Subject: Re: Some SMP timing tests. Message-ID: <1232.878502052@time.cdrom.com> In-Reply-To: Your message of "02 Nov 1997 18:21:48 %2B0100." <p1ipvojjjo3.fsf@panke.panke.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> The bottleneck is the SUBDIR target which is not parallelized. > > Try the patch and run `make -j<n> -I share/mk all' in /usr/src. > The patch split the SUBDIR variable into 4 variables SUBDIR1, > ... SUBDIR4 and runs 4 subdir targets simultaneously. Oh *igitt*! There has to be a better way than this, I think. What about having bsd.subdir.mk take an arbitrary ${SUBDIR} and just divide it up internally? Having to manually break your subdir list up in to 4 categories really loses as a general mechanism, though I will indeed try your patch temporarily just to see what effects it has on build time. :) Thanks. Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1232.878502052>