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

Ron Bonica <rbonica@juniper.net> Fri, 25 September 2020 00:07 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 A1E593A0954 for <srcomp@ietfa.amsl.com>; Thu, 24 Sep 2020 17:07:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.813
X-Spam-Level:
X-Spam-Status: No, score=-3.813 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.695, 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_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b=UXfK4+JT; dkim=pass (1024-bit key) header.d=juniper.net header.b=RpJAZJEU
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 CFViGjoTJnUR for <srcomp@ietfa.amsl.com>; Thu, 24 Sep 2020 17:07:11 -0700 (PDT)
Received: from mx0a-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 D25783A0964 for <srcomp@ietf.org>; Thu, 24 Sep 2020 17:07:11 -0700 (PDT)
Received: from pps.filterd (m0108159.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08ONx8We018580; Thu, 24 Sep 2020 17:07:04 -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=pVCYKsszl5bcPkFnTFzq95HinFQ3k6+csLCjwBW9OqA=; b=UXfK4+JTRJ6PhPg4/PgntNedY2wydquVQ0Dsw+EuTT//ddQuAXCQnOvPhjKE46stCwP6 ZARFrGaAeChAdvZs9vfgCsndzIozFS9/JCNrBZXwFscxWHGoAjvNDmB7E6GCFxtki4AD CEzumAhcfvo9iODb6ndcHsvxOSTgwJj1CZpNF/TA3kOeqWDCNRZ0UNdc0g+3/xert/z+ 8fjRO9Vb5QlAiaXAQVdftkrjJOWwB4hn4rinV7tRyTjwO4F9rlzRQRWl+JN7CHmDQogi 58x2fZ5fFZXyKjVTwEZjfdPl+IYszLKE3C/J4cj02YFekqfreR7bwZiUT+9OA/RuuqPG uQ==
Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2168.outbound.protection.outlook.com [104.47.55.168]) by mx0a-00273201.pphosted.com with ESMTP id 33r6sa39ta-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 24 Sep 2020 17:07:03 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZILP3YZVjfhSE+tBgEkPXBPl5sndx6c7+Hh8WWW1Sy5IP9bIxoS2aLJBsBQIjEOrI3EtdWL8FGGzz8f+bSFRkpum5ykHbHV7e+VVuGwTcqb9DClc2F3+PutCKbaFAVobnpST3lxHAPDt0Xtc0If43fwJg3mtwqe7JPPGvzxt1YkFkE1wMhigAcsutzEDtP9KXx+i7hj4ls6oGSvELaIcYFjIRuRYlxDcRVoLAfEExtVVzdUd6wImSHHolAhGH/8E6U2qRYcrDZyy0pZTMHnovtq3WajUsoB078NoR3zxjEPjbnjI6uIalJcXIJIREstHzSCIhTyjBQY/dA7eAfao1Q==
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=pVCYKsszl5bcPkFnTFzq95HinFQ3k6+csLCjwBW9OqA=; b=VgkFnsrF7zEm7vkC9pUUStO7nyeaU8prvE2E/Pa699Fnji+ajwCw4fpa+LN+fkcQy9J64SM9boZHO6SYd8ukmOwJv2gCAzznE3wchw/UfkwVJ55gVmlm+3MqebdnKUmpS1Ywu4Ger6hBkHha/yCEh84AEdgUq1MKAxaMIjuvpxDKQqhh0j1DjI/kAMon/D8+Ad3atFT4l7xjWpzAz5dYGOkZbLhLomh7eZp6YHZkJWh3YztXWLvWIakYTP1aAOhOyuVIJyDsFIxfCAgnr/0AQ6/fuccKcogPEZy7OBA5ORr4vmLzf3ixjwX9Mk8vR1tboEMiB+Jntk+MW6hHc1cW7Q==
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=pVCYKsszl5bcPkFnTFzq95HinFQ3k6+csLCjwBW9OqA=; b=RpJAZJEUBgxMnaZw/gmK9JqEc1UDXKqZybayGz1RQM6Zg98CwuRk+WsjaEdgK8Fel30ytLpvMHz9GWsYt+TMtyht8pOzRrCF/6v1zo3qOcw+Tug2FmJa2Vjal4EOpWpfoKoLmI9t8zvHn37lSx0z7tiX0nJRyzJ/RN0nrwU2vgI=
Received: from DM6PR05MB6348.namprd05.prod.outlook.com (2603:10b6:5:122::15) by DM6PR05MB6939.namprd05.prod.outlook.com (2603:10b6:5:204::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.14; Fri, 25 Sep 2020 00:07:00 +0000
Received: from DM6PR05MB6348.namprd05.prod.outlook.com ([fe80::1113:203d:92a0:923]) by DM6PR05MB6348.namprd05.prod.outlook.com ([fe80::1113:203d:92a0:923%6]) with mapi id 15.20.3412.020; Fri, 25 Sep 2020 00:07:00 +0000
From: Ron Bonica <rbonica@juniper.net>
To: "Chengli (Cheng Li)" <c.l@huawei.com>, "Henderickx, Wim (Nokia - BE/Antwerp)" <wim.henderickx@nokia.com>, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, srcomp <srcomp@ietf.org>
Thread-Topic: [Srcomp] Comments on REQ-8-17-FWD-EFFICIENCY
Thread-Index: AQHWkipa34+LpUZCOkunbJZsyljZ7al3gDoQgADwZFA=
Date: Fri, 25 Sep 2020 00:07:00 +0000
Message-ID: <DM6PR05MB6348584C7063F97CEE63C4EDAE360@DM6PR05MB6348.namprd05.prod.outlook.com>
References: <8F9A1F05-413F-4652-BB37-6D7E7190A750@nokia.com> <C7C2E1C43D652C4E9E49FE7517C236CB02BF4D6A@dggeml529-mbx.china.huawei.com>
In-Reply-To: <C7C2E1C43D652C4E9E49FE7517C236CB02BF4D6A@dggeml529-mbx.china.huawei.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-25T00:06:58Z; 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=83b8a953-5e5e-49b6-9f5d-87e9f7c3a0d0; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=2
authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; 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: 9c91f618-0b4f-42fc-a5a8-08d860e6ecd0
x-ms-traffictypediagnostic: DM6PR05MB6939:
x-microsoft-antispam-prvs: <DM6PR05MB69394F4A6B3F3ED81F915FE5AE360@DM6PR05MB6939.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6430;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: v5BGy5tOLBRBnhCuNpPNT91Lx24/SttTyP+HFIMt1zBbreJkLiDbaYPuqHvRQrstGIREjUx//+VB0BtAXYkBp8CA1RICBWQ0MzLrSB71YITxQWOTaxEDjNAzU3fC4w2E9ktbyJ/2H5vt/t2niPusC45ciMqVovHoN0NGz9LNEs1PUuUF/tGvVA0d1NK+SmlSsJrp1xZMYhKYNmrkPnNDAB05HHJBHLoeKwEsPjx/ZfmPM1KYerw7/rfCiXMB9MOcimHQj7Qc7GlgxZdSfRK3AgmBEc16RPHSe2KtnadfjsjoNnoDX1sg00RAeARc5jyft0wnPxdn3Gc/Tq0/cjMezw==
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)(376002)(366004)(136003)(346002)(396003)(39860400002)(66476007)(33656002)(478600001)(52536014)(64756008)(66446008)(66556008)(71200400001)(186003)(5660300002)(26005)(66946007)(76116006)(7696005)(53546011)(2906002)(55016002)(6506007)(9686003)(86362001)(316002)(83380400001)(110136005)(8936002)(8676002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: tQpkLP3iSlmSMmGJ527nV2OR30cl3fuhOwvIql7l2Jkmnl1T3MJFijyfv0GBtn4yQXDkeGYT9lBzSnFf6sWIO+8e1jGDaTEAvifuGbaaBmc3PzBifN3HTFvlMXcCNHLHT9jp9RZdP7VXwjcTes8jR03nnZlXCK/yxFAc1Tlc3RDl6mp1VDgJwvbrokLqjA6UeOxNmfol0KBMukTiGJb2vggC7H24uOlwMNsZIqFYMdLhopb1qQ+dStj5sa5zwoXWyAoJEYTKFMYbRmPzNJaO6spO+Si14+ZgWn5Oxtuwp1Gd/NkONr5zy6NhXkv5TNzhzvYGLvL/C00dlFU4GbnjFmtCXrxnWBcQl9L0AiCYbeyQ8kTXDLWwRpx6CNPdctEQAaMpZDLtbNV3Ka7xOBlaWvFC8kA4EpKBSSJk4eulPhMfgB0VXvWuNB7FQvUpOEQxRpvzMe4Ll25r59KPF431R4vx8hZICzSbPRTDvqi++Np4UM+WTLQU4asv4oxflnzJsrYSpXvslWLXnSsUEVa1+g5URHmn6u3hbo8sY6GUlqLJchoE2j4hi9Wwm4P9QCnom3mKYqqag9tRcVR0Efr64thJRgB8YyuB1wHDl+q2j6AUdTwPFVf1iKEprrzBqAWP/RTXrX0IrTcgTYsJVKmLHw==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DM6PR05MB6348584C7063F97CEE63C4EDAE360DM6PR05MB6348namp_"
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: 9c91f618-0b4f-42fc-a5a8-08d860e6ecd0
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Sep 2020 00:07:00.4416 (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: Xt4dJehFscaJJC9khWqG/89iwMLeHCXKSUQJ+XXG2aLXM2xvHWRDOI5YX21bpWhr6UMxOvRikN6e9+rqWjeE4Q==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB6939
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-24_18:2020-09-24, 2020-09-24 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 phishscore=0 suspectscore=0 adultscore=0 mlxscore=0 mlxlogscore=999 malwarescore=0 lowpriorityscore=0 impostorscore=0 spamscore=0 bulkscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009240173
Archived-At: <https://mailarchive.ietf.org/arch/msg/srcomp/oFwwvmXkVO8Fdw7qgBFATxdP42c>
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, 25 Sep 2020 00:07:14 -0000

Cheng,

Adding to my last email.....

Network operators care about the efficiency of implementations. They want to know that:


  *   Implementation A of compression mechanism A can forward N packets per second
  *   Implementation B of compression mechanism A can forward M packets per second
  *   Implementation A of compression mechanism B can forward P packets per second
  *   Implementation B of compression mechanism B can forward Q packets per second

The comparison would be even more meaningful of all implementations consumed the same amount of power, generated the same amount of heat, and were available at the same price.

Sadly, we can't provide such metrics. So, we generate metrics like D.PRS and D.IKU, hoping that they estimate the metrics that network operators really want. Sadly, we have no guarantee that D.PRS or D.IKU can estimate the desired metrics.

In order to estimate the desired metrics, we would have to measure *every* operation that the compression mechanism executes (e.g., bit shifting). Then, we would have to assign a relative cost to each operation. It is impossible to assign a relative cost to each operation because:


  *   An operation might be expensive on one platform and inexpensive on another
  *   All instances of an operation may not have the same cost (e.g., longest-match lookups versus indexed lookups)

In summary, I think that D.PRS and D.IKU may do more harm than good, because they may be interpreted as estimates of the desired metrics, even though they are not.

                                                                                                Ron



Juniper Business Use Only
From: Srcomp <srcomp-bounces@ietf.org> On Behalf Of Chengli (Cheng Li)
Sent: Thursday, September 24, 2020 5:29 AM
To: Henderickx, Wim (Nokia - BE/Antwerp) <wim.henderickx@nokia.com>; Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>; srcomp <srcomp@ietf.org>
Subject: Re: [Srcomp] Comments on REQ-8-17-FWD-EFFICIENCY

[External Email. Be cautious of content]

Hi Wim and Ron,

I agree with Wim. There is value to show the times of lookup. Some forwarding efficiency MUST be dropped in any extra table lookup.

Please see my reply inline.

Respect,
Cheng



From: Srcomp [mailto:srcomp-bounces@ietf.org] On Behalf Of Henderickx, Wim (Nokia - BE/Antwerp)
Sent: Thursday, September 24, 2020 12:23 PM
To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org<mailto:rbonica=40juniper.net@dmarc.ietf.org>>; srcomp <srcomp@ietf.org<mailto:srcomp@ietf.org>>
Subject: Re: [Srcomp] Comments on REQ-8-17-FWD-EFFICIENCY

I do believe there is value in showing the lookups needed for a certain proposal for srcomp and compare them. The reason is this technology will be implemented by many asic (hopefully) and less lookups will be better. The more you need the more transistors/memory you burn and the result will be less performance in a given package. As such this is an important factor in the comparison of the options in my view.

In other words a solution that does 2 lookup versus 3 will be more future safe.

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>>
Date: Wednesday, 23 September 2020 at 21:06
To: "srcomp@ietf.org<mailto:srcomp@ietf.org>" <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.

[Cheng] Sure, different hardware have different capabilities. We may specify what kind of hardware, correct? Also, why we only list the worst-case?

We should list all the possible cases, the best case, normal cases, and the worst case.

Also, the percentage of each cases should be provided. Like, in  0.1 percent to have the worst case, then there is no meaning to analysize it? But if in 10 or more percent we will meet the worst case, then it is valuable to have the data.

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.

[Cheng] Yes, FIB can be optimized to reduce the number of lookups, this should be explicitly noted.

Also, the forwarding efficiencies of using LPM and EM are different. But for some vendors' hardware, they can make them almost the same. I think it depends on the hardware implementation. Perhaps, we can do some theoretical analysis?


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