From owner-freebsd-current@FreeBSD.ORG Fri Sep 28 08:11:49 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7172D16A41A for ; Fri, 28 Sep 2007 08:11:49 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 662D013C447 for ; Fri, 28 Sep 2007 08:11:49 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 412A11CC02B; Fri, 28 Sep 2007 01:11:49 -0700 (PDT) Date: Fri, 28 Sep 2007 01:11:49 -0700 From: Jeremy Chadwick To: Claus Guttesen Message-ID: <20070928081149.GA16874@eos.sc1.parodius.com> Mail-Followup-To: Claus Guttesen , freebsd-current@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-current@freebsd.org Subject: Re: 8-core server X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2007 08:11:49 -0000 On Fri, Sep 28, 2007 at 10:03:15AM +0200, Claus Guttesen wrote: > Upgraded our 4-core to an 8-core. > > Part of dmesg: > > FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 2 > cpu3 (AP): APIC ID: 3 > cpu4 (AP): APIC ID: 4 > cpu5 (AP): APIC ID: 5 > cpu6 (AP): APIC ID: 6 > cpu7 (AP): APIC ID: 7 > > But then it says: > > SMP: AP CPU #1 Launched! > SMP: AP CPU #2 Launched! > SMP: AP CPU #3 Launched! > SMP: AP CPU #4 Launched! > SMP: AP CPU #7 Launched! > SMP: AP CPU #5 Launched! > SMP: AP CPU #6 Launched! > > Are some of the cores disabled or did they just take a walk? :-) This > is on current from Mon Sep 24 2007. So what's the problem? I see 7 additional processors launched ("SMP: AP CPU #[1-7] Launched!"), while CPU #0 is the base processor, so it never shows that message. That makes 8. Example from my dual-core system at home: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 SMP: AP CPU #1 Launched! -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |