5.3 & SMP How do I know my 2 CPUs are used?

From: Rob <spamrefuse_at_yahoo.com>
Date: Thu, 28 Oct 2004 21:48:06 +0900
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_at_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.
Received on Thu Oct 28 2004 - 10:48:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:20 UTC