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

peng.shaofu@zte.com.cn Fri, 02 October 2020 02:59 UTC

Return-Path: <peng.shaofu@zte.com.cn>
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 D56E63A0B9F for <srcomp@ietfa.amsl.com>; Thu, 1 Oct 2020 19:59:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level:
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 26jUbPUnOYvL for <srcomp@ietfa.amsl.com>; Thu, 1 Oct 2020 19:59:22 -0700 (PDT)
Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.217.80.70]) (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 1424B3A0B83 for <srcomp@ietf.org>; Thu, 1 Oct 2020 19:59:19 -0700 (PDT)
Received: from mxct.zte.com.cn (unknown [192.168.164.217]) by Forcepoint Email with ESMTPS id 038DDEE4AB0B3EC8309D for <srcomp@ietf.org>; Fri, 2 Oct 2020 10:59:18 +0800 (CST)
Received: from mse-fl2.zte.com.cn (unknown [10.30.14.239]) by Forcepoint Email with ESMTPS id D16B684425F82541CF7E; Fri, 2 Oct 2020 10:59:17 +0800 (CST)
Received: from njxapp01.zte.com.cn ([10.41.132.200]) by mse-fl2.zte.com.cn with SMTP id 0922xGe5019314; Fri, 2 Oct 2020 10:59:16 +0800 (GMT-8) (envelope-from peng.shaofu@zte.com.cn)
Received: from mapi (njxapp01[null]) by mapi (Zmail) with MAPI id mid201; Fri, 2 Oct 2020 10:59:16 +0800 (CST)
Date: Fri, 02 Oct 2020 10:59:16 +0800
X-Zmail-TransId: 2af95f7697847290105c
X-Mailer: Zmail v1.0
Message-ID: <202010021059162340411@zte.com.cn>
In-Reply-To: <BN6PR11MB4081A3DE59B570A9F4846179C8320@BN6PR11MB4081.namprd11.prod.outlook.com>
References: DM6PR05MB634814AA4485E2770C54E867AE380@DM6PR05MB6348.namprd05.prod.outlook.com, BN6PR11MB4081A3DE59B570A9F4846179C8320@BN6PR11MB4081.namprd11.prod.outlook.com
Mime-Version: 1.0
From: peng.shaofu@zte.com.cn
To: ddukes=40cisco.com@dmarc.ietf.org
Cc: rbonica=40juniper.net@dmarc.ietf.org, srcomp@ietf.org
Content-Type: multipart/mixed; boundary="=====_001_next====="
X-MAIL: mse-fl2.zte.com.cn 0922xGe5019314
Archived-At: <https://mailarchive.ietf.org/arch/msg/srcomp/kbUQBpKKdKedItAwAUGPTle4zmA>
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 02:59:25 -0000

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
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>
Sent: Monday, September 28, 2020 3:03 PM
To: Darren Dukes (ddukes) <ddukes@cisco.com>; srcomp <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> 
Sent: Monday, September 28, 2020 2:37 AM
To: Ron Bonica <rbonica@juniper.net>; srcomp <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> on behalf of Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>
Sent: Wednesday, September 23, 2020 3:06 PM
To: srcomp <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