data center virtualization: open vswitch hakim weatherspoon assistant professor, dept of computer...
TRANSCRIPT
![Page 1: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/1.jpg)
Data Center Virtualization: Open vSwitch
Hakim WeatherspoonAssistant Professor, Dept of Computer Science
CS 5413: High Performance Systems and NetworkingNovember 10, 2014
Slides from ACM SIGCOMM Workshop on Hot Topics in Networking (HotNets) presentation of “Extending networking into the virtualization layer”
![Page 2: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/2.jpg)
Goals for Today• Extending networking into the virtualization layer – B. Pfaff, J. Pettit, T. Koponen, K. Amidon, M. Casado, S.
Shenker. ACM SIGCOMM Workshop on Hot Topics in Networking (HotNets), October 2009.
![Page 3: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/3.jpg)
• Motivation• Design• Applications• Implementation• Evaluation• Discussion/Future Work
Outline
![Page 4: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/4.jpg)
• Virtualization is pervasive– At the time of writing in 2009: • 12% of workloads were virtual• Gartner predicted by 2013, 61% of workloads would be
virtual
– Scott Shenker’s talk: Virtual switches is more numerous than physical switches today
– Intel: All endhosts should be virtualized
Motivation
![Page 5: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/5.jpg)
Networking in virtual environments is important• Clouds routinely host 40, 60, 120 or more virtual
hosts per physical host– 128VM’s per host is more than 2 racks full of machines
Motivation
![Page 6: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/6.jpg)
Networking in virtual environments is different• Challenges– Scalability (105 VMs or much more)– Isolation– Mobility
• Conveniences – Hypervisor info– Introspection– Leaf nodes
Motivation
![Page 7: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/7.jpg)
Networking in virtual environments is different• Challenges– Scalability (105 VMs or much more)– Isolation– Mobility
• Conveniences – Hypervisor info– Introspection– Leaf nodes
Motivation
Open vSwitch
Distribute the Switch
Centralize Control
Take Advantage
![Page 8: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/8.jpg)
• Motivation• Design• Applications• Implementation• Evaluation• Discussion/Future Work
Outline
![Page 9: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/9.jpg)
Open vSwitch: Design
![Page 10: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/10.jpg)
• Control Plane/Controller/OpenFlow– Configuration– Connectivity Management• creating switches, managing virtual interface (VIF) connectivity,
and managing physical interface (PIF) connectivity– for each connected VIF, a logical port is added to the switch
– Features• VLAN, Port Mirroring, ACLs, NetFlow, Bonding, QoS, Anything*
• Data Plane/Forwarding/OpenFlow– OpenFlow controller remotely controls forwarding table– Defines how packets handled based on L2,L3,L4 headers
Open vSwitch
![Page 11: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/11.jpg)
• Motivation• Design• Applications• Implementation• Evaluation• Discussion/Future Work
Outline
![Page 12: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/12.jpg)
Distributed Switch
Applications
VM 1
VM nVM 2
Logical View
![Page 13: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/13.jpg)
.
.
.
Distributed Switch
Applications
VM 1
VM nVM 2
Logical View
VM host 1
Physical View
VM host k
VM 1 VM 2
VM nPhysical Switch
Controller
GRE
![Page 14: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/14.jpg)
.
.
.
Extending the Data Center into the Cloud
Applications
VM host 1
VM host k
VM 1 VM 2
VM n“cloud access server”
Controller
GRE
Managed Cloud
Customer Data Center
GRE/IPSEC/SSL
![Page 15: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/15.jpg)
• Motivation• Design• Applications• Implementation• Evaluation• Discussion/Future Work
Outline
![Page 16: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/16.jpg)
Implementation
![Page 17: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/17.jpg)
• Motivation• Design• Applications• Implementation• Evaluation• Discussion/Future Work
Outline
![Page 18: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/18.jpg)
• Compare Open vSwitch to Linux Bridge
• Bandwidth– Fast Path: > 1Gbps– ovs-vswitchd: 100Mbps– Controller: 10Mbps
• Latency– Fast Path: < 1 us– ovs-vswitchd: < 1 ms– Controller: ms+
• .
Evaluation
![Page 19: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/19.jpg)
• Compare Open vSwitch to Linux Bridge
• Same performance as Linux bridge with same CPU
Evaluation
![Page 20: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/20.jpg)
• Motivation• Design• Applications• Implementation• Evaluation• Discussion/Future Work
Outline
![Page 21: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/21.jpg)
• Hardware acceleration in a virtual world?– Netronome, VN-Tag, VEPA
• Performance, performance, performance• Physical switches integration• Upstream kernel integration• Anything*
Discussion/Future work
![Page 22: Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking](https://reader030.vdocuments.us/reader030/viewer/2022032523/56649d6f5503460f94a51a0e/html5/thumbnails/22.jpg)
Before Next time• Project Interim report– Due Monday, November 24.– And meet with groups, TA, and professor
• Fractus Upgrade: Should be back online
• Required review and reading for Friday, November 21– VirtualWires for Live Migrating Virtual Networks across Clouds, D. Williams,
H. Jamjoom, Z. Jiang, and H. Weatherspoon. IBM Tech. Rep. RC25378, April 2013.
– http://domino.research.ibm.com/library/cyberdig.nsf/papers/FD9A14E59B138E7E85257B6000572CC3/$File/rc25378.pdf
• Check piazza: http://piazza.com/cornell/fall2014/cs5413• Check website for updated schedule