Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2014 15:54:28 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        araujo@freebsd.org
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: [patch][lagg] - Set a better granularity and distribution on roundrobin protocol.
Message-ID:  <CAJ-VmomY2wP1EyVK4J16sGmMid=sJ9MPZrUY6pgcKGBDXm1T4g@mail.gmail.com>
In-Reply-To: <CAOfEmZja8Tkv_xG8LyR5Nbj%2BOga=vvdy=b3pxHqZi0-BBq25Uw@mail.gmail.com>
References:  <CAOfEmZjmb1bdvn0gR6vD1WeP8o8g7KwXod4TE0iJfa=nicyeng@mail.gmail.com> <CAJ-Vmomt2QDXAVBVUk6m8oH4Pa5yErDdG6wWrP3X7%2BDW137xiA@mail.gmail.com> <CAOfEmZja8Tkv_xG8LyR5Nbj%2BOga=vvdy=b3pxHqZi0-BBq25Uw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

No, don't introduce out of order behaviour. Ever. You may not think
it's a problem for TCP, but UDP things and VPN things will start
getting very angry. There are VPN configurations out there that will
drop the VPN if frames are out of order.

The ixgbe driver is setting the flowid to the msix queue ID, rather
than a 32 bit unique flow id hash value for the flow. That makes it
hard to do traffic distribution where the flowid is available.

There's an lagg option to re-hash the mbuf rather than rely on the
flowid for outbound port choice - have you looked at using that? Did
that make any difference?



-a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomY2wP1EyVK4J16sGmMid=sJ9MPZrUY6pgcKGBDXm1T4g>