Re: [Lsr] Seeking feedback to the revised draft-dunbar-lsr-5g-edge-compute

Gyan Mishra <hayabusagsm@gmail.com> Fri, 14 January 2022 03:53 UTC

Return-Path: <hayabusagsm@gmail.com>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 06C8D3A189D for <lsr@ietfa.amsl.com>; Thu, 13 Jan 2022 19:53:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 MIq88fB9e5za for <lsr@ietfa.amsl.com>; Thu, 13 Jan 2022 19:53:07 -0800 (PST)
Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 76C283A1899 for <lsr@ietf.org>; Thu, 13 Jan 2022 19:53:07 -0800 (PST)
Received: by mail-pf1-x435.google.com with SMTP id i17so1669281pfk.11 for <lsr@ietf.org>; Thu, 13 Jan 2022 19:53:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rRenfv+YCyLFmP0uArZJ1rtx/unAljTByXKr39MgDDk=; b=q1k4Ugjrv1eGTSy/H+/+pjDyDx6GGKZ8vU9WOV0RBTHg05Wn7dcZwxHdtUxgvo5Vz0 Pcd5qUIrlST/psizHSqi7J5GXBCY1kZmb9jdxbaQrHQ3cPJDCC9TacUpmIn5Ca9hoZgg 8lS4Zo83+3q/VUKH9iyE6Ewl1Ktd0DuZ+5BouybqoIp2uLljw2NU2H1HbpFxtBL+Dewl IICal1fc4UQJYKoln0Pc73yOx3WdZdT2tibJxJ06GNuNi3UUDiIyhnviMXVZuZBmJBQn VCmNjsdkfxHa/jFgdShwAxqIGPXrw9jy0qpd2XzdhgtOjriqBAQHv93jYuK4dyJfXLXp RzyQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rRenfv+YCyLFmP0uArZJ1rtx/unAljTByXKr39MgDDk=; b=yomkJwoJQlK55Xyj50FJOHcrk/rYYsHohjs36VAl9LxXpjn2j/0y3VCpblHBpUu8Iv Fta2T19HP7y+Mnt/De+y4WFdHZRMCpU6CF3WlWIdegHtzLs2kJGrHa7O5m5vC1FHsz6J Wbmyje44t1Lx+P/91X2z1VTL/UmeB927P//bHa8lRzODo93i3Kz4UCUBlGIJRvZYIWcM dQL9heP7n2fx/qAnGefqxayGF1qxSqb/cvypUbO1+YMw1MZSL4bYT8KmRiylkOvWyMmx iyfXDbE5cF4eFPh4GnWNlccCcb+kiddvfK4NOWINdfgQqEJFJdGeCqbcIAwnn/Dxn8HF Q2JA==
X-Gm-Message-State: AOAM532B37jQPa8OVUVnYmYEOT+Rd5S74qTYsawy10PzzrnPjhq1mRoC fFrIMtqQmUEkdaucNehpmy90ZxkqXugEHp9M6TGYlAKW
X-Google-Smtp-Source: ABdhPJx2jUZl46pTVYRw74U2xfzjcvnlJVtPspQCAeViBpSNNnTZZo13z1In26gxH3kq1kVMdS+sSks5C6y30bdqyYg=
X-Received: by 2002:a63:8842:: with SMTP id l63mr3512240pgd.180.1642132385362; Thu, 13 Jan 2022 19:53:05 -0800 (PST)
MIME-Version: 1.0
References: <CO1PR13MB49208C0CFE0AE200E9654D62854D9@CO1PR13MB4920.namprd13.prod.outlook.com> <BY5PR11MB43374CE0329A2D0D4CBBB56CC1509@BY5PR11MB4337.namprd11.prod.outlook.com> <CO1PR13MB49209FB2780A390C060981D285529@CO1PR13MB4920.namprd13.prod.outlook.com> <BY5PR11MB43373269E621CCC90F47D650C1529@BY5PR11MB4337.namprd11.prod.outlook.com> <CO1PR13MB492084E011B67AFF7EB45B3585529@CO1PR13MB4920.namprd13.prod.outlook.com> <BY5PR11MB43376DA8FD239B220AAA7F03C1529@BY5PR11MB4337.namprd11.prod.outlook.com> <CO1PR13MB4920EDA93692C2BE3CC49F7A85529@CO1PR13MB4920.namprd13.prod.outlook.com> <CAOj+MMH0ockwESPepB0PH-_jHxtSJ2+n0cJCsm-oGGB6ztvQtQ@mail.gmail.com> <CO1PR13MB4920561C1237ECD319B2C17B85529@CO1PR13MB4920.namprd13.prod.outlook.com> <CAOj+MMEMt845bRwhn-KTTx=7DvinocYc0JYZyzPp9BR7jC1C+w@mail.gmail.com> <CABNhwV1dB5TwtibkMthxamsSZvtm36h1vrGOhtucw8fi4avfFw@mail.gmail.com> <BY5PR11MB4337053667F17BB2F2B4BA3BC1539@BY5PR11MB4337.namprd11.prod.outlook.com> <CABNhwV0=i448_7m60ownptafJyb8VE0un_s3NVNTw8=JdZF7UQ@mail.gmail.com> <CAOj+MMGj7bnhDSr0KrW5SffZmPfmrTYRy1P4h6McT+UdFuxLuA@mail.gmail.com>
In-Reply-To: <CAOj+MMGj7bnhDSr0KrW5SffZmPfmrTYRy1P4h6McT+UdFuxLuA@mail.gmail.com>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Thu, 13 Jan 2022 22:52:54 -0500
Message-ID: <CABNhwV0d51rhrMco6JZxEo506ZcdnaH_K9EpuQNC0jcYBe0dCg@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
Cc: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>, Linda Dunbar <linda.dunbar@futurewei.com>, "lsr@ietf.org" <lsr@ietf.org>
Content-Type: multipart/related; boundary="0000000000008309de05d582bd3c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/fOMkHd5Gluvx75IIaTz4DzCn0hs>
Subject: Re: [Lsr] Seeking feedback to the revised draft-dunbar-lsr-5g-edge-compute
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Jan 2022 03:53:12 -0000

