Virtio 1 - why do it? And - are we there yet? Michael S. Tsirkin Red Hat

Size: px
Start display at page:

Download "Virtio 1 - why do it? And - are we there yet? Michael S. Tsirkin Red Hat"

Transcription

1 Virtio 1 - why do it? And - are we there yet? 2015 Michael S. Tsirkin Red Hat 1 Uses material from Gcompris, tuxpaint Distributed under the Creative commons license.

2 Lots of work... main-title 300 commits Aug 6 to Aug 6 in each year year

3 Virtio 1: update 3 Documented assumptions More Robust More Extendable

4 Conformance statements Virtio 0.9 Virtio DRIVER_OK status bit is set. - The device can now be used. The driver MUST NOT notify the device before setting DRIVER_OK. drv probe(dev); netif_carrier_on(dev) drv probe(dev); add_status(dev, DRIVER_OK); netif_carrier_on(dev) add_status(dev, DRIVER_OK); 4

5 Virtio 0.9: inflate FF FF FF DRIVER 5 00 FF

6 Virtio 1.0: inflate FF FF FF FF DRIVER 6

7 Generation counter FFFFFFFF FFFFFFFF DRIVER

8 Memory map 0.9 COMMON FEATURES QUEUE 1.0 DEVICE SPECIFIC STATUS ISR COMMON CAPABILITY LIST IO BAR FEATURES QUEUE STATUS MEMORY BAR VIRTIO CAPABILITY #1 8 VIRTIO CAPABILITY #2 DEVICE SPECIFIC ISR...

9 Virtio 0.9: Port IO vs Memory Port IO x86 decode: address x86 decode: data Fast on x86 32/64 bit Page tables Required by PCI 9 Express MM IO

10 Fast MMIO avoid need to decode data ADDRESS NOTIFY DATA VQ NUMBER ADDRESS 10 VQ NUMBER NOTIFY DATA IGNORED

11 Virtio 1: Access times on KVM x86: Cycles per access (lower is better) MMIO Fast MMIO Port IO CPU cycles 11

12 Virtio 1: Port IO vs Memory Port IO x86 decode: address Fast on x86 32/64 bit Page tables Required by PCI Express 12 MM IO

13 Memory Region Aliases CAPABILITY LIST IO BAR MEMORY BAR VIRTIO CONFIG CAPABILITY VIRTIO CAPABILITY 13 Queue Notify VirtQueue Queue Notify Queue Notify

14 soft mac Ethernet MAC DRIVER VirtQueue DRIVER 14

15 Virtio feature negotiation DEVICE FEATURES DRIVER DRIVER FEATURES Defaults must be maintained forever! 15

16 Virtio 1: Error handling DRIVER: set features DRIVER: set FEATURES_OK bit DEVICE: check features DEVICE: clear FEATURES_OK on error DRIVER: check FEATURES_OK bit DRIVER: fail gracefully if not set 16!

17 Error handling: Virtio 0.9 Can't recover from device errors Not very useful? Just stop guest. 17

18 Vhost-user GUEST virtio-net VM RAM DMA SETUP VHOST USER CLIENT Client crash or restart need not cause guest crash! 18

19 DEVICE_NEEDS_RESET Read STATUS; Detect: NEEDS_RESET set DRIVER 19 Write STATUS=0 Will reset device Reconfigure device. Write STATUS=DRIVER_OK Restart operation.

20 Compatibility Transitional Device & Driver Legacy Driver Legacy Device Legacy Modern Legacy Modern Legacy Legacy Modern Legacy Legacy Modern DRIVER 20 DRIVER DRIVER

21 Are we there yet? GUEST BIOS DMA VHOST USER VHOST 21

22 What to expect? Current: Virtio-v1.0-cs03 Next bugfix: Virtio-v1.0-cs04 22 Virtio-blk: writeback / writethrough control More update guidance Next feature: Virtio-v1.1-cs01 Virtio-input Virtio-gpu Virtio-vsock

23 TX: Interrupt avoidance uplink 23

24 TX: Interrupt coalescing uplink 24

25 Pass-through for nested virt Virtio Net (on host) Memory mapped: use page tables IOMMU: translate and protect guest memory 25

26 Virtio as PCI Express device Uses memory mapped IO support Multi-root for NUMA Native hotplug Advanced Error Reporting 26

27 Summary Why do it? 27 Improved robustness for virtual devices Are we there yet? Yes! And there's more to come.

28 Thank you! 28

29 Virtio 0.9: Port IO versus memory on KVM x86: cycles per access (lower is better) MMIO Port IO CPU cycles 29

30 OASIS Virtio TC PCI Virtio 1.0 MMIO (ARM) CCW (PPC) 30

31 Virtio 1.0 Virtio PCI: Replace Port IO with Memory mapped IO PCI Express (hotplug, AER, multi-root, SRIOV) Infinite features Reduced memory requirements Fixed endianness Compatibility 31

32 Port IO: outl EF OUT notify (%DX) VQ# %EAX VM Exit REASON 32 QUALIFICATION STATE

33 Memory mapped IO: writel 3E 89 MOV (%EDI) PTE %RSI VALID? VM Exit REASON 33 GUEST ADDRESS RIP

34 Fast MMIO notify MOV VQ# (%EDI) PTE VALID? VM Exit REASON 34 GUEST ADDRESS %RSI

35 Multiple interfaces CAPABILITY LIST IO BAR MEMORY BAR VIRTIO CAPABILITY #1 VIRTIO CAPABILITY #2 35

36 Memory requirements 0.9 VQ desc avail 1.0 VQ desc 36 used avail used

37 features DEVICE FEATURES - - DRIVER 1 v SEL DRIVER FEATURES DRIVER STATUS = FEATURES_OK....

