Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 2004 21:48:06 +0900
From:      Rob <spamrefuse@yahoo.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   5.3 & SMP How do I know my 2 CPUs are used?
Message-ID:  <4180EA86.6030001@yahoo.com>

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

Hello,

I have tried to create a kernel for my dual CPU motherboard:
  Intel Pentium III (801.82-MHz 686-class CPU)

But what is the command that proofs to me that
both CPUs are indeed recognized and in use.
Is it the dmesg output, or mptable command?

# mptable
[...cut...]
Processors: APIC ID Version State         Family Model Step   Flags
              1       0x11    BSP, usable   6      8      6   0x387fbff
              0       0x11    AP, usable    6      8      6   0x383fbff
[...cut...]


# cat /var/run/dmesg.boot
FreeBSD 5.3-STABLE #0: Thu Oct 28 07:59:10 KST 2004
     lahaye@master.snu.ac.kr:/usr/obj/usr/src/sys/MYKERNEL
MPTable: <OEM00000 PROD00000000>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (801.82-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
   Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,
FXSR,SSE>
real memory  = 1073729536 (1023 MB)
avail memory = 1045377024 (996 MB)
ioapic0: Assuming intbase of 0
ioapic0 <Version 1.1> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
[...cut...]


So? Am I there? Is my FreeBSD now running on two processors?


With the top command, I can't see anything special for my 2 CPUs.
Is that right?

Rob.




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