SlideShare a Scribd company logo
© 2017 Mellanox Technologies 1
OpenStack Day Israel 2017
Erez Cohen, VP CloudX Program
Can Open vSwitch Bottlenecks Be Resolved?
© 2017 Mellanox Technologies 2
What Is vSwitch?
▪ Virtual Switch (vSwitch) provides switching (and sometime routing) services to VMs within a host
▪ Open vSwitch (OVS) is the most popular vSwitch
• Flow based switch/router
▪ vSwitch is typically controlled by an SDN controller
Para-Virtualized
NIC
Hypervisor
vSwitch
VM VM
© 2017 Mellanox Technologies 3
vSwitch Challenges
▪ Message per second
▪ Latency
▪ Jitter
▪ CPU overhead
Para-Virtualized
NIC
Hypervisor
vSwitch
VM VM
Challenging For Network Demanding Applications (i.e., NFV)
• Slow
• Unpredictable
• Inefficient
Executed on the
main x86 CPU
© 2017 Mellanox Technologies 4
The Solution: Hardware Acceleration!
▪ Virtualization, Containers and Software defined Networks are key for todays clouds
▪ SDN solutions provide (almost) the needed functionality but lacking the performance
▪ To gain both flexibility and cost efficiency Hardware Acceleration is needed
HW Acceleration Can Reduce Servers Footprint by 10x to 100x
Software Software + Hardware Acceleration
© 2017 Mellanox Technologies 5
Hardware Acceleration Challenges
▪ Many different HW architectures
▪ Operating systems support
▪ Orchestration support
▪ Application level support
© 2017 Mellanox Technologies 6
Top Down Architecture
▪ Top down architecture is very challenging
• Very comprehensive (not only network)
• Many layers: orchestration, virtualization, OS, hardware
• A lot of intergroup projects dependencies
▪ Multiple attempts, non materialized
© 2017 Mellanox Technologies 7
Bottom Up, Open Source Architecture
▪ Hardware to implement common, low level building blocks
▪ Define APIs in open source consortiums such as Linux Kernel
▪ Integration into high level open source frameworks and application such as OpenStack and OVS
© 2017 Mellanox Technologies 8
OVS Acceleration
▪ Hardware enablement
• Powerful, flexible and programmable flow based switch in NIC
© 2017 Mellanox Technologies 9
Para-Virtualized SR-IOV
▪ PCIe device presents multiple instances to the OS/Hypervisor
▪ Enables Application Direct Access
• Bare metal performance for VM
• Reduces CPU overhead
▪ Enable RDMA to the VM
• Low latency applications benefit from the Virtual infrastructure
A word about Single Root I/O Virtualization (SR-IOV)
Bare Metal
Latency
Bare Metal
BW
NIC
Hypervisor
vSwitch
VM VM
SR-IOV NIC
Hypervisor VM VM
eSwitch
Physical Function
(PF)
Virtual Function
(VF)
© 2017 Mellanox Technologies 10
OVS Offload / Acceleration with ASAP2
OVS Offload OVS acceleration
© 2017 Mellanox Technologies 11
Application Acceleration with ASAP2
ConnectX 4 eSwitch
VM
Hypervisor
OVS
SR-IOV
VF
DataPath
PF
TC/DPDKOffload
Application
Application
Acceleration
© 2017 Mellanox Technologies 12
Open Source Communities Impacted
▪ Linux kernel community
• Representor ports
• TC (Traffic Control) HW offload (flower)
▪ DPDK community
• Flow offload directly from DPDK
▪ OVS user space community
• Policy mechanism
• Flow offload via TC / DPDK
▪ OpenStack community
• OVS ML2 driver to bind with Direct port type
HW Vendor Agnostic!
© 2017 Mellanox Technologies 13
OVS over DPDK VS. OVS Offload
▪ Zero CPU utilization on hypervisor
compared to 2 cores with OVS over
DPDK
• Same CPU load on VM
Test OVS DPDK ASAP2 Direct
1 Flow 7.6M PPS 33M PPS
60K flows 1.9M PPS 16.4M PPS
© 2017 Mellanox Technologies 14
Status And Availability
▪ Linux kernel fully upstream (kernel 4.13 and newer)
▪ OVS user space in final integration phases
▪ DPDK APIs upstream
▪ OpenStack blueprints and patches submitted and
tentatively accepted
• Pending OVS user space
▪ key Linux and OpenStack distributions backporting,
integrating and testing
© 2017 Mellanox Technologies 15
Additional Potential Usage For ASAP2 - Cloudigo
▪ Cloudigo - Serverless Network Services
20% Other…
CLOUDIGO SW PROGRAMMABLE ENGINE
NAT FW DDoS LB
User
Defined
ASIC Layer - NIC Adapter
Offload Learning Engine
© 2017 Mellanox Technologies 16
Additional Potential Usage For ASAP2
▪ vSwitches/vRouters
• FD.IO / VPP
• OpenContrail / vRouter
▪ Application / VNFs
• vRouters
• CDNs
• vBRAS
• vRAN
• And many more
© 2017 Mellanox Technologies 17
Thank You
Erez Cohen: erezc@mellanox.com

