[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D35A9B4.7030701@gmail.com>
Date: Tue, 18 Jan 2011 15:54:44 +0100
From: Nicolas de Pesloüan
<nicolas.2p.debian@...il.com>
To: "Oleg V. Ukhno" <olegu@...dex-team.ru>,
John Fastabend <john.r.fastabend@...el.com>,
Jay Vosburgh <fubar@...ibm.com>,
"David S. Miller" <davem@...emloft.net>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Sébastien Barré
<sebastien.barre@...ouvain.be>,
Christophe Paasch <christoph.paasch@...ouvain.be>
Subject: Re: [PATCH] bonding: added 802.3ad round-robin hashing policy for
single TCP session balancing
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists