Intel Graphics Virtualization Technology Update. Zhi Wang, zhi.a.wang@intel.com

Similar documents
Media Cloud Based on Intel Graphics Virtualization Technology (Intel GVT-g) and OpenStack *

Full and Para Virtualization

COS 318: Operating Systems. Virtual Machine Monitors

Virtualization. Jukka K. Nurminen

Virtualization. Pradipta De

KVM, OpenStack, and the Open Cloud

Microkernels, virtualization, exokernels. Tutorial 1 CSC469

Performance tuning Xen

KVM: A Hypervisor for All Seasons. Avi Kivity avi@qumranet.com

Hardware Based Virtualization Technologies. Elsie Wahlig Platform Software Architect

GUEST OPERATING SYSTEM BASED PERFORMANCE COMPARISON OF VMWARE AND XEN HYPERVISOR

Virtual Machine Monitors. Dr. Marc E. Fiuczynski Research Scholar Princeton University

Virtualization for Cloud Computing

2972 Linux Options and Best Practices for Scaleup Virtualization

Efficient Load Balancing using VM Migration by QEMU-KVM

Basics in Energy Information (& Communication) Systems Virtualization / Virtual Machines

Virtualization Technology. Zhiming Shen

Virtualization. Dr. Yingwu Zhu

Beyond the Hypervisor

CS 695 Topics in Virtualization and Cloud Computing. Introduction

Virtualization. Types of Interfaces

kvm: Kernel-based Virtual Machine for Linux

Virtual Machines. COMP 3361: Operating Systems I Winter

Xen Cloud Platform Update

A Full GPU Virtualization Solution with Mediated Pass-Through

Module I-7410 Advanced Linux FS-11 Part1: Virtualization with KVM

Performance Testing in Virtualized Environments. Emily Apsey Product Engineer

COM 444 Cloud Computing

Basics of Virtualisation

ARM TrustZone and KVM Coexistence with RTOS For Automotive

VMware and CPU Virtualization Technology. Jack Lo Sr. Director, R&D

CS 695 Topics in Virtualization and Cloud Computing and Storage Systems. Introduction

Xen Project 4.4: Features and Futures. Russell Pavlicek Xen Project Evangelist Citrix Systems

Dheeraj K. Rathore 1, Dr. Vibhakar Pathak 2

Developing a dynamic, real-time IT infrastructure with Red Hat integrated virtualization

Cloud^H^H^H^H^H Virtualization Technology. Andrew Jones May 2011

ArcGIS Pro: Virtualizing in Citrix XenApp and XenDesktop. Emily Apsey Performance Engineer

12. Introduction to Virtual Machines

VIRTUALIZATION 101. Brainstorm Conference 2013 PRESENTER INTRODUCTIONS

Networking for Caribbean Development

RED HAT ENTERPRISE VIRTUALIZATION

Hypervisors and Virtual Machines

NVIDIA GRID OVERVIEW SERVER POWERED BY NVIDIA GRID. WHY GPUs FOR VIRTUAL DESKTOPS AND APPLICATIONS? WHAT IS A VIRTUAL DESKTOP?

RED HAT ENTERPRISE VIRTUALIZATION & CLOUD COMPUTING

RPM Brotherhood: KVM VIRTUALIZATION TECHNOLOGY

Virtual machines and operating systems

A general-purpose virtualization service for HPC on cloud computing: an application to GPUs

Virtualization: Know your options on Ubuntu. Nick Barcet. Ubuntu Server Product Manager

Nested Virtualization

Chapter 16: Virtual Machines. Operating System Concepts 9 th Edition

Cloud Computing CS

Virtualization with Windows

Virtual Switching Without a Hypervisor for a More Secure Cloud

Virtualization Technologies

VMware and NVIDIA: Bringing Workstations to the cloud

The QEMU/KVM Hypervisor

COS 318: Operating Systems. Virtual Machine Monitors

Intel s Virtualization Extensions (VT-x) So you want to build a hypervisor?

Week Overview. Installing Linux Linux on your Desktop Virtualization Basic Linux system administration

KVM, OpenStack, and the Open Cloud

Virtualization. Introduction to Virtualization Virtual Appliances Benefits to Virtualization Example Virtualization Products

KVM Architecture Overview

Dynamic Load Balancing of Virtual Machines using QEMU-KVM

Hybrid Virtualization The Next Generation of XenLinux

