Open vSwitch: Extending Networking into the Virtualization Layer - - PowerPoint PPT Presentation

open vswitch extending networking into the virtualization
SMART_READER_LITE
LIVE PREVIEW

Open vSwitch: Extending Networking into the Virtualization Layer - - PowerPoint PPT Presentation

Open vSwitch: Extending Networking into the Virtualization Layer Ben Pfaff Justin Pettit Teemu Koponen Keith Amidon Martin Casado Nicira Networks, Inc. Scott Shenker UC Berkeley, Computer Science Division Outline Virtualization and


slide-1
SLIDE 1

Open vSwitch: Extending Networking into the Virtualization Layer

Ben Pfaff Justin Pettit Teemu Koponen Keith Amidon Martin Casado

Nicira Networks, Inc.

Scott Shenker

UC Berkeley, Computer Science Division

slide-2
SLIDE 2

Outline

  • Virtualization and Networking
  • Open vSwitch approach
  • Applications
  • Implementation
slide-3
SLIDE 3

Virtualization Will Be Pervasive

Gartner: 12% of workloads are virtual today. 61% by 2013. Intel: All end hosts should be virtualized.

slide-4
SLIDE 4

Networking in Virtual Environments is Important

One cloud is planning to run 128 VMs per host. That's 2+ full racks in one machine.

slide-5
SLIDE 5

Networking in Virtual Environments is Different

Challenges

  • Scalability (105 VMs)
  • Isolation
  • Mobility
  • ...

Conveniences

  • Hypervisor info
  • Introspection
  • Leaf nodes
  • ...
slide-6
SLIDE 6

Networking in Virtual Environments is Different

Challenges

  • Scalability (105 VMs)
  • Isolation
  • Mobility
  • ...

Conveniences

  • Hypervisor info
  • Introspection
  • Leaf nodes
  • ...

Open vSwitch Distribute the Switch Centralized Control Take Advantage

slide-7
SLIDE 7

Basic Design (Xen)

NIC NIC Control domain (Dom0) VM 1 VM 2 VM 3 VNIC VNIC VNIC VNIC VNIC Virtual machines (DomUs) Xen host (physical machine) Controller

  • vs-vswitchd

Adminstrative CLI/GUI ...other Xen hosts... XAPI

slide-8
SLIDE 8

Open vSwitch

  • Controller:
  • Configuration
  • OpenFlow
  • Features:
  • VLAN
  • Port mirroring
  • ACLs
  • NetFlow
  • Bonding
  • QoS
  • Anything*
slide-9
SLIDE 9

Open vSwitch Application: Single Distributed Switch

VM host 1 VM host n

. . .

Controller Web UI

slide-10
SLIDE 10

Open vSwitch Application: Multiple Distributed Switches

VM host 1 VM host n

. . .

Physical vSwitch GRE Controller

Physical

VM 1 VM n

. . .

Logical

Tenant #1 (switched) VM 1 VM n

. . .

Tenant #2 (routed) Web UI Web UI

slide-11
SLIDE 11

Open vSwitch Application: Extending Data Center into Cloud

VM host 1 VM host n

. . .

“Cloud access server” GRE Customer Data Center Controller Managed Cloud GRE/ IPSEC/ SSL

slide-12
SLIDE 12

Implementation (Xen)

Fast Path

  • vs-vswitchd

NIC NIC Xen hypervisor Control domain (Dom0) user kernel VM 1 VM 2 VM 3 VNIC VNIC VNIC VNIC VNIC Virtual machines (DomUs) Physical machine Controller XAPI

slide-13
SLIDE 13

Open vSwitch is Fast

Bandwidth Fast Path: > 1 Gbps

  • vs-vswitchd: 100 Mbps

Controller: 10 Mbps Latency Fast Path: < 1 µs

  • vs-vswitchd: < 1 ms

Controller: ms As fast as Linux bridge with same CPU usage

slide-14
SLIDE 14

Open vSwitch is Fast

vswitch Linux bridge

slide-15
SLIDE 15

Hardware Acceleration

  • Inevitable
  • Netronome: right approach
  • VN-Tag: wrong approach
  • VEPA: powerless
slide-16
SLIDE 16
  • Physical switches
  • Upstream kernel integration
  • Anything*

Future Directions

slide-17
SLIDE 17

Questions?