Re: [OSPF] draft-kini-ospf-fast-notification-01

"Bhatia, Manav (Manav)" <manav.bhatia@alcatel-lucent.com> Mon, 04 April 2011 23:57 UTC

Return-Path: <manav.bhatia@alcatel-lucent.com>
X-Original-To: ospf@core3.amsl.com
Delivered-To: ospf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E0B5F3A6823 for <ospf@core3.amsl.com>; Mon, 4 Apr 2011 16:57:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.704
X-Spam-Level:
X-Spam-Status: No, score=-6.704 tagged_above=-999 required=5 tests=[AWL=-0.105, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UkSqyqSFmTR7 for <ospf@core3.amsl.com>; Mon, 4 Apr 2011 16:57:35 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by core3.amsl.com (Postfix) with ESMTP id C01063A6821 for <ospf@ietf.org>; Mon, 4 Apr 2011 16:57:35 -0700 (PDT)
Received: from inbansmailrelay1.in.alcatel-lucent.com (h135-250-11-31.lucent.com [135.250.11.31]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id p34NxBf7003466 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 4 Apr 2011 18:59:13 -0500 (CDT)
Received: from INBANSXCHHUB01.in.alcatel-lucent.com (inbansxchhub01.in.alcatel-lucent.com [135.250.12.32]) by inbansmailrelay1.in.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id p34NxA4R010936 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 5 Apr 2011 05:29:10 +0530
Received: from INBANSXCHMBSA1.in.alcatel-lucent.com ([135.250.12.50]) by INBANSXCHHUB01.in.alcatel-lucent.com ([135.250.12.32]) with mapi; Tue, 5 Apr 2011 05:29:10 +0530
From: "Bhatia, Manav (Manav)" <manav.bhatia@alcatel-lucent.com>
To: Sriganesh Kini <sriganesh.kini@ericsson.com>, Vishwas Manral <vishwas.ietf@gmail.com>
Date: Tue, 05 Apr 2011 05:29:16 +0530
Thread-Topic: [OSPF] draft-kini-ospf-fast-notification-01
Thread-Index: AcvzEEm7tDC0xH81R+aioTQK78xmlQAEfPjw
Message-ID: <7C362EEF9C7896468B36C9B79200D8350CFCF67253@INBANSXCHMBSA1.in.alcatel-lucent.com>
References: <201104042033.p34KXDqG024310@harbor.orleans.occnc.com> <BANLkTinCQ=saW1OUt2i8PAfdUPE8_-G_fg@mail.gmail.com> <AANLkTimuWm3mXOdWw1qROcRuetSAQJiwPVeqkZA3D5ab@mail.gmail.com>
In-Reply-To: <AANLkTimuWm3mXOdWw1qROcRuetSAQJiwPVeqkZA3D5ab@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
Cc: "ospf@ietf.org" <ospf@ietf.org>
Subject: Re: [OSPF] draft-kini-ospf-fast-notification-01
X-BeenThere: ospf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: The Official IETF OSPG WG Mailing List <ospf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ospf>, <mailto:ospf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ospf>
List-Post: <mailto:ospf@ietf.org>
List-Help: <mailto:ospf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ospf>, <mailto:ospf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2011 23:57:37 -0000

 
> The control-plane delays you haven't listed include sending LSUpdate
> from data-plane to control-plane and its processing such as
> authenticating, comparing against LSDB, sending LSAck (with potential
> re-transmission), queueing for further flooding (including re-transmit
> if timer expires), re-adding interface specific auth params etc. All

You will have more delays even before this. The LSAs need to be picked up from the HW to the CPU and based on your queue scheduling algorithm there could be some delays there. Typically if its strict scheduling then you would drain all the BFDs, EFMs, LACPs, OSPF HELLOs, etc before you get to the LSUpdates. Once you have drained all such packets from the HW they will only be processed once your OSPF task gets a CPU slice. It will then take some time in processing the LSUpdates as it may have Hellos queued up ahead (based on the architecture). Similarly, at the egress there could again be some delays. If there is a central task that's responsible for sending out the packets then it could also be maintaining priority queues and LSUpdates will certainly not get into the highest. While I understand that all these delays are very small, they do start adding up as the LSAs travel hop-by-hop. It also starts getting significant as your router starts becoming busy and the processes have to contend for the CPU cycles. If the router software is not entirely lockless then you would also see processes stalled because some other task has acquired a lock that they're waiting on. So, forwarding them in the HW seems like a good idea provided we can make it work without making the solution too convoluted and complex.

Cheers, Manav

> of these need to be done at each intermediate hop as the LSA gets
> flooded and hence the delay is cumulative. These delays may not seem
> like much but it does add to the overall delay in convergence. The SPF
> by itself does not take that much time in modern CPUs but the download
> of routes certainly increases with number of downloads. However,
> modern forwarding architectures are such that in many failure
> conditions many downloads are not needed. A single download can change
> the nexthop of a large number of routes. In such conditions the
> hop-by-hop control-plane flooding does not remain an insignificant
> component of convergence. There will of course be networks where
> geographic delay itself may be large enough to dwarf all other
> numbers, but there are a lot of networks where that is not true.
> 
> We will be updating the draft to support the assertions.
> 
> Thanks