Outline. Outline. Why virtualization? Why not virtualize? Today s data center. Cloud computing. Virtual resource pool

Knut Omang Ifi/Oracle 19 Oct, 2015

Virtualization. Explain how today s virtualization movement is actually a reinvention

Introduction to Virtualization & KVM

IOS110. Virtualization 5/27/2014 1

High-performance vnic framework for hypervisor-based NFV with userspace vswitch Yoshihiro Nakajima, Hitoshi Masutani, Hirokazu Takahashi NTT Labs.

The High Performance Internet of Things: using GVirtuS for gluing cloud computing and ubiquitous connected devices

Virtualization. Jia Rao Assistant Professor in CS

KVM, OpenStack and the Open Cloud SUSECon November 2015

Chapter 5 Cloud Resource Virtualization

Regional SEE-GRID-SCI Training for Site Administrators Institute of Physics Belgrade March 5-6, 2009

International Journal of Computer & Organization Trends Volume20 Number1 May 2015

Virtualizare sub Linux: avantaje si pericole. Dragos Manac

Cloud Computing with Red Hat Solutions. Sivaram Shunmugam Red Hat Asia Pacific Pte Ltd.

Chapter 14 Virtual Machines

Virtualization in Linux a Key Component for Cloud Computing

Enterprise-Class Virtualization with Open Source Technologies

Linux/Open Source and Cloud computing Wim Coekaerts Senior Vice President, Linux and Virtualization Engineering

Uses for Virtual Machines. Virtual Machines. There are several uses for virtual machines:

RCL: Software Prototype

Red Hat VDI. David Simmons

The MIPS architecture and virtualization

Intel Media Server Studio - Metrics Monitor (v1.1.0) Reference Manual

Virtualization and the U2 Databases

REMOTE HIGH FIDELITY VISUALIZATION. May 2015 Jeremy Main, Sr. Solution Architect GRID

Achieving QoS in Server Virtualization

Masters Project Proposal

Using IOMMUs for Virtualization in Linux

KVM: Kernel-based Virtualization Driver

Hypervisors. Introduction. Introduction. Introduction. Introduction. Introduction. Credits:

The Art of Virtualization with Free Software

Enabling Technologies for Distributed Computing

PERFORMANCE ANALYSIS OF KERNEL-BASED VIRTUAL MACHINE

StACC: St Andrews Cloud Computing Co laboratory. A Performance Comparison of Clouds. Amazon EC2 and Ubuntu Enterprise Cloud

KVM KERNEL BASED VIRTUAL MACHINE

Transcription:

Intel Graphics Virtualization Technology Update Zhi Wang, zhi.a.wang@intel.com

Agenda The History Intel Graphics Virtualization Technology Update New Usage Scenarios Upstream Status Summary 2

Intel GPU Virtualization Technology: GVT - g A mediated pass-through solution for graphics virtualization Pass-through performance critical resources Trap-and-emulate privileged operations Maintain a device model per VM Run native graphics driver in VM Achieve good performance and moderate multiplexing capability Performance Device Emulation Split Driver Model Mediated Pass- Through Direct Pass-Through Multiplexing 3

The History An open source project based on Xen. First published in 2013, codename XenGT. First implemented on Haswell - Intel 4 th Generation Processor XenClient Achieve 80% performance of native Linux in VM Experimental formal support of Windows VM Support up to 3 VMs Target rich virtual client usage 4

Intel GPU Virtualization Technology Update From 2013-2015

Brand Names API Forwarding (Intel(R) GVT-s) Direct Pass-through (Intel(R) GVT-d) Full GPU Virtualization (Intel(R) GVT-g) Pros: Performance Sharing Cons: No media/gpgpu Compatibility Pros: Performance Capability Cons: No sharing Pros: Performance Capability Sharing 6

Project Information Official Website: https://01.org/igvt-g Quarterly release model Starting from Q2'14 6 releases till now Supported Guest OSes 32/64bit Windows 7 32/64bit Windows 8 32/64bit Ubuntu Citrix releases XenClient 5.5 on Jan 2015 GVT-g support on HSW is one of the release highlights GVT-g guest support got merged into offical linux kernel 4.1 on Feb 2015 7

