On 2.7.2012. 9:17, Massimo Pignoloni wrote:
> hi
> i have performance problem with an intel X520 DA2. I use this networ at 10Gb 
> to do the backup of some virtual Xen machine. The two Xen server using the 
> same network card and using iperf with them, the value is approximately 5-6 
> Gb/s. The performance between Xen and OpenBSD 5.1 are at most 1.5 Gb/s. I 
> have tried some changes to /etc/sysctl file and the  mtu size, but without 
> positive result. The OpenBSD server is an HP 380 GL.
> anybody can help me?
> thanks Massimo
> 

hello,

could you try current, there is mikeb's "performance" patch for ix
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_ix.c

is your ix card in pcie 2.0 x8 ?
http://ark.intel.com/products/39776/Intel-Ethernet-Server-Adapter-X520-DA2

if you update to current could you share results?


> OpenBSD 5.1 (GENERIC.MP) #188: Sun Feb 12 09:55:11 MST 2012
>      dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz ("GenuineIntel" 686-class) 2.34 GHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
> LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,
> SSSE3,CX16,xTPR,PDCM,DCA,LAHF
> real mem  = 3487444992 (3325MB)
> avail mem = 3420291072 (3261MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf0000, 
> SMBIOS
> rev. 2.4 @ 0xee000 (68 entries)
> bios0: vendor HP version "P58" date 08/03/2008
> bios0: HP ProLiant DL360 G5
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S4 S5
> acpi0: tables DSDT FACP SPCR MCFG HPET SPMI ERST APIC FFFF BERT HEST SSDT
> acpi0: wakeup devices PCI0(S5)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 333MHz
> cpu1 at mainbus0: apid 4 (application processor)
> cpu1: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz ("GenuineIntel" 686-class) 2.34 GHz
> cpu1: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
> LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,
> SSSE3,CX16,xTPR,PDCM,DCA,LAHF
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz ("GenuineIntel" 686-class) 2.34 GHz
> cpu2: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
> LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,
> SSSE3,CX16,xTPR,PDCM,DCA,LAHF
> cpu3 at mainbus0: apid 6 (application processor)
> cpu3: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz ("GenuineIntel" 686-class) 2.34 GHz
> cpu3: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
> LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,
> SSSE3,CX16,xTPR,PDCM,DCA,LAHF
> cpu4 at mainbus0: apid 1 (application processor)
> cpu4: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz ("GenuineIntel" 686-class) 2.34 GHz
> cpu4: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
> LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,
> SSSE3,CX16,xTPR,PDCM,DCA,LAHF
> cpu5 at mainbus0: apid 5 (application processor)
> cpu5: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz ("GenuineIntel" 686-class) 2.34 GHz
> cpu5: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
> LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,
> SSSE3,CX16,xTPR,PDCM,DCA,LAHF
> cpu6 at mainbus0: apid 3 (application processor)
> cpu6: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz ("GenuineIntel" 686-class) 2.34 GHz
> cpu6: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
> LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,
> SSSE3,CX16,xTPR,PDCM,DCA,LAHF
> cpu7 at mainbus0: apid 7 (application processor)
> cpu7: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz ("GenuineIntel" 686-class) 2.34 GHz
> cpu7: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
> LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,
> SSSE3,CX16,xTPR,PDCM,DCA,LAHF
> ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
> ioapic1 at mainbus0: apid 9 pa 0xfec80000, version 20, 24 pins
> acpiprt0 at acpi0: bus 1 (IP2P)
> acpiprt1 at acpi0: bus 11 (IPE1)
> acpiprt2 at acpi0: bus 10 (IPE4)
> acpiprt3 at acpi0: bus 16 (P2P2)
> acpiprt4 at acpi0: bus 9 (PT02)
> acpiprt5 at acpi0: bus 6 (PT03)
> acpiprt6 at acpi0: bus 19 (PT04)
> acpiprt7 at acpi0: bus 3 (NB01)
> acpiprt8 at acpi0: bus 5 (NB02)
> acpiprt9 at acpi0: bus 0 (PCI0)
> acpicpu0 at acpi0### AML PARSE ERROR (0xfff12023): Undefined name: CS03
> error evaluating: \\_PR_.CPU0._CST
> : C3
> acpicpu1 at acpi0### AML PARSE ERROR (0xfff12923): Undefined name: CS03
> error evaluating: \\_PR_.CPU1._CST
> : C3
> acpicpu2 at acpi0### AML PARSE ERROR (0xfff12323): Undefined name: CS03
> error evaluating: \\_PR_.CPU2._CST
> : C3
> acpicpu3 at acpi0### AML PARSE ERROR (0x1bf23): Undefined name: CS03
> error evaluating: \\_PR_.CPU3._CST
> : C3
> acpicpu4 at acpi0### AML PARSE ERROR (0x1bd23): Undefined name: CS03
> error evaluating: \\_PR_.CPU4._CST
> : C3
> acpicpu5 at acpi0### AML PARSE ERROR (0x1bb23): Undefined name: CS03
> error evaluating: \\_PR_.CPU5._CST
> : C3
> acpicpu6 at acpi0### AML PARSE ERROR (0x1b923): Undefined name: CS03
> error evaluating: \\_PR_.CPU6._CST
> : C3
> acpicpu7 at acpi0### AML PARSE ERROR (0x1b723): Undefined name: CS03
> error evaluating: \\_PR_.CPU7._CST
> : C3
> acpitz0 at acpi0: critical temperature is 31 degC
> bios0: ROM list: 0xc0000/0xb000 0xcc400/0x4000! 0xd0400/0x1800 0xe6000/0x2000!
> ipmi at mainbus0 not configured
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel 5000P Host" rev 0xb1
> ppb0 at pci0 dev 2 function 0 "Intel 5000 PCIE" rev 0xb1
> pci1 at ppb0 bus 9
> ppb1 at pci1 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01
> pci2 at ppb1 bus 10
> ppb2 at pci2 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01
> pci3 at ppb2 bus 11
> em0 at pci3 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: msi, 
> addres
> s 00:15:17:d6:d3:0e
> em1 at pci3 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: msi, 
> addres
> s 00:15:17:d6:d3:0f
> ppb3 at pci2 dev 1 function 0 "Intel 6321ESB PCIE" rev 0x01
> pci4 at ppb3 bus 14
> ppb4 at pci2 dev 2 function 0 "Intel 6321ESB PCIE" rev 0x01
> pci5 at ppb4 bus 15
> ppb5 at pci1 dev 0 function 3 "Intel 6321ESB PCIE-PCIX" rev 0x01
> pci6 at ppb5 bus 16
> ppb6 at pci0 dev 3 function 0 "Intel 5000 PCIE" rev 0xb1
> pci7 at ppb6 bus 6
> ciss0 at pci7 dev 0 function 0 "Hewlett-Packard Smart Array" rev 0x04: apic 8 
> in
> t 16
> ciss0: 1 LD, HW rev 4, FW 5.20/5.20, 64bit fifo
> scsibus0 at ciss0: 1 targets
> sd0 at scsibus0 targ 0 lun 0:<HP, LOGICAL VOLUME, 5.20>  SCSI3 0/direct fixed
> sd0: 1907675MB, 512 bytes/sector, 3906918832 sectors
> ppb7 at pci0 dev 4 function 0 "Intel 5000 PCIE x8" rev 0xb1
> pci8 at ppb7 bus 19
> ix0 at pci8 dev 0 function 0 "Intel 10GbE SFP+ (82599)" rev 0x01: msi, 
> address 9
> 0:e2:ba:04:f2:54
> ix1 at pci8 dev 0 function 1 "Intel 10GbE SFP+ (82599)" rev 0x01: msi, 
> address 9
> 0:e2:ba:04:f2:55
> ppb8 at pci0 dev 5 function 0 "Intel 5000 PCIE" rev 0xb1
> pci9 at ppb8 bus 22
> ppb9 at pci0 dev 6 function 0 "Intel 5000 PCIE" rev 0xb1
> pci10 at ppb9 bus 2
> ppb10 at pci10 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xc3
> pci11 at ppb10 bus 3
> bnx0 at pci11 dev 0 function 0 "Broadcom BCM5708" rev 0x12: apic 8 int 18
> ppb11 at pci0 dev 7 function 0 "Intel 5000 PCIE" rev 0xb1
> pci12 at ppb11 bus 4
> ppb12 at pci12 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xc3
> pci13 at ppb12 bus 5
> bnx1 at pci13 dev 0 function 0 "Broadcom BCM5708" rev 0x12: apic 8 int 19
> pchb1 at pci0 dev 16 function 0 "Intel 5000 Error Reporting" rev 0xb1
> pchb2 at pci0 dev 16 function 1 "Intel 5000 Error Reporting" rev 0xb1
> pchb3 at pci0 dev 16 function 2 "Intel 5000 Error Reporting" rev 0xb1
> pchb4 at pci0 dev 17 function 0 "Intel 5000 Reserved" rev 0xb1
> pchb5 at pci0 dev 19 function 0 "Intel 5000 Reserved" rev 0xb1
> pchb6 at pci0 dev 21 function 0 "Intel 5000 FBD" rev 0xb1
> pchb7 at pci0 dev 22 function 0 "Intel 5000 FBD" rev 0xb1
> uhci0 at pci0 dev 29 function 0 "Intel 6321ESB USB" rev 0x09: apic 8 int 16
> uhci1 at pci0 dev 29 function 1 "Intel 6321ESB USB" rev 0x09: apic 8 int 17
> uhci2 at pci0 dev 29 function 2 "Intel 6321ESB USB" rev 0x09: apic 8 int 18
> uhci3 at pci0 dev 29 function 3 "Intel 6321ESB USB" rev 0x09: apic 8 int 19
> ehci0 at pci0 dev 29 function 7 "Intel 6321ESB USB" rev 0x09: apic 8 int 16
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb13 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd9
> pci14 at ppb13 bus 1
> vga1 at pci14 dev 3 function 0 "ATI ES1000" rev 0x02
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> radeondrm0 at vga1: apic 8 int 23
> drm0 at radeondrm0
> "Compaq iLO" rev 0x03 at pci14 dev 4 function 0 not configured
> "Compaq iLO" rev 0x03 at pci14 dev 4 function 2 not configured
> uhci4 at pci14 dev 4 function 4 "Hewlett-Packard USB" rev 0x00: apic 8 int 22
> "Hewlett-Packard IPMI" rev 0x00 at pci14 dev 4 function 6 not configured
> usb1 at uhci4: USB revision 1.0
> uhub1 at usb1 "Hewlett-Packard UHCI root hub" rev 1.00/1.00 addr 1
> ichpcib0 at pci0 dev 31 function 0 "Intel 6321ESB LPC" rev 0x09: PM disabled
> pciide0 at pci0 dev 31 function 1 "Intel 6321ESB IDE" rev 0x09: DMA, channel 0
> configured to compatibility, channel 1 configured to compatibility
> .....ecc.........

Reply via email to