Re: [Lsr] Flow Control Discussion for IS-IS Flooding Speed

"Les Ginsberg (ginsberg)" <ginsberg@cisco.com> Wed, 19 February 2020 02:32 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 CD050120811 for <lsr@ietfa.amsl.com>; Tue, 18 Feb 2020 18:32:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 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, 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=bdCipeYF; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=a0JjnRaC
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 7PKP8EVBGBIJ for <lsr@ietfa.amsl.com>; Tue, 18 Feb 2020 18:32:28 -0800 (PST)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2043D12006D for <lsr@ietf.org>; Tue, 18 Feb 2020 18:32:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=15864; q=dns/txt; s=iport; t=1582079548; x=1583289148; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=zXVlioZ2fK8DAD/Qvt0gAp5xwLzDtl3/sSWG7xqNIQ0=; b=bdCipeYFRw+KgQHjMBHEtsaKW8+hYA8SyXsfytglrBfb01KWhVnwO9ck jpt7+crnZoT3ec8+fevYUdiznPhRaGnVKWviXpe3Omm/Pp6La/kjtTtA8 hikX5+SwVHFqdgWFFzIatwpH1qNU8r0yNUX4t/XqOKiQ9DSGHqBip9Qt+ 0=;
IronPort-PHdr: 9a23:OLnXzREeYJsnBnaAr1vGR51GYnJ96bzpIg4Y7IYmgLtSc6Oluo7vJ1Hb+e4z1Q3SRYuO7fVChqKWqK3mVWEaqbe5+HEZON0pNVcejNkO2QkpAcqLE0r+efHraTcwEd5NfFRk5Hq8d0NSHZW2ag==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AsFwAEnkxe/5tdJa1mHgELHIMgLyQFJwVsWCAECyoKh1ADintOghGTMIRhgUKBEANUCQEBAQwBASUIAgQBAYRAAoIDJDgTAgMNAQEFAQEBAgEFBG2FNwELhWYBAQEBAxIbEwEBOA8CAQgRBAEBFhkyHQgBAQQTCBqCOUyBfU0DLgECDKMdAoE5iGKCJ4J/AQEFgUNBgzoYggwDBoE4jBUPGoFBP4EQSIIeLj6CZAIDAYEaEgEMBgEjJAcSgwOCLI4biDOKBY87CoI7h0+PJoJJmF2ObYFMhyuSRwIEAgQFAg4BAQWBaSJncXAVgydQGA2OHYNzhRSFPgF0gSmMfQEQFwSBBwGBDwEB
X-IronPort-AV: E=Sophos;i="5.70,458,1574121600"; d="scan'208,217";a="445808141"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 19 Feb 2020 02:32:04 +0000
Received: from XCH-ALN-005.cisco.com (xch-aln-005.cisco.com [173.36.7.15]) by rcdn-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id 01J2W3Sw005547 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <lsr@ietf.org>; Wed, 19 Feb 2020 02:32:03 GMT
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by XCH-ALN-005.cisco.com (173.36.7.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 18 Feb 2020 20:32:03 -0600
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 18 Feb 2020 20:32:02 -0600
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 18 Feb 2020 21:32:02 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VnH9S/JlfUao7ok8kZKUJGKGwxHJqGgLAJ8kreiqbZXJH5g/RY76iXvj7gnZkbbeCtWR0eYTy6ujyuv3qM8MLYRn3jGm/X2iEAqX9Gau5bQ/puSuBCyY88KtUCGLUYW8E0GMvNNAR5pnVjOKQnRgstl7QtleTI2eMZj059Pfpq+aZ4dRFdtoiv0rtPo+fdvEqlMTXQ9hHsEcvtlRcizz16BEV562BE2wx4/+OatEvJ52elU5iaSzfsQiw9wVqCQ0JWL6SBxaojhUcDAAzGnjAILwz7O9ibHO6mgN4iFyXvpX1fKGLT2F583i4hP91PLVRt8s3oiwIgK01zPXVsOfpg==
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=AJJDMeBiOK/EgpbbkMNPoAPrTPu2TGlaKYmDRhSFvpE=; b=kMo+KiUWTqkS960vhdcbmvoFFS6CnVBoDegSK/wjTMBMuyVNSC1afeOpTaSpmj4UtNDQ06dT0DfO4szmUhuF0OWZRe7Rr3yJUHsREHqiX0dt1Lukc6DTP8Xm9gN/5G4mLdc7cwWVSNU/YsQNQ3gwwZTQB/ysVpvGIzCoI1jvaBoJWXaidVZU798YdKS+KLkPNnk0Op4dmMKlRNDzONJX/6i4vTaVp1vViesyz+Hc6C+te8O6fdatPLpWd5+lEWghfT+00/loiZ/7H86SpL6VZyWIms1pdJgM508AnwXvVYTf83TuPRN6UtsPOIwre4bCnZthVdtTPyIAIv8khSVTnw==
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=AJJDMeBiOK/EgpbbkMNPoAPrTPu2TGlaKYmDRhSFvpE=; b=a0JjnRaCBnDR19BcG076EX4b/XDUIWxqvMm2tU2WTg9mvcsAG30YHH3zy8LfZVO5w4lqZexFdNvvYeRRckc8taQJ8UkAglvUzcXb0pYQZ4o8N5GfFrosUnA12GK3vHq4A36ks98t+XtwJexIfb2f9l+p22xl1m58rIQ51NokLR0=
Received: from MW3PR11MB4619.namprd11.prod.outlook.com (20.181.54.207) by MW3PR11MB4761.namprd11.prod.outlook.com (20.181.52.207) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.31; Wed, 19 Feb 2020 02:31:59 +0000
Received: from MW3PR11MB4619.namprd11.prod.outlook.com ([fe80::b87d:76f6:5a2e:951c]) by MW3PR11MB4619.namprd11.prod.outlook.com ([fe80::b87d:76f6:5a2e:951c%3]) with mapi id 15.20.2729.032; Wed, 19 Feb 2020 02:31:59 +0000
From: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>
To: "lsr@ietf.org" <lsr@ietf.org>
Thread-Topic: Flow Control Discussion for IS-IS Flooding Speed
Thread-Index: AdXmy57fbkJZPBB7TgK3RmmTteJ+KgAAHZag
Date: Wed, 19 Feb 2020 02:31:59 +0000
Message-ID: <MW3PR11MB461942C752F9CCB0A6E6C1BFC1100@MW3PR11MB4619.namprd11.prod.outlook.com>
References: <MW3PR11MB46191E81D5B22B454D8184A4C1100@MW3PR11MB4619.namprd11.prod.outlook.com>
In-Reply-To: <MW3PR11MB46191E81D5B22B454D8184A4C1100@MW3PR11MB4619.namprd11.prod.outlook.com>
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: [128.107.241.166]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: c3d74862-9991-4425-ed03-08d7b4e3e575
x-ms-traffictypediagnostic: MW3PR11MB4761:
x-microsoft-antispam-prvs: <MW3PR11MB4761C687C45F34A059590BA3C1100@MW3PR11MB4761.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0318501FAE
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(39860400002)(376002)(366004)(396003)(189003)(199004)(66476007)(66946007)(64756008)(66556008)(66446008)(52536014)(2940100002)(5660300002)(966005)(71200400001)(9686003)(7696005)(2906002)(186003)(6506007)(26005)(55016002)(76116006)(53546011)(6916009)(66574012)(33656002)(8936002)(86362001)(81166006)(316002)(8676002)(81156014)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:MW3PR11MB4761; H:MW3PR11MB4619.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: YRynATJXvJaU6ufzhFlYFKvyrTH621Ugatr2qZ+1SiSfCSy6WaZ9S4g7RI7dkGgTKEtXulsM6dqQMsN+xPD/2L7FBxQwXaGXB+Q4bNPp27iLHGo6NM66puor3q49rkJD7ySvA91eFUjKv3wVOdZXnrn3FWr5db3kUsUib4XNMcFuiTuWJkV5A7M4ZlEGXJE2T25ADkNboHwGVCTvBCG9kHqCDGEZd9FYtrdASbBAWRu3A1pnvzgYULXg+qTtBfj65SuP18v5xGkKo0Wk0hH19xJlmDWSr9YuMbt3MU/l5rbJlJEmrKN1yLNJYPeSMdxUpGzMzCzveKy+ubIIDGvb1h/4LZ523S5e67yrH0r0VilU1uCPtAowRlBZEPnrVRKbGnItHFkyQV34+faA59iALMCunAw0dSFR6ZnRM1W2/3niXd1WN2UxZIbFCQsjE8Eubp9uQIxPqqoOl4GrrBNagrvD51HFhhTybmmuzAzhesNRvab4gqxUxw9egQEhibPmuUQINAp0bL3lG6TCNuu5GA==
x-ms-exchange-antispam-messagedata: 7h6ydnknfkZG/FVQIU1N4tvi2MJV9Q89q9j7efksEwSdy2Oi1jk65eybWl6jtdmZ7g1mn/qpCXkKS9J+FwiyozOHyXjmdBhZOBN5tNzM8Q52ppixkzejB3dznVKfD4jXJkZjwfq3jl482DXWK48Xaw==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MW3PR11MB461942C752F9CCB0A6E6C1BFC1100MW3PR11MB4619namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: c3d74862-9991-4425-ed03-08d7b4e3e575
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Feb 2020 02:31:59.6043 (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: X35qlZjUlWZd+3bKcrWHHo6H5nE4aggLaPPAuda0JCLT/aLxha6PkJmlGrMXqSxTzsb2oGAkdfOQsIpqudhmww==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4761
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.15, xch-aln-005.cisco.com
X-Outbound-Node: rcdn-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/lrip0ibVRkAgYvSQ5ej_KxNnTig>
Subject: Re: [Lsr] Flow Control Discussion for IS-IS Flooding Speed
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, 19 Feb 2020 02:32:32 -0000

Base protocol operation of the Update process tracks the flooding of
LSPs/interface and guarantees timer-based retransmission on P2P interfaces
until an acknowledgment is received.
Using this base protocol mechanism in combination with exponential backoff of the
retransmission timer provides flow control in the event of temporary overload
of the receiver.

This mechanism works without protocol extensions, is dynamic, operates
independent of the reason for delayed acknowledgment (dropped packets, CPU
overload), and does not require additional signaling during the overloaded
period.
This is consistent with the recommendations in RFC 4222 (OSPF).
Receiver-based flow control (as proposed in https://datatracker.ietf.org/doc/draft-decraene-lsr-isis-flooding-speed/ )
requires protocol extensions and introduces additional signaling during
periods of high load. The asserted reason for this is to optimize throughput -
but there is no evidence that it will achieve this goal.
Mention has been made to TCP-like flow control mechanisms as a model - which
are indeed receiver based. However, there are significant differences between
TCP sessions and IGP flooding.
TCP consists of a single session between two endpoints. Resources
(primarily buffer space) for this session are typically allocated in the
control plane and current usage is easily measurable.
IGP flooding is point-to-multi-point, resources to support IGP flooding
involve both control plane queues and dataplane queues, both of which are
typically not per interface - nor even dedicated to a particular protocol
instance. What input is required to optimize receiver-based flow control is not fully specified.
https://datatracker.ietf.org/doc/draft-decraene-lsr-isis-flooding-speed/ suggests (Section 5) that the values
to be advertised:
"use a formula based on an off line tests of
   the overall LSPDU processing speed for a particular set of hardware
   and the number of interfaces configured for IS-IS"
implying that the advertised value is intentionally not dynamic. As such,
it could just as easily be configured on the transmit side and not require
additional signaling. As a static value, it would necessarily be somewhat
conservative as it has to account for the worst case under the current
configuration - which means it needs to consider concurrent use of the CPU
and dataplane by all protocols/features which are enabled on a router - not all of whose
use is likely to be synchronized with peak IS-IS flooding load.
Unless a good case can be made as to why transmit-based flow control is not a good
fit and why receiver-based flow control is demonstrably better, it seems
unnecessary to extend the protocol.

    Les


From: Lsr <lsr-bounces@ietf.org> On Behalf Of Les Ginsberg (ginsberg)
Sent: Tuesday, February 18, 2020 6:25 PM
To: lsr@ietf.org
Subject: [Lsr] Flow Control Discussion for IS-IS Flooding Speed

Two recent drafts advocate for the use of faster LSP flooding speeds in IS-IS:

https://datatracker.ietf.org/doc/draft-decraene-lsr-isis-flooding-speed/
https://datatracker.ietf.org/doc/draft-ginsberg-lsr-isis-flooding-scale/

There is strong agreement on two key points:

1)Modern networks require much faster flooding speeds than are commonly in use today

2)To deploy faster flooding speeds safely some form of flow control is needed

The key point of contention between the two drafts is how flow control should be implemented.

https://datatracker.ietf.org/doc/draft-decraene-lsr-isis-flooding-speed/ advocates for a receiver based flow control where the receiver advertises in hellos the parameters which indicate the rate/burst size which the receiver is capable of supporting on the interface. Senders are required to limit the rate of LSP transmission on that interface in accordance with the values advertised by the receiver.

https://datatracker.ietf.org/doc/draft-ginsberg-lsr-isis-flooding-scale/  advocates for a transmit based flow control where the transmitter monitors the number of unacknowledged LSPs sent on each interface and implements a backoff algorithm to slow the rate of sending LSPs based on the length of the per interface unacknowledged queue.

While other differences between the two drafts exist, it is fair to say that if agreement could be reached on the form of flow control  then it is likely other issues could be resolved easily.

This email starts the discussion regarding the flow control issue.