38 Endianness intel Virtio 0.9 PPC Virtio BE Virtio LE Device LE Device BE Virtio 1.0 Virtio LE Device 38 Device Device

39 compatibility Driver Driver Compatibility Device 39 Device

40 Packet layout Virtio 0.9 INDIRECT next Virtio 1.0 header 40 header

41 Packet layout: transactions per sec (higher is better) virtio 0.9 virtio transactions/sec 41

42 More: virtio 1.0 versus Virtio 9p Virtio blk: WCE Virtio-net Multiqueue Virtio-net dynamic offloads Already upstream (based on spec draft) 42

43 vhost updates Vhost scsi Vhost-net zero copy transmit No need for driver changes 43

44 Kvm networking Openvswitch if time allows Ethernet bridge 44

45 Bridge FDB London Heathrow Paris CDG uplink London Heathrow 45 London Paris CDG Paris

46 Flood: DOS potential London Heathrow Paris CDG uplink Bangkok Heathrow 46 London CDG Paris

47 Disable flood London Heathrow Paris CDG uplink London Heathrow 47 London Bangkok Paris CDG Paris

48 softmac Ifconfig eth0 hw ether 00:12:23:45:67:89 00:12:23:45:67:89 virtio-net MAC 48 NEW

49 Using softmac/non promiscuous London Heathrow Paris CDG uplink Paris Heathrow CDG NEW 49 Paris

50 Work in progress ELVIS (vhost blk/vhost net) Virgl Vhost-net performance 50

51 RX latency NIC HOST VHOST VM 51

52 Fast rx NIC HOST Current? VHOST VM 52 RAM?

53 Fast rx: transactions per sec (higher is better) thread irq transactions/sec 53 Hit Miss 79

54 Vhost-net threading tap RX VHOST VM NIC VHOST VM 54 TX

55 Vhost-net thread pool tap VM WQ VHOST NIC VM 55 VHOST

56 threading: UDP RR transactions/sec (higher is better) thread wq

57 threading: TCP STREAM transactions/sec (higher is better) thread wq

58 summary Performance Manageability Security 58

59 Questions? 59

60 OVS: flow match PACKET FLOW kernel userspace OVS-VSWITCHD 60 VM

61 OVS: wildcard match PACKET FLOW * kernel userspace OVS-VSWITCHD 61 VM

62 Wilcard: netperf CRR (higher is better) match wildcard bi-connections/sec 62

63 63

Quo Vadis Virtio? Michael S. Tsirkin Red Hat

Quo Vadis Virtio? Michael S. Tsirkin Red Hat Quo Vadis Virtio? 26 Michael S. Tsirkin Red Hat Uses material from https://lwn.net/kernel/ldd3/ Gcompris, tuxpaint, childplay Distributed under the Creative commons license, except logos which are C/TM

More information

viommu/arm: full emulation and virtio-iommu approaches Eric Auger KVM Forum 2017

viommu/arm: full emulation and virtio-iommu approaches Eric Auger KVM Forum 2017 viommu/arm: full emulation and virtio-iommu approaches Eric Auger KVM Forum 2017 Overview Goals & Terminology ARM IOMMU Emulation QEMU Device VHOST Integration VFIO Integration Challenges VIRTIO-IOMMU

More information

A Userspace Packet Switch for Virtual Machines

A Userspace Packet Switch for Virtual Machines SHRINKING THE HYPERVISOR ONE SUBSYSTEM AT A TIME A Userspace Packet Switch for Virtual Machines Julian Stecklina OS Group, TU Dresden jsteckli@os.inf.tu-dresden.de VEE 2014, Salt Lake City 1 Motivation

More information

viommu/arm: full emulation and virtio-iommu approaches Eric Auger KVM Forum 2017

viommu/arm: full emulation and virtio-iommu approaches Eric Auger KVM Forum 2017 viommu/arm: full emulation and virtio-iommu approaches Eric Auger KVM Forum 2017 Overview Goals & Terminology ARM IOMMU Emulation QEMU Device VHOST Integration VFIO Integration Challenges VIRTIO-IOMMU

More information

KVM Weather Report. Amit Shah SCALE 14x

KVM Weather Report. Amit Shah SCALE 14x KVM Weather Report amit.shah@redhat.com SCALE 14x Copyright 2016, Licensed under the Creative Commons Attribution-ShareAlike License, CC-BY-SA. Virtualization Stack Virtualization Stack 3 QEMU Creates

More information

Accelerating VM networking through XDP. Jason Wang Red Hat

Accelerating VM networking through XDP. Jason Wang Red Hat Accelerating VM networking through XDP Jason Wang Red Hat Agenda Kernel VS userspace Introduction to XDP XDP for VM Use cases Benchmark and TODO Q&A Kernel Networking datapath TAP A driver to transmit

More information

Vhost dataplane in Qemu. Jason Wang Red Hat

Vhost dataplane in Qemu. Jason Wang Red Hat Vhost dataplane in Qemu Jason Wang Red Hat Agenda History & Evolution of vhost Issues Vhost dataplane TODO Userspace Qemu networking Qemu Guest mainloop in IOThread virtio VCPU VCPU tap fd vcpu fd vcpu

More information

VIRTIO 1.0. Paravirtualized I/O for KVM and beyond. Stefan Hajnoczi 8 th February 2014 INTERNAL ONLY PRESENTER NAME

VIRTIO 1.0. Paravirtualized I/O for KVM and beyond. Stefan Hajnoczi 8 th February 2014 INTERNAL ONLY PRESENTER NAME VIRTIO 1.0 Paravirtualized I/O for KVM and beyond Stefan Hajnoczi 8 th February 2014 1 What we're going to cover How VIRTIO 1.0 works You want to: Understand paravirtualized I/O Design

More information

