top and multiple CPU's

Rob Hurle rob at coombs.anu.edu.au
Fri Jul 14 04:16:55 UTC 2006


> 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 at coombs.anu.edu.au
	-----------------------------------------------------


More information about the freebsd-questions mailing list