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

Aijun Wang <wangaijun@tsinghua.org.cn> Sat, 15 January 2022 03:37 UTC

Return-Path: <wangaijun@tsinghua.org.cn>
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 D642A3A21BA for <lsr@ietfa.amsl.com>; Fri, 14 Jan 2022 19:37:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.798
X-Spam-Level:
X-Spam-Status: No, score=-1.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, MIME_QP_LONG_LINE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 OTj0huPfecXe for <lsr@ietfa.amsl.com>; Fri, 14 Jan 2022 19:37:29 -0800 (PST)
Received: from mail-m17638.qiye.163.com (mail-m17638.qiye.163.com [59.111.176.38]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4573B3A21BB for <lsr@ietf.org>; Fri, 14 Jan 2022 19:37:27 -0800 (PST)
Received: from smtpclient.apple (unknown [221.223.101.81]) by mail-m17638.qiye.163.com (Hmail) with ESMTPA id 2DBC61C01D4; Sat, 15 Jan 2022 11:37:24 +0800 (CST)
Content-Type: multipart/alternative; boundary="Apple-Mail-19571DD2-8266-4952-8FCA-562A3C337331"
Content-Transfer-Encoding: 7bit
From: Aijun Wang <wangaijun@tsinghua.org.cn>
Mime-Version: 1.0 (1.0)
Date: Sat, 15 Jan 2022 11:37:23 +0800
Message-Id: <1D59E338-2C6D-4FDD-AFF2-0DE5F5478C73@tsinghua.org.cn>
References: <BY3PR05MB80814191E46269D33235E6A2C7559@BY3PR05MB8081.namprd05.prod.outlook.com>
Cc: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>, Linda Dunbar <linda.dunbar@futurewei.com>, Gyan Mishra <hayabusagsm@gmail.com>, Robert Raszuk <robert@raszuk.net>, lsr@ietf.org
In-Reply-To: <BY3PR05MB80814191E46269D33235E6A2C7559@BY3PR05MB8081.namprd05.prod.outlook.com>
To: John E Drake <jdrake=40juniper.net@dmarc.ietf.org>
X-Mailer: iPhone Mail (19B74)
X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgPGg8OCBgUHx5ZQUlOS1dZCBgUCR5ZQVlLVUtZV1 kWDxoPAgseWUFZKDYvK1lXWShZQUpMS0tKN1dZLVlBSVdZDwkaFQgSH1lBWRofQx5WS08dQx5PTU oZHk8dVRMBExYaEhckFA4PWVdZFhoPEhUdFFlBWVVLWQY+
X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6OjI6Eww4HD5DSEwSQi85FT4j AxMwCx9VSlVKTU9JSUpMQ09PTUhJVTMWGhIXVQwaFRwaEhEOFTsPCBIVHBMOGlUUCRxVGBVFWVdZ EgtZQVlJSUpVSUlIVUpLSlVDSllXWQgBWUFNTUtDSDcG
X-HM-Tid: 0a7e5bcfade0d993kuws2dbc61c01d4
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/hynBiavMfMqrnJ5bgfZuzYt0vXI>
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: Sat, 15 Jan 2022 03:37:34 -0000

This draft is now proposing one aggregate cost of the application server.  

The detailed factors can also be included if necessary. But the principle for advertising them should be controllable, as required by other dynamic metrics in IGP.

Aijun Wang
China Telecom

> On Jan 15, 2022, at 08:37, John E Drake <jdrake=40juniper.net@dmarc.ietf.org> wrote:
> 
> 
> This is similar to the issue with the Down/Up proposal.  A single metric tells an ingress node nothing about the performance of or load on the individual applications at a given site. 
>  
> Yours Irrespectively,
>  
> John
>  
>  
> Juniper Business Use Only
> From: Aijun Wang <wangaijun@tsinghua.org.cn> 
> Sent: Friday, January 14, 2022 6:58 PM
> To: John E Drake <jdrake@juniper.net>
> Cc: Robert Raszuk <robert@raszuk.net>; Gyan Mishra <hayabusagsm@gmail.com>; 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
>  
> [External Email. Be cautious of content]
>  
> Hi, John:
> Here I would also like to hear your own opinions. If not, please see my responses for both you and Robert:
>  
> https://datatracker.ietf.org/doc/html/draft-ietf-lsr-flex-algo-bw-con-01 has introduced the “delay metric” into the IGP. Such metric may be variant in every link within the IGP.
> The proposal in draft-dunbar-lsr-5g-edge-compute is only for the stub-link’s/prefixes characteristics, it is the aggregate cost to the server that measured from the router.
>  
> All the factors that mentioned by Robert maybe the parameters that influences the performance of the server, which will be reflected in the aggregate cost.
>  
> Then, the conclusion is that IGP has now the capabilities to deal with the dynamics value(the change frequencies can certainly be controlled, thinking how we control the flapping interface)within the network , the aggregate cost or other quasi-static factor to the server at the edge of the network can also be considered together.
> Such approaches can certainly let the IGP give more optimal behavior to forward the traffic to the appropriate destination, or follow an optimal path.
> 
> Aijun Wang
> China Telecom
>  
> 
> On Jan 14, 2022, at 23:49, John E Drake <jdrake=40juniper.net@dmarc.ietf.org> wrote:
> 
> 
> Robert is correct on all points.
>  
> Yours Irrespectively,
>  
> John
>  
>  
> Juniper Business Use Only
> From: Lsr <lsr-bounces@ietf.org> On Behalf Of Robert Raszuk
> Sent: Friday, January 14, 2022 4:20 AM
> To: Gyan Mishra <hayabusagsm@gmail.com>
> 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
>  
> [External Email. Be cautious of content]
>  
> Gyan,
>  
> This is not a network discussion. There are well proven techniques to direct user sessions or user requests to a pool of servers deployed and operational. All provide robust services. Network plays very little to no role in that. 
>  
> There are also lot's of factors involved in making that decision (CPU load, RAM, Storage, IO, CPU Temp etc ...) and IMO it would be very bad to now make IGP to carry it and make routing decisions (even if separate topology) based on that information. 
>  
> I do not see this like a move into the right direction. That is my input. 
>  
> Kind regards,
> Robert.
>  
>  
>  
>  
>  
>  
>  
>  
> On Fri, Jan 14, 2022 at 4:53 AM Gyan Mishra <hayabusagsm@gmail.com> wrote:
> 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
> --
> 
> 
> Gyan Mishra
> Network Solutions Architect 
> Email gyan.s.mishra@verizon.com
> M 301 502-1347
> 
>  
> --
> 
> 
> Gyan Mishra
> Network Solutions Architect 
> Email gyan.s.mishra@verizon.com
> M 301 502-1347
> 
>  
> --
> 
> 
> Gyan Mishra
> Network Solutions Architect 
> Email gyan.s.mishra@verizon.com
> M 301 502-1347
> 
>  
> _______________________________________________
> Lsr mailing list
> Lsr@ietf.org
> https://www.ietf.org/mailman/listinfo/lsr
> _______________________________________________
> Lsr mailing list
> Lsr@ietf.org
> https://www.ietf.org/mailman/listinfo/lsr