Re: [Srcomp] REQ-7-27-COMPRESS-01

"Chengli (Cheng Li)" <c.l@huawei.com> Tue, 04 August 2020 02:13 UTC

Return-Path: <c.l@huawei.com>
X-Original-To: srcomp@ietfa.amsl.com
Delivered-To: srcomp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5AFDC3A0F26 for <srcomp@ietfa.amsl.com>; Mon, 3 Aug 2020 19:13:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: YES
X-Spam-Score: 5
X-Spam-Level: *****
X-Spam-Status: Yes, score=5 tagged_above=-999 required=5 tests=[GB_SUMOF=5, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-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 l6iKf-o-BjjE for <srcomp@ietfa.amsl.com>; Mon, 3 Aug 2020 19:13:53 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 27D803A0F1A for <srcomp@ietf.org>; Mon, 3 Aug 2020 19:13:53 -0700 (PDT)
Received: from lhreml702-chm.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 807BA15FA0F0054D448E for <srcomp@ietf.org>; Tue, 4 Aug 2020 03:13:50 +0100 (IST)
Received: from lhreml702-chm.china.huawei.com (10.201.108.51) by lhreml702-chm.china.huawei.com (10.201.108.51) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1913.5; Tue, 4 Aug 2020 03:13:49 +0100
Received: from DGGEML405-HUB.china.huawei.com (10.3.17.49) by lhreml702-chm.china.huawei.com (10.201.108.51) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P256) id 15.1.1913.5 via Frontend Transport; Tue, 4 Aug 2020 03:13:49 +0100
Received: from DGGEML529-MBX.china.huawei.com ([169.254.6.133]) by dggeml405-hub.china.huawei.com ([10.3.17.49]) with mapi id 14.03.0487.000; Tue, 4 Aug 2020 10:13:46 +0800
From: "Chengli (Cheng Li)" <c.l@huawei.com>
To: Ron Bonica <rbonica@juniper.net>, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, "Darren Dukes (ddukes)" <ddukes=40cisco.com@dmarc.ietf.org>, "Darren Dukes (ddukes)" <ddukes@cisco.com>, "srcomp@ietf.org" <srcomp@ietf.org>
Thread-Topic: REQ-7-27-COMPRESS-01
Thread-Index: AQHWZJCCOVI5KUSHB0Oo/acgPHuJAKke1fhwgAAZhsGAAXC7cIAGAReggABkfFCAAHTmIA==
Date: Tue, 04 Aug 2020 02:13:46 +0000
Message-ID: <C7C2E1C43D652C4E9E49FE7517C236CB02B46A09@dggeml529-mbx.china.huawei.com>
References: <BN6PR11MB40816A31EF6DA71CA55F6381C8730@BN6PR11MB4081.namprd11.prod.outlook.com>, <DM6PR05MB634826F9C9607E344ED5179FAE700@DM6PR05MB6348.namprd05.prod.outlook.com> <BN6PR11MB40819B8312FD78047BDBF3A9C8700@BN6PR11MB4081.namprd11.prod.outlook.com> <DM6PR05MB634885C5CAFF2F8D5D78EDEEAE710@DM6PR05MB6348.namprd05.prod.outlook.com> <C7C2E1C43D652C4E9E49FE7517C236CB02B44291@dggeml529-mbx.china.huawei.com> <DM6PR05MB6348B2C5A3C5AC5B1B0B6B58AE4D0@DM6PR05MB6348.namprd05.prod.outlook.com>
In-Reply-To: <DM6PR05MB6348B2C5A3C5AC5B1B0B6B58AE4D0@DM6PR05MB6348.namprd05.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.108.243.130]
Content-Type: multipart/alternative; boundary="_000_C7C2E1C43D652C4E9E49FE7517C236CB02B46A09dggeml529mbxchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/srcomp/b4hQTWMiLXEEJ5osMUfQ5TQK_Tw>
Subject: Re: [Srcomp] REQ-7-27-COMPRESS-01
X-BeenThere: srcomp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <srcomp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/srcomp>, <mailto:srcomp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/srcomp/>
List-Post: <mailto:srcomp@ietf.org>
List-Help: <mailto:srcomp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/srcomp>, <mailto:srcomp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Aug 2020 02:13:55 -0000

