To prevent lockup situations with full send queues when further interrupts fail to appear, the em(4) <http://www.openbsd.org/cgi-bin/man.cgi?query=em&manpath=OpenBSD%20Current&sektion=4&format=html> driver's start routine is triggered after the link status has been updated.
No longer attempt to enable MSI on 82571/82572 em(4) <http://www.openbsd.org/cgi-bin/man.cgi?query=em&manpath=OpenBSD%20Current&sektion=4&format=html> Gigabit ethernet controllers (to workaround "Byte Enables 2 and 3 Are Not Set" hardware bug). Source : http://www.openbsd.org/plus52.html Are those related ? Le 2012-08-29 17:08, Michel Blais a écrit : > Oups, sorry. It's OpenBSD 5.0, not 5.1. > > Le 2012-08-29 17:05, Michel Blais a écrit : >> I have both latency and paquet drop problem on 5.1 on card using >> em(4). Tryed both 82571EB and 82546GB. It was worst with 82546GB. >> >> Mailing list subject : >> WARNING: mclpools limit reached; increase kern.maxclusters and paquet >> lost >> net.inet.ip.ifq.maxlen was WARNING: mclpools limit reached; increase >> kern.maxclusters and paquet lost. >> >> I only writed about paquet lost since I think both are related. Maybe >> it's related. >> >> If I test from my lan or from my DMZ up to our ISPs (fiber link not >> overload) gateways (tryed both gateway), I see latency up to over 50 >> ms with most between 1 and 2 ms and sometime, paquets lost. Real time >> communication like VoIP are affected by this. >> >> Le 2012-08-29 10:59, Insan Praja SW a écrit : >>> Hi Misc@, >>> >>> I had to add that the corresponding em(4) are (on all machines); >>> >>> em4 at pci4 dev 5 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: >>> apic 5 int 17, address 00:15:17:49:04:0e >>> >>> em2 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: >>> msi, address 00:15:17:25:0a:9d >>> >>> em1 at pci1 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: >>> apic 5 int 16, address 00:15:17:86:52:94 >>> >>> >>> Thanks, >>> >>> Insan Praja >>> On Wed, 29 Aug 2012 16:35:38 +0700, Insan Praja SW >>> <insan.pr...@gmail.com> wrote: >>> >>>> Hi Misc@, >>>> >>>> Did anyone experience a high latency pings on em(4) interface post >>>> 5.0? We have several machines on i386 -current with em(4) >>>> experiencing high latency/RTT pings, and its really bothering our >>>> clients. Then we moved the traffic/vlan to sk(4) interface and >>>> pings goes to the expected behavior (compared to switch to switch >>>> ICMP pings). We applied altq bw management for ICMP, and we tried >>>> to remove the bandwidth management before switching to sk(4), but >>>> still no change on pings RTT. >>>> >>>> >>>> OpenBSD 5.2-current (GENERIC.MP) #4: Thu Aug 23 16:25:52 WIT 2012 >>>> r...@border-rf.xxxxx.net:/usr/src/sys/arch/i386/compile/GENERIC.MP >>>> RTC BIOS diagnostic error f<fixed_disk,invalid_time> >>>> cpu0: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" >>>> 686-class) 2.41 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF >>>> real mem = 2142711808 (2043MB) >>>> avail mem = 2096783360 (1999MB) >>>> mainbus0 at root >>>> bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ >>>> 0x7fbe4000 (43 entries) >>>> bios0: vendor Intel Corporation version >>>> "S3000.86B.02.00.0054.061120091710" date 06/11/2009 >>>> bios0: Intel S3000AH >>>> acpi0 at bios0: rev 2 >>>> acpi0: sleep states S0 S1 S4 S5 >>>> acpi0: tables DSDT SLIC FACP APIC WDDT HPET MCFG ASF! SSDT SSDT >>>> SSDT SSDT SSDT HEST BERT ERST EINJ >>>> acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S1) PEX4(S4) PEX5(S4) >>>> UHC1(S1) UHC2(S1) UHC3(S1) UHC4(S1) EHCI(S1) AC9M(S4) AZAL(S4) >>>> acpitimer0 at acpi0: 3579545 Hz, 24 bits >>>> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat >>>> cpu0 at mainbus0: apid 0 (boot processor) >>>> cpu0: apic clock running at 266MHz >>>> cpu1 at mainbus0: apid 2 (application processor) >>>> cpu1: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" >>>> 686-class) 2.41 GHz >>>> cpu1: >>>> 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF >>>> cpu2 at mainbus0: apid 1 (application processor) >>>> cpu2: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" >>>> 686-class) 2.41 GHz >>>> cpu2: >>>> 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF >>>> cpu3 at mainbus0: apid 3 (application processor) >>>> cpu3: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" >>>> 686-class) 2.41 GHz >>>> cpu3: >>>> 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF >>>> ioapic0 at mainbus0: apid 5 pa 0xfec00000, version 20, 24 pins >>>> ioapic0: misconfigured as apic 0, remapped to apid 5 >>>> acpihpet0 at acpi0: 14318179 Hz >>>> acpimcfg0 at acpi0 addr 0xf0000000, bus 0-127 >>>> acpiprt0 at acpi0: bus 0 (PCI0) >>>> acpiprt1 at acpi0: bus 4 (P32_) >>>> acpiprt2 at acpi0: bus 1 (PEX0) >>>> acpiprt3 at acpi0: bus -1 (PEX1) >>>> acpiprt4 at acpi0: bus -1 (PEX2) >>>> acpiprt5 at acpi0: bus -1 (PEX3) >>>> acpiprt6 at acpi0: bus 2 (PEX4) >>>> acpiprt7 at acpi0: bus 3 (PEX5) >>>> acpicpu0 at acpi0: PSS >>>> acpicpu1 at acpi0: PSS >>>> acpicpu2 at acpi0: PSS >>>> acpicpu3 at acpi0: PSS >>>> acpibtn0 at acpi0: SLPB >>>> bios0: ROM list: 0xc0000/0x9000 0xc9000/0x1000 0xca000/0x1800 >>>> 0xcb800/0x1000 >>>> cpu0: Enhanced SpeedStep 2401 MHz: speeds: 2394, 1596 MHz >>>> pci0 at mainbus0 bus 0: configuration mode 1 (no bios) >>>> pchb0 at pci0 dev 0 function 0 "Intel E7230 Host" rev 0x00 >>>> ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic >>>> 5 int 17 >>>> pci1 at ppb0 bus 1 >>>> ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 >>>> int 17 >>>> pci2 at ppb1 bus 2 >>>> em0 at pci2 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev >>>> 0x06: apic 5 int 16, address 00:15:17:86:52:fc >>>> em1 at pci2 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev >>>> 0x06: apic 5 int 17, address 00:15:17:86:52:fd >>>> ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 5 >>>> int 16 >>>> pci3 at ppb2 bus 3 >>>> em2 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: >>>> msi, address 00:15:17:49:04:0d >>>> "Intel 82573E Serial" rev 0x03 at pci3 dev 0 function 3 not configured >>>> "Intel 82573E KCS" rev 0x03 at pci3 dev 0 function 4 not configured >>>> uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic >>>> 5 int 23 >>>> uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic >>>> 5 int 19 >>>> uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic >>>> 5 int 18 >>>> uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic >>>> 5 int 16 >>>> ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic >>>> 5 int 23 >>>> ehci0: timed out waiting for BIOS >>>> usb0 at ehci0: USB revision 2.0 >>>> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 >>>> ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1 >>>> pci4 at ppb3 bus 4 >>>> skc0 at pci4 dev 0 function 0 "D-Link DGE-530T B1" rev 0x11, Yukon >>>> Lite (0x9): apic 5 int 21 >>>> sk0 at skc0 port A: address 00:1c:f0:11:6c:d4 >>>> eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 5 >>>> em3 at pci4 dev 1 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: >>>> apic 5 int 22, address 00:07:e9:0f:44:e3 >>>> vga1 at pci4 dev 4 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 5 int 18 >>>> drm0 at radeondrm0 >>>> em4 at pci4 dev 5 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: >>>> apic 5 int 17, address 00:15:17:49:04:0e >>>> ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM >>>> disabled >>>> pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: >>>> DMA, channel 0 configured to compatibility, channel 1 configured to >>>> compatibility >>>> atapiscsi0 at pciide0 channel 0 drive 1 >>>> scsibus0 at atapiscsi0: 2 targets >>>> cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-ROM GDR-H30N, 1.00> >>>> ATAPI 5/cdrom removable >>>> cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 >>>> pciide0: channel 1 disabled (no drives) >>>> pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: >>>> DMA, channel 0 configured to native-PCI, channel 1 configured to >>>> native-PCI >>>> pciide1: using apic 5 int 19 for native-PCI interrupt >>>> wd0 at pciide1 channel 0 drive 0: <ST3160211AS> >>>> wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors >>>> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6 >>>> ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: >>>> apic 5 int 19 >>>> iic0 at ichiic0 >>>> adt0 at iic0 addr 0x2e: sch5027 rev 0x69 >>>> spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM ECC PC2-5300CL5 >>>> spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM ECC PC2-5300CL5 >>>> usb1 at uhci0: USB revision 1.0 >>>> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >>>> usb2 at uhci1: USB revision 1.0 >>>> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >>>> usb3 at uhci2: USB revision 1.0 >>>> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >>>> usb4 at uhci3: USB revision 1.0 >>>> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >>>> isa0 at ichpcib0 >>>> isadma0 at isa0 >>>> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo >>>> 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 >>>> spkr0 at pcppi0 >>>> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 >>>> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 >>>> mtrr: Pentium Pro MTRR support >>>> vscsi0 at root >>>> scsibus1 at vscsi0: 256 targets >>>> softraid0 at root >>>> scsibus2 at softraid0: 256 targets >>>> root on wd0a swap on wd0b dump on wd0b >>>> ~ >>>> >>>> >>>> >>>> >>> >>> >> >> > > -- Michel Blais Administrateur réseau / Network administrator Targo Communications www.targo.ca 514-448-0773