Re: [Ospf-wireless-design] Simulation needed: CDS vs. Overlapping Relays
Richard Ogier <rich.ogier@earthlink.net> Sat, 05 February 2005 19:33 UTC
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24098; Sat, 5 Feb 2005 14:33:24 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CxVzO-0006KL-8b; Sat, 05 Feb 2005 14:53:06 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CxVXd-0003oT-5f; Sat, 05 Feb 2005 14:24:25 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CxVSe-00039r-36 for ospf-wireless-design@megatron.ietf.org; Sat, 05 Feb 2005 14:19:16 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23029 for <ospf-wireless-design@ietf.org>; Sat, 5 Feb 2005 14:19:14 -0500 (EST)
Received: from pop-a065d23.pas.sa.earthlink.net ([207.217.121.254]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CxVlg-00063n-AN for ospf-wireless-design@ietf.org; Sat, 05 Feb 2005 14:38:56 -0500
Received: from dialup-4.243.140.211.dial1.sanfrancisco1.level3.net ([4.243.140.211] helo=earthlink.net) by pop-a065d23.pas.sa.earthlink.net with esmtp (Exim 3.33 #1) id 1CxVSa-0007d8-00; Sat, 05 Feb 2005 11:19:13 -0800
Message-ID: <42051C2F.2040402@earthlink.net>
Date: Sat, 05 Feb 2005 11:19:11 -0800
From: Richard Ogier <rich.ogier@earthlink.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 (emach0202)
X-Accept-Language: en-us
MIME-Version: 1.0
To: "Madhavi W. Chandra" <mchandra@cisco.com>
Subject: Re: [Ospf-wireless-design] Simulation needed: CDS vs. Overlapping Relays
References: <20050203225155.GA27795@cisco.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Spam-Score: 2.9 (++)
X-Scan-Signature: 6ffdee8af20de249c24731d8414917d3
Content-Transfer-Encoding: 7bit
Cc: ospf-wireless-design@ietf.org
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, <mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, <mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 2.9 (++)
X-Scan-Signature: 8fbbaa16f9fd29df280814cb95ae2290
Content-Transfer-Encoding: 7bit
All,
I have a better understanding the following point made by Madhavi
and have some additional comments.
>- While the persistent mode will mitigate the effect of toggling
>CDS sets, it seems that it will still lead to the 'hokey-pokey'
>effect (term coined by Acee). That is, a node can keep
>putting itself in the set and removing itself from the set (based
>on connectivity, overlap, and redundancy). Each time, the adjacencies
>need to be either torn down...or brought back up, which is a nontrivial
>effort and overhead in terms of database exchange. Even if database
>exchange is optimized, it is still wasted and unnecessary effort.
>
I agree that if the Essential/MPN CDS algorithm is used,
so that all neighbors of a DR/BDR are adjacent
(as in legacy OSPF), then it would be inefficient
to simply do a database exchange with all neighbors as
in legacy OSPF. That is why I suggested the enhancement
(Section 9) in which a new DR *multicasts* a DD packet(s) to all
neighbors, and each neighbor acknowledges the DD packet(s) with
a DD packet that describes only LSAs that the DR does not have
(if any). (If necessary, the DR can retransmit the DD packet,
either as a unicast or as a multicast, as explained in my draft.)
Using the persistent version of the CDS algorithm will make
this happen less often, so simulations are needed to see
whether this enhancement is really needed in this case.
However, it seems foolish to do it the inefficient way!
In Cisco's solution, it seems that all neighbors are adjacent,
so database exchange is performed whenever any router gets
a new neighbor. This can also be done with the CDS approach,
if it results in less overhead. Again, simulations are needed
to see if this helps. (Note that partial topology LSAs can
still be used, since a router can still include only (Backup)
Dependent Neighbors in its LSA.)
>- The hokey-pokey effect will not arise in Overlapping Relays since the
>selector node will not change the relay set, and allow an Overlapping
>Relay to stay an Overlapping relay as long as coverage is not
>compromised.
>
I now see the difference you are talking about. You are saying
that each MPR can be persisent, which is different from saying
that each CDS node (DR) can be persistent. However, since
Dependent Neighbors are equivalent to MPR selectors (if the
ANP CDS algorithm is used) it is possible to make Dependent
Neighbors persistent in the CDS approach, which would then
be equivalent to making MPRs persistent.
I.e., a Dependent Neighbor remains a Dependent Neighbor as long
as possible. (It is easy to modify my draft to do this.)
(For background, a node is in the CDS if and only if it has at
least one Dependent Neighbor.)
Since Dependent Neighbors must be adjacent, this might help
reduce the rate at which adjacencies must be established.
However, it will also cause a problem, whether applied to Dependent
Neighbors or to MPRs, which was mentioned before on this list.
It will make MPRs less correlated among different nodes
(since we cannot select MPRs based on router ID in order to
maximize agreement and thus reduce the total number of nodes
that are MPR of some neighbor), which may result in each LSA
being relayed by a larger number of MPRs.
That is why I decided to make CDS nodes persistent, instead
of Dependent Neighbors. However, the other way can also be
compared in simulations.
I was thinking that, if MPRs are used, then it is only necessary
to form adjacencies between each node and its MPRs. This works
for Dependent Neighbors in the CDS approach, but unfortunately
it does not work for MPRs because the MPRs selected by different
nodes are not coordinated in the way that Dependent Neighbors are
in the CDS approach, as shown in the following example.
1
/ \
3-----4
\ /
2
Suppose MPRs are used, with the following selection:
Node 1 selects node 3 as MPR
Node 2 selects node 4 as MPR
Then if we form adjacencies between each node and its MPRs,
then the adjacent pairs will be [1,3] and [2,4].
These two adjacencies do not connect nodes 1 and 2,
which are therefore not guaranteed to be synchronized.
Now suppose a CDS is used, and that all nodes have the same RtrPri.
Since node 4 has a larger ID than its neighbors, it will select
itself as a DR, and all neighbors will be Dependent Neighbors.
Therefore, the adjacent pairs will be [4,1], [4,2], and [4,3],
which connects all nodes in the network.
Another advantage of the CDS approach that I recently pointed
out is that only *partial* 2-hop neighbor information is
needed with the CDS approach. This can be illustrated with the
same example above. Node 4 is the only node with Dependent
Neighbors, so in the partial 2-hop neighbor approach, it is the
only node that needs to advertise this set of neighbors to its
neighbors. Once node 3 has this 2-hop neighbor information
from node 4, it knows that node 4 will select itself as a CDS node
to act as a relay between nodes 1 and 2, and node 3 does not have
to advertise any of its neighbors to its neighbors.
HOWEVER, in my draft, it is important that each node advertise
not only its Dependent Neighbors in Hellos, but also its
Backup Dependent Neighbors, for robustness. So any simulation
that evaluates the use of partial 2-hop neighbor information
must include Backup Dependent Neighbors.
A simple way to look at this, if the Essential/MPN CDS algorithm
is used, so that all neighbors of each DR are Dependent and all
neighbors of each BDR are Backup Dependent, is that only
DR and BDR routers need to send full Hellos periodically,
and the other routers only need to send differential Hellos to
discover neighbors.
Regards,
Richard
_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design
- [Ospf-wireless-design] Simulation needed: CDS vs.… Madhavi W. Chandra
- Re: [Ospf-wireless-design] Simulation needed: CDS… Richard Ogier
- Re: [Ospf-wireless-design] Simulation needed: CDS… Richard Ogier
- Re: [Ospf-wireless-design] Simulation needed: CDS… Richard Ogier
- Re: [Ospf-wireless-design] Simulation needed: CDS… Richard Ogier
- Re: [Ospf-wireless-design] Simulation needed: CDS… Richard Ogier