Robert

Responses in-line



On Thu, Jan 13, 2022 at 5:55 AM Robert Raszuk <robert@raszuk.net> wrote:

> Gyan,
>
> I see what the draft is trying to do now. /* I did not even consider this
> for the reason described below. */
>
> But what you wrote requires little correction:
>
> "So now the server you are on gets overloaded and a site cost gets
> advertised in the IGP at which point the connection receives a TCP reset"
>
> if you *s/connection/all connections/* then you quickly realize that what
> is proposed here is a disaster.
>

   Gyan>  Remember this is Anycast proximity based routing along with ECMP
/ UCMP flow based load balancing and most vendors modern routers support
some sort of  x-tuple ECMP/UCMP hash so the flows would be evenly
distributed, so if you have 10s of 100s of paths, the flows would be evenly
distributed across all the paths.  Since it’s Anycast proximity each path
leads to a different Application LB VIP and backend server.  So all the TCP
connections would be uniformly distributed across all the paths.

Only the connections hashed to the path with overloaded server would get
reset and it would be no different then if the server went down as the
connections would get reset anyway in that case.

 In this case instead of being pinned to a bad connection you are now reset
to a good connection resulting in better QOE for the end user and a Happy
customer.

To me thats a positive not a negative.

 A good analogy would be let’s say you are on WIFI and on the same channel
that your neighbors are on and have horrible bandwidth.  Do you stay on
that bad channel and limp along all day or to you flip to an unused channel.

Another example is if you have a server that has run out of resources.  Do
you fail production traffic off the server taking it out of rotation or let
it stay as is and pray things get better.  This draft is a good example of
how IGP can save the day with site metric.

>
> Breaking all existing flows going to one LB to suddenly timeout and all go
> to the other LB(s) is never a technique any one would seriously deploy in a
> production network.
>

Gyan> Application load balancing can be done with DNS based GEO load
balancing based on client and server IP database where you have more
discrete control however the failover is much slower.

>
> Leave alone that doing that has potential to immediately overload the
> other LB(s)/server(s) too.
>

Gyan> The idea with Anycast load balancing is that you may have 10 or even
100s of paths, so if one server fails the load can be evenly distributed
based on statistical multiplexing algorithm calculated by the server teams
engineering the sizing of the server clusters to ensure what you described
won’t happen.

>
> For me the conclusion is that IGP transport level is not the proper layer
> to address the requirement.
>
> Cheers,
> Robert.
>
>
> On Thu, Jan 13, 2022 at 7:05 AM Gyan Mishra <hayabusagsm@gmail.com> wrote:
>
>>
>> Hi Les
>>
>> Agreed.
>>
>> My thoughts are that the context of the draft is based on an Anycast VIP
>> address of a server which is proximity based load balancing and not
>> necessarily ECMP/UCMP and only if the proximity is the same for multiple
>> paths to the Anycast VIP would there be a ECMP/UCMP possibility.
>>
>> Let’s say if it’s proximity based and one path is preferred, the flow
>> will take that path.  So now the server you are on gets overloaded and a
>> site cost gets advertised in the IGP at which point the connection receives
>> a TCP reset and flow re-establishes on the alternate path based on the site
>> cost and remains there until the server goes down or  gets overloaded or a
>> better path comes along.
>>
>> For ECMP case, ECMP has flow affinity so the flow will stay on the same
>> path long lived until the connection terminates.
>>
>> So now in ECMP case the flow hashed to a path and maintains its affinity
>> to that path.  Now all of sudden the server gets overloaded and we get a
>> better site cost advertised.  So now the session terminates on current path
>> and establishes again on the Anycast VIP new path based on the site cost
>> advertised.
>>
>> The failover I believe results in the user refreshing their browser which
>> is better than hanging.
>>
>> As the VIP prefix is the only one that experiences reconvergence on new
>> path based on site cost if there is any instability with the servers that
>> will be reflected to the IGP Anycast prefix as well.
>>
>> Is that a good or bad thing.  I think if you had to pick your poison as
>> here the issue Linda is trying to solve is a server issue but leveraging
>> the IGP to force re-convergence when the server is in a half baked state
>> meaning it’s busy and connections are being dropped or very slow QOE for
>> end user.  If you did nothing and let it ride the the user would be stuck
>> on a bad connection.
>>
>> So this solution dynamically fixed the issue.
>>
>> As far as oscillation that is not a big deal as you are in a much worse
>> off state connected to a dying server on its last leg as far as memory and
>> CPU.
>>
>> This solution I can see can apply to any client / server connection and
>> not just 5G and can be used by enterprises as well as SP for their
>> customers to have an drastically improved QOE.
>>
>> I saw some feedback on the TLV and I think once that is all worked out I
>> am in favor of advancing this draft.
>>
>> Kind Regards
>>
>> Gyan
>>
>>
>> On Wed, Jan 12, 2022 at 10:16 PM Les Ginsberg (ginsberg) <
>> ginsberg@cisco.com> wrote:
>>
>>> Gyan –
>>>
>>>
>>>
>>> The difference between ECMP and UCMP is not significant in this
>>> discussion.
>>>
>>> I don’t want to speak for Robert, but for me his point was that IGPs can
>>> do “multipath” well – but this does not translate into managing flows.
>>>
>>> Please see my other responses on this thread.
>>>
>>>
>>>
>>> Thanx.
>>>
>>>
>>>
>>>     Les
>>>
>>>
>>>
>>>
>>>
>>> *From:* Gyan Mishra <hayabusagsm@gmail.com>
>>> *Sent:* Wednesday, January 12, 2022 5:26 PM
>>> *To:* Robert Raszuk <robert@raszuk.net>
>>> *Cc:* Les Ginsberg (ginsberg) <ginsberg@cisco.com>; Linda Dunbar <
>>> linda.dunbar@futurewei.com>; lsr@ietf.org
>>> *Subject:* Re: [Lsr] Seeking feedback to the revised
>>> draft-dunbar-lsr-5g-edge-compute
>>>
>>>
>>>
>>>
>>>
>>> Robert
>>>
>>>
>>>
>>> Here are a few examples of UCMP drafts below used in core and data
>>> center use cases.
>>>
>>>
>>>
>>> https://datatracker.ietf.org/doc/html/draft-ietf-bess-evpn-unequal-lb-15
>>>
>>>
>>>
>>> https://datatracker.ietf.org/doc/html/draft-mohanty-bess-weighted-hrw-02
>>>
>>>
>>>
>>> https://datatracker.ietf.org/doc/html/draft-ietf-idr-link-bandwidth
>>>
>>>
>>>
>>> https://datatracker.ietf.org/doc/html/draft-mohanty-bess-ebgp-dmz
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> There are many use cases in routing for unequal cost load balancing
>>> capabilities.
>>>
>>>
>>>
>>> Kind Regards
>>>
>>>
>>>
>>> Gyan
>>>
>>>
>>>
>>> On Wed, Jan 12, 2022 at 2:23 PM Robert Raszuk <robert@raszuk.net> wrote:
>>>
>>> Linda,
>>>
>>>
>>>
>>> > IGP has been used for the Multi-path computation for a long time
>>>
>>>
>>>
>>> IGP can and does ECMP well. Moreover, injecting metric of anycast server
>>> destination plays no role in it as all paths would inherit that external to
>>> the IGP cost.
>>>
>>>
>>>
>>> Unequal cost load balancing or intelligent traffic spread has always
>>> been done at the application layer *for example MPLS*
>>>
>>>
>>>
>>> Thx a lot,
>>>
>>> R.
>>>
>>>
>>>
>>> On Wed, Jan 12, 2022 at 8:18 PM Linda Dunbar <linda.dunbar@futurewei.com>
>>> wrote:
>>>
>>> Robert,
>>>
>>>
>>>
>>> Please see inline in green:
>>>
>>>
>>>
>>> *From:* Robert Raszuk <robert@raszuk.net>
>>> *Sent:* Wednesday, January 12, 2022 1:00 PM
>>> *To:* Linda Dunbar <linda.dunbar@futurewei.com>
>>> *Cc:* Les Ginsberg (ginsberg) <ginsberg@cisco.com>; lsr@ietf.org
>>> *Subject:* Re: [Lsr] Seeking feedback to the revised
>>> draft-dunbar-lsr-5g-edge-compute
>>>
>>>
>>>
>>> Hi Linda,
>>>
>>>
>>>
>>> *[LES:] It is my opinion that what you propose will not achieve your
>>> goals – in part because IGPs only influence forwarding on a per packet
>>> basis – not a per flow/connection basis.*
>>>
>>> *[Linda] Most vendors do support flow based ECMP, with Shortest Path
>>> computed by attributes advertised by IGP.*
>>>
>>>
>>>
>>> I am with Les here. ECMP has nothing to do with his point.
>>>
>>>
>>>
>>> [Linda] Les said that “IGP only influence forwarding on a per packet
>>> basis”.  I am saying that vendors supporting “forwarding per flow” with
>>> equal cost computed by IGP implies  that forwarding on modern routers are
>>> no longer purely per packet basis.
>>>
>>>
>>>
>>>
>>>
>>> Draft says:
>>>
>>>
>>>
>>> *When those multiple server instances share one IP address (ANYCAST),
>>> the transient network and load conditions can be incorporated in selecting
>>> an optimal path among server instances for UEs.*
>>>
>>>
>>>
>>> So if we apply any new metric to indicate load of a single anycast
>>> address how is this going to help anything ?
>>>
>>>
>>>
>>> [Linda] The “Load” or “Aggregated Site Cost” is to differentiate
>>> multiple paths with the same routing distance.
>>>
>>>
>>>
>>>
>>>
>>> You would need a mechanism where the network is smart and say per
>>> src-dst tuple or more spreads the traffic. IGP does not play that game
>>> today I am afraid.
>>>
>>> [Linda] There is one SRC and multiple paths to one DST. IGP has been
>>> used for the Multi-path computation for a long time.
>>>
>>>
>>>
>>> Thank you, Linda
>>>
>>>
>>>
>>> Thx a lot,
>>> R.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Lsr mailing list
>>> Lsr@ietf.org
>>> https://www.ietf.org/mailman/listinfo/lsr
>>>
>>> --
>>>
>>> [image: Image removed by sender.] <http://www.verizon.com/>
>>>
>>> *Gyan Mishra*
>>>
>>> *Network Solutions Architect *
>>>
>>> *Email gyan.s.mishra@verizon.com <gyan.s.mishra@verizon.com>*
>>>
>>> *M 301 502-1347*
>>>
>>>
>>>
>> --
>>
>> <http://www.verizon.com/>
>>
>> *Gyan Mishra*
>>
>> *Network Solutions A**rchitect *
>>
>> *Email gyan.s.mishra@verizon.com <gyan.s.mishra@verizon.com>*
>>
>>
>>
>> *M 301 502-1347*
>>
>> --

<http://www.verizon.com/>

*Gyan Mishra*

*Network Solutions A**rchitect *

*Email gyan.s.mishra@verizon.com <gyan.s.mishra@verizon.com>*



*M 301 502-1347*