More Related Content

PPTX
OpenStack Discovery and Networking Assurance - Koren Lev - Meetup
PPTX
OpenDaylight Netvirt and Neutron - Mike Kolesnik, Josh Hershberg - OpenStack ...
PDF
OpenStack and OpenDaylight: An Integrated IaaS for SDN/NFV
PPTX
Superfluidity, Infrastructure for mixed workloads in Mobile Edge Computing - ...
PPTX
OpenStack Israel Meetup - Project Kuryr: Bringing Container Networking to Neu...
PPTX
High performace network of Cloud Native Taiwan User Group
PPTX
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
PPTX
OpenContrail deployment experience
OpenStack Discovery and Networking Assurance - Koren Lev - Meetup
OpenDaylight Netvirt and Neutron - Mike Kolesnik, Josh Hershberg - OpenStack ...
OpenStack and OpenDaylight: An Integrated IaaS for SDN/NFV
Superfluidity, Infrastructure for mixed workloads in Mobile Edge Computing - ...
OpenStack Israel Meetup - Project Kuryr: Bringing Container Networking to Neu...
High performace network of Cloud Native Taiwan User Group
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
OpenContrail deployment experience

What's hot (20)

PDF
Using OpenContrail with Kubernetes
PDF
The Open vSwitch and OVN Projects
PDF
Open vSwitch Introduction
PPTX
Orchestration Tool Roundup - Arthur Berezin & Trammell Scruggs
PDF
OpenStack Networks the Web-Scale Way - Scott Laffer, Cumulus Networks
PDF
See what happened with real time kvm when building real time cloud pezhang@re...
PPTX
Meetup 23 - 02 - OVN - The future of networking in OpenStack
PDF
Accelerating SDN Applications with Open Source Network Overlays
PPTX
Cloud Networking - Leaving the Physical Behind - Omer Anson - OpenStack Day I...
PDF
[OpenStack Day in Korea 2015] Track 3-4 - Software Defined Storage (SDS) and ...
PDF
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
PDF
[OpenStack Day in Korea 2015] Track 2-3 - 오픈스택 클라우드에 최적화된 네트워크 가상화 '누아지(Nuage)'
PDF
Tech Talk by Gal Sagie: Kuryr - Connecting containers networking to OpenStack...
PDF
[OpenStack Days 2016] Track4 - OpenNSL으로 브로드콜 기반 네트,워크 스위치 제어하기
PDF
Red Hat demo of OpenStack and ODL at ODL summit 2016
PPT
[OpenStack 하반기 스터디] HA using DVR
PDF
Linux Tag 2014 OpenStack Networking
PDF
Advanced Data Retrieval and Analytics with Apache Spark and Openstack Swift
PPTX
OpenStack Quantum Intro (OS Meetup 3-26-12)
PDF
OpenContrail Cloudwatt Feedback
Using OpenContrail with Kubernetes
The Open vSwitch and OVN Projects
Open vSwitch Introduction
Orchestration Tool Roundup - Arthur Berezin & Trammell Scruggs
OpenStack Networks the Web-Scale Way - Scott Laffer, Cumulus Networks
See what happened with real time kvm when building real time cloud pezhang@re...
Meetup 23 - 02 - OVN - The future of networking in OpenStack
Accelerating SDN Applications with Open Source Network Overlays
Cloud Networking - Leaving the Physical Behind - Omer Anson - OpenStack Day I...
[OpenStack Day in Korea 2015] Track 3-4 - Software Defined Storage (SDS) and ...
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
[OpenStack Day in Korea 2015] Track 2-3 - 오픈스택 클라우드에 최적화된 네트워크 가상화 '누아지(Nuage)'
Tech Talk by Gal Sagie: Kuryr - Connecting containers networking to OpenStack...
[OpenStack Days 2016] Track4 - OpenNSL으로 브로드콜 기반 네트,워크 스위치 제어하기
Red Hat demo of OpenStack and ODL at ODL summit 2016
[OpenStack 하반기 스터디] HA using DVR
Linux Tag 2014 OpenStack Networking
Advanced Data Retrieval and Analytics with Apache Spark and Openstack Swift
OpenStack Quantum Intro (OS Meetup 3-26-12)
OpenContrail Cloudwatt Feedback
Ad

