Re: [Idr] some comments about the draft-ietf-idr-5g-edge-service-metadata-02.txt

"Shihang(Vincent)" <shihang9@huawei.com> Fri, 09 June 2023 03:25 UTC

Return-Path: <shihang9@huawei.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B7233C151707 for <idr@ietfa.amsl.com>; Thu, 8 Jun 2023 20:25:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.893
X-Spam-Level:
X-Spam-Status: No, score=-1.893 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2nE81sxs6l6N for <idr@ietfa.amsl.com>; Thu, 8 Jun 2023 20:25:10 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D4D13C151700 for <idr@ietf.org>; Thu, 8 Jun 2023 20:25:08 -0700 (PDT)
Received: from lhrpeml100001.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Qcmc45vWLz6D8X4 for <idr@ietf.org>; Fri, 9 Jun 2023 11:22:44 +0800 (CST)
Received: from kwepemi500001.china.huawei.com (7.221.188.114) by lhrpeml100001.china.huawei.com (7.191.160.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 9 Jun 2023 04:25:04 +0100
Received: from kwepemi500020.china.huawei.com (7.221.188.8) by kwepemi500001.china.huawei.com (7.221.188.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 9 Jun 2023 11:25:02 +0800
Received: from kwepemi500020.china.huawei.com ([7.221.188.8]) by kwepemi500020.china.huawei.com ([7.221.188.8]) with mapi id 15.01.2507.023; Fri, 9 Jun 2023 11:25:02 +0800
From: "Shihang(Vincent)" <shihang9@huawei.com>
To: Linda Dunbar <linda.dunbar@futurewei.com>, Zongpeng <duzongpeng@foxmail.com>, kmajumdar <kmajumdar@microsoft.com>, "Wanghaibo (Rainsword)" <rainsword.wang@huawei.com>, "gyan.s.mishra" <gyan.s.mishra@verizon.com>
CC: "idr@ietf. org" <idr@ietf.org>
Thread-Topic: [Idr] some comments about the draft-ietf-idr-5g-edge-service-metadata-02.txt
Thread-Index: AQHZmVgM5hWE73mlxUiUJ2RviWASg69/i+8AgAE/ij+AAEh0AIAAt5lA
Date: Fri, 09 Jun 2023 03:25:02 +0000
Message-ID: <9fac9b9ea3074d7791ffc6239394d802@huawei.com>
References: <tencent_697D58D82DF942DA12D470A202CB25A02C09@qq.com> <CO1PR13MB49208FE897682337B22DFDFC8550A@CO1PR13MB4920.namprd13.prod.outlook.com> <tencent_4A991D804FABCD5A8D3FAAAE9C18AAC18705@qq.com> <CO1PR13MB492001CE56F6986DA96630828551A@CO1PR13MB4920.namprd13.prod.outlook.com>
In-Reply-To: <CO1PR13MB492001CE56F6986DA96630828551A@CO1PR13MB4920.namprd13.prod.outlook.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.112.41.128]
Content-Type: multipart/alternative; boundary="_000_9fac9b9ea3074d7791ffc6239394d802huaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/jvk9aHTl_SGveuaf7wA8ODzeYPg>
Subject: Re: [Idr] some comments about the draft-ietf-idr-5g-edge-service-metadata-02.txt
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Jun 2023 03:25:14 -0000

Hi Linda, Zongpeng,

Do we need a type ID to indicate the combination of metrics given the metric TLV already contains the type? Suppose we have N type of metric, then we need N bits to express all the combination of those metrics.

I have following comments:

  1.  The Capacity Index should be renamed to Site Degradation Index.
  2.  The site preference may need to be renamed as well. Use 'Preference'? We do not care it is a preference for a site, or a instance or anything, it is a Preference for the resource that an ingress router should select.
  3.  We need two new metrics to describe the service computing power:

a)      Capacity: describes the number of computing units that are available for the instance/site. The value/content is defined and reported by service.

b)     Load: How many percentage of the computing power is used. It can be measured by network or reported by service.


