Testing SMP and network

MichaƂ Koc <[email protected]> Mon, 5 Jul 2004 15:45:08 +0200
Newsgroups gmane.os.openbsd.smp
Message-ID <[email protected]>
The newest snapshot found on undeadly.org makes ping work better, but wit=
h
veeeeeery long times.



I can login with ssh, but everything is soooo slooooow :-)



I can't get hyper-threading to be detected.



Best regards

MK



Dmesg follows:



OpenBSD 3.5-current (GENERIC.MP) #54: Sun Jul  4 17:03:05 MDT 2004

    [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP

cpu0: Intel(R) Xeon(TM) CPU 2.66GHz ("GenuineIntel" 686-class) 2.66 GHz

cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C=
FLU
SH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID

real mem  =3D 3220738048 (3145252K)

avail mem =3D 2979725312 (2909888K)

using 4278 buffers containing 161140736 bytes (157364K) of memory

mainbus0 (root)

bios0 at mainbus0: AT/286+(00) BIOS, date 09/02/03, BIOS32 rev. 0 @ 0xfdb=
34

pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000

pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf3590/320 (18 entries)

pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x2480

pcibios0: Warning, unable to fix up PCI interrupt routing

pcibios0: PCI bus #4 is the last bus

bios0: ROM list: 0xc0000/0x8000 0xc8000/0x4000 0xcc000/0x1800 0xcd800/0x1=
800
0xcf000/0x8000

mainbus0: Intel MP Specification (Version 1.4) (INTEL    S7501HG0    )

cpu0 at mainbus0: apid 0 (boot processor)

cpu0: apic clock running at 132 MHz

cpu1 at mainbus0: apid 6 (application processor)

cpu1: Intel Pentium 4 ("GenuineIntel" 686-class) 2.66 GHz

cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C=
FLU
SH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF

mainbus0: bus 0 is type PCI

mainbus0: bus 1 is type PCI

mainbus0: bus 2 is type PCI

mainbus0: bus 3 is type PCI

mainbus0: bus 4 is type PCI

mainbus0: bus 5 is type ISA

ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins

ioapic1 at mainbus0: apid 9 pa 0xfec81000, version 20, 24 pins

ioapic2 at mainbus0: apid 10 pa 0xfec81400, version 20, 24 pins

pci0 at mainbus0 bus 0: configuration mode 1 (no bios)

pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x254c rev
0x01

"Intel E7500 DRAM" rev 0x01 at pci0 dev 0 function 1 not configured

ppb0 at pci0 dev 3 function 0 "Intel E7500 MCH HI_C vppb 1" rev 0x01

pci1 at ppb0 bus 1

"Intel P64H2 IOxAPIC" rev 0x04 at pci1 dev 28 function 0 not configured

ppb1 at pci1 dev 29 function 0 "Intel 82870P2 P64H2 PCI-PCI" rev 0x04

pci2 at ppb1 bus 2

em0 at pci2 dev 5 function 0 "Intel PRO/1000MT Dual Port (82546EB)" rev
0x01: apic 8 int 11 (irq 11), address: 00:07:e9:3f:df:18

em1 at pci2 dev 5 function 1 "Intel PRO/1000MT Dual Port (82546EB)" rev
0x01: apic 8 int 11 (irq 11), address: 00:07:e9:3f:df:19

"Intel P64H2 IOxAPIC" rev 0x04 at pci1 dev 30 function 0 not configured

ppb2 at pci1 dev 31 function 0 "Intel 82870P2 P64H2 PCI-PCI" rev 0x04

pci3 at ppb2 bus 3

"Adaptec ASR-2200S" rev 0x01 at pci3 dev 2 function 0 not configured

"Intel E7500 MCH HI_C vppb 2" rev 0x01 at pci0 dev 3 function 1 not
configured

uhci0 at pci0 dev 29 function 0 "Intel 82801CA/CAM USB" rev 0x02: apic 8 =
int
16 (irq 9)

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 82801CA/CAM USB" rev 0x02: apic 8 =
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 82801CA/CAM USB" rev 0x02: apic 8 =
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

ppb3 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x42

pci4 at ppb3 bus 4

xl0 at pci4 dev 9 function 0 "3Com 3c905 100Base-TX" rev 0x00: apic 8 int=
 11
(irq 11), address 00:60:08:a5:6c:97

nsphy0 at xl0 phy 24: DP83840 10/100 media interface, rev. 1

trm0 at pci4 dev 10 function 0 "Tekram DC-3x5U" rev 0x01: apic 8 int 9 (i=
rq
9)

scsibus0 at trm0: 16 targets

trm0: target 5 using 16 bit 10.0 MHz, Offset 15 data transfers

st0 at scsibus0 targ 5 lun 0: <BNCHMARK, DLT1, 5032> SCSI2 1/sequential
removable

st0: density code 0x40, variable blocks, write-enabled

vga1 at pci4 dev 12 function 0 "ATI Rage XL" rev 0x27

wsdisplay0 at vga1: console (80x25, vt100 emulation)

wsdisplay0: screen 1-5 added (80x25, vt100 emulation)

ichpcib0 at pci0 dev 31 function 0 "Intel 82801CA LPC" rev 0x02

pciide0 at pci0 dev 31 function 1 "Intel 82801CA IDE" rev 0x02: DMA, chan=
nel
0 configured to compatibility, channel 1 configured to compatibility

atapiscsi0 at pciide0 channel 0 drive 0

scsibus1 at atapiscsi0: 2 targets

cd0 at scsibus1 targ 0 lun 0: <SAMSUNG, CD-ROM SC-152A, CA06> SCSI0 5/cdr=
om
removable

cd0(pciide0:0:0): using PIO mode 4, DMA mode 2

wd0 at pciide0 channel 1 drive 0: <SAMSUNG SV0432D>

wd0: 16-sector PIO, LBA, 4112MB, 8421840 sectors

wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2

"Intel 82801CA/CAM SMBus" rev 0x02 at pci0 dev 31 function 3 not configur=
ed

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: console keyboard, using wsdisplay0

pms0 at pckbc0 (aux slot)

pckbc0: using irq 12 for aux slot

wsmouse0 at pms0 mux 0

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

pccom1 at isa0 port 0x2f8/8 irq 3: 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 80

root on wd0a

rootdev=3D0x0 rrootdev=3D0x300 rawdev=3D0x302

xl0: watchdog timeout

xl0: watchdog timeout

xl0: watchdog timeout

xl0: watchdog timeout

xl0: watchdog timeout

and so on...









  _____

From: Micha=B3 Koc [mailto:[email protected]]
Sent: Monday, July 05, 2004 3:00 PM
To: '[email protected]'
Subject: Testing SMP end network



Hi,

I try to run SMP kernel on Intel Server Board SE7501WV2

And double Xeon 2.6 GHz processors. The system Works fine,

But I Cannot get em network controllers running.



It looks that nic is delaying everthig, and finally sending everything at
once.

Ping looks like this:

PING 212.160.130.197 (212.160.130.197) 56(84) bytes of data.

64 bytes from 212.160.130.197: icmp_seq=3D126 ttl=3D244 time=3D6207 ms

64 bytes from 212.160.130.197: icmp_seq=3D127 ttl=3D244 time=3D5207 ms

64 bytes from 212.160.130.197: icmp_seq=3D128 ttl=3D244 time=3D4208 ms

64 bytes from 212.160.130.197: icmp_seq=3D129 ttl=3D244 time=3D3208 ms

64 bytes from 212.160.130.197: icmp_seq=3D130 ttl=3D244 time=3D2208 ms

64 bytes from 212.160.130.197: icmp_seq=3D131 ttl=3D244 time=3D1208 ms



--- 212.160.130.197 ping statistics ---

135 packets transmitted, 6 received, 95% packet loss, time 134042ms

rtt min/avg/max/mdev =3D 1208.207/3708.060/6207.918/1707.719 ms, pipe 7





and then dies.





I've updated all sources from cvs



Best regards

MK