Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2007 01:11:49 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Claus Guttesen <kometen@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: 8-core server
Message-ID:  <20070928081149.GA16874@eos.sc1.parodius.com>
In-Reply-To: <b41c75520709280103ied4e99dvfd33884185792a91@mail.gmail.com>
References:  <b41c75520709280103ied4e99dvfd33884185792a91@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070928081149.GA16874>