Re: [Lsr] draft-lin-lsr-flex-algo-metric-00

Peter Psenak <ppsenak@cisco.com> Fri, 25 March 2022 08:15 UTC

Return-Path: <ppsenak@cisco.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 57E7B3A1051 for <lsr@ietfa.amsl.com>; Fri, 25 Mar 2022 01:15:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.61
X-Spam-Level:
X-Spam-Status: No, score=-9.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 WsND-YrdlxQ2 for <lsr@ietfa.amsl.com>; Fri, 25 Mar 2022 01:15:41 -0700 (PDT)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 028893A1043 for <lsr@ietf.org>; Fri, 25 Mar 2022 01:15:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4330; q=dns/txt; s=iport; t=1648196141; x=1649405741; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=25FyXNZ+sA8OdayCvF6TgUuU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7ksRzoes 6ZAc3ZXNHhvhMruqF6/YvF0ncklJcrDN4IEsXYmxjbcZRojacycHP+WvYAEtNs2ru5eQ9v6N 8BeUgBiaTrsOgYeFm0eC6tryY9EgVGmI2EH9zp5v5Ef53PJ5A18zLarN8DaEvSBRchT2EOVo G3W/m3+KhFBP5qUzj/tz563rubCh2b6QIUICPi+/+Isi1yIzWtVAxoTPbemnRWnony0fPcCI RwfwSYVio4dqnW1X/nHBTTt9RZooSUgc9ZXFuQ77iSExazV/xuVCwA4c9JRVDA1nJRpGmFyh zdli/usVGM/6uTEIZ6I3u7M9WvaBMQDEYMVicY5oeo5DzvL/NFbYvHnF4gL/EuJYjvdQ22YL 9ei9XlWulnrpZRXv5hXBHie695WmrDHTxQu+iLcVX+/4wVyaeaNPtL0uQGGsa4ddtrJHzFtW UTofeDDsoji6rnQykSwrBklQNlFGt7camSH2A4zd3Xf323xoiDLkX9sDMFWfRc1bZlslc7Ba 07IsgQZ/45IIHavdsdKj3GZVawXIVzbPY29DJj8N4MWCrAsJVTv1Hw/OiatM5XFzRFEfVcXY s/LL65BzB8yVMxa8dZBb7tCgOV3l3FkmQs+h/nTlnya7FZXX1bNIZ9tDbdERrlRAH+syOkNz +tiCg==
IronPort-HdrOrdr: A9a23:DBdFe6GtbGLhOsTBpLqE08eALOsnbusQ8zAXPjNKKCC9Ffbo8P xG/c5rsSMc5wx9ZJhNo6HjBEDEewK4yXcX2+Us1NWZNjUO0VHAROpfBMnZsl7d8kbFmNK1u5 0BT0EzMrLN5ZwQt7eC3OF+eOxQpuW6zA==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.90,209,1643673600"; d="scan'208";a="47724074"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 25 Mar 2022 08:15:36 +0000
Received: from [10.60.140.52] (ams-ppsenak-nitro3.cisco.com [10.60.140.52]) by aer-core-4.cisco.com (8.15.2/8.15.2) with ESMTP id 22P8FZ1v023274; Fri, 25 Mar 2022 08:15:35 GMT
Message-ID: <3a25a8b3-8dd6-4136-7051-32317070f66c@cisco.com>
Date: Fri, 25 Mar 2022 09:15:35 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0
Content-Language: en-US
To: Chenmengxiao <chen.mengxiao@h3c.com>, "lsr@ietf.org" <lsr@ietf.org>
References: <f90ba8ec-3a63-b23a-e8eb-a392f2faf699@cisco.com> <597c619f749a49fab603561e9488f530@h3c.com>
From: Peter Psenak <ppsenak@cisco.com>
In-Reply-To: <597c619f749a49fab603561e9488f530@h3c.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Outbound-SMTP-Client: 10.60.140.52, ams-ppsenak-nitro3.cisco.com
X-Outbound-Node: aer-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/OyGaR5z2n59XKOBgb98oHLnqnsg>
Subject: Re: [Lsr] draft-lin-lsr-flex-algo-metric-00
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, 25 Mar 2022 08:15:50 -0000

