Here is the dmesg:
OpenBSD 4.1-stable (GENERIC) #0: Wed May  9 14:47:40 CEST 2007
    [EMAIL PROTECTED]:/var/log/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.20GHz ("GenuineIntel" 686-class) 3.21 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
real mem  = 1072197632 (1047068K)
avail mem = 970940416 (948184K)
using 4278 buffers containing 53735424 bytes (52476K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 08/29/05, BIOS32 rev. 0 @ 0xf9680,
SMBIOS rev. 2.2 @ 0xf0800 (39 entries)
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 3.0 @ 0xf0000/0xbde4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbca0/272 (15 entries)
pcibios0: PCI Exclusive IRQs: 5 9 10 11 12
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FB LPC" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc0000/0xa800! 0xcc000/0x8000! 0xef000/0x1000!
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915G/P/GV Host" rev 0x0e
vga1 at pci0 dev 2 function 0 "Intel 82915G/P/GV Video" rev 0x0e:
aperture at 0xd0500000, size 0x10000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04
pci1 at ppb0 bus 1
mskc0 at pci1 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x15, Yukon-2
EC rev. A3 (0x2): irq 5
msk0 at mskc0 port A, address 00:10:f3:0e:cb:0d
eephy0 at msk0 phy 0: Marvell 88E1111 Gigabit PHY, rev. 2
ppb1 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x04
pci2 at ppb1 bus 2
mskc1 at pci2 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x15, Yukon-2
EC rev. A3 (0x2): irq 10
msk1 at mskc1 port A, address 00:10:f3:0e:cb:0e
eephy1 at msk1 phy 0: Marvell 88E1111 Gigabit PHY, rev. 2
ppb2 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x04
pci3 at ppb2 bus 3
mskc2 at pci3 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x15, Yukon-2
EC rev. A3 (0x2): irq 12
msk2 at mskc2 port A, address 00:10:f3:0e:cb:0f
eephy2 at msk2 phy 0: Marvell 88E1111 Gigabit PHY, rev. 2
ppb3 at pci0 dev 28 function 3 "Intel 82801FB PCIE" rev 0x04
pci4 at ppb3 bus 4
mskc3 at pci4 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x15, Yukon-2
EC rev. A3 (0x2): irq 11
msk3 at mskc3 port A, address 00:10:f3:0e:cb:10
eephy3 at msk3 phy 0: Marvell 88E1111 Gigabit PHY, rev. 2
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: irq 12
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x04: irq 9
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 14 ports with 14 removable, self powered
ppb4 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xd4
pci5 at ppb4 bus 5
skc0 at pci5 dev 4 function 0 "Marvell Yukon 88E8001/8003/8010" rev
0x13, Yukon Lite (0x9): irq 5
sk0 at skc0 port A, address 00:10:f3:0e:cb:09
eephy4 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
skc1 at pci5 dev 5 function 0 "Marvell Yukon 88E8001/8003/8010" rev
0x13, Yukon Lite (0x9): irq 11
sk1 at skc1 port A, address 00:10:f3:0e:cb:0a
eephy5 at sk1 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
skc2 at pci5 dev 6 function 0 "Marvell Yukon 88E8001/8003/8010" rev
0x13, Yukon Lite (0x9): irq 12
sk2 at skc2 port A, address 00:10:f3:0e:cb:0b
eephy6 at sk2 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
skc3 at pci5 dev 7 function 0 "Marvell Yukon 88E8001/8003/8010" rev
0x13, Yukon Lite (0x9): irq 10
sk3 at skc3 port A, address 00:10:f3:0e:cb:0c
eephy7 at sk3 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x04: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <SILICONSYSTEMS INC 1GB>
wd0: 1-sector PIO, LBA, 999MB, 2046240 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801FB SATA" rev 0x04: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 11 for native-PCI interrupt
wd1 at pciide1 channel 0 drive 0: <WDC WD360ADFD-00NLR1>
wd1: 16-sector PIO, LBA48, 35304MB, 72303840 sectors
wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x04: irq 11
iic0 at ichiic0
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x290/8: IT87
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask fb45 netmask ff65 ttymask ffe7
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302





Marco Peereboom wrote:
> Possibly interrupt issues.  Where them dmesg'?
> 
> On Tue, May 15, 2007 at 07:04:47PM +0200, Renaud Allard wrote:
>> Hello,
>>
>> I just had the opportunity to test some Fluke network equipment, notably
>> one which is able to throughput test gigabit networks.
>>
>> I installed a Nexcom NSA1086 with OpenBSD 4.1-stable and did some tests.
>> The NSA1086 units are equipped with a Pentium IV 3.2Ghz (hyperthreading
>> disabled), and 1Gb ram. They have 4 sk gigabit interfaces, and 4 msk
>> gigabit interfaces. Here are the tests:
>>
>> **********
>> ifconfig sk0 up
>> ifconfig sk1 up
>> ifconfig bridge0 create
>> ifconfig bridge0 up
>> brconfig bridge0 add sk0
>> brconfig bridge0 add sk1
>> sysctl kern.maxclusters=256000
>>
>> Then I connected the fluke analyzers to both sk ports. connections were
>> correctly seen at 1000 base T full Duplex. then I started a throughput
>> test on 1Gbps, and I was extremely surprised to see how performance was
>> very poor. The throughput was only about 77Mbps.
>>
>> ***************
>>
>> Seeing that I decided to try on msk interfaces and got about the same
>> "performance".
>>
>> ***************
>>
>> Then I configured routing between two interfaces.
>> ifconfig sk2 inet 192.168.0.1 255.255.255.0
>> ifconfig sk3 inet 192.168.1.1 255.255.255.0
>> sysctl net.inet.ip.forwarding=1
>> sysctl kern.maxclusters=256000
>>
>> I did the throughput test, and got about 500Mbps both on sk and msk,
>> with the CPU keeping quiet.
>>
>> **************
>>
>> So the weak performance doesn't seem related to the bus, the CPU, or the
>> sk/msk drivers. Has someone an explanation on why I get this kind of
>> behavior?

Reply via email to