Re: [Srcomp] Comments on REQ-8-17-FWD-EFFICIENCY

Ron Bonica <rbonica@juniper.net> Fri, 02 October 2020 16:26 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 525A73A10D9; Fri, 2 Oct 2020 09:26:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.296
X-Spam-Level:
X-Spam-Status: No, score=-3.296 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b=PKthO4il; dkim=pass (1024-bit key) header.d=juniper.net header.b=NWAIdtRT
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 2pFqmVsN9gaG; Fri, 2 Oct 2020 09:26:39 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 B30A73A10D6; Fri, 2 Oct 2020 09:26:38 -0700 (PDT)
Received: from pps.filterd (m0108162.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 092GMnNM012280; Fri, 2 Oct 2020 09:26:37 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=etSpD0kz9PHQcn6tqezsFIk8sPXjK3OuvpCtNGpU3dE=; b=PKthO4ilNGhpATyzoi/G8sb7jZqwRHv2WUKQ1KU41jWvBftybTfgo6+N/QfWOaX3vA9d Tu8gn3Xx1vWa4sNcYXY6pnr6EWLFqeNfb2eEEM4LCEwR/b8uuyJBn7pFop1jO4WA7rpq gR8+OFwg4URfYCVaU8bhLEMxB0vyvnhyCPvnkopt1Sqq0blpdn6R8LUcECuAgPe3iaZ1 PPZzvjJY++VbVC/P8U4DxiiNCyqzH/KV13MI6zHJJtORbNBDNjdBQ4TFS8x1r2wwUuni CY/eIBu49bWJkyE8cCG6ORUiX4lKr2+eONX5ELrkwpfLOSvAnWQUA6qp5iCGxM28eaop Nw==
Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2172.outbound.protection.outlook.com [104.47.59.172]) by mx0b-00273201.pphosted.com with ESMTP id 33vgygd4j4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 02 Oct 2020 09:26:37 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X5WnvOQ+LZxaYkZy+Nq0EZCv5gxAmVNr50yRV8NHkuCHxoQ4w9YTRX+NUKlTetCrlNBSfeJYd11vULu9vFQq2xhDJZ4D9LXn8ykhC82v4gnd+mvMjo5ASR8lRWXG3gr1Fjo9ydDC+6V0/rU05S2XiXboWiDrvRKHilA0+wzCBbG2EM2tDx6UZW2vkaOeuB1WY/sEq5fFeG6pe8WbE/t64NE83hrbv9U9bb6Xlal2b7GMfJZ5LkMW4kgb1riDl5hQL4TTzLBwEficmtL2IgSYG/XB0ojo5BKeQ1R8H1pKJGDvBUeB3v+LX3ouPSTtvUiOx6y3NYH69wrzAylHwUGLcw==
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=etSpD0kz9PHQcn6tqezsFIk8sPXjK3OuvpCtNGpU3dE=; b=f5vwJg7Mcj7hTA9LwDMKXYCz1CkqtpGITWPM7l8V8hYWNEGTT/TRTW/cVAid3ekYg2YdUKhm2firCN/N0il/YadGtXMJBK8dDmdEzOFsZmm92DspNcov6Hr/AoHwQoMWuhL2Kxm0H2HA1xwSX5zOX5LWhpUOZvm7wwhzJXE0+ZPkNp9VaO62u3dlOcVGUzWKkynURQzRRGfWi+D/7OZt0OPrlubU+hwkA+iTtvBJHwpQBfKqEOpBwcPH5flTLlWQTn3+vVA26bNO3YJgjZKTtSgMLKlSHm5sAJtA9oSc120R1NR1NGL0irBH8A+l7r8PK/JyY4aITnZ/D7mAAeTrBQ==
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=etSpD0kz9PHQcn6tqezsFIk8sPXjK3OuvpCtNGpU3dE=; b=NWAIdtRTb7FXXp+D6Z0wT7oaDJ1g6Tt37KpXqs9E+7WfjXanBQk2K0YKouBf3pGZ4YS2dx1br5Y2VkDvF9L6YNKhIQXQpwsvA4ALk3kUnLydDrMGh1U7AtKmS6h+Vlm9a2dqYtbMoRRqrVoU6L6eGBV2kr0iIcVrwCcSoGFwQfE=
Received: from DM6PR05MB6348.namprd05.prod.outlook.com (2603:10b6:5:122::15) by DM5PR05MB3371.namprd05.prod.outlook.com (2603:10b6:4:45::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.20; Fri, 2 Oct 2020 16:26:34 +0000
Received: from DM6PR05MB6348.namprd05.prod.outlook.com ([fe80::79ec:53dd:43c6:2782]) by DM6PR05MB6348.namprd05.prod.outlook.com ([fe80::79ec:53dd:43c6:2782%3]) with mapi id 15.20.3433.038; Fri, 2 Oct 2020 16:26:34 +0000
From: Ron Bonica <rbonica@juniper.net>
To: "peng.shaofu@zte.com.cn" <peng.shaofu@zte.com.cn>, "ddukes=40cisco.com@dmarc.ietf.org" <ddukes=40cisco.com@dmarc.ietf.org>
CC: "rbonica=40juniper.net@dmarc.ietf.org" <rbonica=40juniper.net@dmarc.ietf.org>, "srcomp@ietf.org" <srcomp@ietf.org>
Thread-Topic: [Srcomp] Comments on REQ-8-17-FWD-EFFICIENCY
Thread-Index: AdaR1qZKdMwN7UB9Td2I1OzCoQF1fwDhdvh8ABs8AOAAMNRZYQB20AgAABwv8QA=
Date: Fri, 02 Oct 2020 16:26:34 +0000
Message-ID: <DM6PR05MB6348156EE8999AB3584B1862AE310@DM6PR05MB6348.namprd05.prod.outlook.com>
References: DM6PR05MB634814AA4485E2770C54E867AE380@DM6PR05MB6348.namprd05.prod.outlook.com, BN6PR11MB4081A3DE59B570A9F4846179C8320@BN6PR11MB4081.namprd11.prod.outlook.com <202010021059162340411@zte.com.cn>
In-Reply-To: <202010021059162340411@zte.com.cn>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
dlp-product: dlpe-windows
dlp-version: 11.5.0.60
dlp-reaction: no-action
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=true; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2020-10-02T16:26:33Z; 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=c1110129-47fe-404c-8fe4-f79d46a72917; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=2
authentication-results: zte.com.cn; dkim=none (message not signed) header.d=none;zte.com.cn; 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: 86c27571-64fb-48de-99af-08d866efeddc
x-ms-traffictypediagnostic: DM5PR05MB3371:
x-microsoft-antispam-prvs: <DM5PR05MB3371742DD9D9FB48D83B8344AE310@DM5PR05MB3371.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: BXl4iLPF2jWs+A264lWS7JCjcev2JhtdLwiVnww6MbGVDMVSaLr4mcFow/82Yv7COhUttQ588UHK7zd3SYYlb8urfwZLV4lr/8SF4zJDaFf44ZvzRnsW+Y07HHGBzK8Amy+B25f48Jv+rHLvDLo3ZNdl8lj+GtiyiTe72qMeZSMCQK+AMK5xigQuvLfuiiGCIZhwv+4UeQbVpbhqFltkD63/hXE2OmYasa8FYuv0rh9Fs6gbanbIrW1Odh0zxKI6oTy8RDozwc1nHRcSpGlpdHASjYyEhZqQQ3PrrPfZ1ZQbHtUXXgHpHCVTQKwWy8+2+BIXqb1sfV3Msu/XCGm4AdAHGznrgYlAkYTVk9v0iEigNXqF85yMw1aG3Uyfid7p/TBPYRcxVKu6v9ULlijggx/+oGU1vI67zlqb5h2ggwfJOaAfoyNQOhyFuDkCeS8ZbgWoWax2fq9FrJQ8icrUpg==
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; SFS:(4636009)(396003)(366004)(136003)(376002)(346002)(39860400002)(33656002)(9686003)(55016002)(7696005)(4326008)(26005)(186003)(53546011)(54906003)(966005)(52536014)(5660300002)(316002)(6506007)(76116006)(478600001)(110136005)(2906002)(66446008)(66556008)(66476007)(66946007)(64756008)(8936002)(86362001)(71200400001)(8676002)(166002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: 7UE6vpEBFEv0iuHMRqRW9TOegNaXfuvGbezuemrVcXxETliWas0dZk7IieYFB2hO73egrjcNapuS9QgK/xP0wnMTSXcbxyz6kMqZK5TXZ/X8FrLT9ZGs9UasEaOnhUbrfU0GTpBAwQSmmEei7xR9OP4GnGJT+J8zrNf2cBcWDIXpJhBzyTRblAzQA0iwDGSYRPHks0kKw+Fl+V8nGte+ogp2RMrmxO2J2RjzKua+4Do3IApeyK+2V/urSqALMTuP3E65610yBTFh/a9CzMJMi/SB9XXsjD62ONKIh1pNsGWgjH2iqZBLWtJVXbT9V5EPL4oWLkTtowKYKp5CVPFXOzyTSSHMm7LjrScncwwClsrfM/kGVS5DtZ8KZKxzdCKU9p7ZK6XQVbSTVz5FHI57W2YjYSernkRZXNAuuEQUx3rcmFRgE2FmgeNxiCFib56VYU0u0Q4LaZoEdYpPcQ6sjD40QiI2frW9NXQA0sppcPT+LY43BbM8m4Kw9nLatncJC7iY9ZvirlMoMEhnfoaq/TyFKnDJxwNcGFGJeUljtal3ZH3EdMkXDTXFuFwNoDCFgNvMv+L6vI2iIL14w2NN9RiSUoRap3h7xypuqgcivu8nkxlwrq7Xm3x5pbQ+LTrHCpdyJYhWxXJFOJBjcC9K1Q==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DM6PR05MB6348156EE8999AB3584B1862AE310DM6PR05MB6348namp_"
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: 86c27571-64fb-48de-99af-08d866efeddc
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Oct 2020 16:26:34.5900 (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: OI5xlME8IYquGum1q25KR/8HUFpPMAZFyCEY42j4bfatRS0UtWPbpvd7L9NuxaMVJbo2m/48bSsA7Y8SYcQQuw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR05MB3371
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-10-02_10:2020-10-02, 2020-10-02 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 suspectscore=0 phishscore=0 clxscore=1015 bulkscore=0 mlxlogscore=999 adultscore=0 malwarescore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2010020124
Archived-At: <https://mailarchive.ietf.org/arch/msg/srcomp/-8uz_KRCGz0aXMg7r1kFrWrNIt4>
Subject: Re: [Srcomp] Comments on REQ-8-17-FWD-EFFICIENCY
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: Fri, 02 Oct 2020 16:26:41 -0000

We should add this!



Juniper Business Use Only
From: Srcomp <srcomp-bounces@ietf.org> On Behalf Of peng.shaofu@zte.com.cn
Sent: Thursday, October 1, 2020 10:59 PM
To: ddukes=40cisco.com@dmarc.ietf.org
Cc: rbonica=40juniper.net@dmarc.ietf.org; srcomp@ietf.org
Subject: Re: [Srcomp] Comments on REQ-8-17-FWD-EFFICIENCY

[External Email. Be cautious of content]




Hi Darren, Ron,



Can we add the following text in the document:

Different architectures of a forwarding engines may require produce different performance metrics to characterize this requirement.



Regards,

PSF




原始邮件
发件人:DarrenDukes(ddukes)
收件人:Ron Bonica;srcomp;
日 期 :2020年09月30日 11:37
主 题 :Re: [Srcomp] Comments on REQ-8-17-FWD-EFFICIENCY
--
Srcomp mailing list
Srcomp@ietf.org<mailto:Srcomp@ietf.org>
https://www.ietf.org/mailman/listinfo/srcomp
Hi Ron, I don't see why you would propose the inclusion of the existing metrics be dependent on adding additional metrics...

However, if I generalize your proposed metric it comes out to:
- At a segment endpoint a packet is received
- if It is destined to a local SID
  - For each header/extension header processed
     Count the number of read and write operations to process the header

Any source routing solution requires a segment endpoint node to perform:
- some number of lookups to identify the segment,
- some number of headers to be parsed,
- an IPv6 header Destination Address rewrite.

I don't see how you can quantify read and write operations during header processing.
Simply counting the headers processed should be sufficient as an approximation of the forwarding efficiency and your proposed metrics.

Darren

________________________________
From: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org<mailto:rbonica=40juniper.net@dmarc.ietf.org>>
Sent: Monday, September 28, 2020 3:03 PM
To: Darren Dukes (ddukes) <ddukes@cisco.com<mailto:ddukes@cisco.com>>; srcomp <srcomp@ietf.org<mailto:srcomp@ietf.org>>
Subject: RE: Comments on REQ-8-17-FWD-EFFICIENCY

Folks,



If we retain these metrics, we should also include:



  *   P.BSF – The number of bit shifts required
  *   P.EX0 – Number of fields in the routing header that must be examined when Segment Left is equal to 0
  *   P.EX1 – Number of fields in the routing header that must be examined when Segment Left is greater than 1



                                                                          Ron







Juniper Business Use Only

From: Darren Dukes (ddukes) <ddukes=40cisco.com@dmarc.ietf.org<mailto:ddukes=40cisco.com@dmarc.ietf.org>>
Sent: Monday, September 28, 2020 2:37 AM
To: Ron Bonica <rbonica@juniper.net<mailto:rbonica@juniper.net>>; srcomp <srcomp@ietf.org<mailto:srcomp@ietf.org>>
Subject: Re: Comments on REQ-8-17-FWD-EFFICIENCY



[External Email. Be cautious of content]



Hi Ron, the metrics in this requirement are indeed valid, as lookups and header parsing can directly translate to impacts on pps, power, heat, cost.  These are things that operators tell me they care about and that we should analyze.



Let's change the rationale to reflect this.



Rationale: Performing multiple lookups per packet can impede the forwarding rate and functionality of many ASICS.

Parsing multiple headers per packet to perform those lookups can impede the forwarding rate and functionality of many ASICs.

These may translate to reduced pps or increased costs for operators.



During the analysis of each proposal, it can be determined just how many lookups would be required and their type, but this is analysis work for the analysis phase of this team's output.



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, September 23, 2020 3:06 PM
To: srcomp <srcomp@ietf.org<mailto:srcomp@ietf.org>>
Subject: [Srcomp] Comments on REQ-8-17-FWD-EFFICIENCY



Folks,



The metrics associate with REQ-8-17-FWD-EFFICIENCY are invalid. Currently, the metrics are:



  *   D.PRS(segment list): worst-case number of headers parsed during processing of the segment list.
  *   D.LKU(segment list): worst-case number of FIB lookups during processing of the segment list.



D.PRS assumes that parsing a second extension header is expensive on all ASICs. While it may be expensive on some ASIC’s it is extremely inexpensive on others. Retaining this metric doesn’t optimize the solution for operators. It merely creates an advantage for the ASIC that can’t parse additional extension headers efficiently.



D.LKU assumes that it is possible to determine how many lookups a particular compression mechanism requires. It ignores the fact that the FIB can be optimized to reduce the number of lookups. Furthermore, it fails to make a distinction between longest match lookups and index lookups.



Finally, this requirement should be stated from the network operators perspective, not the ASIC developer’s. The network operator doesn’t care how many headers were parsed or how many lookups were execute. It cares about:



  *   How many packet per second the ASIC can process
  *   How much power the ASIC consumes
  *   How much heat the ASIC generates
  *   How much the ASIC costs



Unless we can develop better metric for this requirement, we should drop it.



                                                                                           Ron









Juniper Business Use Only