26
Performance of Network Virtualization in Cloud Computing Infrastructures: The OpenStack Case. Franco Callegati, Walter Cerroni, Chiara Contoli, Giuliano Santandrea Dept. of Electrical, Electronic and Information Engineering University of Bologna – Italy [email protected]

Performance of Network Virtualization in Cloud Computing

  • Upload
    letuong

  • View
    225

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Performance of Network Virtualization in Cloud Computing

Performance of Network Virtualization in Cloud Computing Infrastructures: The

OpenStack Case.

Franco Callegati, Walter Cerroni, Chiara Contoli, Giuliano Santandrea

Dept. of Electrical, Electronic and Information Engineering

University of Bologna – Italy [email protected]

Page 2: Performance of Network Virtualization in Cloud Computing

Context

•  Middlebox virtualization will enhance flexibility and configurability in the networks, with the help of Software defined networking (SDN) and Network function virtualization (NFV) paradigms

•  Evolution of future internet architecture will take advantage of cloud computing

•  The cloud computing infrastructure will determine the performance of the networking environment

•  Do the virtualized network functions pose limitations? •  We want to:

•  investigate performance of a cloud virtual network infrastructure (VNI) and identify the critical bottlenecks

•  isolate the performance of the single components of the VNI •  investigate performance of a multi-tenant NFV scenario

2

Page 3: Performance of Network Virtualization in Cloud Computing

OpenStack

Open-source cloud management platform manages a cluster of hosting servers executing different

Hypervisors (Vmware, KVM, Xen) Cloud customers can instantiate computing, storage and

network resources a virtual topology can be created, composed of virtual servers and

virtual network appliances

3 http://www.openstack.org

Page 4: Performance of Network Virtualization in Cloud Computing

Our Test-bed

4

gateway

Compute node

Controller

Network node

br-data

br-int linux

bridge

VM

br-data

br-int

br-ex

br-data

br-int

External net

Management net

Data net

public net

Internet

Page 5: Performance of Network Virtualization in Cloud Computing

VNI: OpenStack Compute Node w/ 2 VMs

5

Screenshot taken from ShowMyNetworkState. Available: https://sites.google.com/site/showmynetworkstate

Page 6: Performance of Network Virtualization in Cloud Computing

VNI: OpenStack Network Node

6

Screenshot taken from ShowMyNetworkState. Available: https://sites.google.com/site/showmynetworkstate

data network

Page 7: Performance of Network Virtualization in Cloud Computing

Experiments

•  evaluate the network performance under critical traffic conditions and assessed

•  maximum sustainable packet rate, maximum bandwidth •  A traffic source (RUDE/CRUDE) sends a UDP flow to a destination:

•  packet rate = 1K-100K [pps], Ethernet payload = 64B / 1500B •  The destination measures the received packet-rate/throughput •  Because of R/C implementation, granularity is lower at higher packet rates •  Fixed rate background traffic: Iperf3 •  Benchmark: back-to-back connection between physical hosts •  Hardware:

•  Tower PCs: HP Compaq 6200 Pro (2 CPU cores, 4 GB RAM) •  OpenStack compute node (8 logical cores, 8GB RAM) •  Gigabit Ethernet cards

7

Page 8: Performance of Network Virtualization in Cloud Computing

Scenarios

Openstack scenarios Benchmark

2 VMs in 1 OpenStack compute node

2 VMs in 2 OpenStack compute nodes

Page 9: Performance of Network Virtualization in Cloud Computing

Scenarios

9

Non-Openstack scenarios

4 colocated VMs background traffic

Linux bridge

4 colocated VMs background traffic

Open vSwitch Bridge

4 colocated VMs 2 flows,

Open vSwitch

BG

BG

2 colocated VMs Linux Bridge

2 colocated VMs Open vSwitch Bridge

VM to physical host

Page 10: Performance of Network Virtualization in Cloud Computing

Benchmark

10

NIC physical bandwidth limit for 1500B packet size

packet processing limit for 64B packet size

IP throughput = 1 Gbps * (1500/1538) = ~ 975 Mbps OK!

Page 11: Performance of Network Virtualization in Cloud Computing

OpenStack scenario

11

64B

1500B

resorce contention causes the performance bottleneck

Page 12: Performance of Network Virtualization in Cloud Computing

OpenStack scenario

12

64B

1500B

Workload: shared between the hosts computational overhead for small packets

Page 13: Performance of Network Virtualization in Cloud Computing

Linux bridge

13

64B

1500B

Linux Bridge: performance degradation!

Page 14: Performance of Network Virtualization in Cloud Computing

Open vSwitch

14

64B

1500B

Open vSwitch no performance degradation

deviates later from the benchamrk

Page 15: Performance of Network Virtualization in Cloud Computing

Physical receiver

15

As good as the benchmark

1500B

Page 16: Performance of Network Virtualization in Cloud Computing

Linux Bridge with BG traffic

16

Additive effect of the background traffic

BG

BG

1500B

Page 17: Performance of Network Virtualization in Cloud Computing

Background traffic comparison

17

Comparison: •  effect of the additive traffic on both bridges

•  OVS performs better than LB

BG

BG

1500B

Page 18: Performance of Network Virtualization in Cloud Computing

Two RUDE/CRUDE flows

18

the bandwidths overlap at the saturation limit 30 Kpps + 30 Kpps < 80 Kpps (single-flow case)

Effect of the resource contention

BG

BG 2 flows

Page 19: Performance of Network Virtualization in Cloud Computing

Multi-tenant test scenario: NFV case study

19

OpenStack dashboard view when N = 4

Page 20: Performance of Network Virtualization in Cloud Computing

Performance evaluation

20

Tenant  N          

·∙·∙·∙          

Tenant  2          

Virtual Router

Tenant  1          UDP sender DPI

UDP receiver

•  Different numbers of tenants simultaneously active on the same compute node

•  Each sender generates UDP traffic ranging from 103 to 105 packets per second (pps), for both 64 and 1500-byte IP packet sizes

•  RUDE & CRUDE tool is used for traffic generation and detection •  All physical interfaces are Gigabit Ethernet network cards

Page 21: Performance of Network Virtualization in Cloud Computing

Packet rate – 1500 byte packets

21

Page 22: Performance of Network Virtualization in Cloud Computing

Packet rate – 64 byte packets

22

Page 23: Performance of Network Virtualization in Cloud Computing

Linux Bridge (LB) bypass on Compute Node

23

Page 24: Performance of Network Virtualization in Cloud Computing

Throughput – 64 byte packets w/ LB bypass

24

Page 25: Performance of Network Virtualization in Cloud Computing

Conclusion

•  Performance and complexity assessment of OpenStack virtual network infrastructure under multi-tenant scenario –  simple NFV chain implementation –  maximum bandwidth/sustainable packet rate

•  Cloud-based architecture poses some limitations to the network performance –  depends on the hosting hardware maximum capacity –  but also to the complex OpenStack virtual network architecture

•  Some of these limitations can be mitigated with a careful re-design of the virtual network infrastructure –  remove Linux bridge, used for tenant isolation functions –  implement filtering using OpenFlow rules in OVS

•  Such limits must be taken into account for any engineering activity in the virtual networking arena

25

Page 26: Performance of Network Virtualization in Cloud Computing

THANKS FOR YOUR ATTENTION!

QUESTIONS?

26