Hi Ron,

I do NOT mean R MUST NOT exceed a number. Because it depends on the number of SIDs. More SIDs, bigger R. Like 5 SIDs, assuming that R is 80 bytes, while 10 SIDs, R is 112 Byes.

So we need to find out the number of SIDs when the R exceeds the critical number X of bits.
For example, the R of solution A will exceed the X when 10 SIDs are encapsulated. The R of solution B will exceed the X when 15 SIDs are encapsulated.

Can we call this SID number as Maximum SID Depth(MSD) to be inspect in a time?

Cheng



From: Ron Bonica [mailto:rbonica@juniper.net]
Sent: Tuesday, August 4, 2020 2:56 AM
To: Chengli (Cheng Li) <c.l@huawei.com>; Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>; Darren Dukes (ddukes) <ddukes=40cisco.com@dmarc.ietf.org>; Darren Dukes (ddukes) <ddukes@cisco.com>; srcomp@ietf.org
Subject: RE: REQ-7-27-COMPRESS-01

Cheng,

If I am reading your email correctly, you are proposing a separate, but extremely important requirement. That is.  R must not exceed some critical number of bits.

Am I interpreting your message correctly?

                                                                                  Ron



Juniper Business Use Only
From: Srcomp <srcomp-bounces@ietf.org<mailto:srcomp-bounces@ietf.org>> On Behalf Of Chengli (Cheng Li)
Sent: Monday, August 3, 2020 9:06 AM
To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org<mailto:rbonica=40juniper.net@dmarc.ietf.org>>; Darren Dukes (ddukes) <ddukes=40cisco.com@dmarc.ietf.org<mailto:ddukes=40cisco.com@dmarc.ietf.org>>; Darren Dukes (ddukes) <ddukes@cisco.com<mailto:ddukes@cisco.com>>; srcomp@ietf.org<mailto:srcomp@ietf.org>
Subject: Re: [Srcomp] REQ-7-27-COMPRESS-01

[External Email. Be cautious of content]

Hi team,

We may need to maintain the R and P rather than providing the R/P only.

Because we need to compare R with the on-chip memory copy packet windows.  This is a really important factor for analyzing the solutions. If the R is large than the size of packet windows, then node should recircle to read the SID, which will make almost 50% forwarding efficiency drop.  Comparing to this, I don't really care the minor differences in overhead among solutions actually.

Thanks,
Cheng




From: Srcomp [mailto:srcomp-bounces@ietf.org] On Behalf Of Ron Bonica
Sent: Friday, July 31, 2020 1:26 AM
To: Darren Dukes (ddukes) <ddukes=40cisco.com@dmarc.ietf.org<mailto:ddukes=40cisco.com@dmarc.ietf.org>>; Darren Dukes (ddukes) <ddukes@cisco.com<mailto:ddukes@cisco.com>>; srcomp@ietf.org<mailto:srcomp@ietf.org>
Subject: Re: [Srcomp] REQ-7-27-COMPRESS-01

Darren,

We are getting closer, but there is still room for refinement.

This requirement is all about metrics. So, have to:

-          Measure the right thing
-          Measure it correctly

I think we are measuring a compression factor. The compression factor is R divided by P where:

-          R is the IPv6 overhead required to represent an SR path (measured in bits)
-          P is the amount of information  in an SR path (also measured in bits)

See below for a discussion of how to calculate P.

If you want, you can include RFC 7855 as one of the proposed solutions. That way, you can see how each proposed solution compares to RFC 7855 without measuring it in terms of 7855.

                                                                                              Ron



Juniper Business Use Only
From: Darren Dukes (ddukes) <ddukes=40cisco.com@dmarc.ietf.org<mailto:ddukes=40cisco.com@dmarc.ietf.org>>
Sent: Thursday, July 30, 2020 6:27 AM
To: Ron Bonica <rbonica@juniper.net<mailto:rbonica@juniper.net>>; Darren Dukes (ddukes) <ddukes@cisco.com<mailto:ddukes@cisco..com>>; srcomp@ietf.org<mailto:srcomp@ietf.org>
Subject: Re: REQ-7-27-COMPRESS-01

