From owner-freebsd-smp Sun Nov 2 16:55:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA22456 for smp-outgoing; Sun, 2 Nov 1997 16:55:19 -0800 (PST) (envelope-from owner-freebsd-smp) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA22434 for ; Sun, 2 Nov 1997 16:55:12 -0800 (PST) (envelope-from wosch@cs.tu-berlin.de) Received: from panke.panke.de (anonymous213.ppp.cs.tu-berlin.de [130.149.17.213]) by mail.cs.tu-berlin.de (8.8.6/8.8.7) with ESMTP id BAA25664; Mon, 3 Nov 1997 01:50:13 +0100 (MET) Received: (from wosch@localhost) by panke.panke.de (8.8.5/8.6.12) id BAA01606; Mon, 3 Nov 1997 01:48:05 +0100 (MET) To: "Jordan K. Hubbard" Cc: Wolfram Schneider , smp@freebsd.org Subject: Re: Some SMP timing tests. References: <1232.878502052@time.cdrom.com> From: Wolfram Schneider Date: 03 Nov 1997 01:48:01 +0100 In-Reply-To: "Jordan K. Hubbard"'s message of Sun, 02 Nov 1997 12:20:52 -0800 Message-ID: Lines: 21 Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk "Jordan K. Hubbard" writes: > > 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. Well, run du /usr/src | xdu and compare the size of the subdir 'etc' and 'gnu' ;-/ You must balance the tree by hand. > 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, -- Wolfram Schneider http://www.apfel.de/~wosch/