From owner-freebsd-questions Thu Apr 8 12:39:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 07DE5152AB for ; Thu, 8 Apr 1999 12:38:57 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id MAA02465; Thu, 8 Apr 1999 12:36:55 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Thu, 8 Apr 1999 12:36:54 -0700 (PDT) From: Doug White To: Gary Schrock Cc: freebsd-questions@FreeBSD.ORG Subject: Re: question about make -jn on single cpu In-Reply-To: <4.2.0.32.19990408131421.00a9b240@eyelab.msu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 8 Apr 1999, Gary Schrock wrote: > Is there any advantage to doing a build with make -jn on a single cpu > machine? I did some experimenting with the -current sources over the last > few days (the sources are a couple weeks old, before the egcs stuff), and > I'm finding that it's faster to do it without the -j option than with it: > > make -DNOAOUT buildworld: 58m > make -j2 -DNOAOUT buildworld: 1h 12m > make -j4 -DNOAOUT buildworld: 1h 8m > > Obviously from those results it definitely doesn't appear that there's an > advantage at all. It depends on your system. Obviously it doesn't help you, but on my PPro with an UltraWide 7200RPM SCSI drive it shaves off a bit of time. > This machine is a p2-350, 64M ram, 7200 rpm ide drive, dma not enabled > (I've had problems with dma, so I don't have it enabled right now). Your bottleneck is I/O; increasing -j increases the I/O load on the build, and your system can't take it. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message