[External Email. Be cautious of content]

Hi Ron and Sander, I think we are saying the same thing but slightly differently.
I'm going to assume all proposals encapsulate in an outer IPv6 header and "other stuff" to carry segments.  I believe this requirement has been proposed.

Without constraining how a proposal defines its encapsulating IPv6 header, the description can be written as:
When encapsulating a packet traversing an SR domain, the size of a proposal's encapsulating IPv6 header MUST be reduced vs the currently defined SRv6 encapsulating IPv6 header.  The size of the encapsulating header is measured in bytes from the start of the encapsulating IPv6 header to the start of the encapsulated packet header.

What do you think of this?  I believe it's more explicit and there is no assumption that a proposal must be compliant or compatible with SRv6.

Darren
________________________________
From: Srcomp <srcomp-bounces@ietf.org<mailto:srcomp-bounces@ietf.org>> on behalf of Ron Bonica <rbonica=40juniper.net@dmarc..ietf.org<mailto:rbonica=40juniper.net@dmarc..ietf.org>>
Sent: Wednesday, July 29, 2020 2:35 PM
To: Darren Dukes (ddukes) <ddukes=40cisco.com@dmarc.ietf.org<mailto:ddukes=40cisco.com@dmarc.ietf.org>>; srcomp@ietf.org<mailto:srcomp@ietf.org> <srcomp@ietf.org<mailto:srcomp@ietf.org>>
Subject: Re: [Srcomp] REQ-7-27-COMPRESS-01


Darren,



I think that the goal is laudable. However, I think that there is a more solution-neutral way to measure compression efficiency.. Consider that:



*         An SR path is a series of segments.

*         Each segment is an instruction.

*         The information of an instruction can be measured in bits. For example:

o    The information value of a service instruction is greater than 20 bits (REQ-7-27-SVC-SCALE-00)

o    The information value of a node instruction is equal to the number of bits in a locator (between 48 and 128?)

o    The information value of an adjacency instruction is equal to the number of bits in a locator (between 48 and 128?) plus 16 bits (REQ-7-27-LINK-SCALE-00)



So, the information value of an SR path (P) is equal to the sum of the information values of its segments.



A compression mechanism produces a particular compression header for a particular SR path. So, we can create a table with the following columns:



*         Compression mechanism

*         SR path (described as a sequence segment types)

*         Compression header length

*         Encoding efficiency



In this table, Encoding efficiency is equal to compression header length divided by P.



                                                                                                         Ron

















Juniper Business Use Only

From: Srcomp <srcomp-bounces@ietf.org<mailto:srcomp-bounces@ietf.org>> On Behalf Of Darren Dukes (ddukes)
Sent: Tuesday, July 28, 2020 12:01 AM
To: srcomp@ietf.org<mailto:srcomp@ietf.org>
Subject: [Srcomp] REQ-7-27-COMPRESS-01



[External Email. Be cautious of content]



COMPRESS, Encapsulation Compression



Description:

A solution to compress SR for the IPv6 data plane MUST support efficient SRv6 encapsulating header compression.



Rationale:

The compression of SRv6 is the primary goal of the SR compression design team.



Metric:

Compression is the ratio of the IPv6 encapsulation size of SRv6 as defined in RFC8402, RFC8754, draft-ietf-spring-srv6-network-programming vs the IPv6 encapsulation size of a given proposal.

The encapsulation savings of a compression proposal vs the SRv6 base is a useful measurement to compare proposals.

The encapsulation metric (E) records the number of bytes required for a proposal to encapsulate a packet given a specific segment list.

  I.e. E(proposal, segment list)

The encapsulation savings  (ES) records the encapsulation savings for a proposal to encapsulate a packet given a specific segment list.

  I.e. ES(proposal, segment list) = 1 - E(proposal, segment list)/E(SRv6 base, segment list)