nfv in cloud infrastructure - ready or not · nfv in cloud infrastructure - ready or not ......

63
NFV in Cloud Infrastructure - Ready or Not Bhavesh Davda Office of the CTO VMware, Inc.

Upload: lytram

Post on 30-May-2018

226 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

NFV in Cloud Infrastructure -Ready or Not

Bhavesh Davda

Office of the CTOVMware, Inc.

Page 2: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Outline

• Brief history of x86 virtualization

• The case for Network Functions Virtualization

• Hypervisor performance characteristics

• Challenges and Call to Action

Page 3: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

X86 Virtualization Timeline

1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 …

VMware founded

Workstation 1.0

ESX Server 1.0

ESX 2.0 (vSMP, 2vcpus)

x86-64

Intel VT-x

AMD-VAMD RVI

Intel EPT

Workstation 5.5 (64 bit guests)

ESX 3.0 (4 vcpus)

ESX 4.0 (8 vcpus)

ESX 3.5

Dual core

Fusion 1.0

ESXi 6.0

(128 vcpus,

4TB RAM)

Hardware Virtualization Support

Xen 1.0

First KVM

release in

RHEL5.4

Page 4: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

X86 Virtualization 1998-2006 (pre-hardware virtualization)

Direct Exec(user)

BT(kernel)

VMM

Faults, syscalls, interrupts

IRET, SYSRET

Page 5: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

X86 Virtualization 2006-present (hardware virtualization)

Ro

ot m

od

eG

ue

st m

od

e

Ring 3

Ring 0

VMexit

VMenter

Guest OS

Apps

VMM

Page 6: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

The State of VirtualizationDatacenter Workloads

Virtualized

Unvirtualized

Page 7: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

The State of VirtualizationDatacenter Workloads

Virtualized

Unvirtualized

60% 59% 58% 56% 56% 56% 53% 53% 51% 49%58%

0%

20%

40%

60%

80%

100%

Mic

roso

ft Exch

an

ge

Mic

roso

ft SQ

L

Mic

roso

ft Sh

are

Po

int

Oth

er M

issio

n-c

ritica

lA

pps

Hig

h P

erfo

rma

nce

Co

mp

utin

g

Oth

er M

idd

lew

are

Ora

cle

Ap

plic

atio

ns

SA

P

Ora

cle

Mid

dle

wa

re

Ora

cle

Da

tab

ases

Ave

rag

e

Business Critical Application

VirtualizationSource: Cloud Infrastructure Annual Primary Research, 2Q13 (N=576)

Page 8: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Outline

• Brief history of x86 virtualization

• The case for Network Functions Virtualization

• Hypervisor performance characteristics

• Challenges and Call to Action

Page 9: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Telecommunications

IMS

3GPP

architecture

SMSC

Mo

bile

Fix

ed

Wi-Fi

2/3/4G(LTE), CDMA

(Macrocells, BSC)Small cells

(Microcells)

PSTN, ADSL,

Docsis, WLL

Optical networks

FTTx, NGA

Ga

te

wa

ys

Radio network controllers(RNC (2G), nodeB (3G),

eNodeB (LTE, BSC))

Femtocells

FMC

Media (voice (MG))

Content delivery Networks (CDN)

MSAN → FSAN

(POTS, DSLAM,

OTN, ADMs)

SGW

MME HSS

PCRF

PGW

(PCEF)

ANDSFePDG

OCS

CSCF

MGCFMRF

Ap

plic

atio

ns

HSS/AAA

Me

dia

UC

VoIP

MMTel

VMail

IPTV

MC

Location

VoLTE

