From owner-freebsd-ppc@FreeBSD.ORG Sat Sep 20 18:24:06 2008 Return-Path: Delivered-To: ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 402D4106564A for ; Sat, 20 Sep 2008 18:24:06 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout021.mac.com (asmtpout021.mac.com [17.148.16.96]) by mx1.freebsd.org (Postfix) with ESMTP id 2E9838FC1C for ; Sat, 20 Sep 2008 18:24:06 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [192.168.1.95] (209-128-86-226.BAYAREA.NET [209.128.86.226]) by asmtp021.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K7I00A028BW5220@asmtp021.mac.com> for ppc@FreeBSD.org; Sat, 20 Sep 2008 10:23:57 -0700 (PDT) Message-id: <7E6A8CC7-2466-453C-AE0D-FB4699974126@mac.com> From: Marcel Moolenaar To: ppc@FreeBSD.org Date: Sat, 20 Sep 2008 10:23:56 -0700 X-Mailer: Apple Mail (2.929.2) Cc: Subject: [AIM] UP vs SMP comparison X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 18:24:06 -0000 All, Below the "make buildworld" times ran on an UP and a SMP kernel: UP SMP -j1 5:09 5:31 -j2 5:05 3:12 -j4 5:07 3:04 Conclusions: o It appears that CPU is the bottleneck for UP in my setup. o An SMP kernel is 7% slower than an UP kernel. o There's a 1.7x speed-up between -j1 and -j2 for SMP. machine: FreeBSD 8.0-CURRENT #16 r183030:183060M: Mon Sep 15 23:16:32 PDT 2008 marcel@xserve.xcllnt.net:/nfs/freebsd/patch/smp/sys/powerpc/ compile/XSERVE-MP WARNING: WITNESS option enabled, expect reduced performance. cpu0: Motorola PowerPC 7455 revision 2.1, 1000.00 MHz cpu0: HID0 8450c0bc real memory = 526016512 (501 MB) avail memory = 508674048 (485 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs configuration: /usr/src over NFS using gem(4) /usr/obj local (PCI based ATA controller) gem0: flags=8843 metric 0 mtu 1500 options=b ether 00:03:93:a8:cc:16 inet 172.16.4.106 netmask 0xffffff00 broadcast 172.16.4.255 media: Ethernet autoselect (1000baseT ) status: active atapci0: port 0x1090-0x1097,0x1080-0x1083,0x1070-0x1077,0x1060-0x1063,0x1050-0x105f mem 0x90030000-0x9003ffff irq 58 at device 21.0 on pci1 atapci1: port 0x1040-0x1047,0x1030-0x1033,0x1020-0x1027,0x1010-0x1013,0x1000-0x100f mem 0x90010000-0x9001ffff irq 63 at device 27.0 on pci1 -- Marcel Moolenaar xcllnt@mac.com