Virtio/vhost status update

Virtio/vhost status update Virtio/vhost status update Yuanhan Liu Aug 2016 outline Performance Multiple Queue Vhost TSO Functionality/Stability Live migration Reconnect Vhost PMD Todo Vhost-pci Vhost Tx

More information

KVM PV DEVICES.

KVM PV DEVICES. K DEVICES dor.laor@qumranet.com 1 Agenda Introduction & brief history VirtIO Enhanced VirtIO with K support Further implementation 2 General & history Fully virtualized devices performs bad 55 Mbps for

More information

Achieve Low Latency NFV with Openstack*

Achieve Low Latency NFV with Openstack* Achieve Low Latency NFV with Openstack* Yunhong Jiang Yunhong.Jiang@intel.com *Other names and brands may be claimed as the property of others. Agenda NFV and network latency Why network latency on NFV

More information

KVM 在 OpenStack 中的应用. Dexin(Mark) Wu

KVM 在 OpenStack 中的应用. Dexin(Mark) Wu KVM 在 OpenStack 中的应用 Dexin(Mark) Wu Agenda Overview CPU Memory Storage Network Architecture Overview nova-api REST API nova-scheduler nova-conductor nova-compute DB RPC Call libvirt driver libvirt Cinder

More information

Virtual switching technologies and Linux bridge

Virtual switching technologies and Linux bridge Virtual switching technologies and Linux bridge Toshiaki Makita NTT Open Source Software Center Today's topics Virtual switching technologies in Linux Software switches (bridges) in Linux Switching technologies

More information

Red Hat Enterprise Virtualization Hypervisor Roadmap. Bhavna Sarathy Senior Technology Product Manager, Red Hat

Red Hat Enterprise Virtualization Hypervisor Roadmap. Bhavna Sarathy Senior Technology Product Manager, Red Hat Red Hat Enterprise Virtualization Hypervisor Roadmap Bhavna Sarathy Senior Technology Product Manager, Red Hat RHEV Hypervisor 1 RHEV Hypervisor Themes & 2 Architecture & Use cases 3 Q&A 4 Future 5 } HYPERVISOR

More information

Kata Containers The way to run virtualized containers. Sebastien Boeuf, Linux Software Engineer Intel Corporation

Kata Containers The way to run virtualized containers. Sebastien Boeuf, Linux Software Engineer Intel Corporation Kata Containers The way to run virtualized containers Sebastien Boeuf, Linux Software Engineer Intel Corporation https://regmedia.co.uk/2017/09/11/shutterstock_containers_in_port.jpg Containers 101 Process

More information

Agenda. About us Why para-virtualize RDMA Project overview Open issues Future plans

Agenda. About us Why para-virtualize RDMA Project overview Open issues Future plans Agenda About us Why para-virtualize RDMA Project overview Open issues Future plans About us Marcel from KVM team in Redhat Yuval from Networking/RDMA team in Oracle This is a shared-effort open source

More information

KVM PV DEVICES.

KVM PV DEVICES. K DEVICES dor.laor@qumranet.com Agenda Kernel Virtual Machine overview Paravirtualized s intro & brief history VirtIO Enhanced VirtIO with K support 2 Kernel Virtual Machine overview is a regular Linux

More information

KVM on POWER Status update & IO Architecture

KVM on POWER Status update & IO Architecture KVM on POWER Status update & IO Architecture Benjamin Herrenschmidt benh@au1.ibm.com IBM Linux Technology Center November 2012 Linux is a registered trademark of Linus Torvalds. Reminders 2 different virtualization

More information

Changpeng Liu. Senior Storage Software Engineer. Intel Data Center Group

Changpeng Liu. Senior Storage Software Engineer. Intel Data Center Group Changpeng Liu Senior Storage Software Engineer Intel Data Center Group Legal Notices and Disclaimers Intel technologies features and benefits depend on system configuration and may require enabled hardware,

More information

Knut Omang Ifi/Oracle 20 Oct, Introduction to virtualization (Virtual machines) Aspects of network virtualization:

Knut Omang Ifi/Oracle 20 Oct, Introduction to virtualization (Virtual machines) Aspects of network virtualization: Software and hardware support for Network Virtualization part 2 Knut Omang Ifi/Oracle 20 Oct, 2015 32 Overview Introduction to virtualization (Virtual machines) Aspects of network virtualization: Virtual

More information

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC,

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale

More information

CLOUD ARCHITECTURE & PERFORMANCE WORKLOADS. Field Activities

CLOUD ARCHITECTURE & PERFORMANCE WORKLOADS. Field Activities CLOUD ARCHITECTURE & PERFORMANCE WORKLOADS Field Activities Matt Smith Senior Solution Architect Red Hat, Inc @rhmjs Jeremy Eder Principal Performance Engineer Red Hat, Inc @jeremyeder CLOUD ARCHITECTURE

More information

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC,

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale

More information

KVM PERFORMANCE OPTIMIZATIONS INTERNALS. Rik van Riel Sr Software Engineer, Red Hat Inc. Thu May

KVM PERFORMANCE OPTIMIZATIONS INTERNALS. Rik van Riel Sr Software Engineer, Red Hat Inc. Thu May KVM PERFORMANCE OPTIMIZATIONS INTERNALS Rik van Riel Sr Software Engineer, Red Hat Inc. Thu May 5 2011 KVM performance optimizations What is virtualization performance? Optimizations in RHEL 6.0 Selected

More information

Accelerating NVMe-oF* for VMs with the Storage Performance Development Kit

Accelerating NVMe-oF* for VMs with the Storage Performance Development Kit Accelerating NVMe-oF* for VMs with the Storage Performance Development Kit Jim Harris Principal Software Engineer Intel Data Center Group Santa Clara, CA August 2017 1 Notices and Disclaimers Intel technologies

