Ja, du måsta ladda en kärna som är byggd med SMP-stöd. OpenBSD skeppar en separat SMP-kärna, bsd.mp, till i386 och amd64. Vill du bygga en själv använder du "/sys/arch/`uname -m`/conf/GENERIC.MP"-configen.
Ja, om du har två processer som körs på varsin CPU samtidigt, kommer det stå 2 där.
Däremot om du bara har en process, kommer det stå 1 oavsett SMP.
Undersök "/var/run/dmesg.boot" för att se om båda CPU:erna initierats. Ex:
[...]
cpu0: Intel(R) Xeon(TM) CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
real mem = 2147000320 (2096680K)
avail mem = 1953038336 (1907264K)
using 4278 buffers containing 107454464 bytes (104936K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 09/22/03, BIOS32 rev. 0 @ 0xf0010
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf3000/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801CA LPC" rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc0000/0x8000
mainbus0: Intel MP Specification (Version 1.4) (INTEL KingsCanyonC)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133 MHz
cpu1 at mainbus0: apid 6 (application processor)
cpu1: Intel(R) Xeon(TM) CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
[...]
Antar att du kör 3.6 eller 3.7, men i 3.8 får man lite extra information om vad CPU:erna gör med top:
load averages: 0.25, 0.48, 0.48 14:59:26
229 processes: 1 running, 227 idle, 1 on processor
CPU0 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU1 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
Memory: Real: 443M/724M act/tot Free: 1290M Swap: 0K/4095M used/tot
[...]
SMP i FAQ:n
Edit: Vad seg jag är, m0REc hann före.