Computer Networks Group Universität Paderborn
Future Internet Chapter 5: Network Function Virtualization 5b: Foundations & Algorithms
Holger Karl
Future Internet Chapter 5: Network Function Virtualization 5b: - - PowerPoint PPT Presentation
Future Internet Chapter 5: Network Function Virtualization 5b: Foundations & Algorithms Holger Karl Computer Networks Group Universitt Paderborn Goals of this session Previous session has dealt with motivating examples and
Computer Networks Group Universität Paderborn
Holger Karl
Goals of this session
architectural fundamentals
solve?
2 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
What to decide in NFV?
3 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Algorithmic sub-problems
4 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Simplify the problem
capacities
infinite
5 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Excursion: Pareto optimality
either metric
relate into a common, single metric (e.g., “cost”)
6
Average travel time
traffic casualties
x x x x x x x x x x x x
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Overview
7 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Facility location
Round Trip Time
Serve user requests nearby
8
Where to place?
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Facility location: Formally
9 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Facility location: Solution
v serves the demand from u
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Facility location: Main properties
within 1.861
http://ieeexplore.ieee.org/document/5207998/,
11 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Facility location: Greedy algorithm
algorithm
to the solution
12
Guha and Kuller, Greedy strikes back: Improved Facility Location Algorithms
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Capacitated facility location
demand it can handle
problem
13
Verter, Uncapacitated and Capacitated Facility Location Problems Keller et al., A local heuristic for latency-optimized distributed cloud deployment
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Where to place? – The Model
14
Capacity 1: #Server Capacity 2: #User Server Costs Assignment
Facility Location Problem
+ Opening
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Literatur
Uncapacitated Capacitated Global:
GreedyFL (1.861-Approx.) No known approximation
Local:
Keller 2013
15 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
GreedyFL in a Nutshell
16 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
GreedyFLL – Sketch
17
Local Algorithm
Clients, facilities
Clients ask facilities
Derived from budget
Clocked rounds
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
GreedyFLL – Sketch
18 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
GreedyFLL – Sketch
19 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
GreedyFLL – Sketch
20 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
GreedyFLL – Sketch
21 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
GreedyFLL – Sketch
22 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
GreedyFLLC – Sketch
23
Capacity Limit
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
GreedyFLLC – Sketch
24
Longer runtime, worse RTT
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Extensions to facility location
by the facilities
25 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Overview
26 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Routing vs. flow problems
minimize some cost metric
(e.g., sum, max, ...)
from a source to a sink
27 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Basic single flow problem
28 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Single flow problem: Example
29 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Single flow problem, some concepts
cf(u,v) = c(u,v) - f(u,v)
flow
source to sink, along which all edge capacities are strictly positive
path
30 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Single flow problem: Example
31 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Single flow: Ford Fulkerson algorithm
32 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Single flow: Variations
33 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Multi-commodity flow
single network?
edges
34
Garg & Konemann, Faster and simpler algorithms for multicommodity flow and other fractional packing problems
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Multi-commodity flow: Variations
commodities
its commodity
35 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Unsplittable flow
networking!
desirable or practical
problem becomes much harder
36 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Unsplittable flow: Some results
given
granted or rejected
structure of commodities and demands, etc.
37 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Intermediate summary
NFV chains
sites where to execute these chains
jointly)
38 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Overview
39 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
VNF chain as network to be embedded
graph/network
network: sources of client requests
network?
40 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Virtual network embedding
different kinds): CPUs, memory, data rate, latency, ...
41 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Virtual network embedding, variations
leaving again (online thinking)
42 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Virtual network embeddeding, solution approaches
mapping
mapping in one step
43 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Virtual network embedding, a one-step approach
virtual network and the actual topology
44
f is an isomorphism between graphs G=(VG, EG) and H =(VH, EH) if and only if for any nodes u, v 2 VG: (u, v) 2 EG $ ( f(u), f(v) ) 2 EH
2 EG $ ( f(u), f(v) ) 2 PH, where PH is the set of paths of graph H
isomorphic to some subgraph
http://en.wikipedia.org/wiki/ Graph_isomorphism
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
One-step embedding: Approach
to real network's actual locations of clients
45
Lischka, Karl: A virtual network mapping algorithm based on subgraph isomorphism detection
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
One-step embedding: Example
46 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Intermediate summary: VNF and network embedding?
VNFs
aspects with placing of nodes
47 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Overview
48 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Embedding malleable networks
with paths)
nodes, try to embed it, ...
capacities, ...
49 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Embedding malleable networks: Idea 2
how much load can a VNF instance handle, how many
new instances if load cannot be handled or path capacities do not allow to reach the nodes
50
Keller, Robbert, Karl: Template Embedding: Using Application Architecture to Allocate Resources in Distributed Clouds
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Virtual Network Embedding (VNE)
51
Physical network Virtual network Placement & Embedding = & 1Tb/s 15 Server 200Mb/s FS BS
FS BS
(Application deployment structure)
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
VNE + demand adaptive scaling
52
Physical network Virtual (application) network
FS BS FS BS FS BS FS BS FS BS FS FS FS BS FS BS FS BS FS
virtual networks
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Idea: Abstract description for a virtual network
53
Physical network Virtual (application) network
FS BS FS BS FS BS FS BS FS BS FS FS FS BS FS FS BS FS BS
virtual networks
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
1 3 1 10
Idea: Abstract description for a virtual network
54
Virtual (application) network
FS BS FS BS FS BS FS BS FS BS FS FS FS BS FS FS BS FS BS
Template Graph User FS BS 60 Mb/s 200 Mb/s
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
VNE + demand adaptive scaling
55
FS BS
Substrate Graph Overlay Graph
FS
èone overlay per demand èadjusted
(network) Here: At most three user for one VM
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
VNE + demand adaptive scaling
56
FS BS
Substrate Graph Overlay Graph
FS FS
èone overlay per demand èadjusted
(network) Many users è 100s ovlys è 100x VNE Here: At most three user for one VM èmultiple
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Idea: Abstract overlay description
57
FS BS FS Template Graph User FS BS 1 3 1 10 Components
& Resource Requirement
Scaling properties Requirement 60 Mb/s describes FS BS FS FS …
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Evaluation: Compare embedding approaches
Challenger: TE
58
O v e r
G e n . C a n d i d a t e s VNE heuristic
infeasible best
Solutions Template Embedding
One solution
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
VNE vs TE: Runtime
59
300 1200 2100 3000
vnm)lib
ViGeo Game Web 5 8 10 12 5 8 10 12 5 8 10 12 6 12
runWime (V)
templates # user populations >1h
VNE TE SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
VNE vs TE: Success rate
60
In diagram:
atlanta norway ziE54 ta2 colt cogentco 5 8 1011 5 8 1011 5 8 1011 5 8 1011 5 8 1011 5 8 1011 0.0 0.2 0.4 0.6 0.8 1.0
VucceVV rate TE V1E
(15) (27) (65) (54) (153) (197) # user populations # nodes
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Template embedding & flexible chains: Current work
flexible ordering constraints
61 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Overview
62 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Testbeds
Alien, ...?)
63 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Application Deployment Toolkit
OpenStack, Open Nebular
64 http://www.cs.uni-paderborn.de/fachgebiete/fachgebiet-rechnernetze/people/matthias-keller/adt.html
Adaptation Testbed GeoDist Testbed
OpenStack
Cloud Controller
Application Deployment T
Steering-
Controller
Adaptation
Plugin
Resource
Manager
T
Manager
Traffic
Manager
TG Switch VM TG VM Host1 Hostn nova comp./
KVM
netem nova comp./
KVM
netem
Control Panel
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
ADT v2
65 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Scaling up: Maxinet
66
https://github.com/MaxiNet/MaxiNet
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Currently: ContainerNet
containers in virtual topology
resources!
SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms 67
Scenarios?
like
68 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
Conclusions
architecturally challenging area
what is really needed!
new chains, …
69 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms
References
https://www.mendeley.com/groups/6763981/networkfunctionvirtuali zation/
https://www.mendeley.com/groups/6764011/distributedcloudcomp uting/
70 SS 19, v1.1 FI: Ch 5b - NFV Foundations & Algorithms