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

Linda Dunbar <linda.dunbar@futurewei.com> Thu, 08 June 2023 00:44 UTC

Return-Path: <linda.dunbar@futurewei.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 5A070C1519B1 for <idr@ietfa.amsl.com>; Wed, 7 Jun 2023 17:44:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=futurewei.com
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 IhHiPZmxkSIv for <idr@ietfa.amsl.com>; Wed, 7 Jun 2023 17:44:28 -0700 (PDT)
Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on20710.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5b::710]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A0683C1519A5 for <idr@ietf.org>; Wed, 7 Jun 2023 17:44:28 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oQUA9+HQGiVhLujpnPlwqbA4VBbLEvCYvp7arljaUAa21SdUvng6UHGRSt5j8ucExGwSExsIlPCcFVfXwKYGQc2YBeQgri1EDfBR+oFC5RZd2qTqEoC/BOHn0ru5SerHUMnzoZKsQiZYFipdnkfYphq9mAVNqx9zFOmM5qZ236jdcu2ywF/pB+gLCPU4EhhlCtTEXE9d8dZQLWHNC5sXUgWvdhBaE7QkiCSuohDzqLKCYS4h5/sKKmTzfUzvMPVGKcoV7tgJgyMPJlP8e7DaTgRD5aIQK8NxsT6+vayxKZ+Kh0AorlAdNkJzSmC8Y7reqyCPF4WT8zPAGcMkTLt5jg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NCUhr/SzcHWjZdVdXSP5pRlkVxy6jbGfhji+35uiDT4=; b=Mb0ZEDfwzJqrOJnVLQ5Ms1CHVHDMr+UyeQtUygsEY9EswsYOZjDJa8RA68JY2535+pvKSEI5TT/XzG7fzhG16O07+bOK9evZIIdz+wYqU2IVig56R6WMFpnyHRBnSr4HMIjCujgXOtpMAxNfIZFTK6Ohybv0/ZcL+K2nDiZWw8nOSK948I98rt/HCdiBEwO3bwem7jUCYPhuAKQlqvEPlmHukWyXITYs8QdhnwKy+WKp/hWh2zihO/eu6Kcr4c8WxHMiEkHoO9i6czc+4gPrRmxRxYtujRYug1eHnvlDjOvLKHZHL6kqvWzIweGC1JBLo9iV7EptXDqh82izbXiD8g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=futurewei.com; dmarc=pass action=none header.from=futurewei.com; dkim=pass header.d=futurewei.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Futurewei.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NCUhr/SzcHWjZdVdXSP5pRlkVxy6jbGfhji+35uiDT4=; b=NGAmaUHS3lFGFttTVMKYhrJJcf0VGN/92tWiVmcelSoOL8KhfWhzI8hlyBNGgdjNJ48FZn2Lc/zu522Nix0Rhpg6EL0yiKEFh3XAPy33rKWZIGBUemBgNXwZVFSsbGtoBA6G/S7nvVQ+y/FnsfIWP8JhcZC++xAtzHKCtAa9yZU=
Received: from CO1PR13MB4920.namprd13.prod.outlook.com (2603:10b6:303:f7::17) by CO1PR13MB4807.namprd13.prod.outlook.com (2603:10b6:303:fb::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Thu, 8 Jun 2023 00:44:22 +0000
Received: from CO1PR13MB4920.namprd13.prod.outlook.com ([fe80::ecae:ddee:761b:de1d]) by CO1PR13MB4920.namprd13.prod.outlook.com ([fe80::ecae:ddee:761b:de1d%2]) with mapi id 15.20.6455.030; Thu, 8 Jun 2023 00:44:22 +0000
From: Linda Dunbar <linda.dunbar@futurewei.com>
To: "duzongpeng@foxmail.com" <duzongpeng@foxmail.com>, kmajumdar <kmajumdar@microsoft.com>, "rainsword.wang" <rainsword.wang@huawei.com>, "gyan.s.mishra" <gyan.s.mishra@verizon.com>
CC: "idr@ietf. org" <idr@ietf.org>, "c.l" <c.l@huawei.com>
Thread-Topic: [Idr] some comments about the draft-ietf-idr-5g-edge-service-metadata-02.txt
Thread-Index: AQHZmVe7UlLN2U/WxU2LJHDVOXdXvK+AELwA
Date: Thu, 08 Jun 2023 00:44:22 +0000
Message-ID: <CO1PR13MB49208FE897682337B22DFDFC8550A@CO1PR13MB4920.namprd13.prod.outlook.com>
References: <tencent_697D58D82DF942DA12D470A202CB25A02C09@qq.com>
In-Reply-To: <tencent_697D58D82DF942DA12D470A202CB25A02C09@qq.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=futurewei.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: CO1PR13MB4920:EE_|CO1PR13MB4807:EE_
x-ms-office365-filtering-correlation-id: dd64f962-edec-42b0-bdc1-08db67b98069
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: lQGbD09FXK3W8FtLQj9Ijegpj7DVFhxGhYtbzOoNFQ1ZmTvzeSyC52hnPoJYMP6We7tdpV0AdU8VrwPC4gvHC8pbEH39L1t1JC7Elws7NSHGh/gldwue/4O04nB47pj6Zl0rMy64/LYyIkcrCLW4wNfgscw0e9zrVJOS4tQj0yQl6wvM56pMC6yemWPZzHUxxSo9rGMqivZYw4OkNQjSxdN5daRhOm/NQDfWUW0V3eFmAntx3tHXYQEYF0I76nvehqAsUtGzWrZTY9A8+s6CyHpbrdY7VuUePMUOyFbTxpJIQqJ/PSIqw+rwouAGxT65X4Ed3j2p/5Kzqaz2tEbIN6IOsJCPIYaHR1ThRpJ5ZoiHENklBbxjDxtbMprxVCJrn0b3lZcLoY+J1ptzysDdf6T7fYMz5YdorqNKq0XI9kc++EkhXjUFeGKN80Y/HBG/absum3dhnPHZ956Mz297xix4j9Kioxhv0PVgPiTrYiAmJ6tjvEKYwO5ig1b9Xlq6Hz0pBoVDAwi4/at+jyjdOgtBeYdEcxoudVOBb2n5935ESKBxvMkgCYsIGPBYiSrpOLiYB7CE1lrTcb78ASrwSw5jAixBV0TmsanXqCYDq7nVgkpwWCfwBahi8xrg/UaxJC2vlRjbodYm+fZpisH8z8tIiiEl6nP8unx7omFbUJg=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO1PR13MB4920.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(39850400004)(376002)(396003)(346002)(366004)(136003)(451199021)(6506007)(26005)(53546011)(9686003)(44832011)(83380400001)(122000001)(52536014)(316002)(2906002)(186003)(5660300002)(166002)(33656002)(55016003)(86362001)(38070700005)(8936002)(8676002)(41300700001)(966005)(76116006)(66446008)(66946007)(66476007)(478600001)(64756008)(38100700002)(54906003)(4326008)(66574015)(110136005)(71200400001)(45080400002)(7696005)(66556008)(48020200002)(559001)(579004); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 0ldl7i2oi9hthxoW5L25FO/UNzRZi15GTRiVNehOYk+1x5i8McVGJ8u4DCO5HQ4WqFa9Vv9fM1VQT62HlYvJXX/7jcR/5Le4zHOdt2QS+RiWB05Cn2d6UFdbzlsMBNvphTq3TIsi8wvmdDAq968EHxRuGxqgrNm/3fDmIf80UwLN7ONm/rlgsESD0GaT8DP72U/rflajNGUexoKHHH+PwqIZ24rYiMnuu2dWPhAI6iQ10NxDFupE7xOrna8tMdm2rc+Avqbp4bfwwTJU9ZOT6/dotwU92whz8Bot/1fSAEzdP/710EpttMaHw3mdGczCSqGUEOnlBKM3FxAUGWASedguQjAEDz0zfaS3Sz2m7GNQuBVlU19gdvf4gip5seMNrCFhCi6lfN7JuGEY8P/avEaQdjFESavxPiKW9pv7FGu1XDQND2FEiogYzFk/UuaHtaKN58z014q/dQ9wVc1BnymzHmZoxwcPjBmQd63hcFumgjI1wTYR3iff37xg1RK64Ww1jK6x7iKFyy/GPcCuxHd08V38atkhqRZuxklYYk3R3u6Ucj/137FsI4ITmRw6IAcR1cCcW1uJMJA6jIgNZfzsqPwit0WiHnfMLiyXmx04mZ/q8GFPrRdlAK5yUmmdjLtl7fWJIY9DJnNXBgS3h3aQ5cyuTC/d4DZTMDPfk6Ap2w//ywymFOI5J9m8i8OO3vqSFkAUdDQjM7IqsOklEAi4+ZDEDygF6IWF6l7RDf8ytw4igC6YN7Ty/QuJjep0600WKNYtGZThZPpttiWTocsMv+yi5exq88hlWPYZDK5vkVNB3YWxH8qYWviOOGqmkLatR/PUqFjSwh/RavXXFgbfftuSIj/e0TSvF0jTbF/pDWjPXLhkTLQq3R+gKOuUvYpifwi4kcYwWV45AFmeuqCCnNNbRLXOMuL0wS5RQRA39TJQVEElDWAxsVSId071Zwo8lMH+eu9WdPSh41ZQs262wFqesJgm2mY4SbNQ9vuQwvK8Qpxp3LzR5YsTkAJYiipqvQb6Gs8PLHqT8nloKq/0k+6U3fz/C8rEbSE/8aU/7WjmbCMYpzb6LeHWWFS69zwnsCfXaJmO+uu1NYPLJK6ptRnD9ryz55yNY9IZtb134SVXrf6lavVqvU/Qyz7G0vEwPbUXm0ShKChZKhLEUw551or9rTyZIIKCEy8RM6oxlDvCPMhZZrEZELfdReN9SoZ+Fz7y0Me9YikRm9WFkRy4nJpuE/EFFWQlh9l7bi5DI3Dbs214T5EifSPSKzpMRePd/MIBuaT4v60Wt+EN7BSv05/nAu8LEv8OvHDwzT07NUzuOhp7eU7LMkdvq27jQ8SzY/y3i7frPBrlb5UuE1ta3+Bc+cexe51OJ+rG9Siqsb/RoWlM2tpLDUh4pZbAKNDJfpM3ANPYlNjOO5EMLqfU3p1ubwJ1HJDPd5y+LN/I//g4hwU8csdGRZ2H8FbfPl6QwYrCqKXdm3M+UwTEvHN+If+URRqe9gTXSpwMWlCpg1S6fCdksCE70WNKENaM5wAhipde0hI9AiUFIafTYB6lt5AFjkVj9NAC9giR4uB7jBPcsuijYw+oeZS5JGkE
Content-Type: multipart/alternative; boundary="_000_CO1PR13MB49208FE897682337B22DFDFC8550ACO1PR13MB4920namp_"
MIME-Version: 1.0
X-OriginatorOrg: Futurewei.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CO1PR13MB4920.namprd13.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: dd64f962-edec-42b0-bdc1-08db67b98069
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2023 00:44:22.3741 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0fee8ff2-a3b2-4018-9c75-3a1d5591fedc
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 9CCcH7WauZa4OUP4t4U8BV5bt25ni5/tUI8oThJkbrQ8TjMm2bCMwFgmw9EsuFF1aqpMFJkUfrJq7CLxJ815cA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR13MB4807
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/uBvdwVmP_WKMpM_BPMnNavEdBFY>
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: Thu, 08 Jun 2023 00:44:33 -0000

Zong Peng,

Thanks for the suggestions. Comments and replies are inserted below

From: duzongpeng@foxmail.com <duzongpeng@foxmail.com>
Sent: Wednesday, June 7, 2023 10:50 AM
To: Linda Dunbar <linda.dunbar@futurewei.com>; kmajumdar <kmajumdar@microsoft.com>; rainsword.wang <rainsword.wang@huawei.com>; gyan.s.mishra <gyan.s.mishra@verizon.com>
Cc: idr@ietf. org <idr@ietf.org>; c.l <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"?


    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.


   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?
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