Similar to Can the Open vSwitch (OVS) bottleneck be resolved? - Erez Cohen - OpenStack Day Israel 2017 (20)

PDF
[OpenStack Days Korea 2016] Track1 - Mellanox CloudX - Acceleration for Cloud...
PPTX
Erez Cohen & Aviram Bar Haim, Mellanox - Enhancing Your OpenStack Cloud With ...
PDF
VMware NSX and Arista L2 Hardware VTEP Gateway Integration
PDF
Ahead of the NFV Curve with Truly Scale-out Network Function Cloudification
PDF
VMware NSX + Cumulus Networks: Software Defined Networking
PDF
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
PPTX
22 - IDNOG03 - Christopher Lim (Mellanox) - Efficient Virtual Network for Ser...
PDF
Open coud networking at full speed - Avi Alkobi
PDF
OVNC 2015-Open Ethernet과 SDN을 통한 Mellanox의 차세대 네트워크 혁신 방안
PDF
NSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
PPTX
Understanding and deploying Network Virtualization
PDF
VMworld 2013: Advanced VMware NSX Architecture
PDF
LF_OVS_17_Enabling Hardware Offload of OVS Control & Data plane using LiquidIO
PDF
VMworld 2013: An Introduction to Network Virtualization
PDF
Debunking VMware NSX
PPTX
OpenStack & OVS: From Love-Hate Relationship to Match Made in Heaven - Erez C...
PDF
Monitoring thecloud openstackdaysturkey
PDF
SDN in the Public Cloud: Windows Azure
PPTX
6WINDGate™ - Enabling Cloud RAN Virtualization
PDF
Turbocharge the NFV Data Plane in the SDN Era - a Radisys presentation
[OpenStack Days Korea 2016] Track1 - Mellanox CloudX - Acceleration for Cloud...
Erez Cohen & Aviram Bar Haim, Mellanox - Enhancing Your OpenStack Cloud With ...
VMware NSX and Arista L2 Hardware VTEP Gateway Integration
Ahead of the NFV Curve with Truly Scale-out Network Function Cloudification
VMware NSX + Cumulus Networks: Software Defined Networking
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
22 - IDNOG03 - Christopher Lim (Mellanox) - Efficient Virtual Network for Ser...
Open coud networking at full speed - Avi Alkobi
OVNC 2015-Open Ethernet과 SDN을 통한 Mellanox의 차세대 네트워크 혁신 방안
NSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
Understanding and deploying Network Virtualization
VMworld 2013: Advanced VMware NSX Architecture
LF_OVS_17_Enabling Hardware Offload of OVS Control & Data plane using LiquidIO
VMworld 2013: An Introduction to Network Virtualization
Debunking VMware NSX
OpenStack & OVS: From Love-Hate Relationship to Match Made in Heaven - Erez C...
Monitoring thecloud openstackdaysturkey
SDN in the Public Cloud: Windows Azure
6WINDGate™ - Enabling Cloud RAN Virtualization
Turbocharge the NFV Data Plane in the SDN Era - a Radisys presentation
Ad

More from Cloud Native Day Tel Aviv (20)

