on the impact of the network hypervisor on virtual network … › ct › stefan ›...

17
Chair of Communication Networks Department of Electrical and Computer Engineering Technical University of Munich ©2019 Technical University of Munich On The Impact of the Network Hypervisor on Virtual Network Performance Andreas Blenk*, Arsany Basta*, Wolfgang Kellerer*, Stefan Schmid° *Technical University of Munich, Germany °Faculty of Computer Science, University of Vienna, Austria IFIP Networking 2019

Upload: others

Post on 06-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

Chair of Communication NetworksDepartment of Electrical and Computer EngineeringTechnical University of Munich

©2019 Technical University of Munich

On The Impact of the Network Hypervisor on Virtual

Network Performance

Andreas Blenk*, Arsany Basta*, Wolfgang Kellerer*, Stefan Schmid°

*Technical University of Munich, Germany

°Faculty of Computer Science, University of Vienna, Austria

IFIP Networking 2019

Page 2: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

Introducing New Networking Solutions

2

SDN-based

Solution

Solution

Testing

Test Results vs

Production Traffic Tests

Control Plane (CP)

Easier to

verify

Ctrl. Routing

is more

efficient

T-CP P-CP

Update

Needed!

Hypervisor

Samples

Perf

orm

ance

Performance

is worse than

expected!

Why???

Test

Real

But How?

Govindan et al. 2016. Evolve or Die: High-Availability Design Principles Drawn from Googles Network Infrastructure. In Proceedings of the 2016 ACM SIGCOMM Conference

(SIGCOMM ’16). ACM, New York, NY, USA, 58–72.

Canary testing as used by

Google [Govindant et al.]

90% Traffic10% Traffic

Page 3: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

Motivation: What happens in case of overload?

3

Web Page Load Event

Pag

e L

oad

Tim

es [

ms

]

Hypervisor itself can be source of unpredictability!

CPU

This talk: A tool to analyze hypervisors and a performance

evaluations of hypervisors!

Page 4: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

Network Hypervisor Architectures

4

Interference?

Predictable?

Idea:

Combine Network

Virtualization and

Software Defined

Networking

Network Virtualization Software Defined Networking

Page 5: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

Hypervisor Network Function Implementations: FV vs OVX

5

Translation: Changes only CP information

Abstraction: 1-to-1 Mapping

Main work done by single thread

Translation: Rewrites message headers

Abstraction: 1-to-1 Mapping, Big Switch

Applies multi-threading for tasks

Page 6: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

Performance Analysis of Existing Network Hypervisor Architectures

6

51 Packets/second! [FlowVisor]

1 Tenant only! [Onvisor2018]

Switch-to-controller only!

[OVX]

No detailed performance study! Why? No Tool available!

“Andreas, SDN Network

Hypervisors are still ahead of

time … the industry is not yet

ready for them“ Rob Sherwood,

Facebook

Page 7: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

From non-virtualized SDN networks to virtualized SDN networks

Switch Benchmarks

7

Challenge: Coordination and emulation complexity

Goal: One tool emulating single tenant, single switch, multi-tenant, multi-switch

No doubt, great tools are available: OFLOPS, … but

Page 8: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

Multi-tenant/multi-switch emulation

Traffic modeling: inter-arrival time, burstiness

Modular measurements: either controller(s), switch(es), or

both entities

OF 1.0 and 1.3

perfbench [1,2,3]

8

https://github.com/tum-lkn/perfbench

Open

Source!

[1] A. Blenk, A. Basta, L. Henkel, J. Zerwas, S. Schmid, W. Kellerer, perfbench: A Tool for Predictability Analysis in Multi-Tenant Software Defined Networks. ACM

SIGCOMM 2018 Conference Posters and Demos, 2018,

[2] A. Basta, A. Blenk, S. Dudycz, A. Ludwig, S. Schmid ,Efficient Loop-Free Rerouting of Multiple SDN Flows. IEEE/ACM Transactions on Networking 26 (2),

2018, pp. 948-961

[3] A. Blenk, A. Basta, W. Kellerer, S. Schmid, On the Impact of the Network Hypervisor on Virtual Network Performance .IFIP Networking, Poland, Warsaw,

2019, pp. 1-9

Page 9: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

9

perfbench in action

Page 10: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

perfbench in action: setting

10

Container

FlowVisor

Container

Open vSwitch

Container

influxdb

Container

grafana

Container

perfbench

Page 11: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

Testbed setups

11

With OVS

Perfbench switch

emulation

FLOW_MOD

High message rates!

10000 new flows in

data centers per

second [DCinTheWild]

Different OF

Message types

Varying the

number of tenants

and switches!

PACKET_IN

Page 12: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

Virtualization: What does it cost? (PACKET_IN)

12

OVS < FV < OVX

Latency of PACKET_IN: OVS < FV < OVX

Not inline with original papers

Page 13: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

Impact of tenant controller behaviors (FLOW_MOD)

13

Tenant controller behavior (Delay vs No Delay) determines latency

15k – 30k: processing of hypervisor determines latency

Page 14: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

OVX impact of number of tenants (FLOW_MOD)

14

Overutilization: With 100 tenants and 10000 FLOW_MOD messages per second

Latency becomes high – worse service level agreements, unpredictable

Page 15: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

Future Work: How to evaluate Fairness? (FV, FLOW_MOD)

15

Already 20 tenants show a notable

latency gap of 5 ms (high variance)

The more switches and controllers,

the less predictable

Take maximum difference of median values

Page 16: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

Programmable network virtualization important: testing, slicing, guarantees, isolation, flexibility

But: Network Hypervisor itself can introduce unpredictability! Potential showstopper!

Hence, deep understanding of architectures realizing programmable virtual networks

important!

This research:

Benchmarking virtual environments is important … but not trivial

This paper:

A tool for benchmarking virtual SDN networks

Performance insights in hypervisor implementation aspects

Conclusion

16

Page 17: On The Impact of the Network Hypervisor on Virtual Network … › ct › stefan › ifip19hypervisor... · 2019-06-16 · Programmable network virtualization important: testing,

17

Thank you!

Questions?