On Tue, May 21, 2013 at 12:45:21PM -0700, Linda A. Walsh wrote:
Jiri Pirko wrote:
> Mon, May 20, 2013 at 08:32:08PM CEST, fbl(a)redhat.com wrote:
>
>
> As Flavio said, the hot path is in kernel and incoming and outgoing
> packets never leave kernel-space.
Good to know.
> Comparing to bonding and plain 10G
> dev, the overhead is pretty much the same. No penalty in compare to
> bonding at all (overhead is even slightly lower)
>
----
eh? Why's that? enough to make any notable difference or theoretical
at this point?
The overhead depends on the mode, but basically it's just a extra
call to team function inside of the kernel to select the proper device
to push the packet forward. In case of active-backup as an example, the
port selection is straightforward (direct to active port), so the
overhead is just a few assembly instructions.
Team uses some nice techniques to find/use a port which doesn't require
locking or other more costly operations, so there might be cases where
bonding is not that fast as Team.
--
fbl