PDF
Cloud Native is a Cultural Decision. By Reshef Mann
PDF
Container Runtime Security with Falco, by Néstor Salceda
PDF
Kafka Mirror Tester: Go and Kubernetes Powered Test Suite for Kafka Replicati...
PDF
Running I/O intensive workloads on Kubernetes, by Nati Shalom
PDF
WTF Do We Need a Service Mesh? By Anton Weiss.
PDF
Update Strategies for the Edge, by Kat Cosgrove
PDF
Building a Cloud-Native SaaS Product The Hard Way. By Arthur Berezin
PDF
The Four Questions (Every Monitoring Engineer gets asked), by Leon Adato
PDF
K8s Pod Scheduling - Deep Dive. By Tsahi Duek.
PDF
Cloud Native: The Cattle, the Pets, and the Germs, by Avishai Ish-Shalom
PDF
MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.
PDF
Cloud native transformation patterns, by Pini Reznik
PPTX
Cloud and Edge: price, performance and privacy considerations in IOT, by Tsvi...
PDF
Two Years, Zero servers: Lessons learned from running a startup 100% on Serve...
PDF
12 Factor Serverless Applications - Mike Morain, AWS - Cloud Native Day Tel A...
PDF
Not my problem! Delegating responsibilities to the infrastructure - Yshay Yaa...
PDF
Brain in the Cloud: Machine Learning on OpenStack & Kubernetes Done Right - E...
PPTX
A stateful application walks into a Kubernetes bar - Arthur Berezin, JovianX ...
PPTX
The story of how KubeMQ was born - Oz Golan, KubeMQ - Cloud Native Day Tel Av...
PPTX
I want it all: go hybrid - Orit Yaron, Outbrain - Cloud Native Day Tel Aviv 2018
Cloud Native is a Cultural Decision. By Reshef Mann
Container Runtime Security with Falco, by Néstor Salceda
Kafka Mirror Tester: Go and Kubernetes Powered Test Suite for Kafka Replicati...
Running I/O intensive workloads on Kubernetes, by Nati Shalom
WTF Do We Need a Service Mesh? By Anton Weiss.
Update Strategies for the Edge, by Kat Cosgrove
Building a Cloud-Native SaaS Product The Hard Way. By Arthur Berezin
The Four Questions (Every Monitoring Engineer gets asked), by Leon Adato
K8s Pod Scheduling - Deep Dive. By Tsahi Duek.
Cloud Native: The Cattle, the Pets, and the Germs, by Avishai Ish-Shalom
MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.
Cloud native transformation patterns, by Pini Reznik
Cloud and Edge: price, performance and privacy considerations in IOT, by Tsvi...
Two Years, Zero servers: Lessons learned from running a startup 100% on Serve...
12 Factor Serverless Applications - Mike Morain, AWS - Cloud Native Day Tel A...
Not my problem! Delegating responsibilities to the infrastructure - Yshay Yaa...
Brain in the Cloud: Machine Learning on OpenStack & Kubernetes Done Right - E...
A stateful application walks into a Kubernetes bar - Arthur Berezin, JovianX ...
The story of how KubeMQ was born - Oz Golan, KubeMQ - Cloud Native Day Tel Av...
I want it all: go hybrid - Orit Yaron, Outbrain - Cloud Native Day Tel Aviv 2018

Recently uploaded (20)

PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Approach and Philosophy of On baking technology
PPT
Teaching material agriculture food technology
PDF
Electronic commerce courselecture one. Pdf
PDF
Encapsulation theory and applications.pdf
PPTX
A Presentation on Artificial Intelligence
PPTX
Big Data Technologies - Introduction.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
KodekX | Application Modernization Development
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Digital-Transformation-Roadmap-for-Companies.pptx
Approach and Philosophy of On baking technology
Teaching material agriculture food technology
Electronic commerce courselecture one. Pdf
Encapsulation theory and applications.pdf
A Presentation on Artificial Intelligence
Big Data Technologies - Introduction.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Machine learning based COVID-19 study performance prediction
KodekX | Application Modernization Development
Mobile App Security Testing_ A Comprehensive Guide.pdf
NewMind AI Monthly Chronicles - July 2025
The AUB Centre for AI in Media Proposal.docx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Network Security Unit 5.pdf for BCA BBA.
The Rise and Fall of 3GPP – Time for a Sabbatical?

