Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1100840pxb; Thu, 24 Mar 2022 12:44:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJ+r9zWT3/yt35NCO2vf8Mv3bP+tOkyqdfu1g46tGuiENm527pk4tF8K3bTI7XmQI27AfB X-Received: by 2002:a17:907:8687:b0:6d7:8f6a:3c0e with SMTP id qa7-20020a170907868700b006d78f6a3c0emr7540314ejc.500.1648151074041; Thu, 24 Mar 2022 12:44:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648151074; cv=none; d=google.com; s=arc-20160816; b=d2nNA3e2bg58zsgXg5Z5I60Iwdi2Vw5WFJi9Lcy/3o8OQ7e3/PYmvB+vOu9zdi0ISF Bl4g7bHAeX9xd4C6UNBlLulKkj1kzEplAgCcv7AkxkUotkPn3eoQa1NuA0GL4UCkPowE uUbFTQMQfiqdciDue4SreHsR9UgeEmVo7AzPXFKOlqugSSsrcxzGrFTbFrZ8TU/eNRz8 Si0lz+ZbfjzRzisijzz59ntLiRh5ELS/X2JNivv5biTVzfLyWPYM6VNJO8xrrLwGwhFz oqXTOOU8uznolnFN9LOiPVOZWVMO5Ir5Gui/WCEzLk9UtTy7skvQB9Lu8Kol9GHMWnLQ +53w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:hmm_source_type:hmm_attache_num:hmm_source_ip; bh=RXeOZtSRTSiRjwS86FbG2bnhYG5BKoImKYNmEq5+zyA=; b=rp0NQg/d8uYcEM5yaIvcHrIfBV5ypLsxmvXfwM1+oEqGntFBpZA2AoZYJIf5J2Ismp X7LIY6bZmpb2TlmcY5hlAJB7P8HnU87Gx/Ti80s7grR+SJl3Dl+ZU6LSOVvE9p1ZzL9N 392mVbj+CdIW/IU5ByDxJS8whuZwGVIs2xrANOOL2AWIHSz6mm8dChngIrldyYGye//5 8OqlDOX1FNiGihUYKqutTzbO0EgpEhLuhsuXTW40LTXDoXerLiDmGfvrylDQSEMWuqlp lHXBY8IKr5gfASkHpMriaFtFDP3+0vKFIR1Z1Hg/uFtBxQbM58N6vJx6MX765GQeCiGO 4HOw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k27-20020a1709061c1b00b006dff4dd30f9si244094ejg.862.2022.03.24.12.44.08; Thu, 24 Mar 2022 12:44:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346098AbiCXCC0 (ORCPT + 99 others); Wed, 23 Mar 2022 22:02:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229580AbiCXCC0 (ORCPT ); Wed, 23 Mar 2022 22:02:26 -0400 Received: from chinatelecom.cn (prt-mail.chinatelecom.cn [42.123.76.223]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 58A9192D1F; Wed, 23 Mar 2022 19:00:54 -0700 (PDT) HMM_SOURCE_IP: 172.18.0.48:58346.284100465 HMM_ATTACHE_NUM: 0000 HMM_SOURCE_TYPE: SMTP Received: from clientip-10.133.11.171 (unknown [172.18.0.48]) by chinatelecom.cn (HERMES) with SMTP id 4BD332800AD; Thu, 24 Mar 2022 10:00:46 +0800 (CST) X-189-SAVE-TO-SEND: sunshouxin@chinatelecom.cn Received: from ([172.18.0.48]) by app0024 with ESMTP id 2371bf2f1af44226acb5ba158fb5e1b9 for jay.vosburgh@canonical.com; Thu, 24 Mar 2022 10:00:52 CST X-Transaction-ID: 2371bf2f1af44226acb5ba158fb5e1b9 X-Real-From: sunshouxin@chinatelecom.cn X-Receive-IP: 172.18.0.48 X-MEDUSA-Status: 0 Sender: sunshouxin@chinatelecom.cn Message-ID: <76345dc2-90e0-5464-96f0-c1f62b645af2@chinatelecom.cn> Date: Thu, 24 Mar 2022 10:00:44 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v6 0/4] Add support for IPV6 RLB to balance-alb mode To: Jay Vosburgh , Jakub Kicinski Cc: David Ahern , vfalico@gmail.com, andy@greyhouse.net, davem@davemloft.net, pabeni@redhat.com, yoshfuji@linux-ipv6.org, oliver@neukum.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, huyd12@chinatelecom.cn References: <20220323120906.42692-1-sunshouxin@chinatelecom.cn> <7288faa9-0bb1-4538-606d-3366a7a02da5@kernel.org> <20220323083332.54dc0a6e@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <4913.1648053525@famine> From: =?UTF-8?B?5a2Z5a6I6ZGr?= In-Reply-To: <4913.1648053525@famine> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2022/3/24 0:38, Jay Vosburgh 写道: > Jakub Kicinski wrote: > >> On Wed, 23 Mar 2022 08:35:03 -0600 David Ahern wrote: >>> On 3/23/22 6:09 AM, Sun Shouxin wrote: >>>> This patch is implementing IPV6 RLB for balance-alb mode. >>> net-next is closed, so this set needs to be delayed until it re-opens. >> What I'm not sure of is why this gets reposted after Jiri nacked >> it. A conclusion needs to be reached on whether we want this >> functionality in the first place. Or someone needs to explain >> to me what the conclusion is if I'm not reading the room right :) > The summary (from my perspective) is that the alb/rlb technology > more or less predates LACP, and is a complicated method to implement > load balancing across a set of local network peers. The existing > implementation for IPv4 uses per-peer tailored ARP messages to "assign" > particular peers on the subnet to particular bonding interfaces. I do > encounter users employing the alb/rlb mode, but it is uncommon; LACP is > by far the most common mode that I see, with active-backup a distant > second. > > The only real advantage alb/rlb has over LACP is that the > balance is done via traffic monitoring (i.e., assigning new peers to the > least busy bond interface, with periodic rebalances) instead of a hash > as with LACP. In principle, some traffic patterns may end up with hash > collisions on LACP, but will be more evenly balanced via the alb/rlb > logic (but this hasn't been mentioned by the submitter that I recall). > The alb/rlb logic also balances all traffic that will transit through a > given router together (because it works via magic ARPs), so the scope of > its utility is limited. > > As much as I'm all in favor of IPv6 being a first class citizen, > I haven't seen a compelling use case or significant advantage over LACP > stated for alb/rlb over IPv6 that justifies the complexity of the > implementation that will need to be maintained going forward. > > -J Our current online environment has been deployed with mode6, except that we have been running ipv4 services before. Recently, we launched ipv6 service and found that there was no load sharing on the receiving direction of the bond interface, which led to wasted bandwidth on the receiving direction. We developed this feature to solve this problem. I'm sure many people face the same problem of not being able to change the environment they are already running in. It may be true that lacp is better than alb, but we also need to maintain for the business that is already running. > --- > -Jay Vosburgh, jay.vosburgh@canonical.com