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

"Darren Dukes (ddukes)" <ddukes@cisco.com> Thu, 30 July 2020 10:27 UTC

Return-Path: <ddukes@cisco.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 3DBB63A1051 for <srcomp@ietfa.amsl.com>; Thu, 30 Jul 2020 03:27:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.619
X-Spam-Level:
X-Spam-Status: No, score=-4.619 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, GB_SUMOF=5, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=hVBq7Ir5; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=pvQ3yatr
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 IAvjZRbB874d for <srcomp@ietfa.amsl.com>; Thu, 30 Jul 2020 03:27:06 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 70B273A1040 for <srcomp@ietf.org>; Thu, 30 Jul 2020 03:27:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=16089; q=dns/txt; s=iport; t=1596104826; x=1597314426; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=VcYK296x1ShNsC/SeymsOK8WbzdtocKSlw9MfL0hXT4=; b=hVBq7Ir59KbVx/EGqLdiZd7jnU8ahcwAwu0K7gnQ9rINMxfXfHncm8qW pIuHM1Yc3CFn652x8WEZK9pnWum6PyWqSC8wApNnjMUKXCd+OLaDFV+qc Vc6fzSQn2iDEREKu/5EKVqrTxe4HPigsQ371gnghCquoxJZ3bHpXvPhZH Y=;
X-IPAS-Result: A0CeCQAVoCJf/4cNJK1ggQmCbQEuUQd9Si8sh3sDjU+TdoRsgUKBEQNVCwEBAQwBAS0CBAEBhEwCgikCJDgTAgMBAQEDAgMBAQEBBQEBAQIBBgRthVwMhXEBAQEEEi4BATgPAgEIEQQBAS8yHQgCBAESCBMHhQNNAy4BpAgCgTmIYXSBNIMBAQEFhRYYgg4JgTiCb4oeGoFBP4ERQ4JNPoJcBIEoARIBI4NHgi2PXyiJSJs3gQUKgl+aIJ90kh+fHwIEAgQFAg4BAQWBaiNncHAVO4JpUBcCDY4oGoNOilZ0AjUCBggBAQMJfJARAQE
IronPort-PHdr: 9a23:/WqbPBSZwZgWWPgYRYoPxYIwadpsv++ubAcI9poqja5Pea2//pPkeVbS/uhpkESQB9mJ5/dNkeGQsq38VyoH+5nS+HwBcZkZURgDhI1WmgE7G8eKBAX9K+KidC01GslOFToHt3G2OERYAoDyMlvVpHDh4TsbAB65NAdpKKLyAIGBx8iy3vq5rpvUZQgAjTGhYLR0eROxqwiZtsQfjYZ4bKgrzR6cqXpTcOMQzmRtdl8=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.75,414,1589241600"; d="scan'208,217";a="512043348"
Received: from alln-core-2.cisco.com ([173.36.13.135]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 30 Jul 2020 10:27:05 +0000
Received: from XCH-RCD-002.cisco.com (xch-rcd-002.cisco.com [173.37.102.12]) by alln-core-2.cisco.com (8.15.2/8.15.2) with ESMTPS id 06UAR3hm015328 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 30 Jul 2020 10:27:04 GMT
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by XCH-RCD-002.cisco.com (173.37.102.12) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 30 Jul 2020 05:27:03 -0500
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 30 Jul 2020 06:27:02 -0400
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 30 Jul 2020 06:27:02 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NRFdVRlzSUsFP4ZU7/fQi6HKgv1200uTEDWQ211N3HIDG0+Oev+myNxNQk774KYSHy9btcmqdj2pNV+SAOLuAxfS+B5FSh/BoyTX8VJ8zuJxQTaWZFkvoT0JvNlYC/QUFR+/xH2CfNrzKzH/zVus6rzmsWJRa0ZnQ8lH+1EUMwWmoc1KAhXTk5Jv6gmLPH2e1n6VAVq5vPQRBuXKxZDt5SDy1uCa0Kj99FHPC5ryjQECEflyP8laLQ+jaSnlexCaGANtP7DAZ1bVqqVJ5N/4ewW/5+wwbSpE3LxqfvKHXsMDJboynEOHEPLR17RTeIZsYqE9zL+baZYyZ+nOUJgcgA==
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-SenderADCheck; bh=NqWLC39nisJIIC7lexZfP2wjfmxaIuQlVQx+Tx9DomU=; b=A3ra8MsHOD8OPyJmTRk65H6I1fl4WgnOQGP0dmKbAn/ZBioeoJ/FAIL7pcCYh0m00lh1ubOEuKm6/jXW2pY2Y6YKxpzkcDE5Nzkc4NICo5Pgu/NrXOJT8UDhHUOvEfQVrLbIm/xamQjOYElYRXVwii3L30d/U+ihOMUtaJ6wF+WjrbjOlsK3xjZiu0ka8ysKg16ECO19/4bGCBkPUlFWwbN7sAsKS54NfwxIVBpdabhnNfEPf87q+hAPBbLEdveYI9LIMMEYhQdZLwZRGw+aznsV6la+3W7Go749zLHf7uflpcsoX4DUt2UPb7Ym4MtvyRbB1SVHT61OViGdt4l1PQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NqWLC39nisJIIC7lexZfP2wjfmxaIuQlVQx+Tx9DomU=; b=pvQ3yatrwcnB8E8FgguhlSWexF2KPWyskRPs/HySnDma3XvK6gapxrmr0H4iAtZ80RBCWPvp23kXP/myNCoBC9ixXzKw4VH/AWSZCMXzTyZqcjPCTJasc4CepbC7YmoIr2IoA5vWkj/VkCgrvZ1tpF5X1QmO6tu5rauioVJRsm0=
Received: from BN6PR11MB4081.namprd11.prod.outlook.com (2603:10b6:405:78::38) by BN6PR11MB4051.namprd11.prod.outlook.com (2603:10b6:405:79::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.18; Thu, 30 Jul 2020 10:27:01 +0000
Received: from BN6PR11MB4081.namprd11.prod.outlook.com ([fe80::ac6e:91c0:17fa:887c]) by BN6PR11MB4081.namprd11.prod.outlook.com ([fe80::ac6e:91c0:17fa:887c%6]) with mapi id 15.20.3216.034; Thu, 30 Jul 2020 10:27:01 +0000
From: "Darren Dukes (ddukes)" <ddukes@cisco.com>
To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, "Darren Dukes (ddukes)" <ddukes=40cisco.com@dmarc.ietf.org>, "srcomp@ietf.org" <srcomp@ietf.org>
Thread-Topic: REQ-7-27-COMPRESS-01
Thread-Index: AQHWZJCCOVI5KUSHB0Oo/acgPHuJAKke1fhwgAAZhsE=
Date: Thu, 30 Jul 2020 10:27:01 +0000
Message-ID: <BN6PR11MB40819B8312FD78047BDBF3A9C8700@BN6PR11MB4081.namprd11.prod.outlook.com>
References: <BN6PR11MB40816A31EF6DA71CA55F6381C8730@BN6PR11MB4081.namprd11.prod.outlook.com>, <DM6PR05MB634826F9C9607E344ED5179FAE700@DM6PR05MB6348.namprd05.prod.outlook.com>
In-Reply-To: <DM6PR05MB634826F9C9607E344ED5179FAE700@DM6PR05MB6348.namprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-CA
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=true; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2020-07-29T18:35:22Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Method=Standard; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=0633b888-ae0d-4341-a75f-06e04137d755; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ActionId=1aa30206-a4b7-478e-8c8f-4ab5cbc3e128; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=2;
authentication-results: dmarc.ietf.org; dkim=none (message not signed) header.d=none;dmarc.ietf.org; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [2605:8d80:503:5e77:e022:15de:68d8:63a8]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 3cfecea1-be36-487c-670e-08d8347318cb
x-ms-traffictypediagnostic: BN6PR11MB4051:
x-microsoft-antispam-prvs: <BN6PR11MB40515B310F1CC5EB5D1EDEE3C8710@BN6PR11MB4051.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ySPZCm3RThXRT2xn74qUqkWs+U/yomrPB4WDLiY1ZT/dZ2Dj0D8Q2E8H/XUVkCzvgjzKxvkBjDLXaTF/xIKoIJ4DfejoTFIJbEtxIR5Y9uI8DTmoF8rxOpJFOEjC8PS3jg5uMskvIisyV9gLtRwQz36GzoP/VLL6abt9F7LeRUv6qZg9tlt5Mh5nDZ8oac1y0ydd7Qu7KaysNR84G65pwfNPD7Gere0n4gJC19GbqQffDY1Dwb6zFn6IA0l7CCBftqbXMWl+KBTy7Nc8zoeouNj5greDf7Yrauz5jcVTpTHHs88XcCs0mctuwmnlSndH09aMjVHZeEIE3PgawmhXPA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB4081.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(136003)(346002)(396003)(366004)(376002)(110136005)(33656002)(5660300002)(86362001)(7696005)(19627235002)(8936002)(6506007)(53546011)(71200400001)(19627405001)(478600001)(316002)(76116006)(66446008)(64756008)(66946007)(66476007)(66556008)(8676002)(52536014)(9686003)(55016002)(2906002)(186003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: zRKcQvJntG2DgkLQo2Sn4pyNbO8oB/glwMBl5bXHsKX00w99E0odT5nLMcsYthRz/EqqTE5DAu7gvduxOno2WhQhagnLhnll5ezOfV5C24USiTpXqfxclPa+2RavHScqXJx+sG7/Y4zdj49jHCv7Jrn0VJtIyDSFW0rlCK7Ya87l+YtIZ27j+rM/BJwZ2fPCPQPU+uVxRD0edW4PENOwMJq/FOLetELIwPBVgmCa4wWwSNkxLz+u/EReObxGr9BPFeD0gVcdJk4owiu20OUvZqYjuLKW25tN+QfkP1Gb484BJNxj5xszkWaReKpJ7qJNFhnXzrnxOBLxLKS+D8Ns6dd8PpquAFWjTv9fivnTAcOKwnPxZm4tI7pF1XYUIvdCQP1dfdONEMRrWPXF2m3GZZuNGtiq2HhSw/ZfVYB8hB+1Ub+HWKhA4BIVuP8/qZNkeadXC5fWfZtxvksaigd44tGmilrBU+YBWOTM3yhUgOMiE/i7qvATLAr69AJPCOLYDFCHuLEylab0JQP3U1vupKaJiOBGAKs+ToA/dT9qB/x9vm0BEZyHwoyLd9F07tfv3jaC3b3P9k4hxgONsm+qYeaso1jPXgUk27oOIVTuuNm2gOvrelJFaVTQ37L/C1mm7RwspX6TkSA/dusukUL55gbP4CIM8O7O5NfjbpD0A9rQJiCl2b//6cpaKnhfsrBWh0FuDuGysbTwJDbEn6dZMA==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_BN6PR11MB40819B8312FD78047BDBF3A9C8700BN6PR11MB4081namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN6PR11MB4081.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 3cfecea1-be36-487c-670e-08d8347318cb
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2020 10:27:01.4422 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: PgKJN5DtfZkV2d6Thb9D/Y1pEaL5JSSLKoTgEL8wN8qvxCxx6UwtjOmLSLatby+q02Oypi7bWG2pi7l+j4uPbg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB4051
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.12, xch-rcd-002.cisco.com
X-Outbound-Node: alln-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/srcomp/IlT_HwVqFW1iOZPIsu7sYdGkA0U>
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: Thu, 30 Jul 2020 10:27:08 -0000

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> on behalf of Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>
Sent: Wednesday, July 29, 2020 2:35 PM
To: Darren Dukes (ddukes) <ddukes=40cisco.com@dmarc.ietf.org>; srcomp@ietf.org <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:
     *   The information value of a service instruction is greater than 20 bits (REQ-7-27-SVC-SCALE-00)
     *   The information value of a node instruction is equal to the number of bits in a locator (between 48 and 128?)
     *   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> On Behalf Of Darren Dukes (ddukes)
Sent: Tuesday, July 28, 2020 12:01 AM
To: 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)