Best,
Hang
From: Idr <idr-bounces@ietf.org> On Behalf Of Linda Dunbar
Sent: Friday, June 9, 2023 8:07 AM
To: Zongpeng <duzongpeng@foxmail.com>; kmajumdar <kmajumdar@microsoft.com>; Wanghaibo (Rainsword) <rainsword.wang@huawei.com>; gyan.s.mishra <gyan.s.mishra@verizon.com>
Cc: idr@ietf. org <idr@ietf.org>
Subject: Re: [Idr] some comments about the draft-ietf-idr-5g-edge-service-metadata-02.txt

ZongPeng,

The Service Metadata Path Attribute is now defined as to conform with RFC4271.


      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |   Attr. Flags |Svc-Metadata-T |        Length (2 Octets)      |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                                                               |
     |         Value (multiple Metadata sub-TLVs)                    |
     |                                                               |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
              Figure 1: Edge Service Metadata Path Attribute

Attr. Flags are defined as:

  *   The high-order bit (bit 0): set to 1.
  *   The second high-order bit (bit 1): set to 0 to indicate that the service-metadata is not transitive. Only intended for the receiving router.
  *   The third high-order bit (bit 2): same as specified by RFC4721.
  *   The fourth high-order bit (bit 3): set to 1 to indicate there are two octets for the Length field.

The lower order flags haven't been specified yet. Can we consider using the lower order flags to represent the categories of the service metadata carried by the TLV?

Linda

From: Zongpeng <duzongpeng@foxmail.com<mailto:duzongpeng@foxmail.com>>
Sent: Thursday, June 8, 2023 6:46 AM
To: Linda Dunbar <linda.dunbar@futurewei.com<mailto:linda.dunbar@futurewei.com>>; kmajumdar <kmajumdar@microsoft.com<mailto:kmajumdar@microsoft.com>>; rainsword.wang <rainsword.wang@huawei.com<mailto:rainsword.wang@huawei.com>>; gyan.s.mishra <gyan.s.mishra@verizon.com<mailto:gyan.s.mishra@verizon.com>>
Cc: idr@ietf. org <idr@ietf.org<mailto:idr@ietf.org>>; c.l <c.l@huawei.com<mailto:c.l@huawei.com>>
Subject: Re:RE: [Idr] some comments about the draft-ietf-idr-5g-edge-service-metadata-02.txt

Hi, Linda

         Thanks for the reply.   Please see in line.

Best Regards
Zongpeng Du

________________________________

<https://wx.mail.qq.com/home/index?t=readmail_businesscard_midpage&nocheck=true&name=Zongpeng&icon=http%3A%2F%2Fthirdqq.qlogo.cn%2Fg%3Fb%3Dsdk%26k%3DEZIs9Uo1X9yxQicNYwv1VCw%26s%3D100%26t%3D90%3Frand%3D1582721199%3Frand%3D1582721215%3Frand%3D1582721231%3Frand%3D1582721291&mail=duzongpeng%40foxmail.com&code=CdbXNbB9pbFFbw7AtGA2CbszrV7ly525RcTacww2Qlw2KBai-8O2ripAb6_RPskg2ujvEHDk46cWjzq7mC9AUkpyieRdlgKYA4tM6VRwLPg>


------------------ Original ------------------
From: "Linda Dunbar" <linda.dunbar@futurewei.com<mailto:linda.dunbar@futurewei.com>>;
Date: Thu, Jun 8, 2023 08:44 AM
To: "Zongpeng"<duzongpeng@foxmail.com<mailto:duzongpeng@foxmail.com>>;"kmajumdar"<kmajumdar@microsoft.com<mailto:kmajumdar@microsoft.com>>;"rainsword.wang"<rainsword.wang@huawei.com<mailto:rainsword.wang@huawei.com>>;"gyan.s.mishra"<gyan.s.mishra@verizon.com<mailto:gyan.s.mishra@verizon.com>>;
Cc: "idr@ietf. org<mailto:idr@ietf.%20org>"<idr@ietf.org<mailto:idr@ietf.org>>;"c.l"<c.l@huawei.com<mailto:c.l@huawei.com>>;
Subject: RE: [Idr] some comments about the draft-ietf-idr-5g-edge-service-metadata-02.txt

