OpenStack and OVS: From Love-Hate Relationship to Match Made in Heaven Chloe Jian Ma Erez Cohen Senior Director, Cloud Senior Director, Market Development CloudX Program
What Are We Covering in this Session • Challenges with Using OVS for OpenStack Networking • Mellanox OVS Offload Overview • Demo!
What Are We Covering in this Session • Challenges with Using OVS for OpenStack Networking • Mellanox OVS Offload Overview • Demo!
OpenStack and OVS: A Love-Hate Relationship • Man, It is SLOW ! • What do you mean it drops my packets ? • It burns CPU like there is no tomorrow!
Comparison of Existing I/O Virtualization Solutions • • Paravirt - Control SRIOV - Performance 11/11/2015 Mellanox OVS Offload for OPNFV
What If We Could Enjoy the Best of Both Worlds? 11/11/2015 Mellanox OVS Offload for OPNFV
What Are We Covering in this Session • Challenges with Using OVS for OpenStack Networking • Mellanox OVS Offload Overview • Demo!
Mellanox Embedded Switch (eSwitch) • Advanced flow-based switch • Sophisticated classification SR-IOV VM SR-IOV VM engines • Multiple actions supported including: eSwitch – Steering and Forwarding Action – Drop / Allow Action Classify – Encap/Decap Classify 11/11/2015 Mellanox OVS Offload for OPNFV
OVS Architecture and Operations • Forwarding OVS-vswitchd – Flow-based forwarding User – First packet of a new flow Kernel OVS Kernel (match miss) is directed to Module user space (ovs-vswitchd) First Packet – ovs-vswitchd determines flow Subsequent handling and programs kernel Packets (fast path) – Following packets hit kernel flow entries and are executed in fast path 11/11/2015 Mellanox OVS Offload for OPNFV 9
OVS Offload – Let the Hardware Do the Heavy-lifting • A new flow will result in a ‘miss’ action in OVS-vswitchd eSwitch and is directed to OVS kernel module Software User New Flow • Miss in kernel will punt the packet to OVS- vswitchd in user space Kernel OVS Kernel • OVS-vswitchd will resolve the flow entry, and Module First Packet based on a policy decision to offload, propagate that to corresponding eSwitch Hardware Configuration tables for offload-enabled flows Fallback Mellanox Forwarding Path eSwitch Subsequent HW Forwarded Packets • Subsequent frames of offload-enabled flows will be processed and forwarded by eSwitch Fast Forwarding 11/12/2015 Mellanox OVS Offload for OPNFV
OVS and SRIOV, Isn’t it Oil and Water? • Representor ports enable OVS to “know” and service VMs using OVS Offload VMs using Para-Virtualization those VMs that uses SR-IOV • Representor ports are used for eSwitch / OVS communication (miss flow and PV to SR-IOV communication) Netdev Netdev netdev netdev Representor Representor Policy based Flow Sync NIC eSwitch 11/11/2015 Mellanox OVS Offload for OPNFV
Software Defined Networking, at Full Speed SDN or Other Network Orchestration • Leverage Open vSwitch control-plane and Software Defined Networks (SDN) capabilities to control eSwitch forwarding-plane … • Enhance forwarding performance while maintaining network programmability • Benefits: – Open vSwitch interfaces to the user remain untouched eSwitch • The hardware offloads are transparent to the Configuration Stats Reporting user eSwitch – User does not need changes in his eSwitch eSwitch environment 11/11/2015 Mellanox OVS Offload for OPNFV
Key OVS Offload Capabilities Enable/Disable OVS OVS Control Path with Offload on a per flow SRIOV performance basis. Support “Mega - Flow” Classification and steering offload (Wild cards).
Conclusion • Key OVS Offload Benefits – Highest performance (Offload is increasingly important as server I/O speed goes up) – Low CPU overhead, higher infrastructure efficiency – Software defined – Everything In-Box (All changes will be up-streamed, no proprietary OVS or kernel patches)
What Are We Covering in this Session • Challenges with Using OVS for OpenStack Networking • Mellanox OVS Offload Overview • Demo! 11/12/2015 Mellanox OVS Offload for OPNFV 15
SUT Demo – OVS PV • Measure 64B packet netdev rate • Measure Network CPU load NIC 11/12/2015 Footer Lorem Ipsum Dolor Sit
SUT Demo – VS. OVS SRIOV • Measure 64B packet Netdev rate Representor • Measure Network CPU load NIC eSwitch 11/12/2015 Footer Lorem Ipsum Dolor Sit
THANK YOU Q&A
Recommend
More recommend