Can the Open vSwitch (OVS) bottleneck be resolved? - Erez Cohen - OpenStack Day Israel 2017

  • 1. © 2017 Mellanox Technologies 1 OpenStack Day Israel 2017 Erez Cohen, VP CloudX Program Can Open vSwitch Bottlenecks Be Resolved?
  • 2. © 2017 Mellanox Technologies 2 What Is vSwitch? ▪ Virtual Switch (vSwitch) provides switching (and sometime routing) services to VMs within a host ▪ Open vSwitch (OVS) is the most popular vSwitch • Flow based switch/router ▪ vSwitch is typically controlled by an SDN controller Para-Virtualized NIC Hypervisor vSwitch VM VM
  • 3. © 2017 Mellanox Technologies 3 vSwitch Challenges ▪ Message per second ▪ Latency ▪ Jitter ▪ CPU overhead Para-Virtualized NIC Hypervisor vSwitch VM VM Challenging For Network Demanding Applications (i.e., NFV) • Slow • Unpredictable • Inefficient Executed on the main x86 CPU
  • 4. © 2017 Mellanox Technologies 4 The Solution: Hardware Acceleration! ▪ Virtualization, Containers and Software defined Networks are key for todays clouds ▪ SDN solutions provide (almost) the needed functionality but lacking the performance ▪ To gain both flexibility and cost efficiency Hardware Acceleration is needed HW Acceleration Can Reduce Servers Footprint by 10x to 100x Software Software + Hardware Acceleration
  • 5. © 2017 Mellanox Technologies 5 Hardware Acceleration Challenges ▪ Many different HW architectures ▪ Operating systems support ▪ Orchestration support ▪ Application level support
  • 6. © 2017 Mellanox Technologies 6 Top Down Architecture ▪ Top down architecture is very challenging • Very comprehensive (not only network) • Many layers: orchestration, virtualization, OS, hardware • A lot of intergroup projects dependencies ▪ Multiple attempts, non materialized
  • 7. © 2017 Mellanox Technologies 7 Bottom Up, Open Source Architecture ▪ Hardware to implement common, low level building blocks ▪ Define APIs in open source consortiums such as Linux Kernel ▪ Integration into high level open source frameworks and application such as OpenStack and OVS
  • 8. © 2017 Mellanox Technologies 8 OVS Acceleration ▪ Hardware enablement • Powerful, flexible and programmable flow based switch in NIC
  • 9. © 2017 Mellanox Technologies 9 Para-Virtualized SR-IOV ▪ PCIe device presents multiple instances to the OS/Hypervisor ▪ Enables Application Direct Access • Bare metal performance for VM • Reduces CPU overhead ▪ Enable RDMA to the VM • Low latency applications benefit from the Virtual infrastructure A word about Single Root I/O Virtualization (SR-IOV) Bare Metal Latency Bare Metal BW NIC Hypervisor vSwitch VM VM SR-IOV NIC Hypervisor VM VM eSwitch Physical Function (PF) Virtual Function (VF)
  • 10. © 2017 Mellanox Technologies 10 OVS Offload / Acceleration with ASAP2 OVS Offload OVS acceleration
  • 11. © 2017 Mellanox Technologies 11 Application Acceleration with ASAP2 ConnectX 4 eSwitch VM Hypervisor OVS SR-IOV VF DataPath PF TC/DPDKOffload Application Application Acceleration
  • 12. © 2017 Mellanox Technologies 12 Open Source Communities Impacted ▪ Linux kernel community • Representor ports • TC (Traffic Control) HW offload (flower) ▪ DPDK community • Flow offload directly from DPDK ▪ OVS user space community • Policy mechanism • Flow offload via TC / DPDK ▪ OpenStack community • OVS ML2 driver to bind with Direct port type HW Vendor Agnostic!
  • 13. © 2017 Mellanox Technologies 13 OVS over DPDK VS. OVS Offload ▪ Zero CPU utilization on hypervisor compared to 2 cores with OVS over DPDK • Same CPU load on VM Test OVS DPDK ASAP2 Direct 1 Flow 7.6M PPS 33M PPS 60K flows 1.9M PPS 16.4M PPS
  • 14. © 2017 Mellanox Technologies 14 Status And Availability ▪ Linux kernel fully upstream (kernel 4.13 and newer) ▪ OVS user space in final integration phases ▪ DPDK APIs upstream ▪ OpenStack blueprints and patches submitted and tentatively accepted • Pending OVS user space ▪ key Linux and OpenStack distributions backporting, integrating and testing
  • 15. © 2017 Mellanox Technologies 15 Additional Potential Usage For ASAP2 - Cloudigo ▪ Cloudigo - Serverless Network Services 20% Other… CLOUDIGO SW PROGRAMMABLE ENGINE NAT FW DDoS LB User Defined ASIC Layer - NIC Adapter Offload Learning Engine
  • 16. © 2017 Mellanox Technologies 16 Additional Potential Usage For ASAP2 ▪ vSwitches/vRouters • FD.IO / VPP • OpenContrail / vRouter ▪ Application / VNFs • vRouters • CDNs • vBRAS • vRAN • And many more
  • 17. © 2017 Mellanox Technologies 17 Thank You Erez Cohen: erezc@mellanox.com