Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN -...

17
SDN - Accelerated Data Planes A comparison between fd.io and OVS/DPDK Thomas F Herbert SDN Group Red Hat

Transcript of Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN -...

Page 1: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

SDN - Accelerated Data Planes

A comparison between fd.io and OVS/DPDKThomas F Herbert

SDN GroupRed Hat

Page 2: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

Open vSwitch dataplane FD.IO/VPPOpen Flow Protocol matches and actions

Fast Path -- Linux Kernel Module

or

Accelerated

Fast Path Exact Match Cache -- Fastest

About 8K matches using linear search

Misses go to Slower MiniFlow Match -- Slower

Misses go to OFP Match Slowest

VPP fd.io

Graph based vector Processing Engine

Extensible via plugins

Includes complete IPv4 and IPv6 stack

Uses DPDK as packet engine

Being extended for vxLAN VTEP

DPDK

Page 3: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

Open vSwitch control plane differences FD.IO/VPP

Based on Open Flow

System of matches and tables with actions

Supports all common packet header fields

Actions

Change fields with some pushes and pops

Generally ODL/Netvirt/OVSDB

Open Stack - Neutron

VPP Plugin API

Restconf

ODL HoneyComb Agent

NetConf

Open Stack Neutron ML2

Management via OFP and OVSDB Management via Netconf/REST ODL Honecomb Agent

Page 4: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

OVS and FD.IO similaritiesDPDK based

Implemented in Software on Commodity Processors

Deployable in Compute node

Host to VM uses vhost-user

Container Support is through kernel via TAP

Page 5: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

Open vSwitch Architecture

DPDK User Space Summit 2015 Dublin

Page 6: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

Open vSwitch Architecture

DPDK User Space Summit 2015 Dublin

Page 7: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

Open vSwitch Architecture

DPDK User Space Summit 2015 Dublin

Page 8: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

How VPP WorksPacket Vector is Input to DPDK

Nodes on Graph Pipeline Process Packets According to Registered Dependencies

Additional Plugins can be Introduced to Create New Nodes

Examples

NSH VTEP

Page 9: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

Fd.io (VPP) Architecture

Page 10: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

Fd.io (VPP) Architecture

Page 11: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

Fd.io (VPP) Architecture

Page 12: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

Raw DPDK Performance

Intel® Open Network Platform Release 2.1 Performance Test Report

Page 13: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

Open vSwitch Performance w/DPDK

Intel® Open Network Platform Release 2.1 Performance Test Report

DPDK Can Scale OVS performance significantly particularly when multiple cores are used.

Page 14: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

Open vSwitch Performance

Intel® Open Network Platform Release 2.1 Performance Test Report

DPDK Can Accelerate OVS Well with Small Packet Sizes.

Page 15: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

Open vSwitch Performance

Intel® Open Network Platform Release 2.1 Performance Test Report

When passed through VM with vhost-user, DPDK/OVS may scale OK with simple forwarding with relatively small number of flows.

Page 16: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

VPP Performance

http://www.lightreading.com/nfv/nfv-tests-and-trials/validating-ciscos-nfv-infrastructure-pt-1/d/d-id/718684?page_number=8

● OVS may not scale well when the number of flows exceed 10,000 maybe due to exceeding the size of Exact Match Cache (EMC)

● However, according to NEANTC testing, VPP scales close to linearly.

● Also, the VPP architecture may hold promise for accelerating vxLAN/NSH in the VTEP case for SFC.

Page 17: Accelerated Data Red Hat Planes Thomas F Herbert SDN Group - …files.meetup.com/11007622/SDN - Accelerated Data Planes.pdf · 2016-04-15 · A comparison between fd.io and OVS/DPDK

References and CreditsVPP fd.io

Open Source Project: fd.io

http://www.lightreading.com/carrier-sdn/sdn-technology/the-future-is-networks-on-demand-says-cisco-chief-architect/d/d-id/721694

https://fd.io/technology

fd.io performance

http://www.lightreading.com/nfv/nfv-tests-and-trials/validating-ciscos-nfv-infrastructure-pt-1/d/d-id/718684?page_number=8

Open vSwitch/DPDK performance

https://download.01.org/packet-processing/ONPS2.1/Intel_ONP_Release_2.1_Performance_Test_Report_Rev1.0.pd

http://www.slideshare.net/harryvanhaaren/ovs-and-dpdk-tf-herbert-k-traynor-m-gray