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

Ron Bonica <rbonica@juniper.net> Mon, 28 September 2020 18:54 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 2D9533A1362; Mon, 28 Sep 2020 11:54:58 -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=VMbBxwAX; dkim=pass (1024-bit key) header.d=juniper.net header.b=PH0LjRhp
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 OerLwoGbrezE; Mon, 28 Sep 2020 11:54:56 -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 29BE43A11A7; Mon, 28 Sep 2020 11:54:55 -0700 (PDT)
Received: from pps.filterd (m0108160.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08SIfrxW001306; Mon, 28 Sep 2020 11:54:55 -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=NbNrlGh4SbTBpyJhubSCpAEgSvdkv3kwx071fK2AC7I=; b=VMbBxwAX21NJRz1f4X+XnfRTKWVJBxUfBAIsGQX9Zhn2cn17ZrCZOSvmOks2K0l9nXbp w/tBILvk4cal74tt1O3+wRFI9jcX5XNCfT3qqDu1yHbIAnD/1bPiMYrj9Bcn9c6n0SIw QwpYbakxJ575/Pzw9GP92g7yLUyPsBSwjNlYmrxHwCkSDV2q18riI7aBTO319rfs9QKZ xn8NidoIC7aTrDlDVd6D06XrE+TPnUAyvovwYIDr0rYUk85Ig+ysZgWVbqWq6ZaWwnZa 75UMoy6VDW2Iaf8T+mr/Sq8Evhhwk23MNphRbKXKbYNHTqkcOKv+tRSTD2G5Vn+UZ85g 5A==
Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2103.outbound.protection.outlook.com [104.47.58.103]) by mx0b-00273201.pphosted.com with ESMTP id 33t3jhk1qx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 28 Sep 2020 11:54:55 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aReQhT0G8jlTkux0a5cwkE5tWYq3vRa38hH/OPMrXF/w7/14Gnx+sAU9BcooqUN9rvXD+r52nloPj1QP3nppLtgPO+g97EoALeIXIgVThPgc559Ze1NWCHe/RDruF9+4Tuze6RrrE6Jw0q+fNWYpq/AYkJIugWcc4s0WEvi6NeI4uu1LUs7yyjx6MRkykgeDg35GahCFhdLs7p0QXR6XpBiW5vlK1aI6e9PUBpijk/WU4cQ++gvfo6WPLgpiEGVbeLrex/qaN06pQfwVthjsbIrwDJjCzAgBG3b/VxG8vaGzD3B14PqFD+ZwceBxice1WQvZHEr4KFObN9NEsVnihQ==
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=NbNrlGh4SbTBpyJhubSCpAEgSvdkv3kwx071fK2AC7I=; b=MkYA/Q1wu49ECJXmBvnbKtOYdBbssIKqOugKVU7KS60uVd02g++Dh228itEvezFev016rNM0dQEjOpoJftFL91Lc65dRAcv0n8GkBb50D4Zlm8x5xhzmH7OeAtSPbUzofs8HcB19VTz0lxxM0NRWTufsIgrCXZ3CJ2sTTtAfJdA26XAe9VucAodxBErKLym9BlEFq+xvPbYlYUEZRPLTrVDfzNjVfrbjXZKYszKia565VdzJvax5yME2Z1wPO3yTn0nBFyHvKR5KsLya6HmouELggfD+OoTeA1OO/sdj702hDR6qdusCjKY4X+NUDGvXNVgqVfqQHUd2F291RYVtGw==
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=NbNrlGh4SbTBpyJhubSCpAEgSvdkv3kwx071fK2AC7I=; b=PH0LjRhpd69TZoC87LMMOlLNf60ku5FDhQJ9awzducBS8oWVTwmxRxS64DwXAKnef+YOjmxD4mb9iqpYxL2fWITdxiw2H672bvw1SgFsqXcHfcE/TT0o/rYYCyRYPJ5VmDmcHnANBTqxlYDk9sNRds4YbjvYnZISkRVnhwjQRug=
Received: from DM6PR05MB6348.namprd05.prod.outlook.com (2603:10b6:5:122::15) by DM6PR05MB5321.namprd05.prod.outlook.com (2603:10b6:5:5d::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.15; Mon, 28 Sep 2020 18:54:52 +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.030; Mon, 28 Sep 2020 18:54:52 +0000
From: Ron Bonica <rbonica@juniper.net>
To: "Darren Dukes (ddukes)" <ddukes=40cisco.com@dmarc.ietf.org>, srcomp <srcomp@ietf.org>
Thread-Topic: Comments on REQ-8-17-FWD-EFFICIENCY
Thread-Index: AdaR1qZKdMwN7UB9Td2I1OzCoQF1fwDhdvh8ABre9EA=
Date: Mon, 28 Sep 2020 18:54:52 +0000
Message-ID: <DM6PR05MB634814CD4E8AAE667941B525AE350@DM6PR05MB6348.namprd05.prod.outlook.com>
References: <DM6PR05MB634814AA4485E2770C54E867AE380@DM6PR05MB6348.namprd05.prod.outlook.com> <BN6PR11MB4081FE1AEEFEBA1198D23473C8350@BN6PR11MB4081.namprd11.prod.outlook.com>
In-Reply-To: <BN6PR11MB4081FE1AEEFEBA1198D23473C8350@BN6PR11MB4081.namprd11.prod.outlook.com>
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-09-23T19:06:01Z; 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=351f2c95-a04a-41ee-9337-1fef359b1ed3; 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=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: e7fe63d9-74e6-4201-c96f-08d863dffbd3
x-ms-traffictypediagnostic: DM6PR05MB5321:
x-microsoft-antispam-prvs: <DM6PR05MB53212FD66789D2CAC410AEEAAE350@DM6PR05MB5321.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: JyIn1yIR3RB9f3VCdwaJDUgSeI7GLt4iYIG8zHGE7bcoQ5t6PSnT40y4wLaHmeEoG8n4IpNKKLd5G4oIxFbopO49rm6z5hEZrc4XdwbtgzytvA9RWNkXbD8Z3IgsOYQGirL8q63lntECSOnEVxuyC9+NqQebi+t1fVbPFXnufhc3sk0zBOREY5j9gOpJKPwCEvZaBY1BiTeZhK4cGmeqnErM+Y8JyYUNqQHa9psTpg2R4TlWelyBkvg4CLIusIMrQy4+g01SnbKlo+EXujC5lQaFyuf/93I0Wh08cH9AXxJvhWE39To4j8LtLS8KR5j4A2DymJ6v/6BI3jXVDzXwJw==
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)(366004)(396003)(39860400002)(376002)(136003)(346002)(478600001)(66946007)(71200400001)(26005)(52536014)(55016002)(53546011)(6506007)(110136005)(8936002)(86362001)(8676002)(316002)(5660300002)(2906002)(64756008)(66446008)(66556008)(66476007)(9686003)(186003)(76116006)(33656002)(7696005); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: kRTT9/O5kP2mpSiJ9P8XN/6kWVhJR+VdfT1EQNQ2gOpI0Wjvp+Gh96xkoV5dPmCt8TjIDvPZi1YXZCsLJbDWx8dCG0k+j1TBkhOBZ8i2EAlsUSDBE2flEIUqeGMYirAjy0/zmYiVmrRXlX3/nyC3jPJP2DxwLfuf2M37coluhkwpU5gLUzuIzhW/KXXtfawZQxYfg5UokxPPK4gkM0AwS5n9a72BKuooVuDUckIUvUdPnyes79VNSk/PFfUGaBAVYhstGPYW4YcYIlcacY4dmKY950Bt/7FkbeFiQqAVZnbwqN5sZc6v9UPwNWbmfwziQOsNcayCuL36Ch175WODZvoHNLAI+Ipbcmu0YmKR6MZqh946WGQpjRomJKG2X0LXIlXc6+optPVrxwxsxXYZIcwRKkg454kNhCMr7jcwPV5Zy7gypNWb30WOYTCHu8N15BHhbl6l8d9KXA88V0wszx7uTbvop9RkcFvz4liovRcWSWDyZKy4A62mRiMEAuvZPc7ZgdyU5GfPPGdmwtUy/hKW3CA7InVWneL0jyYZoNqsvDpuaNUYYDFh1Furz8xcj1hkwEj7MI84HJWNdDyCcVDc2KcLtSSKyxOGaKSl6BYd7k0T7HE7kLvuX5c3b6ikusObEMvPwAUZFJCukvn53g==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DM6PR05MB634814CD4E8AAE667941B525AE350DM6PR05MB6348namp_"
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: e7fe63d9-74e6-4201-c96f-08d863dffbd3
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Sep 2020 18:54:52.5093 (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: Xz9zesVKyzA5hiFc1XkgwZi2b8Iel/qG/gjG1XgQAbhcO73P5HnvUwFqxQ4jgS8p7RWVhVxjd6HHhmNsFRPUXQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB5321
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-28_20:2020-09-28, 2020-09-28 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 malwarescore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=999 spamscore=0 adultscore=0 bulkscore=0 priorityscore=1501 phishscore=0 clxscore=1015 impostorscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009280143
Archived-At: <https://mailarchive.ietf.org/arch/msg/srcomp/3fv9MYbyclszKCz7dFV5TTjJEfU>
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: Mon, 28 Sep 2020 18:54:58 -0000

Darren,

Consider P.LKU. On may platforms, some lookups are more expensive than others. For example:


  *   Longest Match Lookups (e.g., IPv6, IPv4) are relatively expensive
  *   Indexed Lookups (e.g., MPLS) are relatively inexpensive.

If you want to keep this metric, you should at least split it into the following:


  *   D.LKU-LM (segment list): number of Longest Match FIB lookups during processing of the segment list.
  *   D.LKU-I (segment list): number of Indexed FIB lookups during processing of the segment list.



You might also want to mention that Indexed lookups are less expensive than longest most platforms.



                                                                               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<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