More information

Advanced Computer Networks. End Host Optimization

Advanced Computer Networks. End Host Optimization Oriana Riva, Department of Computer Science ETH Zürich 263 3501 00 End Host Optimization Patrick Stuedi Spring Semester 2017 1 Today End-host optimizations: NUMA-aware networking Kernel-bypass Remote Direct

More information

Changpeng Liu, Cloud Software Engineer. Piotr Pelpliński, Cloud Software Engineer

Changpeng Liu, Cloud Software Engineer. Piotr Pelpliński, Cloud Software Engineer Changpeng Liu, Cloud Software Engineer Piotr Pelpliński, Cloud Software Engineer Introduction to VirtIO and Vhost SPDK Vhost Architecture Use cases for vhost Benchmarks Next steps QEMU VIRTIO Vhost (KERNEL)

More information

VIRTIO: VHOST DATA PATH ACCELERATION TORWARDS NFV CLOUD. CUNMING LIANG, Intel

VIRTIO: VHOST DATA PATH ACCELERATION TORWARDS NFV CLOUD. CUNMING LIANG, Intel VIRTIO: VHOST DATA PATH ACCELERATION TORWARDS NFV CLOUD CUNMING LIANG, Intel Agenda Towards NFV Cloud vhost Data Path Acceleration vdpa Intro vdpa Design vdpa Implementation Summary & Future Work Towards

More information

VIRTIO-NET: VHOST DATA PATH ACCELERATION TORWARDS NFV CLOUD. CUNMING LIANG, Intel

VIRTIO-NET: VHOST DATA PATH ACCELERATION TORWARDS NFV CLOUD. CUNMING LIANG, Intel VIRTIO-NET: VHOST DATA PATH ACCELERATION TORWARDS NFV CLOUD CUNMING LIANG, Intel Agenda Towards NFV Cloud Background & Motivation vhost Data Path Acceleration Intro Design Impl Summary & Future Work Towards

More information

Virtio SCSI. An alternative virtualized storage stack for KVM. Stefan Hajnoczi Paolo Bonzini

Virtio SCSI. An alternative virtualized storage stack for KVM. Stefan Hajnoczi Paolo Bonzini Virtio SCSI An alternative virtualized storage stack for KVM Stefan Hajnoczi stefanha@linux.vnet.ibm.com Paolo Bonzini pbonzini@redhat.com Overview Limitations in QEMU's storage stack virtio-scsi: a new

More information

New Approach to OVS Datapath Performance. Founder of CloudNetEngine Jun Xiao

New Approach to OVS Datapath Performance. Founder of CloudNetEngine Jun Xiao New Approach to OVS Datapath Performance Founder of CloudNetEngine Jun Xiao Agenda VM virtual network datapath evolvement Technical deep dive on a new OVS datapath Performance comparisons Q & A 2 VM virtual

More information

vswitch Acceleration with Hardware Offloading CHEN ZHIHUI JUNE 2018

vswitch Acceleration with Hardware Offloading CHEN ZHIHUI JUNE 2018 x vswitch Acceleration with Hardware Offloading CHEN ZHIHUI JUNE 2018 Current Network Solution for Virtualization Control Plane Control Plane virtio virtio user space PF VF2 user space TAP1 SW Datapath

More information

What is an L3 Master Device?

What is an L3 Master Device? What is an L3 Master Device? David Ahern Cumulus Networks Mountain View, CA, USA dsa@cumulusnetworks.com Abstract The L3 Master Device (l3mdev) concept was introduced to the Linux networking stack in v4.4.

More information

Status Update About COLO FT

Status Update About COLO FT Status Update About COLO FT www.huawei.com Hailiang Zhang (Huawei) Randy Han (Huawei) Agenda Introduce COarse-grain LOck-stepping COLO Design and Technology Details Current Status Of COLO In KVM Further

More information

Zero-copy Receive for Virtualized Network Devices

Zero-copy Receive for Virtualized Network Devices Zero-copy Receive for Virtualized Network Devices Kalman Meth, Joel Nider and Mike Rapoport IBM Research Labs - Haifa {meth,joeln,rapoport}@il.ibm.com Abstract. When receiving network traffic on guest

More information

打造 Linux 下的高性能网络 北京酷锐达信息技术有限公司技术总监史应生.

打造 Linux 下的高性能网络 北京酷锐达信息技术有限公司技术总监史应生. 打造 Linux 下的高性能网络 北京酷锐达信息技术有限公司技术总监史应生 shiys@solutionware.com.cn BY DEFAULT, LINUX NETWORKING NOT TUNED FOR MAX PERFORMANCE, MORE FOR RELIABILITY Trade-off :Low Latency, throughput, determinism Performance

More information

Accelerating NVMe I/Os in Virtual Machine via SPDK vhost* Solution Ziye Yang, Changpeng Liu Senior software Engineer Intel

Accelerating NVMe I/Os in Virtual Machine via SPDK vhost* Solution Ziye Yang, Changpeng Liu Senior software Engineer Intel Accelerating NVMe I/Os in Virtual Machine via SPDK vhost* Solution Ziye Yang, Changpeng Liu Senior software Engineer Intel @optimistyzy Notices & Disclaimers Intel technologies features and benefits depend

More information

CS 152 Computer Architecture and Engineering

CS 152 Computer Architecture and Engineering CS 152 Computer Architecture and Engineering Lecture 12 -- Virtual Memory 2014-2-27 John Lazzaro (not a prof - John is always OK) TA: Eric Love www-inst.eecs.berkeley.edu/~cs152/ Play: CS 152 L12: Virtual

More information

DPDK Summit 2016 OpenContrail vrouter / DPDK Architecture. Raja Sivaramakrishnan, Distinguished Engineer Aniket Daptari, Sr.

