Virtual Networking Performance

Slides:



Advertisements
Similar presentations
Diagnosing Performance Overheads in the Xen Virtual Machine Environment Aravind Menon Willy Zwaenepoel EPFL, Lausanne Jose Renato Santos Yoshio Turner.
Advertisements

© MIRANTIS 2012PAGE 1© MIRANTIS 2012 Does Hypervisor Matter in OpenStack Greg Elkinbard Senior Technical Director.
Virtual Switching Without a Hypervisor for a More Secure Cloud Xin Jin Princeton University Joint work with Eric Keller(UPenn) and Jennifer Rexford(Princeton)
Bringing your life together.  Goal of this Series  Developing active exhilarating faith  experiencing God's intervention in our daily life.  You can.
Fluffy’s Safe Right? If you want to limit a user’s functionality, don’t make them an administrator.
WSV302. Source: analyst-reports/2009-forrester-storage-choices -virtual-server.pdf.
Performance Evaluation of Open Virtual Routers M.Siraj Rathore
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice In search of a virtual yardstick:
Virtualization and Cloud Computing
Network Implementation for Xen and KVM Class project for E : Network System Design and Implantation 12 Apr 2010 Kangkook Jee (kj2181)
Lesson 9: Creating and Configuring Virtual Networks
Supporting ethtool with Linux Integration Service Open Source Technology Center Microsoft.
Networking Components
CISCO NETWORKING ACADEMY Chabot College ELEC Router Introduction.
Network+ Guide to Networks 6 th Edition Chapter 10 Virtual Networks and Remote Access.
SUNY IT Master's Project Using Open Source Virtualization Technology In Computer Education By: Ronny L. Bull Advised By: Geethapriya Thamilarasu, Ph.D.
Virtual WiFi: Bring Virtualization from Wired to Wireless Lei Xia, Sanjay Kumar, Xue Yang Praveen Gopalakrishnan, York Liu, Sebastian Schoenberg, Xingang.
Searching & Assessing Websites II Form Science Fall 2012.
Network+ Guide to Networks 6 th Edition Chapter 10 Virtual Networks and Remote Access.
Support for Smart NICs Ian Pratt. Outline Xen I/O Overview –Why network I/O is harder than block Smart NIC taxonomy –How Xen can exploit them Enhancing.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Achieving 10 Gb/s Using Xen Para-virtualized.
© 2010 IBM Corporation Plugging the Hypervisor Abstraction Leaks Caused by Virtual Networking Alex Landau, David Hadas, Muli Ben-Yehuda IBM Research –
Penn State CSE “Optimizing Network Virtualization in Xen” Aravind Menon, Alan L. Cox, Willy Zwaenepoel Presented by : Arjun R. Nath.
Politecnico di Torino Dipartimento di Automatica ed Informatica TORSEC Group Performance of Xen’s Secured Virtual Networks Emanuele Cesena Paolo Carlo.
Repeaters, Hubs, Bridges, Switches, Routers & Gateways Created by: David Elwell Dorian Glassberg Alley Hennigan.
Virtualization for the LHCb Online system CHEP Taipei Dedicato a Zio Renato Enrico Bonaccorsi, (CERN)
High Performance Network Virtualization with SR-IOV By Yaozu Dong et al. Published in HPCA 2010.
Virtual Machines Created within the Virtualization layer, such as a hypervisor Shares the physical computer's CPU, hard disk, memory, and network interfaces.
Virtualization One computer can do the job of multiple computers, by sharing the resources of a single computer across multiple environments. Turning hardware.
TOPIC 1.3 INTRODUCTION TO NETWORKING. Router – A netwok interconnection device & associated software that links two networks. The networks being linked.
CEG 2400 FALL 2012 Chapter 10 Virtual Networks and Remote Access 1.
E Virtual Machines Lecture 5 Network Virtualization Scott Devine VMware, Inc.
T3: TCP-based High-Performance and Congestion-aware Tunneling Protocol for Cloud Networking Satoshi Ogawa† Kazuki Yamazaki† Ryota Kawashima† Hiroshi Matsuo†
By: Emma Milch Agledahl!. No-one knows exactly how it started. 24 succeding followers (Tirthankaras)started the reliogion, according to myth. Rishabha.
Intro To Virtualization Mohammed Morsi
Considerations for Benchmarking Virtual Networks Samuel Kommu, Jacob Rapp, Ben Basler,
Network Interface Virtualizaion: Challenges and Solutions Ryan Shea and Jiangchuan Liu, Simon Fraser University IEEE Network Park Sewon.
Welcome to the Virtual Machine Mark Cyzyk The Sheridan Libraries Johns Hopkins University.
Using Virtualization in the Classroom
Shaopeng, Ho Architect of Chinac Group
Introduction to Virtualization
New Approach to OVS Datapath Performance
Geometry on Combinatorial Structures
Laying the groundwork for field trials of RINA in the EU
Zero-copy Receive Path in Virtio
Agenda About us Why para-virtualize RDMA Project overview Open issues
Current Generation Hypervisor Type 1 Type 2.
DPDK API and Virtual Infrastructure
Enrico Bonaccorsi, (CERN) Loic Brarda, (CERN) Gary Moine, (CERN)
Open Source 10g Talk at KTH/Kista
Virtualization overview
Virtio ring and virtio-net
Chapter 5: Inter-VLAN Routing
Xen: The Art of Virtualization
Network+ Guide to Networks 7th Edition
Network+ Guide to Networks 6th Edition
Network Virtualization
Get the best out of VPP and inter-VM communications.
OSDI ‘14 Best Paper Award Adam Belay George Prekas Ana Klimovic
Shenghsun Cho, Mrunal Patel, Han Chen, Michael Ferdman, Peter Milder
Xen Network I/O Performance Analysis and Opportunities for Improvement
Open vSwitch HW offload over DPDK
Reprogrammable packet processing pipeline
All or Nothing The Challenge of Hardware Offload
Windows Virtual PC / Hyper-V
Chapter 4 Network Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April Network Layer.
NetCloud Hong Kong 2017/12/11 NetCloud Hong Kong 2017/12/11 PA-Flow:
ECE 671 – Lecture 8 Network Adapters.
Openstack Summit November 2017
Presentation transcript:

