th infocom 2014 traffic engineering with equalcost ...€¦ · traffic engineering with...
TRANSCRIPT
![Page 1: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/1.jpg)
Traffic Engineering withEqualCostMultiPath:
An Algorithmic Perspective
Marco Chiesa s
joint work with
Guy Kindler Michael Schapira
Israel Networking Day 2014 April 24th
Infocom 2014
![Page 2: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/2.jpg)
trafficengineering (TE)
network operators' goal: ● provide best possible service● minimize costs
how?● fully exploit network resources
→ route flows of traffic along the “best” paths
![Page 3: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/3.jpg)
traditional TE tools
ECMP (EqualCostMultiPath)● the most widely deployed TE mechanism● loadbalancing tool● very simple mechanism
![Page 4: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/4.jpg)
contributions
ECMP and arbitrary topologies no reasonable approximation is possible→
ECMP and datacenter topologies:● hypercubes vs folded Clos networks ● large flows in folded Clos networks
:(
:):)
![Page 5: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/5.jpg)
traditional TE tools
ECMP (EqualCostMultiPath)● operators set link weights● traffic is routed along shortestpaths
s
t
![Page 6: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/6.jpg)
traditional TE tools
ECMP (EqualCostMultiPath)● operators set link weights● traffic is routed along shortestpaths
s3
3
2
199
t
![Page 7: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/7.jpg)
traditional TE tools
when multiple shortest paths are available:● perpacket level equal split● perflow level hashbased split
→ equal split for many small flows
3
199
3
2
s
t
4
22
2
fst=4
![Page 8: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/8.jpg)
traditional TE tools
when multiple shortest paths are available:● perpacket level equal split● perflow level hashbased split
→ equal split for many small flows
3
99 4
3
2
s
t
2
11
3
2
fst=4
1
![Page 9: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/9.jpg)
traditional TE tools
when multiple shortest paths are available:● perpacket level equal split● perflow level hashbased split
→ equal split for many small flows
3
1 99
3
2
s
t
2
2
2
2
fst=4
99 4
![Page 10: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/10.jpg)
traditional TE tools
OSPF + ECMP (EqualCostMultiPath)● operators set link weights
how? heuristic approaches: ● local search [Fortz,Thorup, 2000][Sundaresan et al, 2010]
● memetic algorithms [Buriol et al, 2002]
● genetic algorithms [Ericsson et al, 2002]
● branchandcut for mixedILP [Palmar et al, 2006]
wanted: algorithm with provable guarantees?
![Page 11: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/11.jpg)
TE model:multi commidity flow
input:● capacitated graph G=(V,E)● demand matrix D={dij}
constraints:● flows cannot exceed links capacities ● flows are equally split among all shortestpaths
optimization functions:● maximize total throughput (flow)● minimize congestion● minimize sum of linkcosts
![Page 12: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/12.jpg)
known results:inapproximability for maxflow
Theorem [FortzThorup,2000]. Given an instance I=(G,D), it is NPhard to distinguish whether:
OPT(I) = 1 or OPT(I) = 2/3 k,
for any k>0
→ no efficient algorithm can provably route at least a fraction of OPT(I)
23
23+e
![Page 13: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/13.jpg)
our first results:inapproximability for maxflow
Theorem [FortzThorup,2000]. Given an instance I=(G,D), with a single entry in D, it is NPhard to distinguish whether:
OPT(I) = 1 or OPT(I) = 2/ k,
for any k>0
23
![Page 14: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/14.jpg)
our first results:no inapproximability
for maxflowTheorem [FortzThorup,2000]. Given an instance I=(G,D), with a single entry in D, it is NPhard to distinguish whether:
OPT(I) = 1 or OPT(I) = 2/3q,
for any q>0
→ no algorithm can provably route at least a fraction k of OPT(G) in polynomial time
23
![Page 15: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/15.jpg)
Theorem [FortzThorup,2000]. Given an instance I=(G,D), with a single entry in D, it is NPhard to distinguish whether:
OPT(I) = 1 or OPT(I) = 2/3q,
for any q>0
→ no efficient algorithm can provably route at least a fraction q of OPT(I)
our first results:any constant inapproximability
for maxflow
23
![Page 16: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/16.jpg)
key tool:amplification operator X
operator X: instance I → instance Inew
such that
OPT(Inew) = OPT(I) 2
OPTA(A(G)) = (OPTG)4
...
![Page 17: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/17.jpg)
amplifying the gap
OPT(I) = 1 or OPT(I) = it is NPhard to distinguish between 1 and ~0.6
OPT(X(G)) = 1 or OPT(X(H)) = it is NPhard to distinguish between 1 and ~0.4
OPT(X2(G)) = 1 or OPT(X2(H)) = it is NPhard to distinguish between 1 and ~0.2
…
23
![Page 18: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/18.jpg)
amplifying the gap
OPT(I) = 1 or OPT(I) = it is NPhard to distinguish between 1 and ~0.6
OPT(X(I)) = 1 or OPT(X(I)) = it is NPhard to distinguish between 1 and ~0.4
OPT(X2(G)) = 1 or OPT(X2(H)) = it is NPhard to distinguish between 1 and ~0.2
…
49
23
![Page 19: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/19.jpg)
amplifying the gap
OPT(I) = 1 or OPT(I) = it is NPhard to distinguish between 1 and ~0.6
OPT(X(I)) = 1 or OPT(X(I)) = it is NPhard to distinguish between 1 and ~0.4
OPT(X2(I)) = 1 or OPT(X2(I)) = it is NPhard to distinguish between 1 and ~0.2
…
23
49
1681
![Page 20: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/20.jpg)
amplification gap technique:graph G
kc1
kc3
kc2
kc4
kc5
s
t
● source s● target t● capacitated edges
![Page 21: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/21.jpg)
amplification gap technique:graph G
kc1
kc3
kc2
kc4
kc5
s
t
● source s● target t● capacitated edges
t
maxflow (s t) = → OPT
![Page 22: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/22.jpg)
amplification gap technique: recursive replacement
kc1
kc3
kc2
kc4
kc5
s
t
c2
c2c2c2c1
c2c3
c2c5c2c4
s'
t'
![Page 23: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/23.jpg)
amplification gap technique: recursive replacement
kc1
kc3
kc2
kc4
kc5
s
t
c2
c2c2c2c1
c2c3
c2c5c2c4
s'
t'
maxflow(s' → t') = c2OPT
![Page 24: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/24.jpg)
amplification gap technique: recursive replacement
kc1
kc3
kc2
kc4
kc5
s
t
c2
c2c2c2c1
c2c3
c2c5c2c4
s'
t'
maxflow(s' → t') = c2OPT
![Page 25: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/25.jpg)
amplification gap technique: recursive replacement
c2O
PT
s
t
c2
c2c2c2c1
c2c3
c2c5c2c4
s'
t'
kc1
kc3
kc4
kc5
maxflow(s' → t') = c2OPT
![Page 26: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/26.jpg)
amplification gap technique: recursive replacement
c1OPT
c3OPT
c2O
PT
c4O
PT
c5OPT
s
t
c2
c2c2c2c1
c2c3
c2c5c2c4
s'
t'
maxflow(s' → t') = c2OPT
![Page 27: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/27.jpg)
amplification gap technique:graph X(G)
c1OPT
c3OPT
c2O
PT
c4O
PT
c5OPT
s
t
maxflow(s t,G') = →OPT ...⋅
![Page 28: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/28.jpg)
amplification gap technique:graph X(G)
c1OPT
c3OPT
c2O
PT
c4O
PT
c5OPT
s
t
maxflow(s t,G') = →OPT ⋅ OPT = OPT 2
![Page 29: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/29.jpg)
datacenter topologies and ECMP
topology constraints:● ddimensional hypercubes (e.g., bCubelike)
→ NPhard● llayers folded Clos networks (e.g., VL2like)
→ easy● random regular graphs (e.g., Jellyfish)
→ future work
![Page 30: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/30.jpg)
datacenter topologies and ECMP
topology constraints:● ddimensional hypercubes (e.g., bCube) Clos networks (e.g., VL2) network
d=4
![Page 31: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/31.jpg)
datacenter topologies and ECMP
topology constraints:● ddimensional hypercubes (e.g., bCube) Clos networks (e.g., VL2) network
d=4
computing the best weight assignment is computationally intractable
![Page 32: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/32.jpg)
datacenter topologies and ECMP
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=2
servers
l=2
![Page 33: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/33.jpg)
datacenter topologies and ECMP
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=3
servers
![Page 34: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/34.jpg)
datacenter topologies and ECMP
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=3
servers
![Page 35: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/35.jpg)
datacenter topologies and ECMP
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=3
servers
![Page 36: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/36.jpg)
datacenter topologies and ECMP
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=3
servers
![Page 37: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/37.jpg)
datacenter topologies and ECMP
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=4
servers
![Page 38: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/38.jpg)
datacenter topologies and ECMP
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=4
servers
![Page 39: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/39.jpg)
datacenter topologies and ECMP
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=4
servers
![Page 40: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/40.jpg)
datacenter topologies and ECMP
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=4
servers
![Page 41: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/41.jpg)
datacenter topologies and ECMP
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=4
servers
![Page 42: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/42.jpg)
datacenter topologies and ECMP
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=4
setting all link weights to 1 is optimal
![Page 43: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/43.jpg)
optimality proof sketch
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=2
servers
![Page 44: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/44.jpg)
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=4
optimality proof sketch
servers
![Page 45: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/45.jpg)
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=4
optimality proof sketch
servers
![Page 46: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/46.jpg)
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=4
optimality proof sketch
servers
![Page 47: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/47.jpg)
topology constraints:● llayers folded Clos networks (e.g.,VL2)
l=4
optimality proof sketch
servers
![Page 48: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/48.jpg)
ECMP and large flowsperflow level hashbased split
→ when there are a few large flows, traffic may not be properly loadbalanced
l=4
servers
![Page 49: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/49.jpg)
ECMP and large flowsperflow level hashbased split
→ when there are a few large flows, traffic may not be properly loadbalanced
l=4
servers
![Page 50: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/50.jpg)
ECMP and large flowsperflow level hashbased split
→ when there are a few large flows, traffic may not be properly loadbalanced
l=4
servers
![Page 51: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/51.jpg)
ECMP and large flowsperflow level hashbased split
→ when there are a few large flows, traffic may not be properly loadbalanced
l=4
severe performance degradation [Al Fares et al, 2010]:30% of the bandwidth in a datacenter is wasted
![Page 52: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/52.jpg)
ECMP, Clos networks, and large flows
proposed solution [AlFares et al, 2010]:● route small flows (mice) using ECMP● route large flows (elephant) using a greedy
algorithm
our results:● 2 inapproximability● greedy is a approximation algorithm
● approximation if all flows have equal size
12
15
14
![Page 53: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/53.jpg)
conclusions
● in general, no efficient algorithm exists to assign the best link weights
datacenter topologies:
hypercubes still hard to find the best weights→
folded Clos networks set all weights to 1→
greedy algorithm for routing large flows is a approximation in a 3layers Folded Clos network (VL2like)
![Page 54: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/54.jpg)
conclusions
● in general, no efficient algorithm exists to assign the best reasonable link weights
datacenter topologies:
hypercubes hard to find the best weights→
folded Clos networks set all weights to 1→
greedy algorithm for routing large flows is a approximation in a 3layers Folded Clos network (VL2like)
![Page 55: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/55.jpg)
conclusions
● in general, no efficient algorithm exists to assign the best reasonable link weights
● datacenter topologies:● hypercubes hard to find the best weights→● folded Clos networks set all weights to 1→
– greedy algorithm for routing large flows is a approximation in a 3layers Folded Clos network (VL2like)
15
![Page 56: th Infocom 2014 Traffic Engineering with EqualCost ...€¦ · Traffic Engineering with EqualCostMultiPath: An Algorithmic Perspective Marco Chiesa s joint work with Guy Kindler Michael](https://reader033.vdocuments.us/reader033/viewer/2022053016/5f16f3c870e13f11d44eb277/html5/thumbnails/56.jpg)
thank you