DPDK Summit 2016 OpenContrail vrouter / DPDK Architecture. Raja Sivaramakrishnan, Distinguished Engineer Aniket Daptari, Sr. DPDK Summit 2016 OpenContrail vrouter / DPDK Architecture Raja Sivaramakrishnan, Distinguished Engineer Aniket Daptari, Sr. Product Manager CONTRAIL (MULTI-VENDOR) ARCHITECTURE ORCHESTRATOR Interoperates

More information

MDev-NVMe: A NVMe Storage Virtualization Solution with Mediated Pass-Through

MDev-NVMe: A NVMe Storage Virtualization Solution with Mediated Pass-Through MDev-NVMe: A NVMe Storage Virtualization Solution with Mediated Pass-Through Bo Peng 1,2, Haozhong Zhang 2, Jianguo Yao 1, Yaozu Dong 2, Yu Xu 1, Haibing Guan 1 1 Shanghai Key Laboratory of Scalable Computing

More information

Support for Smart NICs. Ian Pratt

Support for Smart NICs. Ian Pratt 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 Network device channel NetChannel2 proposal I/O Architecture

More information

KVM as The NFV Hypervisor

KVM as The NFV Hypervisor KVM as The NFV Hypervisor Jun Nakajima Contributors: Mesut Ergin, Yunhong Jiang, Krishna Murthy, James Tsai, Wei Wang, Huawei Xie, Yang Zhang 1 Legal Disclaimer INFORMATION IN THIS DOCUMENT IS PROVIDED

More information

QorIQ Intelligent Network Interface Card (inic) Solution SDK v1.0 Update

QorIQ Intelligent Network Interface Card (inic) Solution SDK v1.0 Update QorIQ Intelligent Network Interface Card (inic) Solution SDK v1.0 Update APF-NET-T0658 Gary Chu A U G. 2 0 1 4 TM External Use The New Virtualized Network Cloud Cloud gaining momentum as the service platform

More information

Netchannel 2: Optimizing Network Performance

Netchannel 2: Optimizing Network Performance Netchannel 2: Optimizing Network Performance J. Renato Santos +, G. (John) Janakiraman + Yoshio Turner +, Ian Pratt * + HP Labs - * XenSource/Citrix Xen Summit Nov 14-16, 2007 2003 Hewlett-Packard Development

More information

Changpeng Liu. Cloud Storage Software Engineer. Intel Data Center Group

Changpeng Liu. Cloud Storage Software Engineer. Intel Data Center Group Changpeng Liu Cloud Storage Software Engineer Intel Data Center Group Notices & Disclaimers Intel technologies features and benefits depend on system configuration and may require enabled hardware, software

More information

RoCE Update. Liran Liss, Mellanox Technologies March,

RoCE Update. Liran Liss, Mellanox Technologies March, RoCE Update Liran Liss, Mellanox Technologies March, 2012 www.openfabrics.org 1 Agenda RoCE Ecosystem QoS Virtualization High availability Latest news 2 RoCE in the Data Center Lossless configuration recommended

More information

VDPA: VHOST-MDEV AS NEW VHOST PROTOCOL TRANSPORT

VDPA: VHOST-MDEV AS NEW VHOST PROTOCOL TRANSPORT VDPA: VHOST-MDEV AS NEW VHOST PROTOCOL TRANSPORT CUNMING(Steve) LIANG, Intel cunming.liang AT intel.com KVM Forum 2018, Edinburgh October, 2018 Background KVM Forum 2018 / Edinburg / 2018 Intel Corporation

More information

Next Gen Virtual Switch. CloudNetEngine Founder & CTO Jun Xiao

Next Gen Virtual Switch. CloudNetEngine Founder & CTO Jun Xiao Next Gen Virtual Switch CloudNetEngine Founder & CTO Jun Xiao Agenda Thoughts on next generation virtual switch Technical deep dive on CloudNetEngine virtual switch Q & A 2 Major vswitches categorized

More information

Improve VNF safety with Vhost-User/DPDK IOMMU support

Improve VNF safety with Vhost-User/DPDK IOMMU support Improve VNF safety with Vhost-User/DPDK IOMMU support No UIO anymore! Maxime Coquelin Software Engineer KVM Forum 2017 AGENDA Background Vhost-user device IOTLB implementation Benchmarks Future improvements

More information

