Re: Poor Performance for ethernet bonding

From: Ben Greear (greearb@candelatech.com)
Date: Sat Aug 25 2001 - 13:23:18 EST


Willy Tarreau wrote:
>
> Hi Ben,
>
> > Couldn't the bonding code be made to distribute pkts to one interface or
> > another based on a hash of the sending IP port or something? Seems like that
> > would fix the reordering problem for IP packets.... It wouldn't help for
> > a single stream, but I'm guessing the real world problem involves many streams,
> > which on average should hash such that the load is balanced...
>
> You may take a look at this for enhancements to the bonding driver :
>
> http://sourceforge.net/projects/bonding/
>
> The XOR method has been implemented to hash the flows based on the SRC/DST
> MAC addresses.

If you are only hashing on MAC addresses, then you would become highly
un-optimized in the case where a machine is communicating with it's
default gateway primarily. Perhaps the XOR hash is really more sophisticated??

Ben

>
> Regards,
> Willy

-- 
Ben Greear <greearb@candelatech.com>          <Ben_Greear@excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:18 EST