Zong Peng,

Thanks for the suggestions. Comments and replies are inserted below

From: duzongpeng@foxmail.com<mailto:duzongpeng@foxmail.com> <duzongpeng@foxmail.com<mailto:duzongpeng@foxmail.com>>
Sent: Wednesday, June 7, 2023 10:50 AM
To: Linda Dunbar <linda.dunbar@futurewei.com<mailto:linda.dunbar@futurewei.com>>; kmajumdar <kmajumdar@microsoft.com<mailto:kmajumdar@microsoft.com>>; rainsword.wang <rainsword.wang@huawei.com<mailto:rainsword.wang@huawei.com>>; gyan.s.mishra <gyan.s.mishra@verizon.com<mailto:gyan.s.mishra@verizon.com>>
Cc: idr@ietf. org <idr@ietf.org<mailto:idr@ietf.org>>; c.l <c.l@huawei.com<mailto:c.l@huawei.com>>
Subject: [Idr] some comments about the draft-ietf-idr-5g-edge-service-metadata-02.txt

Hi, Linda, and the authors:

    Some comments about draft-ietf-idr-5g-edge-service-metadata-02.txt for your considerations.

    About the metric distribution, I think the BGP method is one of the important ways. And perhaps in CATS, we need to start from the simple cases. However, future extensions should be supported.
 IMHO, the way in this document should be supported in future versions of the CATS metric draft, for the scenario that the service instance does not support the direct notification of the computing information.

    For example, we can extend the format with more information to show it is extensible.
      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |   Service-Metadata Type       |        Length (2 Octets)      |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     Flags     |   FormatID    |   AlgoID      |   Reserved    |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                                                               |
     |         Value (multiple Metadata sub-TLVs)                    |
     |                                                               |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
              Figure 1: Edge Service Metadata Path Attribute
o  FormatID (1 octets): indicate a specific format, i.e., which set of TLVs would be included.
     o  AlgoID (1 octets): the suggested algorithm to compare the cost to reach the service in different servers.
[Linda] Does "FormatID" and "AlgoID" apply to all the sub-TLVs carried in the "Service-Metadata" Path attribute?  What if the Service metadata carried have different "Formats"?
*        [zongpeng] What I mean here is a format type here. Perhaps we can change it to
*        o  FormatID (1 octets): indicate a specific format, i.e., which set of TLVs would be included.
*
*        For example, the formatID is set to 1, which indicates that we would include the TLVs defined in this document:
*        - The site Capacity Index,
*        - The Site Preference Index,
*        - The Load Measurement Index for the attached edge services.
*        If the formatID is set to 2, we would include other TLV set.
 *     For example, Joel has suggested that we can only contain one TLV, i.e. the latency of processing the job. Thus, when the formatID=2, and the processing latency TLV will be included, and optionally a capability TLV can be included.
*          Of course, we can have other ways to show the design is evolvable, for a new scenario in future .

    Thus, we can define different FormatIDs for different scenarios.

 Another suggestion about the draft is about the migration of the computing information. You can consider whether it is valuable and acceptable.
 In the current CATS framework draft, as shown below, the granularity of the computing information can be per-service instance Or aggregated per-site.
 [Linda] Absolutely should allow metrics Aggregated per-site, per-address-family, or per instance. They are reflected by different sub-TLVs carried within the Metadata Path Attribute.
*            [zongpeng] I am not quite sure about how the address-family works here. Others are OK. Perhaps we can have a Flag bit to indicate whether the information is aggregated.

   Note that, depending on the design considerations and service

   requirements, per-service instance computing-related metrics or

   aggregated per-site computing related metrics (and a combination

   thereof) can be used by a C-PS.  Using aggregated per-site computing

   related metrics appears as a privileged option scalability-wise, but

   relies on Egress CATS-Routers that connect to various service

   instances to select the proper service instance.
 [Linda] Agree
 However, IMHO, we can also merge the computing information in the per Egress Router granularity. The advantage is that we can merge again the computing information if more than one site connect to the Egress. However, more TLVs are needed here.
