Le Tue, 1 Oct 2013 08:37:09 +0000 (UTC),
Stuart Henderson <[email protected]> a écrit :

Hello,

> On 2013-10-01, Patrick Lamaiziere <[email protected]> wrote:
> > Hello,
> >
> > With OpenBSD 5.3, our firewall does not handle our network load
> > well. We loose around 5% of packets and netstat shows a lot of Ierr.
> >
> > That worked much better with 5.1. There was a change to not enable
> > MSI on 82572 chipset on our Intel card ( "Intel PRO/1000 QP
> > (82571EB)" rev 0x06) in 5.2 : 
> > http://freshbsd.org/commit/openbsd/a47ca448720823019bc6c618bf178a47fd1af73a
> >
> > My question is: could it be the cause of our load problem ?
> >
> > 5.1:
> > em0 at pci5 dev 0 function 0 "Intel PRO/1000 QP (82571EB)" rev
> > 0x06: msi, address 00:15:17:ed:98:9d em1 at pci5 dev 0 function 1
> > "Intel PRO/1000 QP (82571EB)" rev 0x06: msi, address
> > 00:15:17:ed:98:9c em2 at pci6 dev 0 function 0 "Intel PRO/1000 QP
> > (82571EB)" rev 0x06: msi, address 00:15:17:ed:98:9f em3 at pci6 dev
> > 0 function 1 "Intel PRO/1000 QP (82571EB)" rev 0x06: msi, address
> > 00:15:17:ed:98:9e
> >
> > 5.3 (on another box with the same hardware):
> > em0 at pci5 dev 0 function 0 "Intel PRO/1000 QP (82571EB)" rev
> > 0x06: apic 1 int 13, address 00:15:17:ed:98:65 em1 at pci5 dev 0
> > function 1 "Intel PRO/1000 QP (82571EB)" rev 0x06: apic 1 int 6,
> > address 00:15:17:ed:98:64 em2 at pci6 dev 0 function 0 "Intel
> > PRO/1000 QP (82571EB)" rev 0x06: apic 1 int 15, address
> > 00:15:17:ed:98:67 em3 at pci6 dev 0 function 1 "Intel PRO/1000 QP
> > (82571EB)" rev 0x06: apic 1 int 13, address 00:15:17:ed:98:66
> >
> > We don't have any problem with this card, how can we re-enable MSI
> > (without reverting this change)?
> 
> Simplest way to test is to just revert that change in your source
> tree.. That will identify whether this issue is due to disabling MSI,
> or whether it's due to one of the many other changes between 5.1 and
> 5.3..

Sure... Well sorry for the delay I was able to test with MSI enabled
only the last week. 

On OpenBSD 5.3 With MSI enabled we don't lose too many packets and the
firewall perform like they did on OpenBSD 5.1.

Is it possible to re-enable MSI on this type of network card? Our
firewall don't handle the load at all without MSI.

pcidump -v of the card:

 6:0:0: Intel PRO/1000 QP (82571EB)
        0x0000: Vendor ID: 8086 Product ID: 10a5
        0x0004: Command: 0007 Status ID: 0010
        0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 06
        0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line
 Size: 10 0x0010: BAR mem 32bit addr: 0xd6280000/0x00020000
        0x0014: BAR mem 32bit addr: 0xd62a0000/0x00020000
        0x0018: BAR io addr: 0x0000ecc0/0x0020
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 8086 Product ID: 10a5
        0x0030: Expansion ROM Base Address: d6200000
        0x0038: 00000000
        0x003c: Interrupt Pin: 02 Line: 0e Min Gnt: 00 Max Lat: 00
        0x00c8: Capability 0x01: Power Management
        0x00d0: Capability 0x05: Message Signaled Interrupts (MSI)
        0x00e0: Capability 0x10: PCI Express
                Link Speed: 2.5 / 2.5 GT/s Link Width: x4 / x4
 6:0:1: Intel PRO/1000 QP (82571EB)
        0x0000: Vendor ID: 8086 Product ID: 10a5
        0x0004: Command: 0007 Status ID: 0010
        0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 06
        0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line
 Size: 10 0x0010: BAR mem 32bit addr: 0xd62c0000/0x00020000
        0x0014: BAR mem 32bit addr: 0xd62e0000/0x00020000
        0x0018: BAR io addr: 0x0000ece0/0x0020
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 8086 Product ID: 10a5
        0x0030: Expansion ROM Base Address: d6200000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0f Min Gnt: 00 Max Lat: 00
        0x00c8: Capability 0x01: Power Management
        0x00d0: Capability 0x05: Message Signaled Interrupts (MSI)
        0x00e0: Capability 0x10: PCI Express
                Link Speed: 2.5 / 2.5 GT/s Link Width: x4 / x4
 7:0:0: Intel PRO/1000 QP (82571EB)
        0x0000: Vendor ID: 8086 Product ID: 10a5
        0x0004: Command: 0007 Status ID: 0010
        0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 06
        0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line
 Size: 10 0x0010: BAR mem 32bit addr: 0xd6180000/0x00020000
        0x0014: BAR mem 32bit addr: 0xd61a0000/0x00020000
        0x0018: BAR io addr: 0x0000dcc0/0x0020
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 8086 Product ID: 10a5
        0x0030: Expansion ROM Base Address: d6100000
        0x0038: 00000000
        0x003c: Interrupt Pin: 02 Line: 0b Min Gnt: 00 Max Lat: 00
        0x00c8: Capability 0x01: Power Management
        0x00d0: Capability 0x05: Message Signaled Interrupts (MSI)
        0x00e0: Capability 0x10: PCI Express
                Link Speed: 2.5 / 2.5 GT/s Link Width: x4 / x4
 7:0:1: Intel PRO/1000 QP (82571EB)
        0x0000: Vendor ID: 8086 Product ID: 10a5
        0x0004: Command: 0007 Status ID: 0010
        0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 06
        0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line
 Size: 10 0x0010: BAR mem 32bit addr: 0xd61c0000/0x00020000
        0x0014: BAR mem 32bit addr: 0xd61e0000/0x00020000
        0x0018: BAR io addr: 0x0000dce0/0x0020
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 8086 Product ID: 10a5
        0x0030: Expansion ROM Base Address: d6100000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0e Min Gnt: 00 Max Lat: 00
        0x00c8: Capability 0x01: Power Management
        0x00d0: Capability 0x05: Message Signaled Interrupts (MSI)
        0x00e0: Capability 0x10: PCI Express
                Link Speed: 2.5 / 2.5 GT/s Link Width: x4 / x4


Thanks, regards

Reply via email to