From owner-freebsd-stable@FreeBSD.ORG Fri Nov 26 04:24:18 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 786D216A4CE for ; Fri, 26 Nov 2004 04:24:18 +0000 (GMT) Received: from auk2.snu.ac.kr (auk2.snu.ac.kr [147.46.100.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7A5543D2D for ; Fri, 26 Nov 2004 04:24:17 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk2.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004112613:24:04:368812.21758.2895793072 for ; Fri, 26 Nov 2004 13:24:04 +0900 (KST) Message-ID: <41A6AFEE.8030001@yahoo.com> Date: Fri, 26 Nov 2004 13:24:14 +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> <41A698A5.6010601@yahoo.com> <20041126025251.GA94802@xor.obsecurity.org> In-Reply-To: <20041126025251.GA94802@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:2.39) (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 04:24:18 -0000 Kris Kennaway wrote: > On Fri, Nov 26, 2004 at 11:44:53AM +0900, Rob wrote: > >>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. > > > Of course, there are other factors that you don't consider that have a > huge impact on buildworld time, in particular disk performance. The formula then only applies to following disk configs (mainly UDMA33 and UDMA100): P-I (150): pcib0: pcibus 0 on motherboard pci0: on pcib0 atapci0: port 0x9000-0x900f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ad0: 2445MB [5300/15/63] at ata0-master WDMA2 P-II (333): pcib0: pcibus 0 on motherboard pci0: on pcib0 atapci0: port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ad0: 3079MB [6256/16/63] at ata0-master UDMA33 P-III (700): pcib0: pcibus 0 on motherboard pci0: on pcib0 atapci0: port 0xe000-0xe00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ad0: 6149MB [13328/15/63] at ata0-master UDMA33 P-III (2x800): pcib0: pcibus 0 on motherboard pci0: on pcib0 atapci0: port 0xb800-0xb80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 4.1 on pci0 ata0: channel #0 on atapci0 ad0: 43979MB [89355/16/63] at ata0-master UDMA33 P-IV (2000): pcib0: pcibus 0 on motherboard pci0: on pcib0 atapci0: port 0xa800-0xa80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ad0: 152627MB [310101/16/63] at ata0-master UDMA100 Regards, Rob.