[Linda] We should allow both of the following scenarios

  *   network & DC are under one administrative control. Application running status & environment can be measured and analyzed by DC & application controller (however still need some algorithms to aggregate them together for meaningful indication)
  *   network operator doesn't have access to the application running status.

Example of Aggregation Descriptions

     It is said that a cluster of servers serving the same Application behind a Layer 7 Load balancer can be considered as one merged Application server.
     In this case, the compute metrics from each server within the site will be merged at the site level.
    Optionally, if the Egress can do another round of load balancing among the local sites that connects directly to it, the Egress can merge again the compute metrics from the local sites. The advantage is that we can reduce the metric information that needs to be transferred in the network. But new TLVs need to be designed.
[Linda] Agree.  How about adding the following section?
*            [zongpeng] It is OK for me.
5.2 Service Delay Index
For a deployment environment where the network and the Edge Data Centers are under one administrative control, e.g., a Mobile Service Provider, the application/service running status & environment metrics collected by DC & application controller are much more meaningful than the IP layer load measurement collected by the Edge routers as described in Section 4.4.
However, it is not easy to predict which site has "the fastest processing time" or the shortest delay before the service request arrives because:

-      The given service instance shares the same physical infrastructure with many other applications & service instances. Service requests by other applications, UEs, or applications running behavior can impact the processing time for the given service instance.

-      The given service instance can be served by a cluster of servers behind a Load Balancer. To the network, the service is identified by one service ID.

-      The service complexity is different. One service may call many micro services, need to access multiple backend databases, need to go through sophisticated security scrubbing functions, etc. Another service can be responded with a few simple steps. Without application internal logic, it is difficult to estimate processing time.

Here are some metrics, which can be easily collected and measured. They are meaningful in predicting service processing time for a new service request:

o  CPU utilization for the server where the instance is instantiated

o  The network utilization for the links to the server where the instance is instantiated

o  The number of databases that the service instance will access

o  The memory utilization of the databases
While out of scope, we assume there is an algorithm that can derive the Service Delay Index from all the measurements above.

Thank you
Linda


Best Regards
Zongpeng Du

________________________________
duzongpeng@foxmail.com<mailto:duzongpeng@foxmail.com> & duzongpeng@chinamobile.com<mailto:duzongpeng@chinamobile.com>


[Idr] I-D Action: draft-ietf-idr-5g-edge-service-metadata-02.txt

internet-drafts@ietf.org<mailto:internet-drafts@ietf.org> Thu, 04 May 2023 23:17 UTCShow header<https://mailarchive.ietf.org/arch/msg/idr/YPgRgaQsE-YCiXadqcr6D4EsSKk/>

A New Internet-Draft is available from the on-line Internet-Drafts

directories. This Internet-Draft is a work item of the Inter-Domain Routing

(IDR) WG of the IETF.

   Title           : BGP Extension for 5G Edge Service Metadata

   Authors         : Linda Dunbar

                     Kausik Majumdar

                     Haibo Wang

                     Gyan Mishra

   Filename        : draft-ietf-idr-5g-edge-service-metadata-02.txt

   Pages           : 19

   Date            : 2023-05-04

Abstract:

   This draft describes a new Metadata Path Attribute and some

   sub-TLVs for egress routers to advertise the Edge Service

   Metadata of the directly attached edge services (ES). The Edge

   Service Metadata can be used by the ingress routers in the 5G

   Local Data Network to make path selections not only based on

   the routing cost but also the running environment of the edge

   services. The goal is to improve latency and performance for

   5G edge services.

   The extension enables an edge service at one specific location

   to be more preferred than the others with the same IP address

   (ANYCAST) to receive data flow from a specific source, like

   specific User Equipment (UE).

The IETF datatracker status page for this Internet-Draft is:

https://datatracker.ietf.org/doc/draft-ietf-idr-5g-edge-service-metadata/

There is also an htmlized version available at:

https://datatracker.ietf.org/doc/html/draft-ietf-idr-5g-edge-service-metadata-02

A diff from the previous version is available at:

https://author-tools.ietf.org/iddiff?url2=draft-ietf-idr-5g-edge-service-metadata-02