Newsgroup: it.comp.os.openbsd
Titolo: OpenBSD e SMP boot

Se ho un processore dual core, al boot di openbsd con kernel 
GENERIC.MP
 
dovrei aspettarmi il riconoscimento di una singola cpu o di piu` cpu?
Grazie a tutti
	Luca

Luca wrote:

Trovato l'esempio che mi serviva:
http://groups.google.it/group/lucky.openbsd.misc/browse_thread/thread/b1491006063ebaad/9516131958cf4165?lnk=st&q=%22dual+core+processor%22+openbsd&rnum=8&hl=it#9516131958cf4165
uniprocessor kernel from current:
OpenBSD 3.9-current (GENERIC) #2: Wed Apr 26 10:58:19 CDT 2006
     grie...@xena.ibd.nrc.ca:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 
2146758656
 (2096444K)
avail mem = 1835565056 (1792544K)
using 22937 buffers containing 214884352 bytes (209848K) of memory
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2004.80 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL­USH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW 
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully 
associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully 
associative
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "ATI RS480 Host" rev 0x01
ppb0 at pci0 dev 2 function 0 "ATI RX480 PCIE" rev 0x00
pci1 at ppb0 bus 1
[...]
mp kernel from current:
OpenBSD 3.9-current (
GENERIC.MP
) #0: Wed Apr 26 10:48:18 CDT 2006
     grie...@xena.ibd.nrc.ca:/usr/src/sys/arch/amd64/compile/
GENERIC.MP
real mem = 
2146758656
 (2096444K)
avail mem = 1835454464 (1792436K)
using 22937 buffers containing 214884352 bytes (209848K) of memory
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (TEMPLATE             )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2004.81 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL­USH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW 
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully 
associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully 
associative
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2004.55 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL­USH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW 
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully 
associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully 
associative
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type PCI
mpbios: bus 3 is type PCI
mpbios: bus 4 is type ISA
ioapic0 at mainbus0 apid 2 pa 0xfec00000, version 11, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "ATI RS480 Host" rev 0x01
ppb0 at pci0 dev 2 function 0 "ATI RX480 PCIE" rev 0x00
pci1 at ppb0 bus 1
[...]