J.D. Bronson wrote:
At 09:04 AM 05/12/2005, JR Dalrymple wrote:
You can solve the problem by going into the bios setup and disabling HT. Or you can suffer the performance loss. Your choice.
Joco Salvatti wrote:
Hi all, I have a Server box running OpenBSD 3.6, Intel 3.0 HT processor, I've compiled a kernel with SMP support, but where can I verify if it's really using SMP? Under GNU/Linux distros i run cat /proc/cpuinfo and it shows me two processors. Under OpenBSD I've mounted the kernel filesystem and I toke a look at ncpu but it still saying that there is only one processor. Can anyone tell me what's going wrong? And how can I solve it?
For now, thanks.
Is there absolutely no benefit to HTT at all?
Systems we run HTT with (Unix) seem to perform slightly better and building world has been noticeably faster.....
No matter what I set the BIOS to - I cannot get SMP/HTT to work in OpenBSD, but it does work with others....
I have the same exact proc, P4 3gghz HT. I never got it to work with HT so I leave it disabled and run it as though no HT. Here is my dmesg when I enable HT and run Generic.MP:
OpenBSD 3.7 (GENERIC.MP) #50: Sun Mar 20 00:17:19 MST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,S
SE2,SS,HTT,TM,SBF,CNXT-ID
real mem = 1609281536 (1571564K)
avail mem = 1461149696 (1426904K)
using 4278 buffers containing 80568320 bytes (78680K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 01/22/04, BIOS32 rev. 0 @ 0xf0010
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf3d30/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801EB/ER LPC" rev 0x00)
pcibios0: PCI bus #2 is the last bus
WARNING: can't reserve area for BIOS PROM.
bios0: ROM list: 0xc0000/0xf400 0xcf800/0x4600
mainbus0: Intel MP Specification (Version 1.4) ( Springdale-G)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199 MHz
mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82865G/PE/P CPU-I/0-1" rev 0x02
ppb0 at pci0 dev 1 function 0 "Intel 82865G/PE/P CPU-AGP" rev 0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Nvidia GeForce FX 5200" rev 0xa1
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 16 (irq 11)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 19 (irq 5)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 18 (irq 10)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 16 (irq 11)
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 23 (irq 9)
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: single transaction translator
uhub4: 8 ports with 8 removable, self powered
ppb1 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xc2
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Altima AC9100" rev 0x15, BCM5701 B5 (0x0105): apic 2 int 21 (irq 9) addre
ss 00:09:5b:61:90:30
brgphy0 at bge0 phy 1: BCM5701 10/100/1000baseT PHY, rev. 0
pciide0 at pci2 dev 1 function 0 "CMD Technology PCI0680" rev 0x02
pciide0: bus-master DMA support present
pciide0: channel 0 configured to native-PCI mode
pciide0: using apic 2 int 22 (irq 11) for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <Maxtor 6Y250P0>
wd0: 16-sector PIO, LBA48, 239372MB, 490234752 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 configured to native-PCI mode
wd1 at pciide0 channel 1 drive 0: <Maxtor 6Y250P0>
wd1: 16-sector PIO, LBA48, 239372MB, 490234752 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
cmpci0 at pci2 dev 2 function 0 "C-Media Electronics CMI8738/C3DX Audio" rev 0x10: apic 2 int 17 (irq 3)
audio0 at cmpci0
"Nvidia GeForce4 MX 4000" rev 0xc1 at pci2 dev 3 function 0 not configured
"Nvidia GeForce4 MX 4000" rev 0xc1 at pci2 dev 4 function 0 not configured
"AT&T/Lucent FW322 1394" rev 0x61 at pci2 dev 7 function 0 not configured
fxp0 at pci2 dev 8 function 0 "Intel PRO/100 VE" rev 0x01: apic 2 int 20 (irq 11), address 00:0c:f1:db:9
e:bc
inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02
pciide1 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02: DMA, channel 0 configured to compatib
ility, channel 1 configured to compatibility
atapiscsi0 at pciide1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SONY, DVD RW DW-U12A, 2.0c> SCSI0 5/cdrom removable
cd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi1 at pciide1 channel 1 drive 0
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: <SAMSUNG, CDRW/DVD SM-352B, T805> SCSI0 5/cdrom removable
atapiscsi2 at pciide1 channel 1 drive 1
scsibus2 at atapiscsi2: 2 targets
cd2 at scsibus2 targ 0 lun 0: <MATSHITA, DVD-ROM SR-8588, 7E36> SCSI0 5/cdrom removable
cd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2
cd2(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 2
pciide2 at pci0 dev 31 function 2 "Intel 82801EB SATA" rev 0x02: DMA, channel 0 configured to native-PCI
, channel 1 configured to native-PCI
pciide2: using apic 2 int 18 (irq 10) for native-PCI interrupt
wd2 at pciide2 channel 0 drive 0: <Maxtor 6Y120M0>
wd2: 16-sector PIO, LBA, 117246MB, 240121728 sectors
wd2(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 5
wd3 at pciide2 channel 1 drive 0: <Maxtor 6Y200M0>
wd3: 16-sector PIO, LBA48, 194481MB, 398297088 sectors
wd3(pciide2:1:0): using PIO mode 4, Ultra-DMA mode 5
"Intel 82801EB/ER SMBus" rev 0x02 at pci0 dev 31 function 3 not configured
auich0 at pci0 dev 31 function 5 "Intel 82801EB/ER AC97" rev 0x02: apic 2 int 17 (irq 3), ICH5 AC97
ac97: codec id 0x41445375 (Analog Devices AD1985)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio1 at auich0
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 0 netmask 0 ttymask 0
pctr: user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 82
dkcsum: wd1 matched BIOS disk 83
dkcsum: wd2 matched BIOS disk 80
dkcsum: wd3 matched BIOS disk 81
root on wd2a
rootdev=0x20 rrootdev=0x320 rawdev=0x322