netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jay Vosburgh <fubar@us.ibm.com>
To: "Tvrtko A. Ursulin" <tvrtko@ursulin.net>
Cc: Chris Snook <csnook@redhat.com>, netdev@vger.kernel.org
Subject: Re: Bonding gigabit and fast?
Date: Tue, 16 Dec 2008 20:48:55 -0800	[thread overview]
Message-ID: <20484.1229489335@death.nxdomain.ibm.com> (raw)
In-Reply-To: <200812162255.47731.tvrtko@ursulin.net>

Tvrtko A. Ursulin <tvrtko@ursulin.net> wrote:
[...]
>I was using balance-rr, alb flavour does not seem to like 8139too.

	The choice of balance-rr may be half of your problem.  Try
balance-xor with xmit_hash_policy=layer3+4, it may behave better.  That
mode doesn't know about dissimilar speed slaves, so it simply balances
by math, but that still may behave better than balance-rr because it
won't stripe single connections across slaves.

	The balance-alb mode would likely be better (it's smarter about
balancing across slaves of differing speeds), but requires that the
slaves be able to change MAC address while up, which not every device is
capable of doing.

	To elaborate a bit on balance-rr, it will usually cause out of
order delivery to varying degrees, which in turn causes TCP's congestion
control and/or fast retransmits to kick in.  The effect can be mitigated
to some degree (but not eliminated) by raising the value of the
net.ipv4.tcp_reordering sysctl.  If memory serves, values more than
about 125 don't make much additional difference.

	-J

---
	-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com

  reply	other threads:[~2008-12-17  4:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-16 19:39 Bonding gigabit and fast? Tvrtko A. Ursulin
2008-12-16 19:54 ` Chris Snook
2008-12-16 20:12   ` Tvrtko A. Ursulin
2008-12-16 20:37     ` Chris Snook
2008-12-16 22:55       ` Tvrtko A. Ursulin
2008-12-17  4:48         ` Jay Vosburgh [this message]
2008-12-17  7:51           ` Tvrtko A. Ursulin
2008-12-17  7:37         ` Tvrtko A. Ursulin
2008-12-17 20:18       ` skge performance sensitivity (WAS: Bonding gigabit and fast?) Tvrtko A. Ursulin
2008-12-17  2:53 ` Bonding gigabit and fast? Trent Piepho
2008-12-17  7:51   ` Tvrtko A. Ursulin

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=20484.1229489335@death.nxdomain.ibm.com \
    --to=fubar@us.ibm.com \
    --cc=csnook@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=tvrtko@ursulin.net \
    /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;
as well as URLs for NNTP newsgroup(s).