SMP on FreeBSD 4.9

Jason Williams jwilliams at courtesymortgage.com
Fri Mar 26 09:49:49 PST 2004


Good morning everyone.

I has a couple of quick questions regarding taking advantage of dual 
processors on a server that I have for our company. Now, i've never setup a 
FreeBSD box on a system that has 2 CPU's so this is my first shot at it.

Following the handbook, I recompiled my kernel with support for SMP. After 
a quick reboot, I took a look at dmesg and here is what I see:

CPU: Intel Pentium III (996.85-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
   Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 2147401728 (2097072K bytes)
avail memory = 2086166528 (2037272K bytes)
APIC_IO: MP table broken: 8259->APIC entry missing!
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
  cpu0 (BSP): apic id:  3, version: 0x00040011, at 0xfee00000
  cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
  io0 (APIC): apic id: 14, version: 0x000f0011, at 0xfec00000
  io1 (APIC): apic id: 13, version: 0x000f0011, at 0xfec01000
Preloaded elf kernel "kernel" at 0xc0551000.
Pentium Pro MTRR support enabled

It looks like it is working for 2 CPU's, but what is that entry where the 
line starts with APIC_IO...?

Also, how can I do some testing to ensure both CPU's are being utilized.

I appreciate the help.

Jason



More information about the freebsd-questions mailing list