On Tue, Jan 21, 2014 at 5:32 AM, Patrick Lamaiziere
<patf...@davenulle.org>wrote:

> Le Mon, 20 Jan 2014 18:59:02 -0200,
> Eduardo Meyer <dudu.me...@gmail.com> a écrit :
>
> > hello,
> >
> > I am doing some basic testings on the above mentioned scenario and I
> > am stuck on some limits which I consider to be very low: I cannot get
> > more than 27Kpps and 200Mbit/s routing performance without starting
> > to loose packets.
> > ...
> > All 6 network cards are Intel 82571EB which support MSI-X and should,
> > in theory support IRQ balance.
>
> MSI are disabled on this chipset since OpenBSD 5.2...
> You can try to renabled MSI in em(4), here this helps a lot (on amd64).
>
> Check the thread "(5.3) load problem on em(4) MSI / interrupt ?" on
> misc@
>
> https://www.mail-archive.com/misc@openbsd.org/msg123743.html
>
> Regards,
>
> patch on 5.3:
> --- /usr/src/sys/dev/pci/if_em.c.orig   Tue Oct  1 14:45:36 2013
> +++ /usr/src/sys/dev/pci/if_em.c        Tue Oct  1 14:48:52 2013
> @@ -337,7 +337,7 @@
>          * Only use MSI on the newer PCIe parts, with the exception
>          * of 82571/82572 due to "Byte Enables 2 and 3 Are Not Set"
> errata */
> -       if (sc->hw.mac_type <= em_82572)
> +       if (sc->hw.mac_type < em_82571)
>                 sc->osdep.em_pa.pa_flags &= ~PCI_FLAGS_MSI_ENABLED;
>
>         /* Parameters (to be read from user) */
>

Thank you everyone, here we go with the results.

Disabling PF caused a 15% performance improvement. OpenBSD 5.5 made the
system more responsive under this load but made no real difference on pps
or bps results. MSIX did not cause any trouble and it helped to raise pps
up to 30K and bps up to 240M which is better but still very low :-(

Thank you all :-)

Reply via email to