From: Ben Greear <greearb@candelatech.com>
To: Willy Tarreau <wtarreau@free.fr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Poor Performance for ethernet bonding
Date: Sat, 25 Aug 2001 11:23:18 -0700 [thread overview]
Message-ID: <3B87ED15.77741DF9@candelatech.com> (raw)
In-Reply-To: <200108250704.f7P741U20873@ns.home.local>
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
next prev parent reply other threads:[~2001-08-25 18:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-25 7:04 Poor Performance for ethernet bonding Willy Tarreau
2001-08-25 18:23 ` Ben Greear [this message]
2001-08-26 7:59 ` willy tarreau
[not found] <3B865882.24D57941@biochem.mpg.de.suse.lists.linux.kernel>
2001-08-24 13:44 ` Andi Kleen
2001-08-24 15:19 ` Ben Greear
2001-08-24 15:22 ` Andi Kleen
2001-08-24 15:45 ` Ben Greear
2001-08-24 16:04 ` Andi Kleen
2001-08-27 7:40 ` Henning P. Schmiedehausen
2001-08-24 18:17 ` Thomas Davis
2001-08-24 20:59 ` Ben Greear
-- strict thread matches above, loose matches on Subject: below --
2001-08-24 13:37 Bernhard Busch
2001-08-24 14:12 ` Sergey Ostrovsky
2001-08-24 14:33 ` Martin Josefsson
2001-08-24 15:16 ` Ben Greear
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B87ED15.77741DF9@candelatech.com \
--to=greearb@candelatech.com \
--cc=linux-kernel@vger.kernel.org \
--cc=wtarreau@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox