SR-IOV support in Xen. Yaozu (Eddie) Dong Yunhong Jiang Kun (Kevin) Tian

Similar documents
Enhancing pass through device support with IOMMU. Haitao Shan Yunhong Jiang Allen M Kay Eddie (Yaozu) Dong

I/O virtualization. Jiang, Yunhong Yang, Xiaowei Software and Service Group 2009 虚拟化技术全国高校师资研讨班

I/O Scalability in Xen

How to abstract hardware acceleration device in cloud environment. Maciej Grochowski Intel DCG Ireland

Intel Virtualization Technology Roadmap and VT-d Support in Xen

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

Nested Virtualization Update From Intel. Xiantao Zhang, Eddie Dong Intel Corporation

Making Nested Virtualization Real by Using Hardware Virtualization Features

Graphics Pass-through with VT-d

Hardware-Assisted Mediated Pass-Through with VFIO. Kevin Tian Principal Engineer, Intel

Junhong Jiang, Kevin Tian, Chris Wright, Don Dugger

Towards More Power Friendly Xen

Live Migration of vgpu

KVM for IA64. Anthony Xu

Practical Xen Testing at Intel

VEE CompSC: Live Migration with Pass-through Devices ZHENHAO PAN &, YAOZU DONG *, YU CHEN &, LEI ZHANG &, ZHIJIAO ZHANG &,

SR-IOV Networking in Xen: Architecture, Design and Implementation


KVM as The NFV Hypervisor

Optimizing and Enhancing VM for the Cloud Computing Era. 20 November 2009 Jun Nakajima, Sheng Yang, and Eddie Dong

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

Runtime VM Protection By Intel Multi-Key Total Memory Encryption (MKTME)

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

Intel Graphics Virtualization Technology. Kevin Tian Graphics Virtualization Architect

VDPA: VHOST-MDEV AS NEW VHOST PROTOCOL TRANSPORT

Spring 2017 :: CSE 506. Introduction to. Virtual Machines. Nima Honarmand

Achieve Low Latency NFV with Openstack*

Intel s s Security Vision for Xen

A Novel Approach to Gain High Throughput and Low Latency through SR- IOV

Live Migration of vgpu

Building High-Performance NFV Solutions Using Containers

DPDK Summit China 2017

CS-580K/480K Advanced Topics in Cloud Computing. VM Virtualization II

Tackling the Management Challenges of Server Consolidation on Multi-core System

How to Configure Intel X520 Ethernet Server Adapter Based Virtual Functions on SuSE*Enterprise Linux Server* using Xen*

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

Virtualization (II) SPD Course 17/03/2010 Massimo Coppola

Intel Server Board S2600CW2S

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

VGPU ON KVM VFIO BASED MEDIATED DEVICE FRAMEWORK Neo Jia & Kirti Wankhede, 08/25/2016

Intel Atom Processor Based Platform Technologies. Intelligent Systems Group Intel Corporation

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

Virtual Machines. Part 2: starting 19 years ago. Operating Systems In Depth IX 1 Copyright 2018 Thomas W. Doeppner. All rights reserved.

Intel 82580EB/82580DB GbE Controller Feature Software Support. LAN Access Division (LAD)

Design of Vhost-pci - designing a new virtio device for inter-vm communication

Yocto Overview. Dexuan Cui Intel Corporation

Background. IBM sold expensive mainframes to large organizations. Monitor sits between one or more OSes and HW

KVM on POWER Status update & IO Architecture

Experiences Developing a Wayland-Based Tizen IVI HMI. Ossama Othman

I/O and virtualization

Jeff Dodson / Avago Technologies

Virtual Machine Security

Intel Dialogic CPi/200B2 and CPi/400B2 Fax Boards

Virtualization. Pradipta De

Intel I350 Gigabit Ethernet Adapters Product Guide

CSC 5930/9010 Cloud S & P: Virtualization

Xen on ARM ARMv7 with virtualization extensions

Rack Disaggregation Using PCIe Networking

CS 550 Operating Systems Spring Introduction to Virtual Machines

Introduction to Cloud Computing and Virtualization. Mayank Mishra Sujesha Sudevalayam PhD Students CSE, IIT Bombay

Intel Cloud Builder Guide: Cloud Design and Deployment on Intel Platforms

INTEL PERCEPTUAL COMPUTING SDK. How To Use the Privacy Notification Tool

Data Path acceleration techniques in a NFV world

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

Evolving Small Cells. Udayan Mukherjee Senior Principal Engineer and Director (Wireless Infrastructure)

Intel I350 Gigabit Ethernet Adapter for IBM System x IBM Redbooks Product Guide

The Convergence of Storage and Server Virtualization Solarflare Communications, Inc.

LED Manager for Intel NUC

Experiences Developing a Wayland Based IVI HMI. Ossama Othman 28 May 2013

KVM CPU MODEL IN SYSCALL EMULATION MODE ALEXANDRU DUTU, JOHN SLICE JUNE 14, 2015

Intel Server Board S5520HC

Intel Virtualization Technology for Directed I/O

Hardware assisted Virtualization in Embedded

Micro VMMs and Nested Virtualization

Virtual Machines. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

Intel Unite. Intel Unite Firewall Help Guide

Lecture 7. Xen and the Art of Virtualization. Paul Braham, Boris Dragovic, Keir Fraser et al. 16 November, Advanced Operating Systems

Zhang Tianfei. Rosen Xu

Windows Server Discussion with BCIU. Kevin Sullivan Management TSP US Education

Nested Virtualization and Server Consolidation

Xen on ARM. Stefano Stabellini

VIRTUALIZATION: IBM VM/370 AND XEN

Fakultät Informatik Institut für Systemarchitektur, Betriebssysteme THE NOVA KERNEL API. Julian Stecklina

Interrupt Swizzling Solution for Intel 5000 Chipset Series based Platforms

Innovating and Integrating for Communications and Storage

MxGPU Setup Guide with VMware

The Challenges of X86 Hardware Virtualization. GCC- Virtualization: Rajeev Wankar 36

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

Module 1: Virtualization. Types of Interfaces

VT-d Posted Interrupts. Feng Wu, Jun Nakajima <Speaker> Intel Corporation

Intel Server Board S1200BTS

CSCI 8530 Advanced Operating Systems. Part 19 Virtualization

COSC6376 Cloud Computing Lecture 15: IO Virtualization

Intel Server Board S2600STB

Container Adoption for NFV Challenges & Opportunities. Sriram Natarajan, T-Labs Silicon Valley Innovation Center

Xen and the Art of Virtualization

Link Virtualization based on Xen


RoCE Update. Liran Liss, Mellanox Technologies March,

Virtualisation: The KVM Way. Amit Shah

Transcription:

SR-IOV support in Xen Yaozu (Eddie) Dong (Eddie.Dong@intel.com) Yunhong Jiang Kun (Kevin) Tian

Agenda SR-IOV specification overview Xen/SR-IOV architecture Discussions 2

SR-IOV specification overview Start with a single function device HW under the control of privileged SW Includes an SR-IOV Extended Capability Physical Function (PF) IOVM DD VM 0 DD VM 1 DD Replicate the resources needed by a VM MMIO for direct communication RID to tag DMA traffic Minimal configuration space Virtual Function (VF) Introduces PCI Manager (PCIM) Conceptual SW entity Completes the configuration model Translates VF into a full function Configures SR-IOV resources Physical Function Virtual Function PF VF Shared Resource VF PCIM DMA, PIO, and Interrupts Initialization and Configuration 3

Xen/SRIOV architecture Dom0 (Service VM) user SR-IOV generic VF CFGS emulation Guest App CP DM SR-IOV VF management Network configuration Normal PCI driver with hot add/removal support Dom0 kernel Xen PF driver CFGS access Alt1: Inter-VM communication Guest Kernel Alt2: PIO/MMIO based virtual mailbox/doorbell VF driver HW Alt3: HW mailbox/doorbell 4

Control Panel VF management: A generic tool with notification to PF for state change VFnums setting / Show Enable/Disable/Migrate VFs Network configuration Can Ethtool service for this? Or a totally new tool? 5

SR-IOV VF/PF Communication Channel Inter-VM APIs VMM cooperative VF driver VF driver will depends on VMM, Guest OS, and even release from VMM vendor Primitive hypercalls are not sufficient There is no Windows based Xen Inter-VM high level APIs in upstream Xen vendors may release their own abstract APIs with separately Guest hardware VMM independent VF driver Real Hardware mailbox/doorbell No SR-PCIM involvement Good Performance, but IHVs may not implement Virtual mailbox/doorbell Need SR-PCIM support Need SR-IOV standard VF/PF driver pair s decision to use whatever mechanism, but suggest using guest hardware 6

Virtual hardware for PF/VF communication Dom0 (Service VM) user DM VF->PF doorbell can use I/O PF->VF doorbell uses virtual IRQ 4: Emulation SRIOV 3: Back to DM Dom0 kernel 5: Notification 6: Ack PF driver 7: Done 8: Done VF driver Guest Kernel 1: Guest write I/O Xen 2: VM Exit to hypervisor 7

PCI Device Instance of VF in Host? No create VF instance Need access path for Qemu to R/W VF CFGS Modifications are mostly in Qemu side Start from this for TTM Created VF instance Pros: Easy for assignment Cons: Confuse to other pci modules, invasive change, need community decision on how to change Long term solution 8

Summary IOMMU based SR-IOV support is an ideal IO virtualization Each guest can get a portion of hardware VMM doesn t need to intercept at runtime High throughput, Low CPU utilization, Perfect scalability Early VMM support for SR-IOV is critical to IHVs to implement PF/VF drivers Dom0 Linux version also matters in terms of PF driver development 9

Legal Information INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY RELATING TO SALE AND/OR USE OF INTEL PRODUCTS, INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT, OR OTHER INTELLECTUAL PROPERTY RIGHT. Intel may make changes to specifications, product descriptions, and plans at any time, without notice. All dates provided are subject to change without notice. Intel is a trademark of Intel Corporation in the U.S. and other countries. *Other names and brands may be claimed as the property of others. Copyright 2007, Intel Corporation. All rights are protected. 10

11