From: "Nicolas de Pesloüan" <nicolas.2p.debian@gmail.com>
To: "Oleg V. Ukhno" <olegu@yandex-team.ru>,
John Fastabend <john.r.fastabend@intel.com>,
Jay Vosburgh <fubar@us.ibm.com>,
"David S. Miller" <davem@davemloft.net>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"Sébastien Barré" <sebastien.barre@uclouvain.be>,
"Christophe Paasch" <christoph.paasch@uclouvain.be>
Subject: Re: [PATCH] bonding: added 802.3ad round-robin hashing policy for single TCP session balancing
Date: Tue, 18 Jan 2011 15:54:44 +0100 [thread overview]
Message-ID: <4D35A9B4.7030701@gmail.com> (raw)
In-Reply-To: <4D358A47.4020009@yandex-team.ru>
Le 18/01/2011 13:40, Oleg V. Ukhno a écrit :
The fact that there exist many situations where it simply doesn't work, should not cause the idea of
Oleg to be rejected.
In Documentation/networking/bonding.txt, tuning tcp_reordering on receiving side is already
documented as a possible workaround for out of order delivery due to load balancing of a single TCP
session, using mode=balance-rr.
This might work reasonably well in a pure LAN topology, without any router between both ends of the
TCP session, even if this is limited to Linux hosts. The uses are not uncommon and not limited to iSCSI:
- between an application server and a database server,
- between members of a cluster, for replication purpose,
- between a server and a backup system,
- ...
Of course, for longer paths, with routers and variable RTT, we would need something different
(possibly MultiPathTCP: http://datatracker.ietf.org/wg/mptcp/).
I remember a topology (described by Jay, for as far as I remember), where two hosts were connected
through two distinct VLANs. In such topology:
- it is possible to detect path failure using arp monitoring instead of miimon.
- changing the destination MAC address of egress packets are not necessary, because egress path
selection force ingress path selection due to the VLAN.
I think the only point is whether we need a new xmit_hash_policy for mode=802.3ad or whether
mode=balance-rr could be enough.
Oleg, would you mind trying the above "two VLAN" topology" with mode=balance-rr and report any
results ? For high-availability purpose, it's obviously necessary to setup those VLAN on distinct
switches.
Nicolas
next prev parent reply other threads:[~2011-01-18 14:54 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-14 19:07 [PATCH] bonding: added 802.3ad round-robin hashing policy for single TCP session balancing Oleg V. Ukhno
2011-01-14 20:10 ` John Fastabend
2011-01-14 23:12 ` Oleg V. Ukhno
2011-01-14 20:13 ` Jay Vosburgh
2011-01-14 22:51 ` Oleg V. Ukhno
2011-01-15 0:05 ` Jay Vosburgh
2011-01-15 12:11 ` Oleg V. Ukhno
2011-01-18 3:16 ` John Fastabend
2011-01-18 12:40 ` Oleg V. Ukhno
2011-01-18 14:54 ` Nicolas de Pesloüan [this message]
2011-01-18 15:28 ` Oleg V. Ukhno
2011-01-18 16:24 ` Nicolas de Pesloüan
2011-01-18 16:57 ` Oleg V. Ukhno
2011-01-18 20:24 ` Jay Vosburgh
2011-01-18 21:20 ` Nicolas de Pesloüan
2011-01-19 1:45 ` Jay Vosburgh
2011-01-18 22:22 ` Oleg V. Ukhno
2011-01-19 16:13 ` Oleg V. Ukhno
2011-01-19 20:12 ` Nicolas de Pesloüan
2011-01-21 13:55 ` Oleg V. Ukhno
2011-01-22 12:48 ` Nicolas de Pesloüan
2011-01-24 19:32 ` Oleg V. Ukhno
2011-01-29 2:28 ` Jay Vosburgh
2011-02-01 16:25 ` Oleg V. Ukhno
2011-02-02 17:30 ` Jay Vosburgh
2011-02-02 9:54 ` Nicolas de Pesloüan
2011-02-02 17:57 ` Jay Vosburgh
2011-02-03 14:54 ` Oleg V. Ukhno
2011-01-18 17:56 ` Kirill Smelkov
2011-01-18 16:41 ` John Fastabend
2011-01-18 17:21 ` Oleg V. Ukhno
2011-01-14 20:41 ` Nicolas de Pesloüan
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=4D35A9B4.7030701@gmail.com \
--to=nicolas.2p.debian@gmail.com \
--cc=christoph.paasch@uclouvain.be \
--cc=davem@davemloft.net \
--cc=fubar@us.ibm.com \
--cc=john.r.fastabend@intel.com \
--cc=netdev@vger.kernel.org \
--cc=olegu@yandex-team.ru \
--cc=sebastien.barre@uclouvain.be \
/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).