[Docs] [txt|pdf] [Tracker] [WG] [Email] [Nits]
Versions: 00 01 02 03 04 05 RFC 5439
Network Working Group S. Yasukawa
Internet-Draft NTT
Intended Status: Informational A. Farrel
Expires: April 2008 Old Dog Consulting
O. Komolafe
Cisco Systems
October 2007
An analysis of scaling issues in MPLS-TE backbone networks
draft-ietf-mpls-te-scaling-analysis-00.txt
Status of this Memo
By submitting this Internet-Draft, each author represents that any
applicable patent or other IPR claims of which he or she is aware
have been or will be disclosed, and any of which he or she becomes
aware will be disclosed, in accordance with Section 6 of BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that other
groups may also distribute working documents as Internet-Drafts.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt.
The list of Internet-Draft Shadow Directories can be
accessed at http://www.ietf.org/shadow.html.
Abstract
Traffic engineered Multiprotocol Label Switching (MPLS-TE) is
deployed in providers' backbone networks. As providers plan to grow
these networks, they need to discover whether existing protocols and
implementations can support the network sizes that they are planning.
This document presents an analysis of some of the scaling concerns
for MPLS-TE backbone networks, and examines the value of two
techniques for improving scaling. The intention is to motivate the
development of appropriate deployment techniques and protocol
extensions to enable the application of MPLS-TE in large networks.
This document considers only scalability for point-to-point MPLS-TE.
Point-to-multipoint MPLS-TE is for future study.
Yasukawa, Farrel, and Komolafe [Page 1]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
Contents
1. Introduction .................................................. 3
1.1 Overview ..................................................... 3
1.2 Glossary of Notation ......................................... 4
2. Issues of Concern for Scaling ................................. 5
2.1 LSP State ................................................... 5
2.2 Processing Overhead .......................................... 5
2.3 RSVP-TE Implications ......................................... 5
2.4 Management ................................................... 6
3. Network Topologies ............................................ 7
3.1 The Snowflake Network Topology ............................... 7
3.2 The Ladder Network Topology .................................. 9
3.3 Commercial Drivers for Selected Configurations ............... 12
3.4 Other Network Topologies ..................................... 13
4. Required Network Sizes ........................................ 13
4.1 Practical Numbers ............................................ 14
5. Scaling in Flat Networks ...................................... 14
5.1 Snowflake Networks ........................................... 14
5.2 Ladder Networks .............................................. 16
6. Scaling Snowflake Networks with Forwarding Adjacencies ........ 19
6.1 Two Layer Hierarchy .......................................... 19
6.1.1 Tuning the Network Topology to Suit the Two Layer Hierarchy 20
6.2 Alternative Two Layer Hierarchy .............................. 21
6.3 Three Layer Hierarchy ........................................ 22
6.4 Issues with Hierarchical LSPs ............................... 23
7. Scaling Ladder Networks with Forwarding Adjacencies............ 24
7.1 Two Layer Hierarchy .......................................... 24
7.2 Three Layer Hierarchy ........................................ 25
7.3 Issues with Hierarchical LSPs ................................ 26
8. Scaling Improvements Through Multipoint-to-Point LSPs ......... 26
8.1 Overview of MP2P LSPs ........................................ 27
8.2 LSP State : A Better Measure of Scalability .................. 27
8.3 Scaling Improvements for Snowflake Networks .................. 28
8.3.1 Comparison with Other Scenarios ............................ 30
8.4 Scaling Improvements for Ladder Networks ..................... 31
8.4.1 Comparison with Other Scenarios ............................ 32
8.4.2 LSP State Compared with LSP Numbers ........................ 32
8.5 Issues with MP2P LSPs ........................................ 33
9. Combined Models ............................................... 34
10. Management Considerations .................................... 34
11. Security Considerations ...................................... 35
12. Recommendations .............................................. 35
13. IANA Considerations .......................................... 35
14. Acknowledgements ............................................. 35
15. Intellectual Property Consideration .......................... 36
16. Normative References ......................................... 36
17. Informative References ....................................... 36
18. Authors' Addresses ........................................... 37
19. Disclaimer of Validity ....................................... 38
20. Full Copyright Statement ..................................... 38
Yasukawa, Farrel, and Komolafe [Page 2]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
1. Introduction
Network operators and service providers are examining scaling issues
as they look to deploy ever-larger traffic engineered Multiprotocol
Label Switching (MPLS-TE) networks. Concerns have been raised about
the number of Label Switched Paths (LSPs) that need to be supported
at the edge and at the core of the network. The impact on control
plane and management plane resources threatens to outweigh the
benefits and popularity of MPLS-TE, while the physical limitations of
the routers may constrain the deployment options.
Historically, it has been assumed that all MPLS-TE scaling issues
can be addressed using hierarchical LSP [RFC4206]. However, analysis
shows that the improvement gained by LSP hierarchies is not as
significant as might have been presumed in all topologies and at all
points in the network. Further, additional management issues are
introduced to determine the end-points of the hierarchical LSPs and
to operate them. Although this does not invalidate the benefits of
LSP hierarchies, it does indicate that additional techniques may be
desirable in order to fully scale MPLS-TE networks.
This document examines the scaling properties of two generic MPLS-TE
network topologies, and investigates the benefits of two scaling
techniques.
1.1 Overview
Physical topology scaling concerns are addressed by building networks
that are not fully meshed. Network topologies tend to be meshed in
the core, but tree-shaped at the edges giving rise to a snow-flake
design. Alternatively, the core may be more of a ladder shape with
tree-shaped edges.
MPLS-TE, however, establishes a logical full mesh between all edge
points in the network, and this is where the scaling problems arise
since the structure of the network tends to focus a large number of
LSPs within the core of the network.
This document presents two generic network topologies: the snow-flake
and the ladder, and attmepts to parameterize the networks by making
some generalities. It introduces terminology for the different
scaling parameters and examines how many LSPs might be required to be
carried within the core of a network.
Two techniques (hierarchical and multipoint-to-point LSPs) are
introduced and an examination is made of the scaling benefits that
they offer as well as of some of the concerns with using these
techniques.
Of necessity, this document makes many generalizations. Not
Yasukawa, Farrel, and Komolafe [Page 3]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
least among these are a set of assumptions about the symmetry and
connectivity of the physical network. It is hoped that these
generalizations will not impinge on the usefulness of the overview of
the scaling properties that this document attempts to give. Indeed,
the symmetry of the example topologies tends to highlight the
scaling issues of the different solution models, and this may be
useful in exposing the worst case scenarios.
Although protection mechanisms like Fast Re-route (FRR) [RFC4090] are
briefly discussed, the main body of this document considers stable
network cases. It should be noted that make-before-break
re-optimisation after link failure may result in a significant number
of 'duplicate' LSPs. This issue is not addressed in this document.
It should also be understood that certain deployment models where
separate traffic engineered LSPs are used to provide different
services such as layer 3 VPNs [RFC4110] or pseudowires [RFC3985], or
different classes of service [RFC3270], may result in 'duplicate' or
'parallel' LSPs running between any pair of provider edge nodes
(PEs). This scaling factor is also not considered in this document,
but may be easily applied as a linear factor by the reader.
The intention of this document is to help service providers discover
whether existing protocols and implementations can support the
network sizes that they are planning. To do this, it presents an
analysis of some of the scaling concerns for MPLS-TE backbone
networks, and examines the value of two techniques for improving
scaling. This should motivate the development of appropriate
deployment techniques and protocol extensions to enable the
application of MPLS-TE in large networks.
This document considers only scalability for point-to-point MPLS-TE.
Point-to-multipoint MPLS-TE is for future study.
1.2 Glossary of Notation
This document applies consistent notation to define various
parameters of the networks that are analyzed. These terms are defined
as they are introduced though-out the document, but are grouped
together here for quick reference. Refer to the full definitions in
the text for detailed explanations.
n A network level. n = 1 is the core of the network.
P(n) A node at level n in the network.
S(n) The number of nodes at level n. That is, the number of P(n)
nodes.
L(n) The number of LSPs seen by a P(n) node.
X(n) The number of LSP segment states held by a P(n) node.
M(n) The number of P(n+1) nodes subtended to a P(n) node.
R The number of rungs in a ladder network.
Yasukawa, Farrel, and Komolafe [Page 4]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
E The number of edge nodes (PEs) subtended below (directly or
indirectly) a spar node in a ladder network.
2. Issues of Concern for Scaling
This section presents some of the issues associated with the support
of LSPs at an LSR or within the network. These issues may mean that
there is a limit to the number LSPs that can be supported.
2.1 LSP State
LSP state is the data (information) that must be stored at an LSR in
order to maintain an LSP. Here we refer to the information that is
necessary to maintain forwarding plane state and the additional
information required when LSPs are established through control
plane protocols. While the size of the LSP state is
implementation-dependent, it is clear that any implementation will
require some data in order to maintain LSP state.
Thus LSP state becomes a scaling concern because as the number of
LSPs at an LSR increases, so the amount of memory required to
maintain the LSPs increases in direct proportion. Since the memory
capacity of an LSR is limited, there is a related limit placed on the
number LSPs that can be supported.
Note that techniques to reduce the memory requirements (such as data
compression) may serve to increase the number of LSPs that can be
supported, but this will only achieve a moderate multiplier and may
significantly decrease the ability to process the state rapidly.
2.2 Processing Overhead
Depending largely on implementation issues, the number of LSPs
supported by an LSR may impact the processing speed for each LSP. For
example, control block search times can increase with the number of
control blocks, and even excellent implementations cannot completely
mitigate this fact. Thus, since CPU power is constrained in any LSR,
there may be a practical limit to the number of LSPs that can be
supported.
Further processing overhead considerations depend on issues specific
to the control plane protocols, and are discussed in the next
section.
2.3 RSVP-TE Implications
Like many connection-oriented signaling protocols, RSVP-TE requires
that state is held within the network in order to maintain LSPs. The
impact of this is described in Section 2.1. Note that RSVP-TE
requires that separate information is maintained for upstream and
Yasukawa, Farrel, and Komolafe [Page 5]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
downstream relationships, but does not require any specific
implementation of that state.
RSVP-TE is a soft-state protocol which means that protocol messages
(refresh messages) must be regularly exchanged between signaling
neighbors in order to maintain the state for each LSP that runs
between the neighbors. A common period for the transmission (and
receipt) of refresh messages is 30 seconds meaning that each LSR must
send and receive one message in each direction (upstream and
downstream) for every LSP it supports every 30 seconds. This has the
potential to be a significant constraint on the scaling of the
network, but various improvements [RFC2961] mean that this refresh
processing can be significantly reduced allowing an implementation to
be optimized to nearly remove all concerns about soft state scaling
in a stable network.
Observations of existing implementations indicate that there may be a
threshold of around 50,000 LSPs above which an LSR struggles to
achieve sufficient processing to maintain LSP state. Although refresh
reduction [RFC2961] may substantially improve this situation,
it has also been observed that under these circumstances the size of
the Srefresh may become very large and the processing required may
still cause significant disruption to an LSR.
An alternative approach is to increase the refresh time. There is a
correlation between the percentage increase in refresh time and the
improvement in performance for the LSR. However, it should be noted
that RSVP-TE's soft-state nature depends on regular refresh messages,
thus a degree of functionality is lost by increasing the refresh
time. This loss may be partially mitigated by the use of the RSVP-TE
Hello message, and can also be reduced by the use of various GMPLS
extensions [RFC3473] such as the use of [RFC2961] message
acknowledgements on all messages.
RSVP-TE also requires that signaling adjacencies are maintained
through the use of Hello message exchanges. Although [RFC3209]
suggests that Hello messages should be retransmitted every 5ms, in
practice values of around 3 seconds are more common. Nevertheless,
the support of Hello messages can represent a scaling limitation on
an RSVP-TE implementation since one message must be sent and received
to/from each signaling adjacency every time period. This can impose
limits on the number of neighbors (physical or logical) that an LSR
supports.
2.4 Management
Another practical concern for the scalability of large MPLS-TE
networks is the ability to manage the network. This may be
constrained by the available tools, the practicality of managing
large numbers of LSPs, and the management protocols in use.
Yasukawa, Farrel, and Komolafe [Page 6]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
Management tools are software implementations. Although such
implementations should not constrain the control plane protocols, it
is realistic to appreciate that network deployments will be limited
by the scalability of the available tools. In practice, most existing
tools have a limit to the number of LSPs that they can support. While
an NMS may be able to support a large number of LSPs, the number that
can be supported by an EMS (or the number supported by an NMS
per-LSR) is more likely to be limited.
Similarly, practical constraints may be imposed by the operation of
management protocols. For example, an LSR may be swamped by
management protocol requests to read information about the LSPs that
it supports, and this might impact its ability to sustain those LSPs
in the control plane. OAM, alarms, and notifications can further add
to the burden placed on an LSR and limit the number of LSPs it can
support.
All of these consideration encourage a reduction in the number of
LSPs supported within the network and at any particular LSR.
3. Network Topologies
In order to provide some generic analysis of the potential scaling
issues for MPLS-TE networks, this document explores two network
topology models. These topologies are selected partly because of
their symmetry which makes them more tractable to a formulaic
approach, and partly because they represent generalizations of
real deployment models. Section 3.3 provides a discussion of the
commercial drivers for deployed topologies and gives more analysis
of why it is reasonable to consider these two topologies.
The first topology is the snowflake model. In this type of network,
only the very core of the network is meshed. The edges of the network
are formed as trees rooted in the core.
The second network topology considered is the ladder model. In this
type of network the core of the network is shaped and meshed in the
form of a ladder and trees are attached rooted to the edge of the
ladder.
The sections that follow examine these topologies in detail in order
to parameterize them.
3.1 The Snowflake Network Topology
The snowflake toplogies considered in this document are based on a
hierarchy of connectivity within the core network. PE nodes have
connectivity to P-nodes as shown in Figure 1. There is no direct
connectivity between the PEs. Dual homing of PEs to multiple P
nodes is not considered in this document although it may be a
Yasukawa, Farrel, and Komolafe [Page 7]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
valuable addition to a network configuration.
P
/|\
/ | \
/ | \
/ | \
PE PE PE
Figure 1 : PE to P Node Connectivity
The relationship between P-nodes is also structured in a hierarchical
way. Thus, as shown in Figure 2, multiple P-nodes at one level are
connected to a P-node at a higher level. We number the levels such
that level 1 is the top level and level (n) is immediately above
level (n+1), and we denote a P-node at level n as a P(n).
As with PEs, there is no direct connectivity between P(n+1) nodes.
Again, dual homing of P(n+1) nodes to multiple P(n) nodes is not
considered in this document although it may be a valuable addition
to a network configuration.
P(n)
/|\
/ | \
/ | \
/ | \
P(n+1) P(n+1) P(n+1)
Figure 2 : Relationship Between P-Nodes
At the top level, P(1) nodes are connected in a full mesh. In
reality, the level 1 part of the network may be slightly less well
connected than this, but assuming a full mesh provides for
generality. Thus, the snowflake topology comprises a clique with
equivalent trees subtended from each node in the clique.
The key multipliers for scalability are the number of P(1) nodes, and
the multiplier relationship between P(n) and P(n+1) at each level
including down to PEs.
We define the multiplier M(n) as the number of P(n+1) nodes at level
(n+1) attached to any one P(n). Assume that M(n) is constant for all
nodes at level n. Since nodes at the same level are not
interconnected (except at the top level), and since each P(n+1) node
is connected to precisely one P(n) node, M(n) is one less than the
degree of the node at level n.
Yasukawa, Farrel, and Komolafe [Page 8]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
We define S(n) as the number of nodes at level (n).
Thus: S(n) = S(1)*M(1)*M(2)*...*M(n-1)
So the number of PEs can be expressed as:
S(PE) = S(1)*M(1)*M(2)*...*M(n)
where the network has (n) layers of P-nodes.
Thus we may depict an example snowflake network as shown in Figure 3.
In this case:
S(1) = 3
M(1) = 3
S(2) = S(1)*M(1) = 9
M(2) = 2
S(PE) = S(1)*M(1)*M(2) = 18
PE PE PE PE PE PE
\ \/ \/ /
PE--P(2) P(2) P(2) P(2)--PE
\ | | /
\| |/
PE--P(2)---P(1)------P(1)---P(2)--PE
/ \ / \
PE \ / PE
\/
P(1)
/|\
/ | \
/ | \
PE--P(2) P(2) P(2)--PE
/ /\ \
PE PE PE PE
Figure 3 : An Example Snowflake Network
3.2 The Ladder Network Topology
The ladder networks considered in this network are based on an
arrangement of routers in the core network that resembles a ladder.
Ladder networks typically have long and thin cores that are arranged
as conventional ladders. That is, they have one or more spars
connected by rungs. Each node on a spar may have:
- connection to one or more other spars
- connection to a tree of other core nodes
- connection to customer nodes.
Yasukawa, Farrel, and Komolafe [Page 9]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
Figure 4 shows a simplified example of a ladder network. A core of
twelve nodes make up two spars connected by six rungs. Two of the
nodes on the spars are themselves PEs, while the rest have PEs
subtended.
PE PE PE PE
PE PE PE | PE | PE PE | PE | PE
\| \|/ |/ \| \|/
PE-P-----P-----P-----PE-----P-----P--PE
| | | | | |\
| | | | | | PE
| | | | | |
PE-P-----P-----P-----P------P-----PE
/| /|\ |\ |\ |\
PE PE PE | PE | PE | PE | PE
PE PE PE PE
Figure 4 : A Simplified Ladder Network.
In practice, not all nodes on a spar (call them Spar-Nodes) need to
have subtended PEs or CEs. That is, they can exist simply to give
connectivity along the spar to other spar nodes, or across a rung to
another spar. Similarly, the connectivity between spars can be more
complex with multiple connections from one spar-node to another spar.
Lastly, the network may be complicated by the inclusion of more than
two spars (or simplified by reduction to a single spar).
These variables make the ladder network non-trivial to model. For the
sake of simplicity we will make the following restrictions:
- There are precisely two spars in the core network.
- Every spar-node connects to precisely one spar-node on the other
spar. That is, each spar-node is attached to precisely one rung.
- Each spar-node connects to either one (end-spar) or two (core-spar)
other spar-nodes on the same spar.
- Every spar-node has the same number of PEs subtended. This does not
mean that there are no P-nodes subtended to the spar-nodes, but
does mean that the edge tree subtended to each spar-node is
identical.
From these restrictions we are able to quantify a ladder network as
follows:
R - The number of rungs. That is, the number of spar-nodes on
each spar.
S(1) - The number of spar-nodes in the network. S(1)=2*R.
E - The number of subtended edge nodes (PEs) to each spar-node.
Yasukawa, Farrel, and Komolafe [Page 10]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
The number of rungs may vary considerably. A number less than 3 is
unlikely, and a number greater than 100 seems improbable.
E can be treated as for the snowflake network. That is, we can
consider a number of levels of attachment from P(1) nodes which are
the spar-nodes, through P(i) down to P(n) which are the PEs.
Practically, we need to only consider n=2 (PEs attached direct to the
spar-nodes) and n=3 (one level of P-nodes between the PEs and the
spar-nodes).
Let M(i) be the ratio of P(i) nodes to P(i-1) nodes, i.e. the
connectivity between levels of P-node as defined for the snowflake
topology. Hence, the number of nodes at any level (n) is:
S(n) = S(1)*M(1)*M(2)*...*M(n-1)
So number of PEs subtended to a spar node is:
E = M(1)*M(2)*...*M(n)
And the number of PEs can be expressed as:
S(PE) = S(1)*M(1)*M(2)*...*M(n)
= S(1)*E
Thus we may depict an example ladder network as shown in Figure 5.
In this case:
R = 5
S(1) = 10
M(1) = 2
S(2) = S(1)*M(1) = 20
M(2) = 2
E = M(1)*M(2) = 4
S(PE) = S(1)*E = 40
Yasukawa, Farrel, and Komolafe [Page 11]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
PE PE PE PE PE PE PE PE PE PE PE PE PE PE PE PE
\| \| \| \| |/ |/ |/ |/
P(2) P(2) P(2) P(2) P(2) P(2) P(2) P(2)
\ \ | \ / | / /
PE \ \ | \ / | / / PE
\ \ \| \/ |/ / /
PE-P(2)---P(1)---P(1)---P(1)---P(1)---P(1)---P(2)-PE
| | | | |
| | | | |
| | | | |
PE-P(2)---P(1)---P(1)---P(1)---P(1)---P(1)---P(2)-PE
/ / / | /\ |\ \ \
PE / / | / \ | \ \ PE
/ / | / \ | \ \
P(2) P(2) P(2) P(2) P(2) P(2) P(2) P(2)
/| /| /| /| |\ |\ |\ |\
PE PE PE PE PE PE PE PE PE PE PE PE PE PE PE PE
Figure 5 : An Example Ladder Network
3.3 Commercial Drivers for Selected Configurations
It is reasonable to ask why these two particular network topologies
have been chosen.
The consideration must be physical scalability. Each node (label
switching router - LSR) is only able to support a limited number of
physical interfaces. This necessarily reduces the ability to fully
mesh a network and leads to the tree-like structure of the network
toward the PEs.
A realistic commercial consideration for an operator is the fact that
the only revenue-generating nodes in the network are the PEs. Other
nodes are needed only to support connectivity and scalability.
Therefore, there is a desire to maximize S(PE) while minimizing the
sum of S(n) for all values of (n). This could be achieved by
minimizing the number of levels, and by maximizing the connectivity
at each layer, M(n). Ultimately, however, this would produce a
network of just interconnected PEs, which is clearly in conflict with
the physical scaling situation.
Therefore, the solution calls for a "few" levels with "relatively
large" connectivity at each level. We might say that the
cost-effectiveness of the network can be stated as:
K = S(PE)/(S(1)+S(2) + ... + S(n)) where n is the level above the PEs
We should observe, however, that this equation may be naive in that
the cost of a network is not actually a function of the number of
Yasukawa, Farrel, and Komolafe [Page 12]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
routers (since a router chasis is often free or low cost), but is
really a function of the cost of the line cards which is, itself, a
product of the capacity of the line cards. Thus, the relatively high
connectivity decreases the cost-effectiveness, while a topology that
tends to channel data through a network core tends to demand higher
capacity (so more expensive) line cards.
A further consideration is the availability of connectivity (usually
fibers) between LSR sites. Although it is always possible to lay new
fiber, this may not be cost-effective or timely. As much of a problem
is likely to be the physical shape and topography of the country in
which the network is laid. If the country is 'long and thin' then a
ladder network is likely to be used.
This document examines the implications for control plane and data
plane scalability of this type of network when MPLS-TE LSPs are used
to provide full connectivity between all PEs.
3.4 Other Network Topologies
As explained in Section 1, this document is using two symmetrical
and generalized network topologies for simplicity of modelling. In
practice there are two other topological considerations.
a. Multihoming
It is relatively common for a node at level (n) to be attached to
more than one node at level (n-1). This is particularly common at
PEs that may be connected to more than one P(n).
b. Meshing within a level
A level in the network will often include links between P-nodes at
the same level. This may result in a network that looks like a
series of concentric circles with spokes.
Both of these features are likely to have some impact on the scaling
of the networks. However, for the purposes of establishing the
ground-rules for scaling, this document restricts itself to the
consideration of the symmetrical network described in Sections 2.1
and 2.2. Discussion of other network formats may be introduced in a
future revision of this document.
4. Required Network Sizes
An important question for this evaluation and analysis is the size of
the network that operators require. How many PEs are required? What
ratio of P to PE is acceptable. How many ports do devices have for
physical connectivity? What type of MPLS-TE connectivity between PEs
is required?
Although presentation of figures for desired network sizes must be
Yasukawa, Farrel, and Komolafe [Page 13]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
treated with caution because history shows that networks grow beyond
all projections, it is useful to set some acceptable lower bounds.
That is, we can state that we already know that networks will be at
least of a certain size.
The most important features are:
- The network should have at least 1000 PEs.
- Each pair of PEs should be connected by at least one LSP in each
direction.
4.1 Practical Numbers
In practice, reasonable target numbers are as follows.
S(PE) >= 1000
Number of levels is 3. That is: 1, 2 and PE.
M(2) <= 20
M(1) <= 20
S(1) <= 100
5. Scaling in Flat Networks
Before proceeding to examine potential scaling improvements, we need
to examine how well the flat networks described in the previous
sections scale.
Consider the requirement for a full mesh of LSPs linking all PEs.
That is, each PE has an LSP to and from each other LSP. Thus, if
there are S(PE) PEs in the network, there are S(PE)*(S(PE) - 1) LSPs.
Define L(n) as the number of LSPs handled by a level (n) LSR.
L(PE) = 2*(S(PE) - 1)
5.1 Snowflake Networks
There are a total of S(PE) PEs in the network and, since each PE
establishes an LSP with every other PE, it would be expected that
there are S(PE) - 1 LSPs incoming to each PE and the same number of
LSPs outgoing from the same PE, giving a total of 2(S(PE) - 1) on
the incident link. Hence, in a snowflake topology (see Figure 3),
since there are M(2) PEs attached to each P(2) node, it may tempting
to think that L(2), the number of LSPs traversing each P(2) node, is
simply 2*(S(PE) - 1)*M(2). However, it should be noted that of the
S(PE) - 1 LSPs incoming to each PE, M(2) - 1 originated from nodes
attached to the same P(2) node and so this value would count the LSPs
between the between the M(2) PEs attached to each P(2) node twice;
once when outgoing from the M(2) - 1 other nodes and once when
incoming into a particular PE.
Yasukawa, Farrel, and Komolafe [Page 14]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
There are a total of M(2)*(M(2) - 1) LSPs between these M(2) PEs and
since this value is erroneously included twice in 2*(S(PE) - 1)*M(2),
the correct value is:
L(2) = 2*M(2)*(S(PE) - 1) - M(2)*(M(2) - 1)
= M(2)*(2*S(PE) - M(2) - 1)
An alternative way of looking at this, that proves extensible for the
calculation of L(1), is to obeserve that each PE subtended to a P(2)
node has an LSP in each direction to all S(PE) - M(2) PEs in the rest
of the system, and there are M(2) such locally subtended PEs; thus
2*M(2)*(S(PE) - M(2)). Additionally there are M(2)*(M(2) - 1) LSPs
between the locally subtended PEs. So:
L(2) = 2*M(2)*(S(PE) - M(2)) + M(2)*(M(2) - 1)
= M(2)*(2*S(PE) - M(2) - 1)
L(1) can be computed in the same way as this second evaluation of
L(2). Each PE subtended below a P(1) node has an LSP in each
direction to all PEs not below the P(1) node. There are M(1)*M(2) PEs
below the P(1) node, so this accounts for
2*M(1)*M(2)*(S(PE) - M(1)*M(2)) LSPs. To this, we need to add the
number of LSPs that pass through the P(1) node and that run between
the PEs subtended below the P(1). Consider each P(2): it has M(2) PEs
that each has an LSP going to all of the PEs subtended to the other
P(2) nodes subtended to the P(1). There are M(1) - 1 such other P(2)
nodes, and so M(2)*(M(1) - 1) other such PEs. So the number of LSPs
from the PEs below a P(2) node is M(2)*M(2)*(M(1) - 1). And there
are M(1) P(2) nodes below the P(1), giving rise to a total of
M(2)*M(2)*M(1)*(M(1) - 1) LSPs. Thus:
L(1) = 2*M(1)*M(2)*(S(PE) - M(1)*M(2)) + M(2)*M(2)*M(1)*(M(1) - 1)
= M(1)*M(2)*(2*S(PE) - M(2)*(M(1) + 1))
So, for example, with S(1) = 5, M(1) = 10, and M(2) = 20, we see:
S(PE) = 1000
L(PE) = 1998
L(2) = 39580
L(1) = 356000
Alternatively, with S(1) = 10, M(1) = 10, and M(2) = 20, we see:
S(PE) = 2000
L(PE) = 3998
L(2) = 79580
L(1) = 756000
In both examples, the number of LSPs at the core (P(1)) nodes is
probably unacceptably large even though there are only a relatively
modest number of PEs. In fact, L(2) may even be too large in the
second example.
Yasukawa, Farrel, and Komolafe [Page 15]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
5.2 Ladder Networks
In ladder networks L(PE) remains the same at 2*(S(PE) - 1).
L(2) can be computed using the same mechanism as for the snowflake
topology because the subtended tree is the same format. Hence,
L(2) = 2*M(2)*(S(PE) - 1) - M(2)*(M(2) - 1)
But L(1) requires a different computation because each P(1) not only
sees LSPs for the subtended PEs, but is also a transit node for some
of the LSPs that cross the core (the core is not fully meshed).
Each P(1) sees:
o all of the LSPs between locally attached PEs
o less the those LSPs between locally attached PEs that can be
served exclusively by the attached P(2) nodes
o all LSPs between locally attached PEs and remote PEs
o LSPs in transit that pass through the P(1).
The first three numbers are easily determined and match what we have
seen from the snowflake network. They are:
o E*(E-1)
o M(1)*M(2)*(M(2)-1) = E*(M(2) - 1)
o 2*E*E*(S(1) - 1)
The number of LSPs in transit is more complicated to compute. It is
simplified by not considering the ends of the ladders, but examining
an arbitrary segment of the middle of the ladder such as shown in
Figure 6. We look to compute and generalize the number of LSPs
traversing each core link (labelled a and b in Figure 6) and so
determine the number of transit LSPs seen by each P(1).
Yasukawa, Farrel, and Komolafe [Page 16]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
: : : : : :
: : : : : :
P(2) P(2) P(2) P(2) P(2) P(2)
\ | \ / | /
\ | \ / | /
\| \/ |/
......P(1)---P(1)---P(1)......
| a | |
| |b |
| | |
......P(1)---P(1)---P(1)......
/| /\ |\
/ | / \ | \
/ | / \ | \
P(2) P(2) P(2) P(2) P(2) P(2)
: : : : : :
: : : : : :
Figure 6 : An Arbitrary Section of a Ladder Network
Of course, the number of LSPs carried on links a and b in the Figure
depends on how LSPs are routed through the core network. But if we
assume a symmetrical routing policy and an even distribution of LSPs
across all shortest paths, the result is the same.
Now we can see that each P(1) sees half of 2a+b LSPs (since each LSP
would otherwise be counted twice as it passed through the P(1))
except that some of the LSPs are locally terminated so are only
included once in the sum 2a+b.
So L(1) = a + b/2 -
(locally terminated transit LSPs)/2 +
(locally contained LSPs)
Thus:
L(1) = a + b/2 -
2*E*E*(S(1) - 1)/2 +
E*(E-1) - E*(M(2) - 1)
= a + b/2 +
E*E*(2 - S(1)) - E*M(2)
So all we have to do is work out a and b.
Recall that the ladder length R = S(1)/2, and define X = E*E.
Consider the contribution made by all of the LSPs that make n hops on
the ladder to the totals of each of a and b. If the ladder was
unbounded then we could say that in the case of a, there are n*2X
LSPs along the spar only, and n(n-1)*2X/n = 2X(n-1) LSPs use a rung
Yasukawa, Farrel, and Komolafe [Page 17]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
and the spar. Thus, the LSPs that make n hops on the ladder
contribute (4n-2)X LSPs to a. Note that the edge cases are special
because LSPs that make only one hop on the ladder cannot transit a
P(1) but only start or end there.
So with a ladder of length R = S(1)/2 we could say:
R
a = SUM[(4i-2)*X] + 2RX
i=2
= 2*X*R*(R+1)
And similarly, considering b in an unbounded ladder, the LSPs that
only travel one hop on the LSP are a special case, contributing 2X
LSPs, and each other LSP that traverses n hops on the ladder
contributes 2n*2X/n = 4X LSPs. So:
R+1
b = 2X + SUM[4X]
i=2
= 2*X + 4*X*R
In fact the ladders are bounded and so the number of LSPs is reduced
because of the effect of the ends of the ladders. The links that see
the most LSPs are in the middle of the ladder. Consider a ladder of
length R; a node in the middle of the ladder is R/2 hops away from
the end of the ladder. So we see that the formula for the
contribution to the count of spar-only LSPs for a is only valid up to
n=R/2, and for spar-and-rung LSPs for n=1+R/2. Above these limits the
contribution made by spar-only LSPs decays as (n-R/2)*2X. However,
for a first order approximation, we will use the values of a and b as
computed above. This gives us an upper bound of the number of LSPs
without using a more complex formula for the reduction made by the
effect of the ends of the ladder.
From this:
L(1) = a + b/2 +
E*E*(2 - S(1)) - E*M(2)
= 2*X*R*(R+1) +
X + 2*X*R +
E*E*(2 - S(1)) - E*M(2)
= E*E*S(1)*(1 + S(1)/2) +
E*E + E*E*S(1) +
2*E+E - E*E*S(1) - E*M(2)
= E*E*S(1)*(1 + S(1)/2) + 3*E+E - E*M(2)
= E*E*S(1)*S(1)/2 + E*E*S(1) + 3*E*E - E*M(2)
Yasukawa, Farrel, and Komolafe [Page 18]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
So, for example, with S(1) = 6, M(1) = 10, and M(2) = 17, we see:
E = 170
S(PE) = 1020
L(PE) = 2038
L(2) = 34374
L(1) = 777410
Alternatively, with S(1) = 10, M(1) = 10, and M(2) = 20, we see:
E = 200
S(PE) = 2000
L(PE) = 3998
L(2) = 79580
L(1) = 2516000
In both examples, the number of LSPs at the core (P(1)) nodes is
probably unacceptably large even though there are only a relatively
modest number of PEs. In fact, L(2) may even be too large in the
second example.
Compare the L(1) values with the total number of LSPs in the sytem
S(PE)*(S(PE) - 1) which is 1039380 and 3998000 respectively.
6. Scaling Snowflake Networks with Forwarding Adjacencies
One of the purposes of LSP hierarchies [RFC4206] is to improve the
scaling properties of MPLS-TE networks. LSP tunnels (sometimes known
as Forwarding Adjacencies (FAs)) may be established to provide
connectivity over the core of the network and multiple edge-to-edge
LSPs may be tunneled down a single FA LSP.
In our network it is natural to consider a mesh of FA LSPs between
all core nodes at the same level. We consider two possibilities here.
In the first all P(2) nodes are connected to all other P(2) nodes,
and the PE-to-PE LSPs are tunneled across the core of the network. In
the second, an extra layer of hierarchy is introduced by connecting
all P(1) nodes in a mesh and tunneling the P(2)-to-P(2) tunnels
through these.
6.1 Two Layer Hierarchy
In this hierarchy model, the P(2) nodes are connected by a mesh of
tunnels. This means that the P(1) nodes do not see the PE-to-PE LSPs.
It remains the case that:
L(PE) = 2*(S(PE) - 1)
L(2) is slightly increased. It can be computed as the sum of all LSPs
for all attached PEs including the LSPs between the attached PE (this
figure is unchanged from Section 5.1: i.e, M(2)*(2*S(PE) - M(2) - 1))
Yasukawa, Farrel, and Komolafe [Page 19]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
plus the number of FA LSPs providing a mesh to the other P(2) nodes.
Since the number of P(2) nodes is S(2), each P(2) node sees
2*(S(2) - 1) FA LSPs. Thus:
L(2) = M(2)*(2*S(PE) - M(2) - 1) + 2*(S(2) - 1)
L(1), however, is significantly reduced and can be computed as the
sum of the number of FA LSPs to and from each attached P(2) to each
other P(2) in the network, including (but counting only once) the FA
LSPs between attached P(2) nodes. In fact, the problem is identical
to the L(2) computation in Section 5.1. So:
L(1) = M(1)*(2*S(2) - M(1) - 1)
So, for example, with S(1) = 5, M(1) = 10, and M(2) = 20, we see:
S(PE) = 1000
S(2) = 50
L(PE) = 1998
L(2) = 39678
L(1) = 890
Alternatively, with S(1) = 10, M(1) = 10, and M(2) = 20, we see:
S(PE) = 2000
S(2) = 100
L(PE) = 3998
L(2) = 79778
L(1) = 1890
So, in both examples, potential problems at the core (P(1)) nodes
caused by an excessive number of LSPs can be avoided, but any problem
with L(2) is made slightly worse as can be seen from the table below.
Example| Count | Unmodified | 2-Layer
| | (Section 5.1) | Hierarchy
-------+-------+---------------+----------
A | L(2) | 39580 | 39678
| L(1) | 356000 | 890
-------+-------+---------------+----------
B | L(2) | 79580 | 79778
| L(1) | 756000 | 1890
6.1.1 Tuning the Network Topology to Suit the Two Layer Hierarchy
Clearly we can reduce L(2) by selecting appropriate values of S(1),
M(1), and M(2). We can do this pretty much with immunity, since no
change will affect L(PE), and since a large percentage increase in
L(1) is sustainable because L(1) is now so small.
Observe that:
L(2) = M(2)*(2*S(PE) - M(2) - 1) + 2*(S(2) - 1)
Yasukawa, Farrel, and Komolafe [Page 20]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
where S(PE) = S(1)*M(1)*M(2) and S(2) = S(1)*M(1). So L(2) scales
with M(2)^2 and we can have the most impact by reducing M(2) while
keeping S(PE) constant.
For example, with S(1) = 10, M(1) = 10, and M(2) = 10, we see:
S(PE) = 1000
S(2) = 100
L(PE) = 1998
L(2) = 20088
L(1) = 1890
And similarly, with S(1) = 20, M(1) = 20, and M(2) = 5, we see:
S(PE) = 2000
S(2) = 400
L(PE) = 3998
L(2) = 20768
L(1) = 15580
These considerable scaling benefits must be offset against the cost-
effectiveness of the network. Recall from Section 3.3 that
K = S(PE)/(S(1)+S(2) ... + S(n))
where n is the level above the PEs, so that for our network:
K = S(PE) / (S(1) + S(2))
Thus, in the first example the cost-effectiveness has been halved
from 1000/55 to 1000/110. And in the second example it has been
reduced to roughly one quarter, changing from 2000/110 to 2000/420.
So, although the tuning changes may be necessary to reach the desired
network size, they come at a considerable cost to the operator.
6.2 Alternative Two Layer Hierarchy
An alternative to the two layer hierarchy presented in section 6.1 is
to provide a full mesh of FA LSPs between P(1) nodes. This technique
is only of benefit to any nodes in the core of the level 1 network.
It makes no difference to the PE and P(2) nodes since they continue
to see only the PE-to-PE LSPs. Furthermore, this approach increases
the burden at the P(1) nodes since they have to support all of the
PE-to-PE LSPs as in the flat model, plus the additional 2*(S(1) - 1)
P(1)-to-P(1) FA LSPs. Thus, this approach should only be considered
where there is a mesh of P-nodes within the ring of P(1) nodes, and
it is not considered further in this document.
Yasukawa, Farrel, and Komolafe [Page 21]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
6.3 Three Layer Hierarchy
As demonstrated by section 6.2, introducing a mesh of FA LSPs at the
top level (P(1)) has no benefit, but if we introduce an additional
level in the network (P(3) between P(2) and PE) to make a four level
snowflake, we can introduce a new layer of FA LSPs so that we have a
full mesh of FA LSPs between all P(3) nodes to carry the PE-to-PE
LSPs, and a full mesh of FA LSPs between all P(2) nodes to carry the
P(3)-to-P(3) LSPs.
The number of PEs is S(PE) = S(1)*M(1)*M(2)*M(3), and the number of
PE-to-PE LSPs at a PE remains as L(PE) = 2*(S(PE) - 1).
The number of LSPs at a P(3) can be deduced from section 6.1. It is
the sum of all LSPs for all attached PEs including the LSPs between
the attached PE plus the number of FA LSPs providing a mesh to the
other P(3) nodes.
L(3) = M(3)*(2*S(PE) - M(3) - 1) + 2*(S(3) - 1)
The number of LSPs at P(2) can also be deduced from section 6.1 since
it is the sum of all LSPs for all attached P(3) nodes including the
LSPs between the attached PE plus the number of FA LSPs providing a
mesh to the other P(2) nodes.
L(2) = M(2)*(2*S(3) - M(2) - 1) + 2*(S(2) - 1)
Finally, L(1) can be copied straight from 6.1.
L(1) = M(1)*(2*S(2) - M(1) - 1)
For example, with S(1) = 5, M(1) = 5, M(2) = 5, and M(3) = 8 we see:
S(PE) = 1000
S(3) = 125
S(2) = 25
L(PE) = 1998
L(3) = 16176
L(2) = 1268
L(1) = 220
Similarly, with S(1) = 5, M(1) = 5, M(2) = 8, and M(3) = 10 we see:
S(PE) = 2000
S(3) = 200
S(2) = 25
L(PE) = 3998
L(3) = 40038
L(2) = 3184
L(1) = 220
Yasukawa, Farrel, and Komolafe [Page 22]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
Clearly, there are considerable scaling improvements with this three-
layer hierarchy, and all of the numbers (even L(3) in the second
example) are manageable.
Of course, the extra level in the network tends to reduce the cost-
effectiveness of the networks with values of K = 1000/155 and
K = 2000/230 (from 1000/55 and 2000/110) for the examples above.
That is, a reduction by a factor of 3 in the first case and 2 in the
second case. Such a change in cost-effectiveness has to be weighed
against the the desire to deploy such a large network. If LSP
hierarchies are the only scaling tool available, and networks this
size are required, the cost-effectiveness may need to be sacrificed.
6.4 Issues with Hierarchical LSPs
A basic observation for hierarchical scaling techniques is that it is
hard to have any impact on the number of LSPs that must be supported
by the level of P(n) nodes adjacent to the PEs (for example, it is
hard to reduce L(3) in section 6.3). In fact, the only way we can
change the number of LSPs supported by these nodes is to change the
scaling ratio M(n) in the network, in other words to change the
number of PEs subtended to any P(n). But such a change has a direct
effect on the number of PEs in the network and so the
cost-effectiveness is impacted.
Another concern with the hierarchical approach is that it must be
configured and managed. This may not seem like a large burden, but it
must be recalled that the P(n) nodes are not at the edge of the
network - they are a set of nodes that must be identified so that the
FA LSPs can be configured and provisioned. Effectively, the operator
must plan and construct a layered network with a ring of P(n) nodes
giving access to the level (n) network. This design activity is open
to considerable risk as failing to close the ring (i.e. allowing a
node to be at both level (n+1) and at level (n)) may cause
operational confusion.
Protocol techniques (such as IGP auto-mesh [RFC4972]) have been
developed to reduce the configuration necessary to build this type of
multi-level network. In the case of auto-mesh, the routing protocol
is used to advertise the membership of a 'mesh group', and all
members of the mesh can discover each other and connect with LSP
tunnels. Thus the P(n) nodes giving access to level (n) can advertise
their existence to each other, and it is not necessary to configure
each with information about all of the others. Although this process
can help to reduce the configuration overhead, it does not eliminate
it as each member of the mesh group must still be planned and
configured for membership.
An important consideration for the use of hierarchical LSPs is how
they can be protected using MPLS Fast Re-Route (FRR) [RFC4090]. FRR
Yasukawa, Farrel, and Komolafe [Page 23]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
may provide link protection either by protecting the tunnels as they
traverse a broken link, or by treating each level (n) tunnel LSP as a
link in level (n+1), and providing protection for the level (n+1)
LSPs (although in this model fault detection and propagation time may
be an issue). Node protection may be performed in a similar way, but
protection of the first and last nodes of a hierarchical LSP is
particularly difficult. Additionally, the whole notion of scaling
with regard to FRR gives rise to separate concerns that are outside
the scope of this document as currently formulated.
Finally, observe that we have been explaining these techniques using
conveniently symmetrical networks. Consider how we would arrange the
hierarchical LSPs in a network where some PEs are connected closer to
the center of the network than others.
7. Scaling Ladder Networks with Forwarding Adjacencies
7.1 Two Layer Hierarchy
In Section 6.2, we observed that there is no value to placing FA LSPs
between the P(1) nodes of our example snowflake topologies. This is
because those LSPs would be just one hop long and would, in fact,
only serve to increase the burden at the P(1) nodes. However, in the
ladder model, there is value to this approach. The P(1) nodes are the
spar nodes of the ladder, and they are not all mutually adjacent.
That is, the P(1)-to-P(1) hiearchical LSPs can create a full mesh of
P(1) nodes where one does not exist in the physical topology.
The number of LSPs seen by a P(1) node is then:
o all of the tunnels terminating at the P(1) node
o any transit tunnels
o all of the LSPs due to subtended PEs.
This is a substantial reduction because all of the transit LSPs are
reduced to just one per remote P(1) that causes any transit LSP. So:
L(1) = 2*(S(1) - 1) +
O(S(1)*S(1)/2) +
2*E*E*(S(1) - 1) + E*(E-1) - E*(M(2) - 1)
where O(S(1)*S(1)/2) gives an upper bound order of magnitude. So:
L(1) = S(1)*S(1)/2 + 2*S(1) + 2*E*E*(S(1) - 1) - E*M(2) - 2
Yasukawa, Farrel, and Komolafe [Page 24]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
So, in our two examples:
With S(1) = 6, M(1) = 10, and M(2) = 17, we see:
E = 170
S(PE) = 1020
L(PE) = 2038
L(2) = 34374
L(1) = 286138
Alternatively, with S(1) = 10, M(1) = 10, and M(2) = 20, we see:
E = 200
S(PE) = 2000
L(PE) = 3998
L(2) = 79580
L(1) = 716060
Both of these show significant improvements over the previous L(1)
figures of 777410 and 2516000. But the numbers are still too large to
manage, and there is no improvement in the L(2) figures.
7.2 Three Layer Hierarchy
We can also apply the three layer hierarchy to the ladder model. In
this case the number of LSPs between P(1) nodes is not reduced, but
tunnels are also set up between all P(2) nodes. Thus the number of
LSPs seen by a P(1) node is:
o all of the tunnels terminating at the P(1) node
o any transit tunnels between P(1) nodes
o all of the LSPs due to subtended P(2) nodes.
No PE-to-PE LSPs are seen at the P(1) nodes.
L(1) = 2*(S(1) - 1) +
O(S(1)*S(1)/2) +
2*(S(1) - 1)*M(1)*M(1) + M(1)*(M(1) - 1)
where O(S(1)*S(1)/2) gives an upper bound order of magnitude. So:
L(1) = S(1)*S(1)/2 + 2*S(1) + 2*M(1)*M(1)*S(1) - M(1)(M(1) + 1) - 2
Unfortunately, there is a small increase in the number of LSPs seen
by the P(2) nodes. Each P(2) now sees all of the PE-to-PE LSPs that
it saw before, and it is also an end point for a set of P(2)-to-P(2)
tunnels. Thus L(2) increases to:
L(2) = 2*M(2)*(S(PE) - 1) - M(2)*(M(2) - 1) + 2*(S(1)*M(1) - 1)
Yasukawa, Farrel, and Komolafe [Page 25]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
So, in our two examples:
With S(1) = 6, M(1) = 10, and M(2) = 17, we see:
E = 170
S(PE) = 1020
L(PE) = 2038
L(2) = 34492
L(1) = 1118
Alternatively, with S(1) = 10, M(1) = 10, and M(2) = 20, we see:
E = 200
S(PE) = 2000
L(PE) = 3998
L(2) = 79778
L(1) = 1958
This represents a very dramatic decrease in LSPs across the core.
7.3 Issues with Hierarchical LSPs
The same issues exist for hierarchical LSPs as described in Section
6.4. Although dramatic improvements can be made to the scaling
numbers for the number of LSPs at core nodes, this can only be done
at the cost of configuring P(2) to P(2) tunnels. The mesh of P(1)
tunnels is not enough.
But the sheer number of P(2) to P(2) tunnels that must be configured
is a management nightmare that can only be eased by using a
technique like automesh [RFC4972].
It is significant, however, that the scaling problem at the P(2)
nodes cannot be improved by using tunnels, and the only solution to
ease this in the hierarchical approach would be to institute another
layer of hierarchy (that is, P(3) nodes) between the P(2) nodes and
the PEs. This is, of course, a significant expense.
8. Scaling Improvements Through Multipoint-to-Point LSPs
An alternative (or complementary) scaling technique has been proposed
using multipoint-to-point (MP2P) LSPs. The fundamental improvement in
this case is achieved by reducing the number of LSPs toward the
destination as LSPs toward the same destination are merged.
This section presents an overview of MP2P LSPs and describes their
applicability and scaling benefits.
Yasukawa, Farrel, and Komolafe [Page 26]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
8.1 Overview of MP2P LSPs
Note that the MP2P LSPs discussed here are for MPLS-TE and are not
the same concept familiar in the Label Distribution Protocol (LDP)
described in [RFC3036].
Traffic flows generally converge toward their destination and this
can be utilized by MPLS in constructing an MP2P LSP. With such an
LSP, the LFIB mappings at each LSR are many-to-one so that multiple
pairs {incoming interface, incoming label} are mapped to a single
pair {outgoing interface, outgoing label}. Obviously, if per-platform
labels are used, this mapping may be optimized within an
implementation.
It is important to note that with MP2P MPLS-TE LSPs the traffic flows
are merged. That is, some additional form of identifier is required
if demerging is required. For example, if the payload is IP traffic
belonging to the same client network, no additional demerging
information is required since the IP packet contains sufficient data.
On the other hand, if the data comes, for example, from a variety of
VPN client networks, then the flows will need to be labeled in their
own right as point-to-point (P2P) flows, so that traffic can be
disambiguated at the egress of the MP2P LSPs.
Techniques for establishing MP2P MPLS-TE LSPs and for assigning the
correct bandwidth downstream of LSP merge points are out of the scope
of this document.
8.2 LSP State : A Better Measure of Scalability
Consider the network topology shown in figure 3. Suppose that we
establish MP2P LSP tunnels such that there is one tunnel terminating
at each PE, and that that tunnel has every other PE as an ingress.
Thus, a PE-to-PE MP2P LSP tunnel would have S(PE)-1 ingresses and one
egress, and there would be S(PE) such tunnels.
Note that there still remain 2*(S(PE) - 1) PE-to-PE P2P LSPs that are
carried through these tunnels.
Let's consider the number of LSPs handled at each node in the
network.
The PEs continue to handle the same number of PE-to-PE P2P LSPs, and
must also handle the MP2P LSPs. So:
L(PE) = 2*(S(PE) - 1) + S(PE)
But all P(n) nodes in the network only handle the MP2P LSP tunnels.
Nominally, this means that L(n) = S(PE) for all values of n. This
would appear to be a great success with the number of LSPs cut to
Yasukawa, Farrel, and Komolafe [Page 27]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
completely manageable levels.
But the number of LSPs is not the only issue (although it may have
some impact for some of the scaling concerns listed in section 4). We
are more interested in the amount of LSP state that is maintained by
an LSR. This reflects the amount of storage required at the LSR, the
amount of protocol processing, and the amount of information that
needs to be managed.
In fact, we were also interested in this measure of scalability in
the earlier sections of this document, but in those cases we could
see a direct correlation between the number of LSPs and the amount of
LSP state since transit LSPs had two pieces of state information (one
on the incoming and one on the outgoing interface), and ingress or
egress LSPs had just one piece of state.
We can quantify the amount of LSP state according to the number of
LSP segments managed by an LSR. So (as above), in the case of a P2P
LSP, an ingress or egress has one segment to maintain, while a
transit has two segments. Similarly, for an MP2P LSP, an LSR must
maintain one set of state information for each upstream segment
(which, we can assume, is in a one-to-one relationship with the
number of upstream neighbors), and exactly one downstream segment -
ingresses obviously have no upstream neighbors, and egresses have no
downstream segments.
So we can start again on our examination of the scaling properties of
MP2P LSPs using X(n) to represent the amount of LSP state held at
each P(n) node.
8.3 Scaling Improvements for Snowflake Networks
At the PEs, there is only connectivity to one other network node, the
P(2) node. But note that if P2P LSPs need to be used to allow
disambiguation of data at the MP2P LSP egresses, then these P2P LSPs
are tunneled within the MP2P LSPs . So X(PE) is:
X(PE) = 2*(S(PE) - 1) if no disambiguation is required
and
X(PE) = 4*(S(PE) - 1) if disambiguation is required
Each P(2) node has M(2) downstream PEs. The P(2) sees a single MP2P
LSP targeted at each downstream PE with one downstream segment (to
that PE) and M(2) - 1 upstream segments from the other subtended PEs.
Additionally, each of these LSPs has an upstream segment from the one
upstream P(1). This gives a total of M(2)*(1 + M(2)) LSP segments.
There are also LSPs running from the subtended PEs to each other PE
Yasukawa, Farrel, and Komolafe [Page 28]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
in the network. There are S(PE) - M(2) such PEs, and the P(2) sees
one upstream segement for each of these from each subtended PE. It
also has one downstream segment for each of these LSPs. This gives
(M(2) + 1)*(S(PE) - M(2)) LSP segments.
Thus:
X(2) = M(2)*(1 + M(2)) + (M(2) + 1)*(S(PE) - M(2))
= S(PE)*(M(2) + 1)
Similarly, at each P(1) node there are M(1) downstream P(2) nodes and
so a total of M(1)*M(2) downstream PEs. Each P(1) is connected in a
full mesh with the other P(1) nodes so has (S(1) - 1) neighbors.
The P(1) sees a single MP2P LSP targeted at each downstream PE. This
has one downstream segment (to the P(2) to which the PE is connected)
and M(1) - 1 upstream segments from the other subtended P(2) nodes.
Additionally, each of these LSPs has an upstream segment from each of
the P(1) neighbors. This gives a total number of LSP segments of
M(1)*M(2)*(M(1) + S(1) - 1).
There are also LSPs running from each of the subtended PEs to each
other PE in the network. There are S(PE) - M(1)M(2) such PEs, and the
P(1) sees one upstream segment for each of these from each subtended
P(2) (since the aggregation form the subtended PEs has already
happened at the P(2) nodes). It also has one downstream segment to
appropriate next hop P(1) neighbor for each of these LSPs. This gives
(M(1) + 1)*(S(PE) - M(1)*M(2)) LSP segments.
Thus:
X(1) = M(1)*M(2)*(M(1) + S(1) - 1) +
(M(1) + 1)*(S(PE) - M(1)*M(2))
= M(1)*M(2)*(S(1) - 2) + S(PE)*(M(1) + 1)
So, for example, with S(1) = 10, M(1) = 10, and M(2) = 10, we see:
S(PE) = 1000
S(2) = 100
X(PE) = 3996 (or 1998)
X(2) = 11000
X(1) = 11800
And similarly, with S(1) = 20, M(1) = 20, and M(2) = 5, we see:
S(PE) = 2000
S(2) = 400
X(PE) = 5996 (or 2998)
X(2) = 12000
X(1) = 39800
Yasukawa, Farrel, and Komolafe [Page 29]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
8.3.1 Comparison with Other Scenarios
For comparison with the examples in sections 5 and 6, we need to
convert those LSP-based figures to our new measure of LSP state.
Observe that each LSP in sections 5 and 6 generates two state units
at a transit LSR and one at an ingress or egress. So we can provide
conversions as follows:
Section 5 (flat snowflake network)
L(PE) = 2*(S(PE) - 1)
L(2) = M(2)*(2*S(PE) - M(2) - 1)
L(1) = M(1)*M(2)*(2*S(PE) - M(2)*(M(1) + 1))
X(PE) = 2*(S(PE) - 1)
X(2) = 2*M(2)*(2*S(PE) - M(2) - 1)
X(1) = 2*M(1)*M(2)*(2*S(PE) - M(2)*(M(1) + 1))
For the example with S(1) = 10, M(1) = 10, and M(2) = 10, this
gives a comparison table as follows:
Count | Unmodified | MP2P
------+-------------+----------
X(PE) | 1998 | 3996
X(2) | 39780 | 11000
X(1) | 378000 | 11800
Clearly this technique is a significant improvement over the flat
network within the core of the network, although the PEs are more
heavily stressed if disambiguation is required.
Section 6.1 (Two-layer hierarchy snowflake network)
L(PE) = 2*(S(PE) - 1)
L(2) = M(2)*(2*S(PE) - M(2) - 1) + 2*(S(2) - 1)
L(1) = M(1)*(2*S(2) - M(1) - 1)
X(PE) = 2*(S(PE) - 1)
X(2) = 2*M(2)*(2*S(PE) - M(2) - 1) + 2*(S(2) - 1)
X(1) = 2*M(1)*(2*S(2) - M(1) - 1)
Note that in the computation of X(2) the hierarchical LSPs only add
one state at each P(2) node.
For the same example with S(1) = 10, M(1) = 10, and M(2) = 10, this
gives a comparison table as follows:
Count | 2-Layer | MP2P
| Hierarchy |
------+-------------+----------
X(PE) | 1998 | 3996
X(2) | 39978 | 11000
X(1) | 3780 | 11800
Yasukawa, Farrel, and Komolafe [Page 30]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
And we can observe that the MP2P model is better at P(2), but the
hierarchical model is better at P(1).
In fact, this comparison can be generalized to observe that the MP2P
model produces best effects toward the edge of the network, while the
hierarchical model makes most impression at the core. However, the
requirement for disambiguation of P2P LSPs tunneled within the MP2P
LSPs does cause a double burden at the PEs.
8.4 Scaling Improvements for Ladder Networks
MP2P LSPs applied just within the ladder will not make a significant
difference, but applying MP2P for all LSPs and at all nodes makes a
very big difference without requiring any further configuration.
LSP state at a spar node may be divided into those LSPs segments that
enter or leave the spar node due to subtended PEs (local LSP
segments), and those that enter or leave the spar node due to remote
PEs (remote segments).
The local segments may be counted as:
o E LSPs targeting local PEs
o (S(1)-1)*E*M(1) LSPs targeting remote PEs
The remote segments may be counted as:
o (S(1)-1)*E outgoing LSPs targeting remote PEs
o <= 3*S(1)*E incoming LSPs targeting any PE (there are precisely
P(1) nodes attached to any other P(1) node).
Hence, treating L(1) as a measure of LSP state rather than a count of
LSPs, we get:
L(1) <= E + (S(1)-1)*E*M(1) + (S(1)-1)*E + 3*S(1)*E
<= (4 + M(1))*S(1)*E - M(1)*E
The number of LSPs at the P(2) nodes is also improved. We may also
count the LSP state in the same way so that there are:
o M(2) LSPs targeting local PEs
o M(2)*(S(1)*E) LSPs from local PEs to all other PEs
o S(1)*E - M(2) LSPs to remote PEs.
So treating L(2) as a measure of LSP state and not a count of LSPs,
we have:
L(2) = M(2) + M(2)*(S(1)*E) + S(1)*E - M(2)
= (M(2) + 1)*S(1)*E
Yasukawa, Farrel, and Komolafe [Page 31]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
Our examples from Section 5.2 give us the following numbers:
With S(1) = 6, M(1) = 10, and M(2) = 17, we see:
E = 170
S(PE) = 1020
L(PE) = 2038
L(2) = 18360
L(1) <= 12580
Alternatively, with S(1) = 10, M(1) = 10, and M(2) = 20, we see:
E = 200
S(PE) = 2000
L(PE) = 3998
L(2) = 42000
L(1) <= 26000
8.4.1 Comparison with Other Scenarios
The use of MP2P compares very favourably with all scaling scenarios.
It is the only technique able to reduce the value of L(2), and it
does this by a factor of almost two. The impact on L(1) is better
than everything except the three level hierarcy.
The following table provides a quick cross-reference for the figures
for the example ladder networks.
Example A: S(1) = 6, M(1) = 10, and M(2) = 17
Example B: S(1) = 10, M(1) = 10, and M(2) = 20
Example| Count | Unmodified | 1-Level | 2-Level | MP2P
| | | Hierarchy | Hierarchy |
-------+-------+------------+------------+-------------+-------
A | L(2) | 34374 | 34374 | 34492 | 18360
| L(1) | 777410 | 286138 | 1118 | 12580
-------+-------+------------+------------+-------------+-------
B | L(2) | 79580 | 79580 | 79778 | 42000
| L(1) | 2516000 | 716060 | 1958 | 26000
8.4.2 LSP State Compared with LSP Numbers
Recall that in Section 8.3, the true benefit of MP2P was analyzed
with respect to the LSP segment state required, rather than the
actual number of LSPs. This proved to be a more acurate comparison of
the techniques because the MP2P LSPs require state on each branch of
the LSP so the saving is not linear with the reduced number of LSPs.
A similar analysis could be performed here for the ladder network
and may be added in a future release of this document. The net effect
is that it increases the state by an order of two for all transit
LSPs in the P2P models, and by a multiplier equal to the degree of
Yasukawa, Farrel, and Komolafe [Page 32]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
a node in the MP2P model.
A rough estimate shows that, as with snowflake networks, MP2P
provides better scaling than the 1-level hierarchical model, and is
considerably better at the core. But P2MP compares less will with the
2-level hierarchy especially in the core.
8.5 Issues with MP2P LSPs
The biggest challenges for MP2P LSPs are the provision of support in
the control and data planes. To some extent support must also be
provided in the management plane.
Control plane support is just a matter of defining the protocols and
procedures [MP2P-RSVP], although it must be clearly understood that
this will introduce some complexity to the control plane.
Hardware issues may be a little more tricky. For example, the
capacity of the upstream segments must never (allowing for
statistical over-subscription) exceed the capacity of the downstream
segment. Similarly, data planes must be equipped with sufficient
buffers to handle incoming packet collisions.
The management plane will be impacted in several ways. Firstly the
management applications will need to handle LSPs with multiple
senders. This means that, although the applications need to process
fewer LSPs, they will be more complicated and will, in fact, need to
process the same number of ingresses and egresses. Other issues like
diagnostics and OAM would also need to be enhanced to support MP2P,
but might be borrowed heavily from LDP networks.
Lastly, note that when the MP2P solution is used, the receiver (the
single egress PE of an MP2P tunnel) cannot use the incoming label as
an indicator of the source of the data. Contrast this with P2P LSPs.
Depending on deployment, this might not be an issue since the PE-PE
connectivity may in any case be a tunnel with inner labels to
discriminate the data flows.
In other deployments, it may be considered necessary to include
additional PE-PE P2P LSPs and tunnel these through the MP2P LSPs.
This would require the PEs to support twice as many LSPs. Since PEs
are not usually as fully specified as P-routers, this may cause some
concern although the use of penultimate hop popping on the MP2P LSPs
might help to reduce this issue.
In all cases, care must be taken not to confuse the reduction in the
number of LSPs with a reduction in the LSP state that is required. In
fact, the discussion in Section 8.3 is slightly optimistic since
LSP state toward the destination will probably need to include
sender information and so will increase depending on the number of
Yasukawa, Farrel, and Komolafe [Page 33]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
senders for the MP2P LSP. Section 8.4, on the other hand, counts LSP
state rather than LSPs. This issue is clearly dependent on the
protocol solution for MP2P RSVP-TE which is out of scope for this
document.
MPLS Fast Re-route (FRR) [RFC4090] is an attractive scheme for
providing rapid local protection from node or link failures. Such a
scheme has, however, not been designed for MP2P at the time of
writing, so it remains to be seen how practical it would be,
especially in the case of the failure of a merge node. Initial
examination of this case suggests that FRR would not be a problem
for MP2P given that each flow can be handled separately.
As a final note, observe that the MP2P scenario presented in this
document may be optimistic. MP2P LSP merging may be hard to achieve
between LSPs with significantly different traffic and QoS parameters.
Therefore, it may be necessary to increase the number of MP2P LSPs
arriving at an egress.
9. Combined Models
There is nothing to prevent the combination of hierarchical and MP2P
solutions within a network.
Note that if MP2P LSPs are tunneled through P2P FA LSPs across the
core, none of the benefit of LSP merging is seen for the hops during
which the MP2P LSPs are tunneled.
On the other hand, it is possible to construct solutions where MP2P
FA LSPs are constructed within the network resulting in savings from
both modes of operation.
10. Management Considerations
The management issues of the two models presented in this document
have been discussed in line. Neither solution is without its
management overhead.
Note, however, that scalability of management tools is one of the
motivators for this work and that network scaling solutions that
reduce the active management of LSPs at the cost of additional effort
to manage the more static elements of the network represent a
benefit. That is, it is worth the additional effort to set up MP2P or
FA LSPs if it means that the network can be scaled to a larger size
without being constrained by the management tools.
The MP2P technique may prove harder to debug through OAM methods than
the FA LSP approach.
Yasukawa, Farrel, and Komolafe [Page 34]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
11. Security Considerations
The techniques described in this document use existing or
yet-to-be-defined signaling protocol extensions and are subject to
the security provided by those extensions. Note that we are talking
about tunneling techniques used within the network and both
approaches are vulnerable to the creation of bogus tunnels that
deliver data to an egress or consume network resources.
The fact that the MP2P technique may prove harder to debug through
OAM methods than the FA LSP approach is a security concern since it
is important to be able to detect misconnections.
12. Recommendations
The analysis in this document suggests that the ability to signal
MP2P MPLS-TE LSPs is a desirable addition to the operator's MPLS-TE
toolkit.
At this stage, no further recommendations are made, but it would be
valuable to consult more widely to discover:
- The concerns of other service providers with respect to network
scalability.
- More opinions on the realistic constraints to the network
parameters listed in Section 4.
- Desirable values for the cost-effectiveness of the network
(parameter K)
- The applicability, manageability and support for the two techniques
described
- The feasibility of combining the two techniques as discussed in
Section 9.
13. IANA Considerations
This document makes no requests for IANA action.
14. Acknowledgements
The authors are grateful to Jean-Louis Le Roux for discussions and
review input. Thanks to Ben Niven-Jenkins for his comments.
Yasukawa, Farrel, and Komolafe [Page 35]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
15. Intellectual Property Consideration
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in BCP 78 and BCP 79.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
http://www.ietf.org/ipr.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
16. Normative References
[RFC4206] Kompella, K. and Y. Rekhter, "Label Switched Paths (LSP)
Hierarchy with Generalized Multi-Protocol Label
Switching (GMPLS) Traffic Engineering (TE)", RFC 4206,
October 2005.
17. Informative References
[RFC2961] Berger, L., Gan, D., Swallow, G., Pan, P., Tommasi,
F. and S. Molendini, "RSVP Refresh Overhead
Reduction Extensions", RFC 2961, April 2001.
[RFC3036] Andersson, L., Doolan, P., Feldman, N., Fredette, A.
and B. Thomas, "LDP Specification", RFC 3036,
January 2001.
[RFC3209] Awduche, D., Berger, L., Gan, D., Li, T.,
Srinivasan, V. and G. Swallow, "RSVP-TE: Extensions
to RSVP for LSP Tunnels", RFC 3209, December 2001.
[RFC3270] Le Faucheur, F., et al., "Multi-Protocol Label
Switching (MPLS) Support of Differentiated
Services", RFC 3270, May 2002.
Yasukawa, Farrel, and Komolafe [Page 36]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
[RFC3473] Berger, L., et al., Editor, "Generalized Multi-
Protocol Label Switching (GMPLS) Signaling Resource
ReserVation Protocol-Traffic Engineering (RSVP-TE)
Extensions", RFC 3473, January 2003.
[RFC3985] Bryant, S., and Pate, P., "Pseudo Wire Emulation
Edge-to-Edge (PWE3) Architecture", RFC 3985, March
2005.
[RFC4090] P. Pan, G. Swallow, A. Atlas (Editors), "Fast
Reroute Extensions to RSVP-TE for LSP Tunnels", work
in progress.
[RFC4110] Callon, R., and Suzuki, M., "A Framework for Layer 3
Provider-Provisioned Virtual Private Networks
(PPVPNs)", RFC 4110, July 2005.
[RFC4972] Vasseur, JP., and Le Roux, JL., "Routing Extensions
for Discovery of Multiprotocol (MPLS) Label Switch
Router (LSR) Traffic Engineering (TE) Mesh
Membership", RFC 4972, July 2007.
[MP2P-RSVP] Yasukawa, Y., "Supporting Multipoint-to-Point Label
Switched Paths in Multiprotocol Label Switching
Traffic Engineering",
draft-yasukawa-mpls-mp2p-rsvpte, work in progress.
18. Authors' Addresses
Seisho Yasukawa
NTT Corporation
9-11, Midori-Cho 3-Chome
Musashino-Shi, Tokyo 180-8585 Japan
Phone: +81 422 59 4769
EMail: s.yasukawa@hco.ntt.co.jp
Adrian Farrel
Old Dog Consulting
EMail: adrian@olddog.co.uk
Olufemi Komolafe
Cisco Systems
96 Commercial Street
Edinburgh
EH6 6LX
United Kingdom
Email: okomolaf@cisco.com
Yasukawa, Farrel, and Komolafe [Page 37]
draft-ietf-mpls-te-scaling-analysis-00.txt October 2007
19. Disclaimer of Validity
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND
THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
20. Full Copyright Statement
Copyright (C) The IETF Trust (2007).
This document is subject to the rights, licenses and restrictions
contained in BCP 78, and except as set forth therein, the authors
retain all their rights.
Yasukawa, Farrel, and Komolafe [Page 38]
Html markup produced by rfcmarkup 1.129b, available from
https://tools.ietf.org/tools/rfcmarkup/