OpenStack and OVS: From Love-Hate Relationship to Match Made in - - PowerPoint PPT Presentation

openstack and ovs
SMART_READER_LITE
LIVE PREVIEW

OpenStack and OVS: From Love-Hate Relationship to Match Made in - - PowerPoint PPT Presentation

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


slide-1
SLIDE 1

OpenStack and OVS:

From Love-Hate Relationship to Match Made in Heaven

Chloe Jian Ma Senior Director, Cloud Market Development

Erez Cohen Senior Director, CloudX Program

slide-2
SLIDE 2

What Are We Covering in this Session

  • Challenges with Using OVS for OpenStack Networking
  • Mellanox OVS Offload Overview
  • Demo!
slide-3
SLIDE 3

What Are We Covering in this Session

  • Challenges with Using OVS for OpenStack Networking
  • Mellanox OVS Offload Overview
  • Demo!
slide-4
SLIDE 4

OpenStack and OVS: A Love-Hate Relationship

  • Man, It is SLOW!
  • It burns CPU like

there is no tomorrow!

  • What do you mean it

drops my packets?

slide-5
SLIDE 5

Comparison of Existing I/O Virtualization Solutions

11/11/2015 Mellanox OVS Offload for OPNFV

  • Paravirt - Control
  • SRIOV - Performance
slide-6
SLIDE 6

11/11/2015 Mellanox OVS Offload for OPNFV

What If We Could Enjoy the Best of Both Worlds?

slide-7
SLIDE 7

What Are We Covering in this Session

  • Challenges with Using OVS for OpenStack Networking
  • Mellanox OVS Offload Overview
  • Demo!
slide-8
SLIDE 8

Mellanox Embedded Switch (eSwitch)

  • Advanced flow-based switch
  • Sophisticated classification

engines

  • Multiple actions supported

including:

– Steering and Forwarding – Drop / Allow – Encap/Decap

eSwitch

SR-IOV VM

Classify Action Classify Action

SR-IOV VM 11/11/2015 Mellanox OVS Offload for OPNFV

slide-9
SLIDE 9

OVS Architecture and Operations

11/11/2015 Mellanox OVS Offload for OPNFV 9

OVS-vswitchd OVS Kernel Module

First Packet Subsequent Packets

User Kernel

  • Forwarding

– Flow-based forwarding – First packet of a new flow (match miss) is directed to user space (ovs-vswitchd) – ovs-vswitchd determines flow handling and programs kernel (fast path) – Following packets hit kernel flow entries and are executed in fast path

slide-10
SLIDE 10

Mellanox eSwitch

OVS Offload – Let the Hardware Do the Heavy-lifting

New Flow

  • A new flow will result in a ‘miss’ action in

eSwitch and is directed to OVS kernel module

  • Miss in kernel will punt the packet to OVS-

vswitchd in user space Configuration

  • OVS-vswitchd will resolve the flow entry, and

based on a policy decision to offload, propagate that to corresponding eSwitch tables for offload-enabled flows Fast Forwarding

  • Subsequent frames of offload-enabled flows

will be processed and forwarded by eSwitch

OVS-vswitchd OVS Kernel Module

First Packet Subsequent HW Forwarded Packets

User Kernel

Fallback Forwarding Path

Software Hardware

11/12/2015 Mellanox OVS Offload for OPNFV

slide-11
SLIDE 11

OVS and SRIOV, Isn’t it Oil and Water?

  • Representor ports enable

OVS to “know” and service those VMs that uses SR-IOV

  • Representor ports are used

for eSwitch / OVS communication (miss flow and PV to SR-IOV communication)

Netdev Representor Netdev Representor netdev netdev

VMs using OVS Offload VMs using Para-Virtualization

NIC

eSwitch Policy based Flow Sync 11/11/2015 Mellanox OVS Offload for OPNFV

slide-12
SLIDE 12

eSwitch eSwitch eSwitch

Software Defined Networking, at Full Speed

  • 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

  • The hardware offloads are transparent to the

user

– User does not need changes in his environment

eSwitch

Configuration Stats Reporting

SDN or Other Network Orchestration

11/11/2015 Mellanox OVS Offload for OPNFV

slide-13
SLIDE 13

Key OVS Offload Capabilities

Enable/Disable OVS Offload on a per flow basis. OVS Control Path with SRIOV performance Classification and steering offload Support “Mega-Flow” (Wild cards).

slide-14
SLIDE 14

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)

slide-15
SLIDE 15

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

slide-16
SLIDE 16

11/12/2015 Footer Lorem Ipsum Dolor Sit

Demo – OVS PV

  • Measure 64B packet

rate

  • Measure Network

CPU load

SUT NIC

netdev

slide-17
SLIDE 17

11/12/2015 Footer Lorem Ipsum Dolor Sit

Demo – VS. OVS SRIOV

  • Measure 64B packet

rate

  • Measure Network

CPU load

SUT

Netdev Representor

NIC

eSwitch

slide-18
SLIDE 18

THANK YOU

Q&A