[Banana] diff (banana load distribution, next-hop selection of multipath)

Mingui Zhang <zhangmingui@huawei.com> Fri, 23 December 2016 10:00 UTC

Return-Path: <zhangmingui@huawei.com>
X-Original-To: banana@ietfa.amsl.com
Delivered-To: banana@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E99E51296C0 for <banana@ietfa.amsl.com>; Fri, 23 Dec 2016 02:00:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.321
X-Spam-Level:
X-Spam-Status: No, score=-7.321 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-3.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C_2qx7egHk5i for <banana@ietfa.amsl.com>; Fri, 23 Dec 2016 02:00:53 -0800 (PST)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B5825129686 for <banana@ietf.org>; Fri, 23 Dec 2016 02:00:52 -0800 (PST)
Received: from 172.18.7.190 (EHLO lhreml704-cah.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DDD05174; Fri, 23 Dec 2016 10:00:50 +0000 (GMT)
Received: from NKGEML413-HUB.china.huawei.com (10.98.56.74) by lhreml704-cah.china.huawei.com (10.201.5.130) with Microsoft SMTP Server (TLS) id 14.3.301.0; Fri, 23 Dec 2016 10:00:44 +0000
Received: from NKGEML515-MBX.china.huawei.com ([fe80::a54a:89d2:c471:ff]) by NKGEML413-HUB.china.huawei.com ([10.98.56.74]) with mapi id 14.03.0235.001; Fri, 23 Dec 2016 18:00:39 +0800
From: Mingui Zhang <zhangmingui@huawei.com>
To: "banana@ietf.org" <banana@ietf.org>
Thread-Topic: diff (banana load distribution, next-hop selection of multipath)
Thread-Index: AdJdA2lYXkbqbDOFQbGKAFgQ1qTtuQ==
Date: Fri, 23 Dec 2016 10:00:39 +0000
Message-ID: <4552F0907735844E9204A62BBDD325E7A6386E6A@NKGEML515-MBX.china.huawei.com>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.111.146.93]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020201.585CF5D3.00A6, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: b784131c2aff43ab783bdb956a86adf1
Archived-At: <https://mailarchive.ietf.org/arch/msg/banana/QO8UAEQwLjxoST9b7uxlqSSp9-0>
Subject: [Banana] diff (banana load distribution, next-hop selection of multipath)
X-BeenThere: banana@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Bandwidth Aggregation for interNet Access: Discussion of bandwidth aggregation solutions based on IETF technologies." <banana.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/banana>, <mailto:banana-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/banana/>
List-Post: <mailto:banana@ietf.org>
List-Help: <mailto:banana-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/banana>, <mailto:banana-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Dec 2016 10:00:55 -0000

Hi,

It seems worthwhile to sort out the differences between the next hop selection issue in the routing area and the banana load distribution issue. 

Next-hop selection for multipath has been a well-known issue in routing area. And, hash functions have been the well accepted technique to handle this issue [RFC4311] [RFC2991]. The essential thing is to "avoid the reordering that can result from transmission of different packets from the same flow over multiple different equal cost paths". These hashing functions are more applicable to routers used to route many flows. Banana targets home or enterprise users, one end of the connection (e.g., Home Gateway) locates at the edge of the network. Flows routed by the Home Gateway are very less. Hence, hash functions or even per-flow load distribution is not that effective. 

Next-hop selection makes no use of transportation information. As we discussed in the BOF, flow control and congestion control will be handled by banana. That means banana load distribution has to take some transportation information (throughput, latency, loss rate, buffer size, etc) into consideration. 

An advantage over the next-hop selection is that banana offers a small reordering buffer at the egress. For this reason, a certain level of packet disorder can be absorbed so that it does not screw up the TCP. With this buffer, banana can perform per-packet load distribution, which means packets from the same flow will be transmitted over multiple different paths.

Next-hop selection is mainly applicable to Equal Cost Multiple Paths. The multiple paths for banana do not have such limitation. 

For the scenarios that hosts perform the next-hop selection, some requirements are put on the host model [RFC4311] [RFC8028]. Banana does not intend to change the host model. All tricks are done in the box in front of the host (or firmware installed into the host).

Thanks,
Mingui