Re: [OSPF] Database Exchange Summary List Optimization
Erblichs <erblichs@earthlink.net> Sat, 29 July 2006 00:25 UTC
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1G6ce6-0002jg-UY; Fri, 28 Jul 2006 20:25:34 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1G6ce5-0002jT-Q2 for ospf@ietf.org; Fri, 28 Jul 2006 20:25:33 -0400
Received: from pop-sarus.atl.sa.earthlink.net ([207.69.195.72]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1G6ce5-0007kE-Fy for ospf@ietf.org; Fri, 28 Jul 2006 20:25:33 -0400
Received: from h-68-164-93-52.snvacaid.dynamic.covad.net ([68.164.93.52] helo=earthlink.net) by pop-sarus.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1G6ce4-0007OV-00; Fri, 28 Jul 2006 20:25:32 -0400
Message-ID: <44CAAB32.4B2A546D@earthlink.net>
Date: Fri, 28 Jul 2006 17:26:26 -0700
From: Erblichs <erblichs@earthlink.net>
X-Sender: "Erblichs" <@smtp.earthlink.net> (Unverified)
X-Mailer: Mozilla 4.72 [en]C-gatewaynet (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Richard Ogier <ogier@earthlink.net>
Subject: Re: [OSPF] Database Exchange Summary List Optimization
References: <44B7E563.3000706@cisco.com> <44B7E6D0.6030304@cisco.com> <44BD1FE6.2030202@earthlink.net>
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 825e642946eda55cd9bc654a36dab8c2
Cc: OSPF List <ospf@ietf.org>
X-BeenThere: ospf@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: The Official IETF OSPG WG Mailing List <ospf.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf>, <mailto:ospf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/ospf>
List-Post: <mailto:ospf@ietf.org>
List-Help: <mailto:ospf-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf>, <mailto:ospf-request@ietf.org?subject=subscribe>
Errors-To: ospf-bounces@ietf.org
Richard Ogier, I am a periodic insomniac and sometimes I write code in the middle of the night. I coded a pre-DD exchange mechanism to identify whether two routers are (almost) in sync and to request a partial or full Database exchange. This was based on some emails in the middle of the month. Yes, Acee I did re-read the earlier draft and again didn't like it based on not predetermining what was out-of-sync and thus, being able to reduce the number of header LSAs. I think IFF External LSAs are in sync, those headers should not be exchanged. In many envs, if that is the case the majority of LSA headers would not be exchanged. I was contemplating writing a quick RFC and wanted to know whether you would first comment on the doc before submiting it as a experimental RFC later in the week. Mitchell Erblich ------------------ Richard Ogier wrote: > > Acee Lindem wrote: > > > Hi Richard, > > > > Richard Ogier wrote: > > > >> I have one concern. What if some future extension of OSPF assumes that > >> DD packets list all LSAs as specified in RFC 2328, e.g., so that some > >> action can be taken that depends on how "out of sync" the new neighbor > >> was. If someone implements the optimization without any indication > >> (such as a new option bit), then a future extension > >> might incorrectly conclude that the new neighbor was out of sync > >> and take the wrong action. This could be fixed either by including > >> a new option bit, or by changing the spec of OSPF to allow the > >> optimization. Is this a valid concern? > > > > I'm not sure that I can think of any optimization that would rely on > > the neighbor sending a full database snapshot. Especially, when you > > consider that it would need to be fully backward compatible Can > > you imagine any? > > Not really. And you can infer the neighbor's LSDB based on the combination > of received DBD packets and LSR packets. (If a given LSA appears in > neither type of packet, the neighbor must have the same instance.) > So I guess there is no need for the new bit. > The informational document can warn that any extension of OSPF > that uses this optimization cannot assume that the neighbor will > send a full database snapshot. > > To summarize previous discussions, it looks like the (informational) > document should say that a router implementing the optimization > should do one of the following: > 1. Upon receiving a DBD packet, the summary list should be updated > (as described in the document) before sending the next DBD packet. > 2. If the router is master, it should list LSAs in increasing order of > (LS type, Link State ID, Advertising Router) lexicographically. > If the router is slave, it should list LSAs in decreasing order. > > If option 1 is done, there is no benefit to also doing option 2. > If option 2 is done, there may still be some benefit to doing option 1 > when the last DBD packet is received (with M = 0). > Option 1 may be preferable if the time to process a received full DBD packet > is much less than the time to transmit such a packet. > Otherwise, option 2 may be preferable if the database is very large > and it is desirable to reduce the time to synchronize. > > However, I want to point out that option 1 does not increase the time > to synchronize, assuming the two routers already had nearly > identical databases. Any additional delay due to not parallelizing > would be compensated for by sending fewer LSA headers. > > Another variation is the following. The DR level is Other, BDR, or DR, with > DR being the highest. (For MANETs, we use Other, BMDR, and MDR.) > The router with the lower DR level (whether master or slave) does not > list any LSAs until the neighbor has finished listing all of its LSAs > (indicated > by M = 0), and then lists only LSAs for which it has a newer instance. > This might be benficial since the router with higher DR level is more likely > to have newer LSAs, so the router with lower DR level will list very few > LSAs. > > Richard > > > > > > > Anyway, if this is a concern the document would needs to be standards > > track and I think we should use a bit in the database exchange I_M_MS > > field rather than the options (there are no free bit left in OSPFv2). > > > > Thanks, > > Acee > > > >> > >> > >> Richard > >> > >> > > > > _______________________________________________ > > OSPF mailing list > > OSPF@ietf.org > > https://www1.ietf.org/mailman/listinfo/ospf > > > > > > _______________________________________________ > OSPF mailing list > OSPF@ietf.org > https://www1.ietf.org/mailman/listinfo/ospf _______________________________________________ OSPF mailing list OSPF@ietf.org https://www1.ietf.org/mailman/listinfo/ospf
- Re: [OSPF] Database Exchange Summary List Optimiz… Acee Lindem
- Re: [OSPF] Database Exchange Summary List Optimiz… Erblichs
- Re: [OSPF] Database Exchange Summary List Optimiz… Acee Lindem
- Re: [OSPF] Database Exchange Summary List Optimiz… Erblichs
- Re: [OSPF] Database Exchange Summary List Optimiz… Hasmit Grover
- Re: [OSPF] Database Exchange Summary List Optimiz… Acee Lindem
- Re: [OSPF] Database Exchange Summary List Optimiz… Erblichs
- Re: [OSPF] Database Exchange Summary List Optimiz… Richard Ogier
- Re: [OSPF] Database Exchange Summary List Optimiz… Erblichs
- Re: [OSPF] Database Exchange Summary List Optimiz… Richard Ogier
- Re: [OSPF] Database Exchange Summary List Optimiz… Acee Lindem
- Re: [OSPF] Database Exchange Summary List Optimiz… Richard Ogier
- Re: [OSPF] Database Exchange Summary List Optimiz… Acee Lindem
- Re: [OSPF] Database Exchange Summary List Optimiz… Paul Jakma
- Re: [OSPF] Database Exchange Summary List Optimiz… Richard Ogier
- Re: [OSPF] Database Exchange Summary List Optimiz… Erblichs
- Re: [OSPF] Database Exchange Summary List Optimiz… Acee Lindem
- Re: [OSPF] Database Exchange Summary List Optimiz… Paul Jakma
- Re: [OSPF] Database Exchange Summary List Optimiz… Erblichs
- Re: [OSPF] Database Exchange Summary List Optimiz… Acee Lindem
- Re: [OSPF] Database Exchange Summary List Optimiz… Richard Ogier
- Re: [OSPF] Database Exchange Summary List Optimiz… Erblichs
- Re: [OSPF] Database Exchange Summary List Optimiz… Acee Lindem
- Re: [OSPF] Database Exchange Summary List Optimiz… Richard Ogier
- Re: [OSPF] Database Exchange Summary List Optimiz… Erblichs
- Re: [OSPF] Database Exchange Summary List Optimiz… Richard Ogier
- Re: [OSPF] Database Exchange Summary List Optimiz… Richard Ogier