Vhost and VIOMMU. Jason Wang (Wei Xu Peter Xu

Vhost and VIOMMU. Jason Wang (Wei Xu Peter Xu Vhost and VIOMMU Jason Wang (Wei Xu ) Peter Xu Agenda IOMMU & Qemu viommu background Motivation of secure virtio DMAR (DMA Remapping) Design Overview

More information

Cisco UCS Manager VM-FEX for KVM CLI Configuration Guide, Release 3.2

Cisco UCS Manager VM-FEX for KVM CLI Configuration Guide, Release 3.2 Cisco UCS Manager VM-FEX for KVM CLI Configuration Guide, Release 3.2 First Published: 2017-08-18 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com

More information

Intel Graphics Virtualization on KVM. Aug KVM Forum 2011 Rev. 3

Intel Graphics Virtualization on KVM. Aug KVM Forum 2011 Rev. 3 Intel Graphics Virtualization on KVM Aug-16-2011 allen.m.kay@intel.com KVM Forum 2011 Rev. 3 Agenda Background on IO Virtualization Device Operation on Native Platform QEMU IO Virtualization Device Direct

More information

KVM Weather Report. Red Hat Author Gleb Natapov May 29, 2013

KVM Weather Report. Red Hat Author Gleb Natapov May 29, 2013 KVM Weather Report Red Hat Author Gleb Natapov May 29, 2013 Part I What is KVM Section 1 KVM Features KVM Features 4 KVM features VT-x/AMD-V (hardware virtualization) EPT/NPT (two dimensional paging) CPU/memory

More information

ARM-KVM: Weather Report Korea Linux Forum

ARM-KVM: Weather Report Korea Linux Forum ARM-KVM: Weather Report Korea Linux Forum Mario Smarduch Senior Virtualization Architect m.smarduch@samsung.com 1 ARM-KVM This Year Key contributors Linaro, ARM Access to documentation & specialized HW

More information

VALE: a switched ethernet for virtual machines

VALE: a switched ethernet for virtual machines L < > T H local VALE VALE -- Page 1/23 VALE: a switched ethernet for virtual machines Luigi Rizzo, Giuseppe Lettieri Università di Pisa http://info.iet.unipi.it/~luigi/vale/ Motivation Make sw packet processing

More information

DPDK Summit China 2017

DPDK Summit China 2017 DPDK Summit China 2017 2 DPDK in container Status Quo and Future Directions Jianfeng Tan, June 2017 3 LEGAL DISCLAIMER No license (express or implied, by estoppel or otherwise) to any intellectual property

More information

A comparative analysis of Precision Time Protocol in native, virtual machines and container-based environments for consolidating automotive workloads

A comparative analysis of Precision Time Protocol in native, virtual machines and container-based environments for consolidating automotive workloads A comparative analysis of Precision Time Protocol in native, virtual machines and container-based environments for consolidating automotive workloads Speaker: Co-authors: Ong Boon Leong boon.leong.ong@intel.com

More information

Data Path acceleration techniques in a NFV world

Data Path acceleration techniques in a NFV world Data Path acceleration techniques in a NFV world Mohanraj Venkatachalam, Purnendu Ghosh Abstract NFV is a revolutionary approach offering greater flexibility and scalability in the deployment of virtual

More information

I/O Scalability in Xen

I/O Scalability in Xen I/O Scalability in Xen Kevin Tian kevin.tian@intel.com Eddie Dong eddie.dong@intel.com Yang Zhang yang.zhang@intel.com Sponsored by: & & Agenda Overview of I/O Scalability Issues Excessive Interrupts Hurt

More information

Real-Time KVM for the Masses Unrestricted Siemens AG All rights reserved

Real-Time KVM for the Masses Unrestricted Siemens AG All rights reserved Siemens Corporate Technology August 2015 Real-Time KVM for the Masses Unrestricted Siemens AG 2015. All rights reserved Real-Time KVM for the Masses Agenda Motivation & requirements Reference architecture

More information

Spring 2017 :: CSE 506. Device Programming. Nima Honarmand

Spring 2017 :: CSE 506. Device Programming. Nima Honarmand Device Programming Nima Honarmand read/write interrupt read/write Spring 2017 :: CSE 506 Device Interface (Logical View) Device Interface Components: Device registers Device Memory DMA buffers Interrupt

More information

What is KVM? KVM patch. Modern hypervisors must do many things that are already done by OSs Scheduler, Memory management, I/O stacks

What is KVM? KVM patch. Modern hypervisors must do many things that are already done by OSs Scheduler, Memory management, I/O stacks LINUX-KVM The need for KVM x86 originally virtualization unfriendly No hardware provisions Instructions behave differently depending on privilege context(popf) Performance suffered on trap-and-emulate

More information

Measuring a 25 Gb/s and 40 Gb/s data plane

Measuring a 25 Gb/s and 40 Gb/s data plane Measuring a 25 Gb/s and 40 Gb/s data plane Christo Kleu Pervaze Akhtar 1 Contents Preliminaries Equipment Traffic generators Test topologies Host and VM configuration NUMA Architecture CPU allocation BIOS

More information

COSC6376 Cloud Computing Lecture 15: IO Virtualization

COSC6376 Cloud Computing Lecture 15: IO Virtualization COSC6376 Cloud Computing Lecture 15: IO Virtualization Instructor: Weidong Shi (Larry), PhD Computer Science Department University of Houston IOV Outline PCI-E Sharing Terminology System Image 1 Virtual

More information

Corporate Update. OpenVswitch hardware offload over DPDK. DPDK summit 2017

Corporate Update. OpenVswitch hardware offload over DPDK. DPDK summit 2017 Corporate Update OpenVswitch hardware offload over DPDK DPDK summit 2017 Agenda ASAP2-Flex for vswitch/vrouter acceleration HW classification offload concept OVS-DPDK using HW classification offload RFC

More information

6.9. Communicating to the Outside World: Cluster Networking

6.9. Communicating to the Outside World: Cluster Networking 6.9 Communicating to the Outside World: Cluster Networking This online section describes the networking hardware and software used to connect the nodes of cluster together. As there are whole books and

More information

Agilio CX 2x40GbE with OVS-TC

Agilio CX 2x40GbE with OVS-TC PERFORMANCE REPORT Agilio CX 2x4GbE with OVS-TC OVS-TC WITH AN AGILIO CX SMARTNIC CAN IMPROVE A SIMPLE L2 FORWARDING USE CASE AT LEAST 2X. WHEN SCALED TO REAL LIFE USE CASES WITH COMPLEX RULES TUNNELING

More information

Understanding The Performance of DPDK as a Computer Architect

Understanding The Performance of DPDK as a Computer Architect Understanding The Performance of DPDK as a Computer Architect XIAOBAN WU *, PEILONG LI *, YAN LUO *, LIANG- MIN (LARRY) WANG +, MARC PEPIN +, AND JOHN MORGAN + * UNIVERSITY OF MASSACHUSETTS LOWELL + INTEL

More information

HKG net_mdev: Fast-path userspace I/O. Ilias Apalodimas Mykyta Iziumtsev François-Frédéric Ozog

HKG net_mdev: Fast-path userspace I/O. Ilias Apalodimas Mykyta Iziumtsev François-Frédéric Ozog HKG18-110 net_mdev: Fast-path userspace I/O Ilias Apalodimas Mykyta Iziumtsev François-Frédéric Ozog Why userland I/O Time sensitive networking Developed mostly for Industrial IOT, automotive and audio/video

More information

DPDK Summit China 2017

DPDK Summit China 2017 Summit China 2017 Embedded Network Architecture Optimization Based on Lin Hao T1 Networks Agenda Our History What is an embedded network device Challenge to us Requirements for device today Our solution

More information

Ethernet Services over IPoIB

Ethernet Services over IPoIB Services over Ali Ayoub, Mellanox Technologies March, 2012 www.openfabrics.org 1 Background What is? encapsulation over InfiniBand RFC 4391/4392 Provides services over InfiniBand fabric Benefits: Acts

More information

10GE network tests with UDP. Janusz Szuba European XFEL

10GE network tests with UDP. Janusz Szuba European XFEL 10GE network tests with UDP Janusz Szuba European XFEL Outline 2 Overview of initial DAQ architecture Slice test hardware specification Initial networking test results DAQ software UDP tests Summary 10GE

More information

Using SR-IOV offloads with Open-vSwitch and similar applications

Using SR-IOV offloads with Open-vSwitch and similar applications Using SR-IOV offloads with Open-vSwitch and similar applications Rony Efraim, Or Gerlitz Netdev conferences 1.2 Oct 2016 Agenda Solution building blocks Use the software datapath (kernel) as a slow path

More information

FAQ. Release rc2

FAQ. Release rc2 FAQ Release 19.02.0-rc2 January 15, 2019 CONTENTS 1 What does EAL: map_all_hugepages(): open failed: Permission denied Cannot init memory mean? 2 2 If I want to change the number of hugepages allocated,

More information

Jeff Dodson / Avago Technologies

Jeff Dodson / Avago Technologies SNIA PRESENTATION Tutorial: TITLE PCIe GOES Shared HERE I/O Jeff Dodson / Avago Technologies SNIA Legal Notice The material contained in this tutorial is copyrighted by the SNIA unless otherwise noted.

More information

vnetwork Future Direction Howie Xu, VMware R&D November 4, 2008

vnetwork Future Direction Howie Xu, VMware R&D November 4, 2008 vnetwork Future Direction Howie Xu, VMware R&D November 4, 2008 Virtual Datacenter OS from VMware Infrastructure vservices and Cloud vservices Existing New - roadmap Virtual Datacenter OS from VMware Agenda

More information

Virtualization. Adam Belay

Virtualization. Adam Belay Virtualization Adam Belay What is a virtual machine Simulation of a computer Running as an application on a host computer Accurate Isolated Fast Why use a virtual machine? To run multiple

More information

International Journal of Advance Engineering and Research Development. DPDK-Based Implementation Of Application : File Downloader

International Journal of Advance Engineering and Research Development. DPDK-Based Implementation Of Application : File Downloader Scientific Journal of Impact Factor (SJIF): 4.72 International Journal of Advance Engineering and Research Development Volume 4, Issue 3, March -2017 e-issn (O): 2348-4470 p-issn (P): 2348-6406 DPDK-Based

More information

Installation and Maintenance Instructions for Intel(R) R-WPA VNF Package

Installation and Maintenance Instructions for Intel(R) R-WPA VNF Package Installation and Maintenance Instructions for Intel(R) R-WPA VNF Package Contents Contents 1 Table of Figures 2 Overview 3 Installation Steps 4 1 Host Setup 4 11 System BIOS settings 4 111 Virtualization

More information

DPDK Vhost/Virtio Performance Report Release 18.11

DPDK Vhost/Virtio Performance Report Release 18.11 DPDK Vhost/Virtio Performance Report Test Date: December 3st 2018 Author: Intel DPDK Validation Team Revision History Date Revision Comment December 3st, 2018 1.0 Initial document for release 2 Contents

More information

libvirt integration and testing for enterprise KVM/ARM Drew Jones, Eric Auger Linaro Connect Budapest 2017 (BUD17)

libvirt integration and testing for enterprise KVM/ARM Drew Jones, Eric Auger Linaro Connect Budapest 2017 (BUD17) libvirt integration and testing for enterprise KVM/ARM Drew Jones, Eric Auger Linaro Connect Budapest 2017 (BUD17) Overview Enterprise guest requirements QEMU/KVM enterprise guest management libvirt A

More information

Applying Polling Techniques to QEMU

Applying Polling Techniques to QEMU Applying Polling Techniques to QEMU Reducing virtio-blk I/O Latency Stefan Hajnoczi KVM Forum 2017 Agenda Problem: Virtualization overhead is significant for high IOPS devices QEMU

More information

KVM Forum Keynote. Paolo Bonzini Red Hat, Inc. KVM Forum 2014

KVM Forum Keynote. Paolo Bonzini Red Hat, Inc. KVM Forum 2014 KVM Forum 2014 - Keynote Paolo Bonzini Red Hat, Inc. KVM Forum 2014 KVM in 2014 7 in-tree architectures Active: ARM/ARM64, MIPS, PPC, x86, s390 Dead: ia64 Out-of-tree: Tilera, MIPS hardware virt 2 main

More information

Deploy the ASAv Using KVM

Deploy the ASAv Using KVM You can deploy the ASAv using the Kernel-based Virtual Machine (KVM). About ASAv Deployment Using KVM, on page 1 Prerequisites for the ASAv and KVM, on page 2 Prepare the Day 0 Configuration File, on page

More information

Implementing the Wireless Token Ring Protocol As a Linux Kernel Module

Implementing the Wireless Token Ring Protocol As a Linux Kernel Module Implementing the Wireless Token Ring Protocol As a Linux Kernel Module Ruchira Datta Web Over Wireless Group University of California Berkeley, California September 28, 2001 1 Preliminary Groundwork: Fake

More information

IsoStack Highly Efficient Network Processing on Dedicated Cores

IsoStack Highly Efficient Network Processing on Dedicated Cores IsoStack Highly Efficient Network Processing on Dedicated Cores Leah Shalev Eran Borovik, Julian Satran, Muli Ben-Yehuda Outline Motivation IsoStack architecture Prototype TCP/IP over 10GE on a single

More information

Zhang Chen Zhang Chen Copyright 2017 FUJITSU LIMITED

Zhang Chen Zhang Chen Copyright 2017 FUJITSU LIMITED Introduce Introduction And And Status Status Update Update About About COLO COLO FT FT Zhang Chen Zhang Chen Agenda Background Introduction

More information

A Brief Guide to Virtual Switching Franck Baudin (Red Hat) Billy O Mahony (Intel)

A Brief Guide to Virtual Switching Franck Baudin (Red Hat) Billy O Mahony (Intel) A Brief Guide to Virtual Switching Franck Baudin (Red Hat) Billy O Mahony (Intel) vswitching: Different Use Cases Enterprise Data Center Manageability Console Telco Network Infrastructure Larger Packet

More information

Ethernet switch support in the Linux kernel

Ethernet switch support in the Linux kernel ELC 2018 Ethernet switch support in the Linux kernel Alexandre Belloni alexandre.belloni@bootlin.com Copyright 2004-2018, Bootlin. Creative Commons BY-SA 3.0 license. Corrections, suggestions, contributions

More information

INSTALLATION RUNBOOK FOR Netronome Agilio OvS. MOS Version: 8.0 OpenStack Version:

INSTALLATION RUNBOOK FOR Netronome Agilio OvS. MOS Version: 8.0 OpenStack Version: INSTALLATION RUNBOOK FOR Netronome Agilio OvS Product Name: Agilio OvS Driver Version: 2.2-r4603 MOS Version: 8.0 OpenStack Version: Liberty Product Type: Network Offload Driver 1. Introduction 1.1 Target

More information

Evolution of the netmap architecture

Evolution of the netmap architecture L < > T H local Evolution of the netmap architecture Evolution of the netmap architecture -- Page 1/21 Evolution of the netmap architecture Luigi Rizzo, Università di Pisa http://info.iet.unipi.it/~luigi/vale/

More information

Open vswitch - architecture

Open vswitch - architecture Ashok Emani Open vswitch - architecture Netlink User Space vswitchd Kernel Space OVS Kernel Space Forwarding Plane Available at www.openvswitch.org Main forwarding plane runs in kernel space Exception

More information

Xen VT status and TODO lists for Xen-summit. Arun Sharma, Asit Mallick, Jun Nakajima, Sunil Saxena

Xen VT status and TODO lists for Xen-summit. Arun Sharma, Asit Mallick, Jun Nakajima, Sunil Saxena Xen VT status and TODO lists for Xen-summit Arun Sharma, Asit Mallick, Jun Nakajima, Sunil Saxena R Outline VMX Guests Status Summary Status Domain0 restructuring PCI/IOAPIC X86-64 VMX guests enhancements

More information

Much Faster Networking

Much Faster Networking Much Faster Networking David Riddoch driddoch@solarflare.com Copyright 2016 Solarflare Communications, Inc. All rights reserved. What is kernel bypass? The standard receive path The standard receive path

More information

Got Loss? Get zovn! Daniel Crisan, Robert Birke, Gilles Cressier, Cyriel Minkenberg, and Mitch Gusat. ACM SIGCOMM 2013, August, Hong Kong, China

Got Loss? Get zovn! Daniel Crisan, Robert Birke, Gilles Cressier, Cyriel Minkenberg, and Mitch Gusat. ACM SIGCOMM 2013, August, Hong Kong, China Got Loss? Get zovn! Daniel Crisan, Robert Birke, Gilles Cressier, Cyriel Minkenberg, and Mitch Gusat ACM SIGCOMM 2013, 12-16 August, Hong Kong, China Virtualized Server 1 Application Performance in Virtualized

More information

Virtio-blk Performance Improvement

Virtio-blk Performance Improvement Virtio-blk Performance Improvement Asias He , Red Hat Nov 8, 2012, Barcelona, Spain KVM FORUM 2012 1 Storage transport choices in KVM Full virtualization : IDE, SATA, SCSI Good guest

More information

Real Safe Times in the Jailhouse Hypervisor Unrestricted Siemens AG All rights reserved

Real Safe Times in the Jailhouse Hypervisor Unrestricted Siemens AG All rights reserved Siemens Corporate Technology Real Safe Times in the Jailhouse Hypervisor Real Safe Times in the Jailhouse Hypervisor Agenda Jailhouse introduction Safe isolation Architecture support Jailhouse application

More information

Cisco Nexus 1000V for KVM Interface Configuration Guide, Release 5.x

Cisco Nexus 1000V for KVM Interface Configuration Guide, Release 5.x Cisco Nexus 1000V for KVM Interface Configuration Guide, Release 5.x First Published: August 01, 2014 Last Modified: November 09, 2015 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San

More information

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme NET1343BU NSX Performance Samuel Kommu #VMworld #NET1343BU Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no

More information

references Virtualization services Topics Virtualization

references Virtualization services Topics Virtualization references Virtualization services Virtual machines Intel Virtualization technology IEEE xplorer, May 2005 Comparison of software and hardware techniques for x86 virtualization ASPLOS 2006 Memory resource

More information