From owner-freebsd-hackers Thu Nov 11 15: 1:16 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from foo.sics.se (foo.sics.se [193.10.66.234]) by hub.freebsd.org (Postfix) with ESMTP id 62BD714E4A for ; Thu, 11 Nov 1999 15:01:12 -0800 (PST) (envelope-from assar@foo.sics.se) Received: (from assar@localhost) by foo.sics.se (8.9.3/8.9.3) id AAA00564; Fri, 12 Nov 1999 00:01:19 +0100 (CET) (envelope-from assar) To: Ben Rosengart Cc: hackers@FreeBSD.ORG Subject: Re: make -jN world; how to determine optimal value of N? References: From: Assar Westerlund Date: 12 Nov 1999 00:01:18 +0100 In-Reply-To: Ben Rosengart's message of "Thu, 11 Nov 1999 17:59:29 -0500 (EST)" Message-ID: <5lzowk7hvl.fsf@foo.sics.se> Lines: 13 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ben Rosengart writes: > D'oh -- I *meant* to add "besides trying different values and measuring" > -- if I had that much time on my hands, I wouldn't be worrying about how > long a make world takes. :-) I think trying to come up with a formula for calculating the optimal value based on the amount of RAM, type of CPU, speed of CPU, version of BSD, number, speeds, layout(s), previsous contents of *... etc is really much harder than to measure it. Other than that, I think the `make -j4' suggested for a single CPU in the handbook is a fairly good approximation. /assar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message