ISP (DNS, DHCP, IP management (DDI)

non-3GPP

networks

RCS(-e)

Inte

rne

tC

orp

ora

te

TA

SGi interface

ISP DMZ LAN

Border GW

router

Carrier NAT

Firewall

IPS

Load

balancing

Caching

Video optimisation

Antivirus

URL filtering

WAN optimisation

DPI

OSS, BSS and

SDP

Access

NetworksTransport Networks

External

Networks

Core

Networks

Page 10: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

NFV in a nutshell

Page 11: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

NFV Motivation: From Margin Erosion to Sustainable Profitability

ARPU

Cost per

Subscriber

OTT

ServicesNetwork

Investment

Funded by

CSP

Customer

$

$

Margin Erosion

Page 12: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

NFV Motivation: From Margin Erosion to Sustainable Profitability

Cloud

Platform

ARPU

Cost per

Subscriber

OTT

ServicesNetwork

Investment

Funded by

CSP

Customer

$

$

Margin Erosion Sustainable Profitability

Cloud Operating Model

Page 13: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

NFV Motivation: From Margin Erosion to Sustainable Profitability

Cloud

Platform

ARPU

Cost per

Subscriber

Service

Differentiation

Service

Agility

OTT

ServicesNetwork

Investment

Funded by

CSP

Customer

$

$

Margin Erosion Sustainable Profitability

Cloud Operating Model

Page 14: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

NFV Architecture

Operations and Business Support Systems (OSS / BSS)

Service, VNF & Infrastructure Description

Sample textCompute Hardware Storage Hardware Network Hardware

Virtual Compute Virtual Storage Virtual Network

Virtualization Layer

EMS1

VNF1

EMS2

VNF2 VNF3

Orchestrator

Virtual

Infrastructure

Manager

EMS3

VNF

Managers

NFVI

VNF

NFV M&O

Page 15: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Many Use Cases

Page 16: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Many Use Cases

Page 17: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Example Use Case: 4G LTE Network

• LTE Network Elements

X2

cell

LTE-Uu

LTE-UE

Evolved Node B

(eNB)

S6a

HSS

S1-MME

MME: Mobility Management Entity

PCRF: Policy & Charging Rule Function

S10S7

Rx+

SGi

S11

S1-U S5/S8

PDN GatewayServing Gateway

SAE Gateway

PDN

PCRF

MME

Evolved UTRAN(E-UTRAN)

Evolved Packet Core(EPC)

Page 18: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

LTE: vEPC – MME, PGW, SGW

VIRTUAL NETWORKVIRTUAL COMPUTING

COMPUTING HARDWARE

VIRTUAL STORAGE

STORAGE HARDWARE NETWORK HARDWARE

VIRTUALIZATION LAYER

NFV

ORCHESTRATOR

VIRTUALIZED

INFRASTRUCTURE

MANAGER

OSS/BSS

VNF A

EMS A

VNF

EMS

Generic

VNF Mgr

Deployed in production in multiple carriers worldwide

Page 19: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

LTE: vEPC – MME, PGW, SGW

VIRTUAL NETWORKVIRTUAL COMPUTING

COMPUTING HARDWARE

VIRTUAL STORAGE

STORAGE HARDWARE NETWORK HARDWARE

VIRTUALIZATION LAYER

NFV

ORCHESTRATOR

VIRTUALIZED

INFRASTRUCTURE

MANAGER

OSS/BSS

VNF A

EMS A

VNF

EMS

Generic

VNF Mgr

Deployed in production in multiple carriers worldwide

ESXi Hypervisor VSAN NSX

vCenter

vCloud

DirectorOpenStack

Page 20: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

LTE: vEPC – MME, PGW, SGW

VIRTUAL NETWORKVIRTUAL COMPUTING

COMPUTING HARDWARE

VIRTUAL STORAGE

STORAGE HARDWARE NETWORK HARDWARE

VIRTUALIZATION LAYER

NFV

ORCHESTRATOR

VIRTUALIZED

INFRASTRUCTURE

MANAGER

OSS/BSS

VNF A

EMS A

VNF

EMS VNF Vendor

EMS

Vendor’s

VNF Mgr(Optional)

Generic

VNF Mgr

PCRFMME/

SGSN

PGW/SGW/

GGSNHSS

Deployed in production in multiple carriers worldwide

ESXi Hypervisor VSAN NSX

vCenter

vCloud

DirectorOpenStack

Page 21: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

LTE: vEPC – MME, PGW, SGW

VIRTUAL NETWORKVIRTUAL COMPUTING

COMPUTING HARDWARE

VIRTUAL STORAGE

STORAGE HARDWARE NETWORK HARDWARE

VIRTUALIZATION LAYER

NFV

ORCHESTRATOR

VIRTUALIZED

INFRASTRUCTURE

MANAGER

OSS/BSS

VNF A

EMS A

VNF

EMS VNF Vendor

EMS

Vendor’s

VNF Mgr(Optional)

Generic

VNF Mgr

Service Orchestrator / Automation Platform

PCRFMME/

SGSN

PGW/SGW/

GGSNHSS

Deployed in production in multiple carriers worldwide

ESXi Hypervisor VSAN NSX

vCenter

vCloud

DirectorOpenStack

Page 22: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Outline

• Brief history of x86 virtualization

• The case for Network Functions Virtualization

• Hypervisor performance characteristics

• Challenges and Call to Action

Page 23: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Why performance is important to NFV

• NFV workloads different from enterprise / datacenter workloads

• NFV Performance & Portability Best Practices (ETSI GS NFV-PER 001) classification

– Data plane workloads: tasks related to packet handling in an end-to-end communication between edge applications…expected to be very intensive in I/O operations and memory R/W operations. E.g. CDN cache, router, IPsec tunneling

• High packet rates

– Control plane workloads: communication between NFs that is not directly related to the end-to-end data communication between edge applications, like session management, routing or authentication. Compared to data plane workloads, control plane workloads are expected to be much less intensive in terms of transactions per second, while the complexity of the transactions might be higher

• CPU and memory intensive

– Signal processing workloads: NF tasks related to digital processing such as the FFT decoding and encoding in a C-RAN Base Band Unit (BBU). Expected to be very intensive in CPU processing capacity and high delay-sensitive

• Latency and jitter sensitive

Page 24: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Interconnect

ESXi Networking Datapath Overview

Network

Switch

VMs

Virtual Switch

NICServer

Management

Agents

Background

Tasks

ESXi Hypervisor

Page 25: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Interconnect

ESXi Networking Datapath Overview

• Message copy from application to GOS (kernel)

Network

Switch

VMs

Virtual Switch

NICServer

Management

Agents

Background

Tasks

ESXi Hypervisor

Page 26: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Interconnect

ESXi Networking Datapath Overview

• Message copy from application to GOS (kernel)

• GOS (network stack) + vNIC driver queues packet for vNIC

Network

Switch

VMs

Virtual Switch

NICServer

Management

Agents

Background

Tasks

ESXi Hypervisor

Page 27: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Interconnect

ESXi Networking Datapath Overview

• Message copy from application to GOS (kernel)

• GOS (network stack) + vNIC driver queues packet for vNIC

• VM exit to VMM/Hypervisor

Network

Switch

VMs

Virtual Switch

NICServer

Management

Agents

Background

Tasks

ESXi Hypervisor

Page 28: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Interconnect

ESXi Networking Datapath Overview

• Message copy from application to GOS (kernel)

• GOS (network stack) + vNIC driver queues packet for vNIC

• VM exit to VMM/Hypervisor

• vNIC implementation emulates DMA from VM, sends to vSwitch

Network

Switch

VMs

Virtual Switch

NICServer

Management

Agents

Background

Tasks

ESXi Hypervisor

Page 29: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Interconnect

ESXi Networking Datapath Overview

• Message copy from application to GOS (kernel)

• GOS (network stack) + vNIC driver queues packet for vNIC

• VM exit to VMM/Hypervisor

• vNIC implementation emulates DMA from VM, sends to vSwitch

• vSwitch queues packet for pNIC

Network

Switch

VMs

Virtual Switch

NICServer

Management

Agents

Background

Tasks

ESXi Hypervisor

Page 30: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Interconnect

ESXi Networking Datapath Overview

• Message copy from application to GOS (kernel)

• GOS (network stack) + vNIC driver queues packet for vNIC

• VM exit to VMM/Hypervisor

• vNIC implementation emulates DMA from VM, sends to vSwitch

• vSwitch queues packet for pNIC

• pNIC DMAs packet and transmits on the wire

Network

Switch

VMs

Virtual Switch

NICServer

Management

Agents

Background

Tasks

ESXi Hypervisor

Page 31: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Interconnect

Guest OS bypass and hypervisor bypass

Network

Switch

VMs

Virtual Switch

NICServer

Management

Agents

Background

Tasks

ESXi Hypervisor

Hypervisor provides:• Live migration (vMotion)• Network virtualization (VXLAN, STT, Geneve)• Virtual network monitoring, troubleshooting, stats• High availability• Fault tolerance• Distributed resource scheduling• VM snapshots• Hot add/remove of devices, vCPUs, memory

Page 32: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Interconnect

Guest OS bypass and hypervisor bypass

Network

Switch

VMs

Virtual Switch

NICServer

Management

Agents

Background

Tasks

ESXi Hypervisor

Hypervisor provides:• Live migration (vMotion)• Network virtualization (VXLAN, STT, Geneve)• Virtual network monitoring, troubleshooting, stats• High availability• Fault tolerance• Distributed resource scheduling• VM snapshots• Hot add/remove of devices, vCPUs, memory

Guest OS bypass

Page 33: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Interconnect

Guest OS bypass and hypervisor bypass

Network

Switch

VMs

Virtual Switch

NICServer

Management

Agents

Background

Tasks

ESXi Hypervisor

Hypervisor provides:• Live migration (vMotion)• Network virtualization (VXLAN, STT, Geneve)• Virtual network monitoring, troubleshooting, stats• High availability• Fault tolerance• Distributed resource scheduling• VM snapshots• Hot add/remove of devices, vCPUs, memory

Guest OS bypass

Hypervisor bypass

Page 34: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Interconnect

Guest OS bypass and hypervisor bypass

Network

Switch

VMs

Virtual Switch

NICServer

Management

Agents

Background

Tasks

ESXi Hypervisor

Hypervisor provides:• Live migration (vMotion)• Network virtualization (VXLAN, STT, Geneve)• Virtual network monitoring, troubleshooting, stats• High availability• Fault tolerance• Distributed resource scheduling• VM snapshots• Hot add/remove of devices, vCPUs, memory

Guest OS bypass

Hypervisor bypass

Page 35: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

The Latency Sensitivity Feature in vSphere 5.5

HypervisorHypervisor

Page 36: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

The Latency Sensitivity Feature in vSphere 5.5

Latency-sensitivity Feature

– Minimize virtualization overhead

– Achieve near bare-metal performance

Latency-sensitivity

HypervisorHypervisor

Page 37: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

ESXi 5.5 Latency and Jitter Improvements

• New virtual machine property: “Latency sensitivity”

– High => lowest latency

– Medium => low latency

• Exclusively assign physical CPUs to virtual CPUs of “Latency Sensitivity = High” VMs

– Physical CPUs not used for scheduling other VMs or ESXi tasks

• Idle in Virtual Machine monitor (VMM) when Guest OS is idle

– Lowers latency to wake up the idle Guest OS, compared to idling in ESXi vmkernel

• Disable vNIC interrupt coalescing

• For DirectPath I/O, optimize interrupt delivery path for lowest latency

• Make ESXi vmkernel more preemptible

– Reduces jitter due to long-running kernel code

Page 38: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

ESXi 6.0 Network Latencies and Jitter

Single 4-vCPU VM to Native, Ubuntu 14.04 LTS, RTT from ‘ping –i 0.00001 –c 1000000’

Intel Xeon E5-2697 v2 @ 2.70 GHz, Intel 82599EB PNIC

0

10

20

30

40

50

60

Avg

Ro

un

d-t

rip

Tim

e (

mic

roseco

nd

s)

Native

SR-IOV

SR-IOV LS

VMXNET3

VMXNET3 LS

0

2

4

6

8

10

12

Standard Deviation

Native

SR-IOV

SR-IOV LS

VMXNET3

VMXNET3 LS

Page 39: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

ESXi Real-time Virtualization Performance

ISR

Latency

Interrupt

period

ISRISR

Jitter

• cyclictest –p 99 –a 1 –m –n –D 10m –q

ESXi 5.0 ESXi 6.0

Min 5 μs

Max 1676 μs

Avg 13 μs

Min 2 μs

Max 78 μs

Avg 4 μs

99%-ile 56 μs 99%-ile 5 μs

99.99%-ile 118 μs 99.99%-ile 7 μs

Page 40: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

ESXi MPI InfiniBand Latencies

0

0.5

1

1.5

2

2.5

3

3.5

1 2 4 8 16 32 64 128 256 512 1024

Half

Ro

un

d-t

rip

Late

ncy (

µs)

Message size (bytes)

MPI PingPong Latency

Native

ESX 5.5

ESX 6.0

ESX 6.0u1

osu_latency

benchmark

Open MPI 1.6.5

MLX OFED 2.2

RedHat 6.5

HP DL380p Gen8

Mellanox FDR

InfiniBand

Page 41: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Data Plane Development Kit (DPDK)Libraries for network application development on Intel Platforms

• Speeds up networking functions

• Enables user space application development

• Facilitates both run-to-completion and pipeline models

Free, Open-sourced, BSD Licensed

• Git: http://dpdk.org/git/dpdk

Scales from Intel Atom to multi-socket Intel Xeon architecture platforms

Rich selection of pre-built example applications

EAL

MALLOC

MBUF

MEMPOOL

RING

TIMER

Core

Libraries

KNI

POWER

IVSHMEM

PlatformPacket Access

(PMD- Native & Virtual)

DPDK Sample

Applications

Linux Kernel

User Space

KNI IGB_UIO

Customer ApplicationsISV Eco-System

Applications

QoS

METER

SCHED E1000

IXGBE

VMXNET

3

IGB

I40e

VIRTIO

ETHDEV

XENVIRT

PCAP

RING

3rd Party

NIC

LPM

EXACT

MATCH

ACL

Classify

Page 42: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Data Plane Development Kit (DPDK)Libraries for network application development on Intel Platforms

• Speeds up networking functions

• Enables user space application development

• Facilitates both run-to-completion and pipeline models

Free, Open-sourced, BSD Licensed

• Git: http://dpdk.org/git/dpdk

Scales from Intel Atom to multi-socket Intel Xeon architecture platforms

Rich selection of pre-built example applications

EAL

MALLOC

MBUF

MEMPOOL

RING

TIMER

Core

Libraries

KNI

POWER

IVSHMEM

PlatformPacket Access

(PMD- Native & Virtual)

DPDK Sample

Applications

Linux Kernel

User Space

KNI IGB_UIO

Customer ApplicationsISV Eco-System

Applications

Sta

ndard

Lib

raries for

arr

ays,

buffers

, rings

Pla

tform

Lib

raries

IP inte

rface,

Pow

er,

Share

d

Mem

ory

QoS

METER

SCHED E1000

IXGBE

VMXNET

3

IGB

I40e

VIRTIO

ETHDEV

XENVIRT

PCAP

RING

3rd Party

NIC

Ethernet Poll Mode

Drivers for HW and

Virtual HW

Qualit

y o

f

Serv

ice LPM

EXACT

MATCH

ACL

Classify

Cla

ssific

ation

Alg

orith

ms

(Pattern

Matc

hin

g)

Page 43: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

DPDK in vSphere ESXi Environment

Page 44: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

DPDK in vSphere ESXi Environment

VMware ESXi

vSwitch

Virtual Machine

Linux Kernel

Unmodified App

VM

XN

ET

3

No bypass

Page 45: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

DPDK in vSphere ESXi Environment

VMware ESXi

vSwitch

Virtual Machine

Linux Kernel

Unmodified App

VM

XN

ET

3

VMware ESXi

vSwitch

Virtual Machine

Linux Kernel

DPDK App

VM

XN

ET

3

No bypass Guest OS bypass

Page 46: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

DPDK in vSphere ESXi Environment

VMware ESXi

vSwitch

Virtual Machine

Linux

Kernel

DPDK App

IXG

BE

VMware ESXi

vSwitch

Virtual Machine

Linux Kernel

Unmodified App

VM

XN

ET

3

VMware ESXi

vSwitch

Virtual Machine

Linux Kernel

DPDK App

VM

XN

ET

3

Virtual Machine

Linux

Kernel

DPDK App

IXG

BE

VF

DirectPath I/O

SR-IOVNo bypass Guest OS bypass

Guest OS bypass +Hypervisor bypass

Page 47: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

DPDK in vSphere ESXi Environment

VMware ESXi

vSwitch

Virtual Machine

Linux

Kernel

DPDK App

IXG

BE

VMware ESXi

vSwitch

Virtual Machine

Linux Kernel

Unmodified App

VM

XN

ET

3

VMware ESXi

vSwitch

Virtual Machine

Linux Kernel

DPDK App

VM

XN

ET

3

Virtual Machine

Linux

Kernel

DPDK App

IXG

BE

VF

DirectPath I/O

SR-IOVNo bypass Guest OS bypass

Guest OS bypass +Hypervisor bypass

Page 48: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Unrealistic Performance Characterization Benchmark Application

pNIC1

pNIC2

VNF VM

running

DPDK

l2fwd

vNIC1

vNIC2

Virtual

network

connection

Hypervisor

Packet

Generator

64-byte UDP

single flow

pNIC1

pNIC2

Physical 10G

switchVirtual

network

connection

Page 49: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Unrealistic Performance Characterization Benchmark Application

pNIC1

pNIC2

VNF VM

running

DPDK

l2fwd

vNIC1

vNIC2

Virtual

network

connection

Hypervisor

Packet

Generator

64-byte UDP

single flow

pNIC1

pNIC2

Physical 10G

switchVirtual

network

connection

1. No packet processing in the VM

Page 50: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Unrealistic Performance Characterization Benchmark Application

pNIC1

pNIC2

VNF VM

running

DPDK

l2fwd

vNIC1

vNIC2

Virtual

network

connection

Hypervisor

Packet

Generator

64-byte UDP

single flow

pNIC1

pNIC2

Physical 10G

switchVirtual

network

connection

1. No packet processing in the VM2. No memory or cache accesses in VM

Page 51: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Unrealistic Performance Characterization Benchmark Application

pNIC1

pNIC2

VNF VM

running

DPDK

l2fwd

vNIC1

vNIC2

Virtual

network

connection

Hypervisor

Packet

Generator

64-byte UDP

single flow

pNIC1

pNIC2

Physical 10G

switchVirtual

network

connection

1. No packet processing in the VM2. No memory or cache accesses in VM3. Port-to-port packet forwarding best done on physical switch via ASICs

Page 52: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Unrealistic Performance Characterization Benchmark Application

pNIC1

pNIC2

VNF VM

running

DPDK

l2fwd

vNIC1

vNIC2

Virtual

network

connection

Hypervisor

Packet

Generator

64-byte UDP

single flow

pNIC1

pNIC2

Physical 10G

switchVirtual

network

connection

1. No packet processing in the VM2. No memory or cache accesses in VM3. Port-to-port packet forwarding best done on physical switch via ASICs4. No real telco network has only 64-byte UDP packets for a single flow

Page 53: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Unrealistic Performance Characterization Benchmark Application

pNIC1

pNIC2

VNF VM

running

DPDK

l2fwd

vNIC1

vNIC2

Virtual

network

connection

Hypervisor

Packet

Generator

64-byte UDP

single flow

pNIC1

pNIC2

Physical 10G

switchVirtual

network

connection

1. No packet processing in the VM2. No memory or cache accesses in VM3. Port-to-port packet forwarding best done on physical switch via ASICs4. No real telco network has only 64-byte UDP packets for a single flow

“Congratulations! You do no nothing faster than anyone else!”[Lori MacVittie, f5, 2010-13-10]

Page 54: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Realistic Performance Characterization Benchmark Application

Intel Virtualized Broadband Remote Access Server (dppd)

Page 55: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

I/O Device

4VMs

Hypervisor

HW

1 2 3

NUMA0 NUMA1

Thread

NUMA I/O

Page 56: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

I/O Device

4VMs

Hypervisor

HW

1 2 3

NUMA0 NUMA1

Thread

I/O Device

41 2 3

NUMA0 NUMA1

Thread

NUMA I/O

Affinity

Page 57: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Improvement due to NUMA I/O

• Test Setup:

• 1 VM, 1vCPU

• NUMA: 2 sockets

• Workload: TCP bulk, 4 sessions

• I/O Device: Mellanox40GigE

Transmit Receive

Page 58: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

0

5

10

15

20

0

10

20

30

40

Default NUMA I/O Default NUMA I/O

CP

U U

tiliz

ation/G

bps

Thro

ughput

(Gbps)

Throughput, CPU efficiency

Throughput CPU16%

24%

Improvement due to NUMA I/O

• Test Setup:

• 1 VM, 1vCPU

• NUMA: 2 sockets

• Workload: TCP bulk, 4 sessions

• I/O Device: Mellanox40GigE

Transmit Receive

Page 59: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

0

5

10

15

20

0

10

20

30

40

Default NUMA I/O Default NUMA I/O

CP

U U

tiliz

ation/G

bps

Thro

ughput

(Gbps)

Throughput, CPU efficiency

Throughput CPU16%

24%

10%

19%

Improvement due to NUMA I/O

• Test Setup:

• 1 VM, 1vCPU

• NUMA: 2 sockets

• Workload: TCP bulk, 4 sessions

• I/O Device: Mellanox40GigE

Transmit Receive

Page 60: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

NFV Challenges and Call to Action

• Performance focus

– Reminiscent of the move from PSTN to VOIP

– Shift from using unrealistic benchmarks

• Orchestration

• Matching reality to expectations

• Incumbent pushback

Page 61: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

NFV Challenges and Call to Action

• Performance focus

– Reminiscent of the move from PSTN to VOIP

– Shift from using unrealistic benchmarks

• Orchestration

• Matching reality to expectations

• Incumbent pushback

Design NFV Infrastructure for both existing applications and hardware platforms as well as unknown future applications and hardware platforms

The IP Hourglass (Steve Deering, Dave Clark)

Page 62: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

NFV Challenges and Call to Action

• Performance focus

– Reminiscent of the move from PSTN to VOIP

– Shift from using unrealistic benchmarks

• Orchestration

• Matching reality to expectations

• Incumbent pushback

Design NFV Infrastructure for both existing applications and hardware platforms as well as unknown future applications and hardware platforms

Improve OS and hypervisor performance instead of bypassing and losing capabilities

The IP Hourglass (Steve Deering, Dave Clark)

Page 63: NFV in Cloud Infrastructure - Ready or Not · NFV in Cloud Infrastructure - Ready or Not ... Source: Cloud Infrastructure Annual Primary Research, 2Q13 ... (EPC) LTE: vEPC

Thank you!

[email protected]