- The document discusses whether multipath routing is truly beneficial compared to single-path routing.
- It presents that a common belief is that multipath routing allows for better load balancing and optimization of traffic objectives. However, it questions how much benefit multipath routing provides.
- A key result shown is that for traffic engineering optimization problems formulated as linear programs, the maximum number of positive flows at optimality is D+L, where D is the number of demands and L is the number of links. This implies that at most L demands can use multiple paths optimally.
How to do quick user assign in kanban in Odoo 17 ERP
Is Multipath Routing Really a Panacea?
1. Is Multipath Routing Really a Panacea?
Deep Medhi
Computer Science & Electrical Engineering Department
University of Missouri-Kansas City, USA
dmedhi@umkc.edu
in association with Xuan Liu, Sudhir Mohanraj, and Michał Pi´oro
Supported in part by NSF Grant # CNS-0916505
CNSM Keynote: 11 November 2015
MPR-SPR
11. What Multipath Routing is NOT
Take one path in the morning, another path in the evening – this
is NOT multipath routing
MPR-SPR
12. Multipath Routing: A Common Belief
Multipath routing (load sharing): split routing where each
node-to-node traffic can be send among accessible paths.
MPR-SPR
13. Multipath Routing: A Common Belief
Multipath routing (load sharing): split routing where each
node-to-node traffic can be send among accessible paths.
An alternative considered in this context is single-path
routing (non-split routing of the demands).
— Many ISPs prefer (for troubleshooting)
MPR-SPR
14. Multipath Routing: A Common Belief
Multipath routing (load sharing): split routing where each
node-to-node traffic can be send among accessible paths.
An alternative considered in this context is single-path
routing (non-split routing of the demands).
— Many ISPs prefer (for troubleshooting)
Common belief: multipath routing, as compared with
single-path routing, gives a significantly better opportunity
to control the link loads and in this way effectively optimize
various traffic objectives.
MPR-SPR
15. Multipath Routing: A Common Belief
Multipath routing (load sharing): split routing where each
node-to-node traffic can be send among accessible paths.
An alternative considered in this context is single-path
routing (non-split routing of the demands).
— Many ISPs prefer (for troubleshooting)
Common belief: multipath routing, as compared with
single-path routing, gives a significantly better opportunity
to control the link loads and in this way effectively optimize
various traffic objectives.
Question: Does it? When? How much?
MPR-SPR
16. Multipath Routing: A Common Belief
Multipath routing (load sharing): split routing where each
node-to-node traffic can be send among accessible paths.
An alternative considered in this context is single-path
routing (non-split routing of the demands).
— Many ISPs prefer (for troubleshooting)
Common belief: multipath routing, as compared with
single-path routing, gives a significantly better opportunity
to control the link loads and in this way effectively optimize
various traffic objectives.
Question: Does it? When? How much?
Taking a Traffic Engineering Perspective...
MPR-SPR
17. A 3-node Example: Single Demand (Commodity)
1
3
2
10
10
10
Capacity
15
Traffic Volume
between 1 and 2
Easy to see that 15 units of traffic would need to be split
between the paths 1-2 and 1-3-2.
MPR-SPR
20. 3-node example: All pairs with traffic
1
3
2
Capacity
=
10Capacity = 10
Capacity
=
15
Traffic = 5
Traffic=
7
Traffic=
10
Is it possible for each pair to use both the direct and alternate
two-link paths with positive flows at optimality?
MPR-SPR
22. Is there a connection?
1) How does the number of positive flows at optimality relate to
the size of the problem?
2) Does the objective function matter?
MPR-SPR
23. Two Letters to Remember for the Rest of the Talk
D : Number of demands in a Network
L : Number of Links in a Network
MPR-SPR
24. Two Letters to Remember for the Rest of the Talk
D : Number of demands in a Network
L : Number of Links in a Network
NOTE:
D = N(N − 1)/2 if every pair has traffic (bidirectional) in a
N-node network
MPR-SPR
25. D + L result: Min Cost Routing Multi-Commodity
Network Flow
min
x≥0
d∈D p∈Pd
ξdp xdp (1a)
p∈Pd
xdp = hd , d ∈ D (demand) (1b)
d∈D p∈Pd
δdp xdp ≤ c , ∈ L (capacity) (1c)
hd : traffic for demand ID d ∈ D (#(D) = D)
c : link capacity (#(L) = L)
ξdp: unit path cost of path p for demand d
δdp : link-path indicator 0/1
MPR-SPR
26. Min Cost Routing Multi-Commodity Network Flow
min
x≥0
d∈D p∈Pd
ξdp xdp
p∈Pd
xdp = hd , d ∈ D (demand)
d∈D p∈Pd
δdp xdp ≤ c , ∈ L (capacity)
D + L property
In vertex solutions in Linear Program, there are at most D + L positive
path-flows. (Proof skipped)
Corollary: There are at most L demands that require more than one
positive path-flow
MPR-SPR
27. Quick Review: Feasible Region and vertices for a linear program
Objective
Feasible Region
Optimal Vertex
MPR-SPR
28. Consider again the following illustration for the 3-node
multi-commodity example:
d12: x12 + x132 = 5
d13: x13 + x123 = 10
d23: x23 + x213 = 7
c12: x12 + x123 + x213 <= 10
c13: x132 + x13 + x213 <= 10
c23: x132 + x123 + x23 <= 15
x non-negative
Adding slack variables:
d12: x12 + x132 = 5
d13: x13 + x123 = 10
d23: x23 + x213 = 7
c12: x12 + x123 + x213 + s12 = 10
c13: x132 + x13 + x213 + s13 = 10
c23: x132 + x123 + x23 + s23 = 15
x, s non-negative
Here, D = 3, L = 3. After adding slack variables, we have six (6) equations with nine
(9) variables. This means that at most 6 variables can be positive at a basic feasible
solution, and consequently, at optimality.
MPR-SPR
29. Corollary
If the optimization problem (1) is feasible, then at most L traffic
pairs will have more than one path with non-zero flows at
optimality.
MPR-SPR
30. Corollary
If the optimization problem (1) is feasible, then at most L traffic
pairs will have more than one path with non-zero flows at
optimality.
Proof:
From the theorem, we know that there are D + L non-zero flow
variables. Since there are a total of D pairs, at least one path
for each pair must carry the traffic load. This then leaves us
with at most D + L − D = L pairs that has more than one paths
with non-zero flows.
MPR-SPR
31. Traffic Engineering Objectives (besides min cost
routing)
Commonly used traffic engineering objectives for IP, MPLS,
SDN networks:
Network Load Balancing (Minimize Maximum utilization),
also known as Congestion Minimization
Average Delay (Minimize Average Network Delay)
MPR-SPR
32. Load Balancing Optimization: LP Formulation
min
{x≥0,r}
r
subject to
p∈Pd
xdp = hd , d ∈ D
d∈D p∈Pd
δdp xdp ≤ c r, ∈ L
xdp ≥ 0, p = 1, 2, ..., Pd ,
d = 1, 2, ..., D
(3)
Note: introduced a new variable r (load balancing variable)
We again have D + L constraints.
MPR-SPR
33. LB: load balancing
min
x≥0,r
r
p∈Pd
xdp = hd , d ∈ D
d∈D p∈Pd
δdp xdp ≤ c r, ∈ L
xdp ≥ 0, p = 1, 2, ..., Pd , d = 1, 2, ..., D
D + L − 1 property
In vertex solutions, there are at most D + L − 1 positive path-flows.
There are at most L − 1 demands that require more than one positive
path-flow.
MPR-SPR
36. Minimize Average Delay (AD)
min
x≥0,y≥0 ∈L
y
c −y
subject to
p∈Pd
xdp = hd , d ∈ D
d∈D p∈Pd
δdp xdp = y , ∈ L
(5)
Note: Objective is non-linear.
MPR-SPR
37. D + L for non-linear AD
The D + L property holds for the non-linear AD problem!
min
x≥0,y≥0 ∈L
y
c −y
subject to
p∈Pd
xdp = hd , d ∈ D
d∈D p∈Pd
δdp xdp = y , ∈ L
(6)
We’ve a proof!
MPR-SPR
38. D + L for non-linear AD
The D + L property holds for the non-linear AD problem!
min
x≥0,y≥0 ∈L
y
c −y
subject to
p∈Pd
xdp = hd , d ∈ D
d∈D p∈Pd
δdp xdp = y , ∈ L
(6)
We’ve a proof!
Margins of this slide is too small to fit in the proof :)
MPR-SPR
39. Two Measures
What percentage of demand pairs have more than one
path at optimality?
– MPM (Multipath Measure)
MPR-SPR
40. Two Measures
What percentage of demand pairs have more than one
path at optimality?
– MPM (Multipath Measure)
How far off is the single-path routing compared to multipath
routing?
– Normalized Cost Overhead (COH)
COH =
OPTSinglePath − OPTMultiPath
OPTMultiPath
MPR-SPR
41. Two Measures
What percentage of demand pairs have more than one
path at optimality?
– MPM (Multipath Measure)
How far off is the single-path routing compared to multipath
routing?
– Normalized Cost Overhead (COH)
COH =
OPTSinglePath − OPTMultiPath
OPTMultiPath
NOTE: MPM = 0 −→ Single-Path Routing is Optimal
MPR-SPR
42. MPM: multipath measure
definition
MPM is equal to the maximum percentage of demands that can
have more than one path with nonzero flow at optimal vertex
solutions.
MCR: MPM = L
D
LB: MPM = L−1
D
AD: MPM = L
D
(max value = 100%)
MPR-SPR
43. MPM: multipath measure
definition
MPM is equal to the maximum percentage of demands that can
have more than one path with nonzero flow at optimal vertex
solutions.
MCR: MPM = L
D
LB: MPM = L−1
D
AD: MPM = L
D
(max value = 100%)
MPM computed to optimality: to be denoted by MPM∗
MPM∗ ≤ MPM
MPR-SPR
44. Average vertex degree for Real-world ISP Networks
Topology Zoo Collection: the highest average vertex degree 4.5
MPR-SPR
45. Average vertex degree for Real-world ISP Networks
Topology Zoo Collection: the highest average vertex degree 4.5
RocketFuel Collection (PoP-level topology): the highest average vertex degree
5.24
Use ”3N-Net” as an upper limit for theoretical MPM
– L = 3N means average vertex degree is 6
MPR-SPR
46. Average vertex degree for Real-world ISP Networks
Topology Zoo Collection: the highest average vertex degree 4.5
RocketFuel Collection (PoP-level topology): the highest average vertex degree
5.24
Use ”3N-Net” as an upper limit for theoretical MPM
– L = 3N means average vertex degree is 6
MPR-SPR
47. Average vertex degree for Real-world ISP Networks
Topology Zoo Collection: the highest average vertex degree 4.5
RocketFuel Collection (PoP-level topology): the highest average vertex degree
5.24
Use ”3N-Net” as an upper limit for theoretical MPM
– L = 3N means average vertex degree is 6
Important to note: with L = O(N), D = O(N2)
MPM (=L/D) −→ 0 as N → ∞
MPR-SPR
48. Theoretical MPM
N = 4 N = 9 N = 16 N = 25 N = 36 N = 49 N = 100 N = 1024
D 6 36 120 300 630 1,176 4,950 523,776
R(MCR/AD) 66.67 25.00 13.33 8.33 5.71 4.17 2.02 0.20
R(LB) 50.00 22.22 12.50 8.00 5.56 4.08 2.00 0.20
G(MCR/AD) 66.67 33.33 20.00 13.33 9.52 7.14 3.64 0.38
G(LB) 50.00 30.56 19.17 13.00 9.37 7.06 3.62 0.38
3N(MCR/AD) 100.00 75.00 40.00 25.00 17.14 12.50 6.06 0.59
3N(LB) 83.33 72.22 39.17 24.67 16.98 12.41 6.04 0.59
MPM (in %) for different network sizes and topologies
D = N/(N-1)/2 (No. of demand pairs)
R(Ring) L = N
G(Grid) L = 2N − 2
√
N
3N(3N-Net) L = 3N
MPR-SPR
49. Special Results: Ring Network, uniform traffic/capacity
case (”Symmetric Ring”): LB Objective
In a ring network, every pair of nodes have two paths:
clockwise and counter-clockwise.
MPR-SPR
50. Special Results: Ring Network, uniform traffic/capacity
case (”Symmetric Ring”): LB Objective
In a ring network, every pair of nodes have two paths:
clockwise and counter-clockwise.
If the number of nodes N is odd, then in a ring with uniform
traffic for all node pairs and link capacity (”symmetric ring”),
only one path (minimum-hop shortest path) is used by
each pair at optimality for the LB objective. That is,
MPM∗ = 0
If the number of nodes N is even, then in a symmetric ring
MPM∗ = 1
N−1
Same hold for AD objective too.
MPR-SPR
51. Symmetric Ring - Odd number of nodes - Illustration
(N = 5)
12
3
4
5
MPR-SPR
52. Symmetric Ring - Even number of nodes - Illustration
(N = 4)
1 2
34
No split for: 1:2, 2:3, 3:4, 1:4 green
equal split for: 1:3 (blue), 2:4 (brown)
MPM∗ = 2/6 = 1/3
If N = 101, then MPM∗ = 1/100 = 1%
MPR-SPR
53. A Series of Comprehensive Studies
Topologies: Ring, Grid, Example ISP topologies
Traffic distribution: uniform (U), uniform-perturbed (U-P),
Elephant-mice (EM) traffic, Lognormal (LN) traffic
Network Load: 0.4 to 0.95
For each load, five traffic profiles generated randomly
For Load Balancing Objective, we proved a traffic scaling
property that the optimal solution doesn’t change.
A few representative results presented here.
MPR-SPR
54. A Representative set of results
Cases
All pair traffic (D = N(N − 1)/2)
Limited pair traffic for Data Center Networks
What happens as we increase D from 1, 2, ...., N(N − 1)/2
MPR-SPR
57. Fully-Mesh Topology
Theoretical MPM: 100%
Symmetric Mesh: Uniform traffic, uniform capacity
– Optimal is direct routing between any two nodes (single-path)
General Traffic
– Use Sprint’s 43-node fully-mesh telephone backbone network
– Traffic for different time of the day
– MPM∗: 19% on average
– MPM∗: as high at 41%
MPR-SPR
58. Fat-tree Data Center Networks
A special structure: k-pod architecture
NOT all pairs of nodes have traffic
Only Edge Switches have traffic intra-data center case
9 10 11 12 13 14 15 16
1 2 3 4 5 6 7 8
17 18 19 20
Edge
Aggregation
Core
k-pod fat-tree topology
N = 5
4
k2
D = k4
8
− k2
4
L = k3
2
L = O(k3), D = O(k4) MPM = L/D → 0
MPR-SPR
65. So, what went wrong in our thought process about the
benefit of multipath routing?
Our minds do play trick:)
— We forget that others are using the network too
— Remember the Manhattan Street Network
MPR-SPR
66. So, what went wrong in our thought process about the
benefit of multipath routing?
Our minds do play trick:)
— We forget that others are using the network too
— Remember the Manhattan Street Network
Often, smaller topologies were studied where multipath is
certainly beneficial
MPR-SPR
67. So, what went wrong in our thought process about the
benefit of multipath routing?
Our minds do play trick:)
— We forget that others are using the network too
— Remember the Manhattan Street Network
Often, smaller topologies were studied where multipath is
certainly beneficial
For large problems, heuristic algorithms were developed to
show the “benefit” of multipath routing
MPR-SPR
68. So, what went wrong in our thought process about the
benefit of multipath routing?
Our minds do play trick:)
— We forget that others are using the network too
— Remember the Manhattan Street Network
Often, smaller topologies were studied where multipath is
certainly beneficial
For large problems, heuristic algorithms were developed to
show the “benefit” of multipath routing
– Problem is ....
– Heuristic gives a false sense of benefit of multipath
routing since the solution is near optimal, but not an
optimal vertex solution!
MPR-SPR
69. 3-node Load Balancing example - revisit: optimal vs. near optimal solution
Minimize r
subject to
d12: x12 + x132 = 5
d13: x13 + x123 = 10
d23: x23 + x213 = 7
c12: x12 + x123 + x213 <= 10
c13: x132 + x13 + x213 <= 10
c23: x132 + x123 + x23 <= 15
End
1
3
2
Capacity
=
10
Capacity = 10
Capacity
=
15
Traffic = 5
Traffic=
7
Traffic=
10
Optimal r∗ = 0.75
One demand is always single-path at optimality; In this case, pair 2:3 has single path
routing, x23=7. Forcing this demand pair to take two paths will result in multipath for
every pair, but the solution is NOT optimal.
Let’s say, x23 = 7 − ε, and x213 = ε > 0. Then, the best r becomes 0.75 + ε, which is
NOT optimal.
Objective
Feasible Region
Optimal Vertex
MPR-SPR
70. Science and Engineering in Network Management
Are we always swayed by our drive to get a “better”
approach?
– Engineering
MPR-SPR
71. Science and Engineering in Network Management
Are we always swayed by our drive to get a “better”
approach?
– Engineering
Are we forgetting to study a system as it is?
– Science
MPR-SPR
72. Summary
Back to the original question: Is it a Panacea?
It depends:)
For networks N ≤ 25 with all pair traffic, it’s reasonably
beneficial
The benefit of multipath routing diminishes as N increases
and L = O(N) [realistic ISP topologies]
If N ≈ 100, the benefit is quite minimal.
MPM∗ observed is much lower than theoretical MPM
The objective function is not an impacting factor
D + L result is traffic/capacity invariant.
Science of a Network Management problem is important to
investigate!
MPR-SPR
74. What about TCP Throughput?
TCP throughput problem is modeled as a utility
maximization problem:
max
x≥0,X≥0 d∈D
wd log Xd
subject to
p∈Pd
xdp = Xd , d ∈ D
d∈D p∈Pd
δdp xdp ≤ c , ∈ L
(7)
There are D + L constraints
We can see that the objective is non-linear concave; we
can use the piece-linear approximation trick.
That is, the D + L property holds
MPR-SPR
75. X. Liu, S. Mohanraj, M. Pioro, and D. Medhi, “Multipath
Routing from a Traffic Engineering Perspective: How
Beneficial is It?”, Proc. of 22nd IEEE International
Conference on Network Protocols (ICNP), The Research
Triangle, North Carolina, October 2014.
http://sce2.umkc.edu/csee/dmedhi/papers/
lmpm-icnp-2014.pdf
MPR-SPR