Virtual Networking Performance Stephen Hemminger stephen.hemminger@vyatta.com Linuxcon Japan Virtualization Summit

Outline What is virtual router? Performance measurements Analysis Current work How to help

3 Tier Network Core Aggregation Access SAN Router Router Firewall Bridge Bridge Server Server Server 3 Tier Network SAN

Performance History 2005 2006 2007 2008 2009 2010 2011 1G line rate Multiqueue NIC 10G line rate 1M pps KVM Xen 3.0 Hyper-V drivers

RFC2544 Bencmark System Under Input Test Output Loss Standard for measuring router performance

Houston, we have a problem!

Physical Networks Rate limited by slowest component Adding more layers does not slow down throughput Separate resources

Virtual Network overhead Device driver Guest networking Base networking Hypervisor

Performance is a complex topic, and hard to measure. The blind man who feels a leg says the elephant is like a pillar; the one who feels the tail says the elephant is like a rope; the one who feels the trunk says the elephant is like a tree branch; the one who feels the ear says the elephant is like a hand fan; the one who feels the belly says the elephant is like a wall; and the one who feels the tusk says the elephant is like a solid pipe. A wise man explains to them: "All of you are right. The reason every one of you is telling it differently is because each one of you touched the different part of the elephant. So, actually the elephant has all the features you mentioned."

Network Baseline Intel i7 920 Intel 10G LOM 1G network Loopback – 12G bits/sec Forwarding – 1M packets/sec per core Your mileage may vary... I use Virt net every day but always felt uncomfortable that performance is being lost. Rules of thumb, today, on my hardware

Emulated Network Interface Fake PCI region Guest Hypervisor To Network Packet Buffer

Legacy (emulated) NIC In honor of Australia day wanted to graph it upside down!! Not a benchmark * different hardware * not precise * not allowed by License agreements

Virtual NIC Guest Hypervisor To Network Packet Buffer

Virtual NIC performance P7 Avoid unnecessary generality

VNIC characteristics Hyper-V Vmware vmxnet3 Xen netfront KVM virtio-net MTU 1500 9000 65521 65535 Checksum offload Y Segmentation offload NAPI LRO VLAN Multiqueue ?

Guest to Guest Throughput

VM to VM performance Relax system requirements

TCP performance

Observations Slow Legacy emulated NIC NAT Firewall connection tracking Fast Virtual NIC Hardware passthrough Bridging

Multithread benchmark

Multiple Queue HW or SW Guest VM Thread Device queue Thread Flow classfier Device queue VNIC Thread Device queue

Challenges and Opportunities Multiqueue KVM ↔ QEMU Zero copy Skb lifetime Security Batching Bufferbloat

Contributing Administrator →Tuning and Sizing Tester →Measure and Test Developer →Multiqueue and Offload