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

"Chengli (Cheng Li)" <c.l@huawei.com> Thu, 24 September 2020 09:29 UTC

Return-Path: <c.l@huawei.com>
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 05B353A0933 for <srcomp@ietfa.amsl.com>; Thu, 24 Sep 2020 02:29:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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 xKxs0V1LZxyg for <srcomp@ietfa.amsl.com>; Thu, 24 Sep 2020 02:29:42 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 463663A048D for <srcomp@ietf.org>; Thu, 24 Sep 2020 02:29:33 -0700 (PDT)
Received: from lhreml718-chm.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 43901F93C5E5D6B1335A; Thu, 24 Sep 2020 10:29:31 +0100 (IST)
Received: from lhreml718-chm.china.huawei.com (10.201.108.69) by lhreml718-chm.china.huawei.com (10.201.108.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Thu, 24 Sep 2020 10:29:30 +0100
Received: from DGGEML405-HUB.china.huawei.com (10.3.17.49) by lhreml718-chm.china.huawei.com (10.201.108.69) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.1.1913.5 via Frontend Transport; Thu, 24 Sep 2020 10:29:30 +0100
Received: from DGGEML529-MBX.china.huawei.com ([169.254.6.146]) by dggeml405-hub.china.huawei.com ([10.3.17.49]) with mapi id 14.03.0487.000; Thu, 24 Sep 2020 17:29:18 +0800
From: "Chengli (Cheng Li)" <c.l@huawei.com>
To: "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+LpUZCOkunbJZsyljZ7al3gDoQ
Date: Thu, 24 Sep 2020 09:29:18 +0000
Message-ID: <C7C2E1C43D652C4E9E49FE7517C236CB02BF4D6A@dggeml529-mbx.china.huawei.com>
References: <8F9A1F05-413F-4652-BB37-6D7E7190A750@nokia.com>
In-Reply-To: <8F9A1F05-413F-4652-BB37-6D7E7190A750@nokia.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.108.243.130]
Content-Type: multipart/alternative; boundary="_000_C7C2E1C43D652C4E9E49FE7517C236CB02BF4D6Adggeml529mbxchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/srcomp/3e-QvZY_mxRFoQbXufdGDpiPcNw>
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: Thu, 24 Sep 2020 09:29:44 -0000

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