From owner-freebsd-hackers Thu Nov 11 15:59:53 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from luna.lyris.net (luna.shelby.com [207.90.155.6]) by hub.freebsd.org (Postfix) with ESMTP id CA97314F68 for ; Thu, 11 Nov 1999 15:59:51 -0800 (PST) (envelope-from kip@lyris.com) Received: from luna.shelby.com by luna.lyris.net (8.9.1b+Sun/SMI-SVR4) id PAA16235; Thu, 11 Nov 1999 15:59:18 -0800 (PST) Received: from (luna.shelby.com [207.90.155.6]) by luna.shelby.com with SMTP (MailShield v1.50); Thu, 11 Nov 1999 15:59:17 -0700 Date: Thu, 11 Nov 1999 15:59:17 -0800 (PST) From: Kip Macy X-Sender: kip@luna To: Ben Rosengart Cc: Assar Westerlund , hackers@freebsd.org Subject: Re: make -jN world; how to determine optimal value of N? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SMTP-HELO: luna X-SMTP-MAIL-FROM: kip@lyris.com X-SMTP-RCPT-TO: ben@skunk.org,assar@sics.se,hackers@freebsd.org X-SMTP-PEER-INFO: luna.shelby.com [207.90.155.6] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG That is the same specious logic that is used for Linux's "threads" you have diminishing marginal returns as the number gets larger due to context switching overhead. -Kip On Thu, 11 Nov 1999, Ben Rosengart wrote: > On 12 Nov 1999, Assar Westerlund wrote: > > > Other than that, I think the > > `make -j4' suggested for a single CPU in the handbook is a fairly good > > approximation. > > On what basis? I usually use larger values, like 12, on the theory that > I have more than enough memory, and if there's free CPU, there should > always be a process available to use it. > > -- > Ben Rosengart > > UNIX Systems Engineer, Skunk Group > StarMedia Network, Inc. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message