Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2006 14:16:37 +1000 (EST)
From:      Rob Hurle <rob@coombs.anu.edu.au>
To:        freebsd-questions@freebsd.org
Cc:        Bob <bob@tania.servebbs.org>
Subject:   Re: top and multiple CPU's
Message-ID:  <20060714141115.D581@freebsd.connect-a.com.au>
In-Reply-To: <44B6D0B1.5030007@tania.servebbs.org>
References:  <20060713123214.GA30789@teddy.fas.com> <ef4898ff0607130538r602da3aegb4f8938dad424d8f@mail.gmail.com> <20060713201653.GA18143@teddy.fas.com> <54db43990607131503w6203cbb8t46e478a008895b52@mail.gmail.com> <44B6D0B1.5030007@tania.servebbs.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> Bob Johnson wrote:
> > I don't have a 6.1 SMP system
> > to test it on.
> >
>
> On a brand nwe 6,1 SMP system the first 2 lines of top -S
>
> PID USERNAME  THR PRI NICE  SIZE    RES STATE  C  TIME   WCPU    COMMAND
> 11 root        1 171   52     0K     8K RUN    1  36.8H 90.38% idle:cpu1
> 12 root        1 171   52     0K     8K RUN    0  36.1H 90.33% idle:cpu0

I also have a brand new 6.1 SMP system, but the first 2 lines of top
-S show something very different:

   11 root        1 171   52     0K     8K CPU1   0   0:00 99.17% idle: cpu1
   12 root        1 171   52     0K     8K RUN    0 288:46 98.14% idle: cpu0

Any ideas why cpu1 appears to be not doing anything?  dmesg says:

.....
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3206.31-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x649d<SSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,<b14>>
  AMD Features=0x20100000<NX,LM>
  Logical CPUs per core: 2
real memory  = 1072087040 (1022 MB)
avail memory = 1039990784 (991 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
....

Rob Hurle
	-----------------------------------------------------
	Rob Hurle		Faculty of Asian Studies, ANU
	Home address and contacts:	 Tel: +61 2 6247 2397
	  PO Box 4013			 Fax: +61 2 6247 2397
	  Ainslie		     Cell phone: 0417 293 603
	  Australia		e-mail: rob@coombs.anu.edu.au
	-----------------------------------------------------



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