From owner-freebsd-stable@FreeBSD.ORG Sun Nov 28 01:49:41 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 00EFA16A4CE for ; Sun, 28 Nov 2004 01:49:41 +0000 (GMT) Received: from mail1.webmaster.com (mail1.webmaster.com [216.152.64.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id D195843D54 for ; Sun, 28 Nov 2004 01:49:40 +0000 (GMT) (envelope-from davids@webmaster.com) Received: from however by webmaster.com (MDaemon.PRO.v7.1.0.R) with ESMTP id md50000299986.msg for ; Sat, 27 Nov 2004 17:25:43 -0800 From: "David Schwartz" To: Date: Sat, 27 Nov 2004 17:49:22 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: <41A91E7E.8050409@yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Authenticated-Sender: joelkatz@webmaster.com X-Spam-Processed: mail1.webmaster.com, Sat, 27 Nov 2004 17:25:43 -0800 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 206.171.168.138 X-Return-Path: davids@webmaster.com X-MDaemon-Deliver-To: freebsd-stable@freebsd.org X-MDAV-Processed: mail1.webmaster.com, Sat, 27 Nov 2004 17:25:45 -0800 Subject: RE: make -j$n buildworld : use of -j investigated X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: davids@webmaster.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Nov 2004 01:49:41 -0000 > According to my formula: > > time(minutes) = 1e5 / ( speed(MHz) * nproc ) > > and taking nproc = 1, this results in > > time = 1e5 / 2798.66 = 36 minutes > > Quite accurate for your system as well. At least this formula gives a > resonable estimate about the compile time. > > Apparently HT does not help much, since with SMP kernel, times do not > get any close to 36/2 = 18 minutes. However, there is a slight improvement > from -j1 to -j2 with SMP. You're saying that HT does not help because it doesn't double the speed? That makes no sense. HT helps if it brings the time down. If it brings it down to 34 minutes, it helps a little. If it brings it down to 24 minutes, it helps quite a bit. It's unrealistic to even imagine that HT will bring anything close to the benefit of a second physical CPU. DS