From owner-freebsd-smp Sun Nov 2 12:20:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA10465 for smp-outgoing; Sun, 2 Nov 1997 12:20:59 -0800 (PST) (envelope-from owner-freebsd-smp) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA10455 for ; Sun, 2 Nov 1997 12:20:55 -0800 (PST) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.7/8.6.9) with ESMTP id MAA01236; Sun, 2 Nov 1997 12:20:53 -0800 (PST) To: Wolfram Schneider cc: smp@freebsd.org Subject: Re: Some SMP timing tests. In-reply-to: Your message of "02 Nov 1997 18:21:48 +0100." Date: Sun, 02 Nov 1997 12:20:52 -0800 Message-ID: <1232.878502052@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > The bottleneck is the SUBDIR target which is not parallelized. > > Try the patch and run `make -j -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