From owner-freebsd-stable@FreeBSD.ORG Fri Nov 26 02:44:56 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEB2B16A4CE for ; Fri, 26 Nov 2004 02:44:56 +0000 (GMT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 697A143D5C for ; Fri, 26 Nov 2004 02:44:56 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004112611:44:44:911181.29903.2412149680 for ; Fri, 26 Nov 2004 11:44:44 +0900 (KST) Message-ID: <41A698A5.6010601@yahoo.com> Date: Fri, 26 Nov 2004 11:44:53 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <3282.1101377849@thrush.ravenbrook.com> In-Reply-To: <3282.1101377849@thrush.ravenbrook.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:1.15) (by Terrace) Subject: Re: make -j$n buildworld : use of -j investigated X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2004 02:44:56 -0000 Nick Barnes wrote: > On Thu, 25 Nov 2004 16:19:02 +0900, Rob wrote: > > >>> time(minutes) * speed(MHz) * nproc / 1000 MHz > > > Looking at your examples, it seems you divide by 1e5, not by 1000. Sorry, yes you're right. > In other words, buildworld is CPU bound and takes about 6e12 clock > cycles. Use -j. My main point is: when using "-j", I am able to predict how long the buildworld takes on a range of 'mainstream' systems like the ones I have (pentium-II to pentium-IV and dual-pentium-III): time(minutes) = 1e5 / ( speed(MHz) * nproc ) P-II 333 MHz : 300 min. P-III 700 MHz : 142 min. P-III 2x800 MHz : 62 min. P-IV 2000 MHz : 50 min. Within a few minutes, all these times are correct. I still have to test my P-I/150 MHz also running 5.3, and verify that buildworld will take approx. 670 min. Rob.