Re: [Srcomp] Comments on 3.1.3. REQ-8-17-STATE-EFFICIENCY

Ron Bonica <rbonica@juniper.net> Tue, 29 September 2020 19:40 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 D4C403A110A for <srcomp@ietfa.amsl.com>; Tue, 29 Sep 2020 12:40:48 -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=IkrFTQfV; dkim=pass (1024-bit key) header.d=juniper.net header.b=DbC+Sfwc
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 rMafO8Xy_hH1 for <srcomp@ietfa.amsl.com>; Tue, 29 Sep 2020 12:40:47 -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 E51ED3A1106 for <srcomp@ietf.org>; Tue, 29 Sep 2020 12:40:46 -0700 (PDT)
Received: from pps.filterd (m0108161.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08TJbBNu009030 for <srcomp@ietf.org>; Tue, 29 Sep 2020 12:40:46 -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=lml5S1HeRXM4NyervgfcyBRNh8glKeC4br7QXgNIOLk=; b=IkrFTQfVLla7aLARqY8IfyYphwPyLn9Dx640rKQGSu6bxi14zbQK+fw5P4rYl+72iOZS 8Wz5lae92TutxIVT8A09uNBw01kgnNwWGXSs/N8gvFqV5lTHPXUaHQqxYQH9rrWCpKJe VSrScOQVOA/zlQdJUu3eEHq+1ZMYjh8Kg4jLpL3lnJGF65OqfT5YRypOFgx6oG/TofQV 8IKM+mNY0uwYW1Zg9bBdW7YnT1k2WDSXedYhfMIJ/y7C5aQ/4hWPBAB+uYcuWKTb0mbj eTJIT9xbENLHZO2oK2aWqsFEhiPQCUtH8ipcI5zaGLahmHNL/TBb9ky2wk5q3f94wBJl pw==
Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2106.outbound.protection.outlook.com [104.47.58.106]) by mx0b-00273201.pphosted.com with ESMTP id 33uyfh9b7t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <srcomp@ietf.org>; Tue, 29 Sep 2020 12:40:45 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kHV2tQuRL7rTSX/38ztOPuLhIdLdxkOwNN5a2VB94ER0TLQerTDTh3ihX/L9g8dwGwS7T4TFE1TkvhguN87HUEJFfkh2/VCVMeCrNIXoXJvfk5DJ0E6DNz6b0By3s22KJfX8jS34D22Q12USI0t+xKr5jRn5dXOAzA2zxd6O4lUIchpFNqQ+T/kbEuZyzgzaZWd9EfmdNx5j2MaEU0FjLAYIjacXp+guOm6omr/tlHdPLzwt1HRcnztY0bWezmhUbnemo3Hm/j/Nof17eLh+MoPdSldWd3gmaRz2o5h8HQkkLlF2TXU5xf84Mlx0yjBIim1fQNfIfqHfwni5Sa8cyw==
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=lml5S1HeRXM4NyervgfcyBRNh8glKeC4br7QXgNIOLk=; b=VCHfc39VOOow6ttNUcFvyl+Sv/lxg9Zq12s1GFMEqSsyp32IM6L34VhwdqRd/R8zVl53D8npYOp7YGfy2Uu9tkW6pIovKVhQcpkomdvRqQeBVHTCR+dwjQNJCjgR0qy4KG92aXda+LiMPTg6uOicyDz5mqcvM+3tRnY9JKh+wS/wh5gDtMjmunsLLO4MEfwWVvQ50tBNtwp/wn2CQsw3kZiOSKixMlli1RUzyuunT5HMDoNcrtA314UWKlK4t4uMlh2UCGQtWW20BtC+g75PBSF69dnPene3DEUqtd8m9IoqiHx2Hw6cYM7sb5NKAmkYhm49stklH+yDQfb+tXKQ3g==
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=lml5S1HeRXM4NyervgfcyBRNh8glKeC4br7QXgNIOLk=; b=DbC+SfwcZ3Tov8QQExC9S8BNVrMGohXFTKjaRTQ0XCVkuhzmzb08sLY5fL1gqYEEimOB3ML2Sb0ZL9WuS5bnsw4RFYW2GjBFqvcVi+lLVtROrK9ZllzVwmMzmaIpXTAfVEFkEAEDHaVE10kTRZxW/4yg8WoTGSK40tlHvI9MSdU=
Received: from DM6PR05MB6348.namprd05.prod.outlook.com (2603:10b6:5:122::15) by DS7PR05MB7206.namprd05.prod.outlook.com (2603:10b6:5:2c8::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.10; Tue, 29 Sep 2020 19:40:42 +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.034; Tue, 29 Sep 2020 19:40:42 +0000
From: Ron Bonica <rbonica@juniper.net>
To: srcomp <srcomp@ietf.org>
Thread-Topic: Comments on 3.1.3. REQ-8-17-STATE-EFFICIENCY
Thread-Index: AdaR3llyzBhBMgonRPanUdyj3MyzDgEs/UoA
Date: Tue, 29 Sep 2020 19:40:42 +0000
Message-ID: <DM6PR05MB6348D855EF27AA901173A028AE320@DM6PR05MB6348.namprd05.prod.outlook.com>
References: <DM6PR05MB6348A018C28A228D7CDD1FBCAE380@DM6PR05MB6348.namprd05.prod.outlook.com>
In-Reply-To: <DM6PR05MB6348A018C28A228D7CDD1FBCAE380@DM6PR05MB6348.namprd05.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:26:40Z; 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=24bda7f3-b92c-4d85-851c-ac411201d576; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=2
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;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: ec41c82e-c6e7-4ceb-7cae-08d864af8d79
x-ms-traffictypediagnostic: DS7PR05MB7206:
x-microsoft-antispam-prvs: <DS7PR05MB720650AAA8D71F735EC712C2AE320@DS7PR05MB7206.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: jhrFs8eqDizDxCQo1BiEPRiL6le80whMCKEHg6e8uzDn8jcdyUBHCyFQ6icoE6FDR6N2E/lAz2DxBKg2ygoT0um/+eEkJL+jQ+Dep7AdhIKx+Cetcw7PNqucdLGPdsHye+VTKXu0BLIyYvVIpfDAX9VDntQRWC5wtI5Gdh3aIZ+p1HGh+gz1NfPhjhgTp9ujbyAgvHCmk0FGW/Y1mhtgfZpCfm5xizmVAVehyfjOkoLXoe4VJ7Mc9dzh5TiQUVt/kfHwacY2RKT7DMrvnr71fUozBNC+U1Lowj6KMIiJrq2bJ8cRkm6kusj1e7JvZXl7cpIesuf+r4h/qVm2yInSLI/yMFmqQ6cEjDTyLExoUfPFCsKz8uZofsW0GkeSiNOg0G15Z40vOLyfgqJtEHucrVIjR8M/eVqUFR6EO2bS7TySU78jcgQThZiPThQem0HZlsCQNhgobPrmq3bbAWDXpw==
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)(346002)(39860400002)(136003)(376002)(26005)(64756008)(66946007)(966005)(66446008)(66476007)(76116006)(66556008)(53546011)(6506007)(55016002)(8676002)(316002)(71200400001)(186003)(33656002)(5660300002)(2906002)(166002)(52536014)(478600001)(6916009)(8936002)(9686003)(86362001)(7696005); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: 9+SOQwgXAXymW9oE5FNJ/oEOKN1HciY8i3ZGV8wbOiVyqLEEjVY8AvrjcjPPzKP1ANjgzA82LwhClNPVXGbcbbmaOexYB3Q2DJFnVhNTKC4uhcXDWZXxEMZjsxOEJXAMZniSBN5CuI6Xpy+8zw3+GNl9iIWnfVdNLRRwLpp682uIwaYcSIlP7OgDfHsyKKjDD1XLF/YKpBWVsqM55Q/59x+oVHdbdgzcXMvprap78uyxmw2sH9pKEpwanwnuH/72fRlMUpVvD8rqC9DFCwHVvsjxyv2L0QaEiRuoLbAbyb3qWPNbyCtMRsaflYmH4ojrDtpf8SQNNv7X4lmt+vbMgnYyB2wWo7iQ41rUXOnjMVRASOgWA2OUAV3SZOeUEyJLXKcGevmqQjEr04ja/RrKMW3bKofHreBnnDHL8GNG3SBBHIOQE9pC+UnaHKEEvmz2lPSylTbm1fvhLM+oTCl9ZK8lYoIOTvash7vsWwMOypXoImJ5FWOsnm28mau9du0L1dDfry21KaTcMycvnW6gcVqA8bhrZjYPmoi1ADkY3p/4I3l8jXfH/+xPfm/A5I+GdoPFt02pQgvcODhztFouZvEj7NBRDy4woV83TPerGN5JwWw0MttdGMhBp4fqQXAw+genNTlwXUcuh36AzhAURQ==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DM6PR05MB6348D855EF27AA901173A028AE320DM6PR05MB6348namp_"
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: ec41c82e-c6e7-4ceb-7cae-08d864af8d79
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Sep 2020 19:40:42.6749 (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: iGPk8ZhB68nRYf51Qy+QmpPEmXqY78RLU1eyL9mKHW6vOC/vPmZqaHNaAPXqmBQKq252qPWwkSqiYGO9sjt3dA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR05MB7206
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-29_13:2020-09-29, 2020-09-29 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 suspectscore=0 bulkscore=0 priorityscore=1501 adultscore=0 mlxlogscore=999 impostorscore=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 spamscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009290163
Archived-At: <https://mailarchive.ietf.org/arch/msg/srcomp/MpS5S8YaI_kVvXQ89tgwdKOIoSI>
Subject: Re: [Srcomp] Comments on 3.1.3. REQ-8-17-STATE-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: Tue, 29 Sep 2020 19:40:49 -0000

Folks,

In https://mailarchive.ietf.org/arch/msg/srcomp/t9a7SRMaq0XNWdpT7ILBpx1hkW0/, Darren offers the following rationale for this requirement:

                "Efficiency in bits on the wire and forwarding state are both important.  Optimizing one at the expense of the other may lead to issues in implementations."

While this rationale admits a conflict between forwarding efficiency and state efficiency, it doesn't tell us *why* state efficiency is important. We all know, intuitively that it is important, but until we can articulate why it is important, we really don't know how to measure it.

When we strive for state efficiency, we might:


  1.  Minimize the number of FIB entries required to support a segment
  2.  Minimize the amount of FIB storage required support a segment
  3.  Minimize the amount of information required to support a segment

There is a conflict between 1 and 2. Assume that a Node A sends the exact same control plane stream to Nodes B and C. It contains some amount of information.

Node B stores the stream in a flat FIB structure. The FIB contains an IP Prefix Table and the IP Prefix table contains one entry for each reachable prefix. An IP prefix table entry contains the IP prefix plus many bytes of information describing each next-hop through which the prefix is reachable.

Node C store the stream in a normalized FIB structure. This contains an IP prefix table and a next-hop table. The IP Prefix table contains one entry for each reachable prefix. It also contains one entry for each next-hop. Each IP Prefix table entry contains an IP prefix plus a pointer for each next-hop through which the prefix is reachable. Each Next-hop entry many bytes of information describing each next-hop.

The FIB on Node B contains fewer FIB entries but consumes more storage. The FIB on Node C contains more FIB entries but consumes less storage. Both contain the exact same information.

So, when we optimize for state efficiency, which should we count, FIB entries, storage, or information. Darren suggests FIB entries. Why is this more important than storage or information?

Also, any data structure can be flattened to the point that it contains only one FIB entry. Is that what we want. When we measure state efficiency, what level of flattening or normalization do we assume. Why?

                                                                                  Ron





Juniper Business Use Only
From: Srcomp <srcomp-bounces@ietf.org> On Behalf Of Ron Bonica
Sent: Wednesday, September 23, 2020 3:27 PM
To: srcomp <srcomp@ietf.org>
Subject: [Srcomp] Comments on 3.1.3. REQ-8-17-STATE-EFFICIENCY

[External Email. Be cautious of content]

Folks,

The description and the rationale are identical. Lacking rationale to justify this requirement, we should drop it.

The metric regarding  REQ-8-17-STATE-EFFICIENCY assumes that one can infer how many FIB entries a particular compression mechanism requires. It ignores the fact that a FIB can be organized in many ways. Some organizations will have more FIB entries than others.

Unless we can develop a better metric, this requirement should be dropped.


                                             Ron



Juniper Business Use Only