Hi Mengxiao,

please see inline:

On 25/03/2022 07:35, Chenmengxiao wrote:
> Hi Peter,
> 
> Thank you for the comments.
> 
> Time for the presentation is very limited. Glad to receive your comments 
> here.
> 
> I agree that flex-algo is much easier to deploy and manage than MT, 
> which make it a popular tool now.
> 
> But I think using algorithm-specific link metric will not cause the loss 
> of this property.
> 
> For example, flex-algo 128 and flex-algo 129 need to use different 
> metrics of the same metric-type for the same link.
> 
> Solution A: Use algorithm-based metric for algorithm 128 and algorithm 129
> 
> Solution B: Use metric-type-based metric for metric-type 128 and 
> metric-type 129 (according to Shraddha's suggestion, 
> draft-ietf-lsr-flex-algo-bw-con)
> 
> Both in the two solutions, extra link metric tlvs need to be advertised, 
> and they are stored locally, no matter algorithm-based or metric-type-based.

yes, but for B, any other algorithm may share the metric used for algo 
128 or 129. That is not possible with A.

You may argue that in your case you only have two algos, so the result 
ts similar. Yes, but from the architecture perspective there is a 
difference. Not to mention that for A we would need to extend the FAD.

> 
> During path computation, the difference is that, solution A needs to 
> check if there is algorithm-based metric for the link. If yes, 
> algorithm-based metric is preferred. If no, common metric is used.
> 
> IMHO, even if the algorithm-specific link metric is used, flex-algo is 
> still light weight, compared with MT.

not really, because it advertise algo specific metric that can not be 
used by any other algo, which is similar to topology specific metric in MT.

I would encourage you to consider option B as a solution for your problem.

thanks,
Peter



> 
> Thanks,
> 
> Mengxiao Chen
> 
> -----Original Message-----
> From: Lsr [mailto:lsr-bounces@ietf.org] On Behalf Of Peter Psenak
> Sent: Thursday, March 24, 2022 11:09 PM
> To: lsr@ietf.org
> Subject: [Lsr] draft-lin-lsr-flex-algo-metric-00
> 
> Hi,
> 
> as I was unable to make my comments during the presentation, let me put
> 
> them here:
> 
> When we started with the flex-algo work, there has been a lengthy
> 
> discussion on why not to use the multi-topology (MT) instead. We always
> 
> wanted flex-algo to be light weight and as a result easy to deploy and
> 
> manage. I believe that was one of the reasons why flex-algo has been
> 
> successfully deployed. We do not want to loose that very property of the
> 
> flex-algo architecture.
> 
> What you are proposing is what MT was invented for and we do not want
> 
> flex-algo to become a new version of MT.
> 
> You have two ways to solve your problem:
> 
> a) use MT
> 
> b) if you want to solve your problem with flex-algo, please use what
> 
> already exists in flex-algo. Please look at
> 
> draft-ietf-lsr-flex-algo-bw-con as others have pointed out.
> 
> thanks,
> 
> Peter
> 
> _______________________________________________
> 
> Lsr mailing list
> 
> Lsr@ietf.org <mailto:Lsr@ietf.org>
> 
> https://www.ietf.org/mailman/listinfo/lsr 
> <https://www.ietf.org/mailman/listinfo/lsr>
> 
> -------------------------------------------------------------------------------------------------------------------------------------
> 本邮件及其附件含有新华三集团的保密信息,仅限于发送给上面地址中列出
> 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄 
> 露、复制、
> 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人 
> 并删除本
> 邮件!
> This e-mail and its attachments contain confidential information from 
> New H3C, which is
> intended only for the person or entity whose address is listed above. 
> Any use of the
> information contained herein in any way (including, but not limited to, 
> total or partial
> disclosure, reproduction, or dissemination) by persons other than the 
> intended
> recipient(s) is prohibited. If you receive this e-mail in error, please 
> notify the sender
> by phone or email immediately and delete it!