On Wed, 29 Jun 2005 19:16:08 +0200
Frederic BRET <[EMAIL PROTECTED]> wrote:
> So the conclusion may be that the BSD hardwares are limited by the
> ability of their OS to manage interrupts properly...
> What do you think about this ?
I've put 750mpbs between 2 OpenBSD boxes using iperf. The cpu spent ~30% of it's
time in interrupts. This was using "-u" and "-b 750M".
With smaller, 80 bytes, packets they handled 140k pps and ~100mpbs with the cpu
spending ~50% of the time in interupts. It's a GENERIC kernel with ramdisk hooks
and dummy_nops.
These boxes just went into production so i'll probably write something
about them later when I've seen how they perform in the real world.
---
Lars Hansson
OpenBSD 3.7 (GENERIC.RD) #14: Sat Jun 18 17:39:01 PHT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.RD
cpu0: Intel(R) Pentium(R) 4 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,PNI,MWAIT,CNXT-ID
real mem = 536453120 (523880K)
avail mem = 462118912 (451288K)
using 4278 buffers containing 26927104 bytes (26296K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(1b) BIOS, date 12/08/04, BIOS32 rev. 0 @ 0xfb7f0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf64
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde90/192 (10 entries)
pcibios0: PCI Exclusive IRQs: 5 9 10 11 12
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371SB ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x8000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82875P Host" rev 0x02
ppb0 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xc2
pci1 at ppb0 bus 1
vga1 at pci1 dev 9 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em0 at pci1 dev 10 function 0 "Intel PRO/1000MT (82541EI)" rev 0x00: irq 11,
address: 00:30:48:74:5c:fa
em1 at pci1 dev 11 function 0 "Intel PRO/1000MT (82541EI)" rev 0x00: irq 10,
address: 00:30:48:74:5c:fb
ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <SAMSUNG CF/ATA>
wd0: 1-sector PIO, LBA, 124MB, 254976 sectors
wd0(pciide0:0:0): using PIO mode 4
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TEAC, CD-224E, 1.9A> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
"Intel 82801EB/ER SMBus" rev 0x02 at pci0 dev 31 function 3 not configured
isa0 at ichpcib0
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
lm0 at isa0 port 0x290/8: W83627HF
npx0 at isa0 port 0xf0/16: 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 f365 netmask ff65 ttymask ffe7
rd0: fixed, 40960 blocks
pctr: user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 80
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02