Papers and Presentation Papers USENIX Annual Technical Conference (USENIC ATC 14), 2014 A Full GPU Virtualization Solution with Mediated Pass-Through USENIX Annual Technical Conference (USENIC ATC 15), 2015 Boosting GPU Virtualization Performance with Hybrid Shadow Page Tables Presentations Xen Summit 2013 XenGT: a Software Based Intel Graphics Virtualization Solution Linux Foundation Collaboration Summit 2013 XenGT: A Full GPU Virtualization Solution with Mediated Pass-Through KVM Forum 2014 KvmGT: A Full GPU Virtualization Solution 8

New Platform Support - Broadwell BDW is 5 th Generation of Processor Graphics No Major Changes to High Level Feature Support DX11.1+ OpenCL 2.0* OpenGL 4.x Maintains Similar uarch Partitioning to IVB/HSW 9

Broadwell vgpu More aperture resource allows better scalability (up to 7VMs) New command submission interface - Execution List More self-contained with better programmability than ring buffer on HSW Enhanced Per-Process GTT (PPGTT) Page table format changes - 3/4 levels and 64bit PTE Driver usage change - true per-process PPGTT 10

Challenges to old vppgtt implementation Limitations of old shadow PPGTT only support 2 level page table assume one PPGTT shared by all processes True PPGTT may incur more write-protection traps 11

Enhanced vppgtt Features 2/3/4 level page table True per-process PPGTT Page table cache Reference counting Out-of-Sync shadow 12

New Usage Scenarios

New Usage Scenario: IVI Real Time Cluster/HeadUnit Consolidation VM1 VM2 Per-VM Display TCB size Display Cluster Consolidated SoC Infotainment * BYT POC completed 14

New Usage Scenario: Visual Cloud Video Delivery Store/Stream, Transcode Cloud Graphics Gaming, Remote Apps, Rendering GPU-as-a-service Visual Cloud Visual Understanding Search, Surveillance 15

GVT-g Case Study: Media Cloud

A Virtualized Media Server with GVT-g 4K Camera Media Server Pool (x86 platform with Intel Processor graphics) 4K Display 1080P Camera Intel Processor graphics-based Encoding, Decoding, and Composing. OpenStack * Media Cloud 4K Video Conferencing on Media Plane NFV Demo @ MWC 15 17

Performance challenges Memory Intensive Real Time Processing Increased GPU virtualization overhead! Mixed Media/3D 18

Optimizations 800.0 700.0 15ch-720p_2Mbps_transcoding Native bar: 757 fps 716.85 95% Smart shadow GPU page table 600.0 500.0 70% Enable cross-engine synchronization total fps 400.0 300.0 200.0 5% 20% Increase system memory 100.0 37.1 10% 0.0 previously optimized Media workload optimized result Config: I7 4770, Guest Ubuntu * 14.04LTS, 4GB mem, 1.5G GraphicMem, MediaSDK 19

GVT-g Upstream

Architecture Legacy VGA Emulation (w/o XenGT) Dom0/Linux Qemu VG A VM2 VM1 Full GPU Virtualization (w/ XenGT) Dom0/Linux Qemu vpci VG A VM2 VM1 vgt i915 VGA Driver i915 vgp vgp U U GFX Driver Balloo n Xen Virtual Platform Xen Virtual Platform MPT Wrapper Xen GPU MPT Services in Xen Xen GPU Trap-and-emulation Pass-through 21

Required MPT Services in Xen XEN SUPPORTED Allow vgpu device model to register on given resource ranges Forward filtered I/O requests to vgpu device model Allow vgpu device model to inject virtual interrupt Selective I/O resource pass-through UPSTREAM IN PROGRESS On-demand memory write-protection RB-tree based range set UPSTREAM NOT START/UNDER DISCUSSION Map/Unmap guest memory GPA->HPA translation service 22

MPT Wrapper Driver in DOM0 Kernel General MPT framework defined in vgpu device model Hypervisor agnostic MPT wrapper driver as the glue layer Between MPT framework and hypervisor specific services Dynamic registration to MPT framework Implementation options Could be a standalone module in host domain (e.g. Xen) Or could be integrated in hypervisor (e.g. KVM) UPSTREAM NOT START 23

Other Components Linux Guest Support in i915 driver Haswell Support - DONE Broadwell UPSTREAM IN PROGRESS GVT-g Legacy PCI Device Emulation in QEMU UPSTREAM IN PROGRESS GVT-g Trivals in Xen Toolstack UPSTREAM NOT START 24

Summary Great Evolution from 2013 More and More Usage Models Going Forward to Upstream! Call for actions Try and feedback Help us to upstream 25

Thank You