Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2199951pxb; Fri, 25 Mar 2022 12:55:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyy91BodIHWuYcEBcC0nqJDruoyVlwSR1erhq4ZrajWolRADC0Q136Je2CDDwpvqyw6UsOT X-Received: by 2002:a17:903:2444:b0:154:13b6:8850 with SMTP id l4-20020a170903244400b0015413b68850mr13586731pls.55.1648238104097; Fri, 25 Mar 2022 12:55:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648238104; cv=none; d=google.com; s=arc-20160816; b=w3kKYv9KwkRbQymYF96yJ5QlwHeoJSAZagTelnodS+TLWskHnGzTPR/fKYPdWNdI0a d56X8eiI+rAZQf4PLpiReIp8htjXIX9lZ8X5fV0ZVgqvXxI0D8Rpa1U+diDlKjENmOJP 4CwuLChHk9+SAC7JxHGByQGwSLxyeCVzMyOD+Z5PHiUPyZU+8IRyN+yUx3ye9L4J/B0s C9MO+aeeXn6XvL2sFuiA5d0CXMNBFkER40ZB5W+da8TBgXuerxKFU25DjN6zKirCLxJk H1RT9C1bOoKFagzXsH7CEl4fIv5+m8QOXweuBlZBS1U6MXTyj6CoWO8jcEpKFC+7fWv4 Ojww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-id:mime-version:comments :references:in-reply-to:subject:cc:to:from:dkim-signature; bh=mDygNB4hlr8O2IiqVOYkBZ7ZOtLoUjEBL+tdiRjaXQ8=; b=YC+9Kpu+kfKVsfsF2lQbC0e+HWZT/Goe5WseeBCzEjtee7qhbCIG7vQ541RNfChBVk iA58xVQhhiRzkfPJpvsdxtWDx/vk5Qr+z+O3c1Rf+YgLKeFy8nCnexAV7XXr27XTalsi 3yOdINUIG32QRBGIckprY9B+syXA/gRRfbHr8yWh9A4Ddh/c3zPJUaizwsRp1o1H5/AC fU+FcT80c06c02rDXyCOWfEqtFr7rNRvQYnvS+pli04dxGZoozvztPof8vdjsS4ndqCb ud0SLKHaFKrZ7u/i+0u/sgEnRJObPowAYzB8RujZmTS3Sl5/rjgtQiSTYDNsnmIbaSXU iB4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=jsza7bpf; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id v20-20020a62a514000000b004fa3f687674si3367313pfm.256.2022.03.25.12.55.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 12:55:04 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=jsza7bpf; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 168492CE37; Fri, 25 Mar 2022 11:44:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231493AbiCWQkW (ORCPT + 99 others); Wed, 23 Mar 2022 12:40:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236637AbiCWQkU (ORCPT ); Wed, 23 Mar 2022 12:40:20 -0400 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1A2F7CB00 for ; Wed, 23 Mar 2022 09:38:49 -0700 (PDT) Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id E420D3F8D1 for ; Wed, 23 Mar 2022 16:38:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1648053527; bh=mDygNB4hlr8O2IiqVOYkBZ7ZOtLoUjEBL+tdiRjaXQ8=; h=From:To:cc:Subject:In-reply-to:References:MIME-Version: Content-Type:Date:Message-ID; b=jsza7bpfgHSQo8U6Ay15gXV128khHWIun3+6+NB9TG2mANpIuQBuBC0kiFPZlrbc/ 9hFoA/xVaFIcEqNg7q3Vz0Yc34eNdI8mmb0GZabdUDNOxDE6pMqdhq+LrjeJwWWGA3 ZHLBw0BaDchK4HSbVmRSHznNEMrt4evhpBuxK3mO6zxCW1XwYDGw7aO/Vyc7+x6Pu+ RWjx2u0WbvbvE6WEv8zbo+xOW2NfKyEZYUG3XPpu64P6qgwyMPGqZ8aHlza2bXms2K G/bIHO33dJLBfj0t3AN9cJ3jgSw3mzJcptfQ0QQ0bEgkSi4tESIyvP6mVZdcUsFs+j Dc0H1x8CK7f5g== Received: by mail-pf1-f197.google.com with SMTP id b7-20020aa79507000000b004fa88200f15so1275490pfp.14 for ; Wed, 23 Mar 2022 09:38:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :comments:mime-version:content-id:date:message-id; bh=mDygNB4hlr8O2IiqVOYkBZ7ZOtLoUjEBL+tdiRjaXQ8=; b=Im+oGWg9tESoPA+c+RbFhfeCnHgx99aste5dLYOIMjPIxtWNNjrwA5RwSe1RQ0h5nB NhSO5+vB6R3N1o4VzA4TlMVSfkM9iCYtzxseXyeU1PuPwx4MsCfMjxhf7h8BxJ5NV+Wn f5Lrjb8ECz1nuNxO8UuPULtrNAJQQsq/eF+WKJlmTVlbHLO5lIqwiw2/DbVS/avoPJGv Ydy1DWREST0/V3ljY2SRqYXF7ySG+VAC12bb6cJuAdw7Jq/pOLVOjRILSAJY8+AnCq8n VlXEpML5PL1yPVQknByZkSZD4+V2LyIrX/7iecnXi/P47UxENRmZkGsGWVsgnt9PFF+f 3yMw== X-Gm-Message-State: AOAM532nzSvjs1JIFhVMSQDmYwu1JSf2cU3Ax5iYDdTXZoGd9koVhxHz Xz7CoNQSd8+wBcNov14bgiOvYWodGs/t7e+2MT0Fj8lyAjBPMc71BCSNN060T6WentLR9TXp5CM FTwBOhmROvzGN2ESt2rZzGVgP9I/gA7+gkEnJxAgd8w== X-Received: by 2002:a17:902:e846:b0:154:3d19:c5ae with SMTP id t6-20020a170902e84600b001543d19c5aemr721630plg.87.1648053526450; Wed, 23 Mar 2022 09:38:46 -0700 (PDT) X-Received: by 2002:a17:902:e846:b0:154:3d19:c5ae with SMTP id t6-20020a170902e84600b001543d19c5aemr721595plg.87.1648053526157; Wed, 23 Mar 2022 09:38:46 -0700 (PDT) Received: from famine.localdomain ([50.125.80.157]) by smtp.gmail.com with ESMTPSA id 22-20020a17090a019600b001c6457e1760sm244576pjc.21.2022.03.23.09.38.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Mar 2022 09:38:45 -0700 (PDT) Received: by famine.localdomain (Postfix, from userid 1000) id 49ED16093D; Wed, 23 Mar 2022 09:38:45 -0700 (PDT) Received: from famine (localhost [127.0.0.1]) by famine.localdomain (Postfix) with ESMTP id 426C2A0B18; Wed, 23 Mar 2022 09:38:45 -0700 (PDT) From: Jay Vosburgh To: Jakub Kicinski cc: David Ahern , Sun Shouxin , 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 Subject: Re: [PATCH v6 0/4] Add support for IPV6 RLB to balance-alb mode In-reply-to: <20220323083332.54dc0a6e@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> References: <20220323120906.42692-1-sunshouxin@chinatelecom.cn> <7288faa9-0bb1-4538-606d-3366a7a02da5@kernel.org> <20220323083332.54dc0a6e@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> Comments: In-reply-to Jakub Kicinski message dated "Wed, 23 Mar 2022 08:33:32 -0700." X-Mailer: MH-E 8.6+git; nmh 1.6; Emacs 29.0.50 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4912.1648053525.1@famine> Date: Wed, 23 Mar 2022 09:38:45 -0700 Message-ID: <4913.1648053525@famine> X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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 --- -Jay Vosburgh, jay.vosburgh@canonical.com