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

Ron Bonica <rbonica@juniper.net> Wed, 29 July 2020 18:35 UTC

Return-Path: <rbonica@juniper.net>
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 2EE213A0EC5; Wed, 29 Jul 2020 11:35:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.881
X-Spam-Level: **
X-Spam-Status: No, score=2.881 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, GB_SUMOF=5, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b=teduekqN; dkim=pass (1024-bit key) header.d=juniper.net header.b=W1riDBwc
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 mt-gUZGg-fIK; Wed, 29 Jul 2020 11:35:29 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 7C4A63A0E6E; Wed, 29 Jul 2020 11:35:26 -0700 (PDT)
Received: from pps.filterd (m0108157.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06TIXYOM030523; Wed, 29 Jul 2020 11:35:26 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=kFbIVzH+UZSGamHbsvCipadcmcj/HFTd7dogdJYlejc=; b=teduekqNgrczUC1dmyNr17kVVA605rq6TzUS1BkXlB7xfLxOQbwOtiGu9ig/v90AL1gu PdoZvLpRlzCVDBp+qWfCNNv59Gc3OxXnyfDYHn9nqG21EHX0sfd74ms+QWSIPQYxZtkl m6pcc37ThiXzlE6q5SkKBsmb8In/6+vzXEglWL4T/V0Ekv1MOEHGx0wTCCCo+CEEfHnf VPRYpEU03qHniq1IIVDpo+FBUh5dSPjMmjrDZXXQARmfXIsux3z3n+l/QuaHb8iY/2t8 u/Ke7KLB8jaxxJ/zBObWPCjbCMrQj8emyAwSMrNdqxs+Gk3weDTfPqOxWO4tvsiJ82zi Rg==
Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2171.outbound.protection.outlook.com [104.47.59.171]) by mx0a-00273201.pphosted.com with ESMTP id 32gm0n6vs7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Jul 2020 11:35:26 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IeMdWhZKpiuKjle5wRjcZYJ5BQja6hpbnfymN96z9zj0OoT3qC8XVZkkS8ox0idUttUHdCYSkY1axT6ZlH15pIPnU0kbcIP4EChWAq4N/yjQfwtrxVxRl5MleEwaFDomHG6zyDk4Bvz1iO1PMEbbIGdA+I5hIeXW+KP2NCAd13Dl/bIHk2hP/ShUYh/BNRUOYr1FSG819Xk2JYetMl4oliszyohVxkk1qxN94DvXtocVoKFbTIeoCthl1EYZBrpJgurAIFq55ILYeY8s5/n4uYqq7pfjrFak6Dh+wqlB73GYceI+CFRWAuZnu5OxtiUH2nMfD+gaeMvZerHCppBbjw==
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=kFbIVzH+UZSGamHbsvCipadcmcj/HFTd7dogdJYlejc=; b=B5j4704JzIGpDKOQNzmNuc0z64WT6VVzzMINUGbknFHVcCcRpRacQ/OegtkXXaOpK8P2lRM+r+axT8zaS+9d2ODimJAlFSvgq608dW+x2zfH6SDyQ0Ib6ACquEN0biVKnAeW/0Jp6sZ6BmQOf3VL1rwwrGWBZdrCRPtq6AddvDmc/zbdxw+hVTfo+8w4Sk8o4d0RVelAPlbV63IkVCVJaSOGM4kL78koEIKP0amVgxIdJtsE3PUqHBXQ30cD4xkhSKWDo0+cntv+RIZuXHk74Vh13xiNg7KqCrpd15IlL3dhLH7Ue7hNanhB9eYhGtoXax4x64EOyZtMwePIxsjv+Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kFbIVzH+UZSGamHbsvCipadcmcj/HFTd7dogdJYlejc=; b=W1riDBwc+Ykfx7Hx3aSBrrFpNxZjg1cevmzhmVHDDJskymgZZ/h2bIVizjWmWvDVWA1rStp/2kSkNWrpKGMmhFAlo+A/pdeW4N+DIWYFDHLB8Djq1hwAVsJ8jkD7838MsFR862BTklBOU6DRZroxkOmbG5Hn3JB/qP0Un9EVAuE=
Received: from DM6PR05MB6348.namprd05.prod.outlook.com (2603:10b6:5:122::15) by DM6PR05MB6987.namprd05.prod.outlook.com (2603:10b6:5:1da::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.9; Wed, 29 Jul 2020 18:35:24 +0000
Received: from DM6PR05MB6348.namprd05.prod.outlook.com ([fe80::9d38:2336:1379:ce2e]) by DM6PR05MB6348.namprd05.prod.outlook.com ([fe80::9d38:2336:1379:ce2e%7]) with mapi id 15.20.3239.017; Wed, 29 Jul 2020 18:35:24 +0000
From: Ron Bonica <rbonica@juniper.net>
To: "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/acgPHuJAKke1fhw
Date: Wed, 29 Jul 2020 18:35:24 +0000
Message-ID: <DM6PR05MB634826F9C9607E344ED5179FAE700@DM6PR05MB6348.namprd05.prod.outlook.com>
References: <BN6PR11MB40816A31EF6DA71CA55F6381C8730@BN6PR11MB4081.namprd11.prod.outlook.com>
In-Reply-To: <BN6PR11MB40816A31EF6DA71CA55F6381C8730@BN6PR11MB4081.namprd11.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
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
dlp-product: dlpe-windows
dlp-version: 11.5.0.60
dlp-reaction: no-action
authentication-results: dmarc.ietf.org; dkim=none (message not signed) header.d=none; dmarc.ietf.org; dmarc=none action=none header.from=juniper.net;
x-originating-ip: [173.79.132.205]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 67217f3f-ffab-4c13-15b9-08d833ee2835
x-ms-traffictypediagnostic: DM6PR05MB6987:
x-microsoft-antispam-prvs: <DM6PR05MB69873368E6DE6A7324B736B4AE700@DM6PR05MB6987.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6790;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: OEIPepRI0ZHLxNG16M+8UMvoMsK1kvEAc2ib8P2IKk4lo3klbj2XFK014hrDymOghue64xDhLsAI8Ub0pAYFE/Y6SP+Te5m6Wz8ARMRJ54hSIRR2VwAyxrXriEBAj+MjCA6YPjLBKSfQv0R7ApZxW0Q0INoAX2GIxaokyGDfGzSgVQamGvBNAmkEvsLRsRor4Iobwu+CIMVwqQE5rp46xSlW1sMmSnHjQEgpqVG1mpUeuFPWbtqWVOF9/G0WZ84Pu4PNOVe5nV72Am6XcGpA+EEo8VHOcT2HgSYQJCBxxsJzXHsbegzLEozmTzNkYmIVa90Gir5zmyPG3VVzY0aHdg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR05MB6348.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(376002)(346002)(39860400002)(366004)(396003)(110136005)(52536014)(5660300002)(6506007)(53546011)(26005)(186003)(55016002)(66476007)(478600001)(8676002)(64756008)(86362001)(8936002)(66946007)(66446008)(66556008)(7696005)(71200400001)(316002)(76116006)(33656002)(2906002)(9686003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: Lgw7p8BLe/ADKpfqnPmoWda4rEWZOP85r+q7UVmYYNBA0moueTjhAQUDDWVRs9Tz0zqzVqw7OD3xPy3pPHkiQYU4U4tq97TDYCOe2FG+eWoDpupPmUB0ToQ4qROZ2s7oVMum4miie4PzYdLTu/rHFgpUxHmvzFgs7EW1hzv9CfUGwF7u/LjoWR3e7fkg3euiBhLi1z65Jx0rP0iAXaNRdn41uNkv/ZuJPWZt8W7GEgGh1j3SA+YyYid5BuFSjfsn+Ms31pM1gUjaai4JVh7iVcYwa6se7tSb8+9Xt2X+k156fBWxzC8Pp01FGu0RvNx1PbiwM75sxq1Y2oPL737tbQb1qsdnEDwH4Q6M309q7/42xL2s+ppC8lkYARjHA0VfJZiAJrR3eI3sXv+O6YLuREvYfZwuWYgrGq9Xpoj2Vfh+9+u9zT82iHYfzzts+C0joISNcZWsC+Gv3aKPkmDJbl+CaiUSaxBFk3fOMmmny4dsTqWWvyRFVrY93SyDs7/IWsoTPotkh5uiIrUCQFzSRx0oz1Z+o49vJu2neOwmtAh6HDUNd8JU9HJqCqKI2RbHZEmUOyXdhNYKesS6fDcgu9+qq7bOraSLMA3R8S3+hd0/lHS/1ThKnzIlJUQBsR1WE/uOCkKhdA7u5AluTae7Hw==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DM6PR05MB634826F9C9607E344ED5179FAE700DM6PR05MB6348namp_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR05MB6348.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 67217f3f-ffab-4c13-15b9-08d833ee2835
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2020 18:35:24.0946 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: isSebZ72aRu9LTEPOFflwPO8zoDtf3wZqNXR+AXJSFeQBBF30fhyl6Wot9TnNd8zivzxi8D6zZvlmVXeyV18QA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB6987
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-07-29_13:2020-07-29, 2020-07-29 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 phishscore=0 lowpriorityscore=0 spamscore=0 mlxscore=0 mlxlogscore=884 clxscore=1015 bulkscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007290125
Archived-At: <https://mailarchive.ietf.org/arch/msg/srcomp/HJCvBNDCK4jf0sjETsfZOhXJCxw>
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: Wed, 29 Jul 2020 18:35:45 -0000

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)