Re: [Lsr] Dynamic flow control for flooding

"Les Ginsberg (ginsberg)" <ginsberg@cisco.com> Wed, 24 July 2019 22:53 UTC

Return-Path: <ginsberg@cisco.com>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C7D8120110 for <lsr@ietfa.amsl.com>; Wed, 24 Jul 2019 15:53:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=Mpk2KPnb; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=NdRYjJaP
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 0MlBRZX7YMbt for <lsr@ietfa.amsl.com>; Wed, 24 Jul 2019 15:53:21 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 342D51200FD for <lsr@ietf.org>; Wed, 24 Jul 2019 15:53:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=29444; q=dns/txt; s=iport; t=1564008801; x=1565218401; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=DCkhzK7mIoCLm3py/F/0ilfMryIVdi3MDRO/+XWkxVI=; b=Mpk2KPnbF0KILFYOd1CXpUUW5rgK61UPZMEwjv2XZjiOV5mySAsK+nAL +kcmphuj31rQP/5CuNbvqB1vxmK/JFreWUoD4Hv3aklSc5O3JkIvTEZs4 Iby99QEig9zoGpRYbASxhFz3v0FosUy1NsvNUc5NScat5syoPGLav72SF M=;
IronPort-PHdr: 9a23:ZdUJOxOuPnW5DbWFG7Il6mtXPHoupqn0MwgJ65Eul7NJdOG58o//OFDEu6w/l0fHCIPc7f8My/HbtaztQyQh2d6AqzhDFf4ETBoZkYMTlg0kDtSCDBj0LfjxZSEgE+xJVURu+DewNk0GUMs=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AJAABH4Dhd/5JdJa1lGgEBAQEBAgEBAQEHAgEBAQGBUwUBAQEBCwGBFC8kLANtVSAECyqEHYNHA4RSiCqCW4lUjXyBLoEkA1QJAQEBDAEBLQIBAYRAAheCQiM0CQ4BAwEBBAEBAgEGbYUeAQuFSgEBAQEDEhEKEwEBNwEPAgEGAhEEAQEhCgICAh8RHQgCBA4FCBMHgwGBHU0DHQECkQaQYAKBOIhgcYEygnkBAQWFCw0LghMJgTQBi18XgUA/gRABRoIeLj6CGoIsJIJlMoImjBaCZoR/ljRACQKCGYtHhFKEEoIthyWOOI03iT+OFQIEAgQFAg4BAQWBUDiBWHAVgyeCQoNxg0aHDAFygSmNXQEB
X-IronPort-AV: E=Sophos;i="5.64,304,1559520000"; d="scan'208,217";a="300300873"
Received: from rcdn-core-10.cisco.com ([173.37.93.146]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 24 Jul 2019 22:53:19 +0000
Received: from XCH-ALN-013.cisco.com (xch-aln-013.cisco.com [173.36.7.23]) by rcdn-core-10.cisco.com (8.15.2/8.15.2) with ESMTPS id x6OMrJlW019962 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 24 Jul 2019 22:53:19 GMT
Received: from xhs-aln-001.cisco.com (173.37.135.118) by XCH-ALN-013.cisco.com (173.36.7.23) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 24 Jul 2019 17:53:19 -0500
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 24 Jul 2019 17:53:18 -0500
Received: from NAM04-BN3-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 24 Jul 2019 17:53:18 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S32EvEiI8Uc5tDOHbOy9Y3adE7yqzeu9yVEC2YCOEEjL9D6EHYtAK/uE7VVgVZSMJEs+/qWXkPPDMbNUzlgBifGTorIGTEJ6aRnN5Cc8a9ZmWKUIf+us1v7TD7ePL1oKNkaMW1S93nmq1JLaNrJBX1wzP39lJ9e+2iU/tIfFufQ7WomR04utOZbUQ69a6zceVbO6pHWmjStHcmNxKn4+LQLpvjDYU1AWXozUTlSaTmQcwWdE+PMpvIX1bGgYdQHbCGX63BA57+3g/uTJWbLTanfDynBUijBlOPPPIxjyPwMoRrI8I1tlZmK64NP+fV1pIDpCj9juocB+InqTrLrqtA==
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=DCkhzK7mIoCLm3py/F/0ilfMryIVdi3MDRO/+XWkxVI=; b=AjM58SkvkGM1Z9SexFL4nHtGys6KA/MtkHo/C71u9bZOZAqm4Kr/N5QJst5xf+SmCjIFzti+y34xYh7Jx8xt13EVK+lfRv0pS9i2yrDMF5/D+882rM3Vfeonke5+POk0WRO2H4qgHD3DL1Ez0f3REvPYiPNk8A4iKheYcs9eANTINtYbaEak8uN4ENIp46owArCz2lVmyzlE5L03KfnIxtaBFO3CALxFwkh2HOgTe7fwSn26cKSkjuk40m4h3We6J6d4t1n4w1iz3o3+xdV4ZkraNa590txhON4cDmgvcNa7uy8fo2hWqKe9K1qY0bx+VKVb1USRL3mqiJ9j88nh0g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=cisco.com;dmarc=pass action=none header.from=cisco.com;dkim=pass header.d=cisco.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DCkhzK7mIoCLm3py/F/0ilfMryIVdi3MDRO/+XWkxVI=; b=NdRYjJaPLGgYB7K+8FSZ4C9k4cHAT73+zaupzywIIM2AVhTxdodJgndXoZZ/2Oc5VOlkAKG53NQPk9phpik9m4Yadj6eG4z2nfiqoB7Ei2zMjUWL+/jqOCo0yJHdTQDK1U8AnEo45Dv82BipdG/9l/aU4LWKWv1s5fXuBF9ZqBc=
Received: from BYAPR11MB3638.namprd11.prod.outlook.com (20.178.237.19) by BYAPR11MB3048.namprd11.prod.outlook.com (20.177.225.224) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.17; Wed, 24 Jul 2019 22:53:17 +0000
Received: from BYAPR11MB3638.namprd11.prod.outlook.com ([fe80::c8b3:b0b0:581d:e1ce]) by BYAPR11MB3638.namprd11.prod.outlook.com ([fe80::c8b3:b0b0:581d:e1ce%6]) with mapi id 15.20.2115.005; Wed, 24 Jul 2019 22:53:17 +0000
From: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>
To: "tony.li@tony.li" <tony.li@tony.li>
CC: "stephane.litkowski@orange.com" <stephane.litkowski@orange.com>, "lsr@ietf.org" <lsr@ietf.org>
Thread-Topic: [Lsr] Dynamic flow control for flooding
Thread-Index: AQHVQVt0dc+yhfYADEyrMMJ609g9uKbYO7RggAD4DICAAAX00IAADHqAgADSSvCAAEViAIAAAfCw
Date: Wed, 24 Jul 2019 22:53:16 +0000
Message-ID: <BYAPR11MB3638B0B52786E0D3C837F21EC1C60@BYAPR11MB3638.namprd11.prod.outlook.com>
References: <CAMj-N0LdaNBapVNisWs6cbH6RsHiXd-EMg6vRvO_U+UQsYVvXw@mail.gmail.com> <BYAPR11MB36382C89363202D1B5659614C1C70@BYAPR11MB3638.namprd11.prod.outlook.com> <5841_1563943794_5D37E372_5841_105_1_9E32478DFA9976438E7A22F69B08FF924D9C373E@OPEXCAUBMA3.corporate.adroot.infra.ftgroup> <BYAPR11MB363856BB026992DFBB3BB224C1C60@BYAPR11MB3638.namprd11.prod.outlook.com> <7D53FA6A-8072-4FC5-ABC9-5791F139C011@tony.li> <BYAPR11MB3638CD7EDAD8185BC4A788AEC1C60@BYAPR11MB3638.namprd11.prod.outlook.com> <5182CD7E-EBE2-4402-926D-24D427217D10@tony.li>
In-Reply-To: <5182CD7E-EBE2-4402-926D-24D427217D10@tony.li>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ginsberg@cisco.com;
x-originating-ip: [2001:420:c0c8:1006::374]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ae8f94f1-953b-4bab-dc3b-08d71089b772
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR11MB3048;
x-ms-traffictypediagnostic: BYAPR11MB3048:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-prvs: <BYAPR11MB3048DB257AB482BA47C6FADDC1C60@BYAPR11MB3048.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0108A997B2
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(366004)(39860400002)(376002)(136003)(346002)(199004)(189003)(8936002)(99286004)(46003)(2906002)(53546011)(6506007)(76176011)(7696005)(11346002)(446003)(6246003)(476003)(186003)(68736007)(486006)(316002)(478600001)(6916009)(81166006)(86362001)(81156014)(102836004)(2501003)(54906003)(2351001)(74316002)(5660300002)(6116002)(229853002)(54896002)(55016002)(6306002)(25786009)(71190400001)(71200400001)(8676002)(5640700003)(6436002)(790700001)(52536014)(7736002)(9686003)(33656002)(66556008)(66476007)(66946007)(14454004)(256004)(64756008)(66446008)(53936002)(14444005)(76116006)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR11MB3048; H:BYAPR11MB3638.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: kGrZlVyDYQMMNWa8yUt/aXhsg3QBp9lg9tISV8607vJ0LukCj88Ge4R1NU+akpaHTlvSeMzILNNsEmXDGI59q/Q6lI1uAgUQRYO7wv8Npyt9Hp7Cwel6cW8Jl6S6ECOgC5J0yom9egQ4qSPabnPbRhErwJgRmDBKkcP/5kva1g9CYHxPPofaB3VRWpjFU2Rska8TvkwSzdKXYyTS/Qz963Y8KpAK6AkBExQtQ7U5s/Z/3/347GVfLSnHt+hzOOkXn2LpnkDfRYSh6bPWHqQYMzyap9NRRz+Xr8FyoLhrNdOtyJiecgKpdge4hVsJCDxvLMu9iDOz6pl/eBSbzwoN5mxnHcCiMf17Lo2BQCb/pXVvjFOxV1HFHROKRSVaxNZ41NRUWN4PKWZPr80dPodUzTOwNqDiNx/Xle4oNpXCnig=
Content-Type: multipart/alternative; boundary="_000_BYAPR11MB3638B0B52786E0D3C837F21EC1C60BYAPR11MB3638namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: ae8f94f1-953b-4bab-dc3b-08d71089b772
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2019 22:53:16.8307 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: ginsberg@cisco.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3048
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.23, xch-aln-013.cisco.com
X-Outbound-Node: rcdn-core-10.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/GqbD2b336DVVHUXv6YQMBUpjpXU>
Subject: Re: [Lsr] Dynamic flow control for flooding
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Jul 2019 22:53:25 -0000

Tony -

From: Tony Li <tony1athome@gmail.com> On Behalf Of tony.li@tony.li
Sent: Wednesday, July 24, 2019 3:37 PM
To: Les Ginsberg (ginsberg) <ginsberg@cisco.com>
Cc: stephane.litkowski@orange.com; lsr@ietf.org
Subject: Re: [Lsr] Dynamic flow control for flooding


Les,


If you disagree please take things bullet-by-bullet:


  *   LSP input queue implementations are typically interface independent FIFOs


Very true.  It would not be unreasonable for an implementation to report free space in the FIFO (in number of PDUs) divided by the number of active adjacencies.  Everyone gets their fair share.

[If dynamic flooding is enabled, this could be based on the number of adjacencies that should be actively flooding. That should be a much smaller number.]
[Les:] So you are agreeing that when a receiver wants to “dial back” it will need to do so on all interfaces enabled for flooding?



  *   Overloaded Receiver does not know which senders are disproportionately causing the overflow


This doesn’t matter.  The receiver needs them all to slow down.



  *   LSPs may be dropped at lower layers – IS-IS receiver may be unaware that the overload condition exists


That’s an implementation problem. The implementation NEEDS to be able to see its input queue plus input drops.

[Les:] And you want to ship this feature when…? 😊
I think this is a difficult ask.
Before we decide this is what is required we should explore the path of monitoring the unacknowledged Tx queue.


  *   Updating hellos dynamically to alter flooding transmission rate is an OOB signaling mechanism consuming  resources at a time when routers are the most busy
  *   Consistent flooding rates will require updated hellos be sent to all neighbors – exacerbating the cost on both sender and receiver


This is why I suggest sending the feedback in PSNPs as well as in IIHs.  Regardless of the details, we need to consider sending PSNPs back more frequently.  I concur that optimizing the rate and triggers for sending more PSNPs is an open issue.

Strictly speaking, sending a TLV inside of our protocol PDUs is an in-band signaling mechanism.
[Les:] I agree – PSNP would be better since we need to send it anyway in order to ACK. Still does not convince me this is the preferred approach – but I agree it is better than hellos.

The resources consumed by maintaining a running count of a queue in silicon or in process space is effectively zero.

[Les:] It is not about counting – it is about how a given queue might be used. It isn’t reasonable to mandate that a dataplane-to-forwarding plane queue be dedicated to IS-IS. What other control plane entities are using the queue and how they empty it will introduce new variables. And the implementation cost comes in providing “real time updates” on the current queue space to clients that need it.

I really think monitoring the unacknowledged TX queue will give us what we need and make the solution completely contained within the IS-IS implementation.
Guess I need to work on more details on that approach.

   Les


Tony