VGPU ON KVM VFIO BASED MEDIATED DEVICE FRAMEWORK Neo Jia & Kirti Wankhede, 08/25/2016
|
|
- Brendan Lewis
- 5 years ago
- Views:
Transcription
1 V ON K BASED MEDIATED DEVICE FEWORK Neo Jia & Kirti Wankhede, 08/25/2016
2 Background / Motivation Framework Overview AGENDA Framework Deep-Dive Current Status Demo Future work 2
3 TODAY, HOW PRESENTED INSIDE K device pass-through [1] Great performance Full API compatibility vendor driver inside the virtual machine Poor density limited by PCI-E resource Minimal visibility of the device on the host generic vfio_pci owns this device, and only perform enable/disable/route interrupts, reset the device Difficult to cover all graphics workload either underutilized or too small to scale Pass-through VIRTUAL MACHINE VIRTUAL VIRTUAL MACHINE OS MACHINE OS Apps Apps Remote Apps Vendor Graphics Remote Driver Graphics NVIDIA Driver NVIDIA Driver K host _PCI DMA remapper 3
4 WHAT IS V? High level overview Physical shared among multiple virtual machines Great performance and suitable for different workload Full API compatibility vendor driver inside the virtual machine Full device visibility to the hypervisor/host allows for device-specific features such as dynamically monitoring and tuning performance, detailed error reporting, etc. v VIRTUAL MACHINE VIRTUAL VIRTUAL MACHINE OS MACHINE OS Apps Apps Apps Remote Vendor Graphics Remote Driver Graphics NVIDIA Driver NVIDIA Driver Vendor Driver K host DMA remapper 4
5 I/O VIRTUALIZATION SR-IOV and mediated solutions SR-IOV devices - supported by standard PCI (Direct Assignment) today Established /PCI driver, K agnostic and well-defined Virtualized PCI config /MMIO space access, interrupt delivery Modular IO, pin and map memory for DMA devices non SR-IOV, require vendor-specific drivers to mediate sharing Leveraging existing framework, - managing device s internal I/O resource 5
6 MEDIATED DEVICE FEWORK A common framework for mediated I/O devices core module (new) bus driver, create mediated device Physical device interface for vendor driver callbacks Generic mediate device management user interface (sysfs) device module (new) Manage created mediated device, fully compatible with user API IO driver (enhancement) IO API TYPE1 compatible, easy to extend to non-type1 6
7 MEDIATED DEVICE FEWORK Register CBs Vendor Vendor driver driver IO 7
8 MEDIATED DEVICE FEWORK - INITIALIZATION 8
9 MEDIATED DEVICE FEWORK With Driver Initialization Registers as driver Register CBs IO 9
10 MEDIATED DEVICE FEWORK With Driver Initialization Registers as driver registers devices Register CBs Vendor Vendor driver driver IO 10
11 MEDIATED DEVICE FEWORK With Driver Initialization Registers as driver registers devices registers CBs Register CBs IO 11
12 MEDIATED DEVICE FEWORK sysfs After vendor driver device registration, under physical device sysfs: mdev_create mdev_destroy : create a virtual device (aka mdev device) : destroy a mdev device mdev_supported_types : supported mdev and configuration of this device Mdev node: /sys/bus/mdev/devices/$mdev_uuid/ online: start and stop virtual device 12
13 MEDIATED DEVICE FEWORK With Initialization echo UUID > /sys/bus/ /<device>/ mdev_create Registers as driver registers devices registers CBs Register User writes mdev sysfs to create mdev device CBs IO 13
14 MEDIATED DEVICE FEWORK With Initialization /sys/bus/mdev/devices/$mdev_uuid Registers as driver Mdev fd registers devices registers CBs Register User writes mdev sysfs to create mdev device CBs IO calls API to add dev to IO container, group, get fd back 14
15 MEDIATED DEVICE FEWORK Vendor driver With Initialization /sys/bus/mdev/devices/$mdev_uuid Mdev fd Registers as driver registers devices registers CBs Register User writes mdev sysfs to create mdev device CBs IO calls API to add dev to IO container, group, get fd back access device fd and present it into 15
16 MEDIATED DEVICE ACCESS - EMULATED 16
17 MEDIATED DEVICE ACCESS Emulated vs Passthrough Virtual device memory region are presented inside guest for consistent view of vendor driver Access to emulated regions are redirected to mediated vendor driver for virtualization support Access to passthrough region are directly sent to device corresponding region for max performance 1 st access redirected to mediated vendor driver for CPU page table setup 17
18 MEDIATED DEVICE ACCESS Vendor driver Emulated /sys/bus/mdev/devices/$mdev_uuid Mdev fd gets region info via from vendor driver thru and CBs Register CBs K IO 18
19 MEDIATED DEVICE ACCESS Vendor driver MMIO Register CBs Emulated /sys/bus/mdev/devices/$mdev_uuid K Mdev fd gets region info via from vendor driver thru and CBs accesses MMIO trapped region backed by mdev fd triggers EPT violation /EPT IO 19
20 MEDIATED DEVICE ACCESS Vendor driver MMIO Register CBs Emulated /sys/bus/mdev/devices/$mdev_uuid K Mdev fd gets region info via from vendor driver thru and CBs accesses MMIO trapped region backed by mdev fd triggers EPT violation K services EPT violation and forwards to PCI driver /EPT IO 20
21 MEDIATED DEVICE ACCESS Vendor driver MMIO Register CBs IO Emulated /sys/bus/mdev/devices/$mdev_uuid K Mdev fd gets region info via from vendor driver thru and CBs accesses MMIO trapped region backed by mdev fd triggers EPT violation K services EPT violation and forwards to PCI driver convert request from K to R/W access to fd 21
22 MEDIATED DEVICE ACCESS Vendor driver MMIO Register CBs IO Emulated /sys/bus/mdev/devices/$mdev_uuid K Mdev fd gets region info via from vendor driver thru and CBs accesses MMIO trapped region backed by mdev fd triggers EPT violation K services EPT violation and forwards to PCI driver convert request from K to R/W access to fd RW handled by vendor driver via CBs and 22
23 MEDIATED DMA TRANSLATION 23
24 MEDIATED DMA TRANSLATION With Memory Tracking Starts Register CBs IO 24
25 GFN MEDIATED DMA TRANSLATION With Memory Tracking Starts Memory regions gets added by Register CBs IO 25
26 GFN GFN GFN MEDIATED DMA TRANSLATION With Memory Tracking Starts Memory regions gets added by Register calls _DMA_MAP via Memory listener CBs IO 26
27 GFN GFN GFN MEDIATED DMA TRANSLATION With Memory Tracking Starts Memory regions gets added by Register calls _DMA_MAP via Memory listener tracks <, GFN> CBs GFN IO 27
28 GFN GFN GFN MEDIATED DMA TRANSLATION With Runtime Memory pinning Starts Memory regions gets added by Register calls _DMA_MAP via Memory listener tracks <, GFN> CBs GFN pin/translate GFN by to get PFN PFN IO 28
29 GFN GFN GFN MEDIATED DMA TRANSLATION With Runtime Memory pinning Starts Memory regions gets added by Register calls _DMA_MAP via Memory listener tracks <, GFN> PFN PFN PFN CBs IO DMA BFN BFN BFN GFN GFN GFN pin/translate GFN by to get PFN call pci_map_sg to map PFNs to BFN, program DMA 29
30 MEDIATED DEVICE - INTERRUPT 30
31 MEDIATED DEVICE FEWORK With Interrupt Setup /sys/bus/mdev/devices/$mdev_uuid Mdev fd query supported interrupt type, provided by vendor driver Register CBs K irqfd IO 31
32 MEDIATED DEVICE FEWORK With Interrupt Setup /sys/bus/mdev/devices/$mdev_uuid Mdev fd query supported interrupt type, provided by vendor driver setups up K IRQFD Register CBs K irqfd IO 32
33 MEDIATED DEVICE FEWORK Register CBs With Interrupt Setup /sys/bus/mdev/devices/$mdev_uuid K irqfd Mdev fd query supported interrupt type, provided by vendor driver setups up K IRQFD notifies the vendor driver IRQFD via PCI IO 33
34 ISR Vendor driver MEDIATED DEVICE FEWORK Register CBs With Interrupt injection in runtime /sys/bus/mdev/devices/$mdev_uuid K irqfd Mdev fd query supported interrupt type, provided by vendor driver setups up K IRQFD notifies the vendor driver IRQFD via PCI inject interrupt by signaling on eventfd, trigger guest ISR IO 34
35 MEDIATED DEVICE CURRENT STATUS 35
36 CURRENT STATUS Upstream [PATCH v7] is sent out by Kirti Wankhede on 08/24/2016 vfio: device Core driver vfio: driver for mediated devices vfio iommu: Add support for mediated devices docs: Add Documentation for Mediate devices Tested with Linux kernel 4.7 Multiple mediated device per Multiple passthru device per Mixed mediated device and passthru device 36
37 DEMO: NVIDIA V 37
38 MEDIATED DEVICE FEWORK FUTURE WORK 38
39 MEDIATED DEVICE FEWORK Future work Register CBs K IO 39
40 MEDIATED DEVICE FEWORK Future work POWER support by extend pin/unpin to SPAPR TCE v2 IO Register CBs K SPAPR TCE V2 IO IO 40
41 MEDIATED DEVICE FEWORK Future work POWER support by extend pin/unpin to SPAPR TCE v2 IO Libvirt integration Register CBs K SPAPR TCE V2 IO IO 41
42 REFERENCE [1] An Introduction to PCI Assignment with - Alex Williamson, Red Hat [Qemu-devel] [PATCH v7 0/4] Add device support [libvirt] [RFC] libvirt v integration 42
43 QUESTIONS?
Live Migration with Mdev Device
Live Migration with Mdev Device Yulei Zhang yulei.zhang@intel.com 1 Background and Motivation Live Migration Desgin of Mediated Device vgpu Live Migration Implementation Current Status and Demo Future
More informationVDPA: 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 informationVIRTIO: 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 informationVIRTIO-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 informationTask: provide isolated access to multiple PCI devices for multiple KVM guests on POWER8 box.
VFIO on spapr/power Task: provide isolated access to multiple PCI devices for multiple KVM guests on POWER8 box. SR-IOV is the target. aik@ozlabs.ru What is what VFIO: provides userspace access to PCI
More informationVGA Assignment Using VFIO. Alex Williamson October 21 st, 2013
VGA Assignment Using VFIO alex.williamson@redhat.com October 21 st, 2013 Agenda Introduction to PCI & PCIe IOMMUs VFIO VGA VFIO VGA support Quirks, quirks, quirks Status and future Performance 2 A brief
More informationGeneric Buffer Sharing Mechanism for Mediated Devices
Generic Buffer Sharing Mechanism for Mediated Devices Tina Zhang tina.zhang@intel.com 1 Agenda Background Generic Buffer Sharing in MDEV Framework Status Summary 2 Virtual Function I/O Virtual Function
More informationHardware-Assisted Mediated Pass-Through with VFIO. Kevin Tian Principal Engineer, Intel
Hardware-Assisted Mediated Pass-Through with VFIO Kevin Tian Principal Engineer, Intel 1 Legal Disclaimer No license (express or implied, by estoppel or otherwise) to any intellectual property rights is
More informationKVM 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 informationShared Virtual Memory Virtualization. Liu, Yi L Raj, Ashok Pan, Jacob
Shared Virtual Memory Virtualization Liu, Yi L yi.l.liu@intel.com Raj, Ashok ashok.raj@intel.com Pan, Jacob jacob.jun.pan@intel.com 1 High-Level View of SVM CPU GVA Device GVA GuestOS Managed VMM Managed
More informationI/O virtualization. Jiang, Yunhong Yang, Xiaowei Software and Service Group 2009 虚拟化技术全国高校师资研讨班
I/O virtualization Jiang, Yunhong Yang, Xiaowei 1 Legal Disclaimer INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE,
More informationVhost 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 informationHKG 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 informationSR-IOV support in Xen. Yaozu (Eddie) Dong Yunhong Jiang Kun (Kevin) Tian
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
More informationPlatform Device Assignment to KVM-on-ARM Virtual Machines via VFIO
2014 International Conference on Embedded and Ubiquitous Computing Platform Device Assignment to KVM-on-ARM Virtual Machines via VFIO Antonios Motakis, Alvise Rigo, Daniel Raho Virtual Open Systems Grenoble,
More informationIntel 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 informationARM-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 informationRMRR EXCLUSION. Technical Whitepaper. Alex Williamson Myron Stowe Laura Novich
RMRR EXCLUSION Technical Whitepaper Alex Williamson alex.williamson@redhat.com Myron Stowe myron.stowe@redhat.com Laura Novich lnovich@redhat.com Version 1.0 March 2015 1 100 East Davie Street Raleigh
More informationDevelopment of I/O Pass-through: Current Status & the Future. Nov 21, 2008 Yuji Shimada NEC System Technologies, Ltd.
Development of I/O Pass-through: Current Status & the Future Nov 21, 2008 Yuji Shimada NEC System Technologies, Ltd. Agenda 1.Implementation of I/O Pass-through 2.Future Enhancement Plan 3.Challenges for
More informationEnhancing pass through device support with IOMMU. Haitao Shan Yunhong Jiang Allen M Kay Eddie (Yaozu) Dong
Enhancing pass through device support with IOMMU Haitao Shan (haitao.shan@intel.com) Yunhong Jiang Allen M Kay Eddie (Yaozu) Dong Agenda Current Status Further enhancement Hardening host Improving functionality
More informationXen Extensions to Enable Modular/3rd Party Device Emulation for HVM Domains. Problem Statement
Xen Extensions to Enable Modular/3rd Party Device Emulation for HVM Domains John Zulauf Staff Software Engineer Simulation and Performance Team 1 Problem Statement Solutions may require specific devices
More informationKnut 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 informationCS 550 Operating Systems Spring Introduction to Virtual Machines
CS 550 Operating Systems Spring 2018 Introduction to Virtual Machines 1 How to share a physical computer Operating systems allows multiple processes/applications to run simultaneously Via process/memory
More informationMDev-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 informationVirtio-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 informationWhat 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 informationKVM on Embedded Power Architecture Platforms
KVM on Embedded Power Architecture Platforms Stuart Yoder Software Architect, Freescale Semiconductor Agenda Background Freescale / Networking Embedded Systems Use Cases KVM on Embedded Power New requirements
More informationGraphics Pass-through with VT-d
Graphics Pass-through with VT-d Nov-19-2009 Weidong Han Ben Lin Xen Summit Asia 2009 Agenda Graphics Virtualization Introduction Graphics Pass-through with VT-d Performance Conclusion 2 Requirements on
More informationUserspace NVMe Driver in QEMU
Userspace NVMe Driver in QEMU Fam Zheng Senior Software Engineer KVM Form 2017, Prague About NVMe Non-Volatile Memory Express A scalable host interface specification like SCSI and virtio Up to 64k I/O
More informationviommu/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 informationBharat Bhushan, Stuart Yoder
Bharat Bhushan, Stuart Yoder October 2013 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobilegt, PEG, PowerQUICC,
More informationXen is not just paravirtualization
Xen is not just paravirtualization Dongli Zhang Oracle Asia Research and Development Centers (Beijing) dongli.zhang@oracle.com December 16, 2016 Dongli Zhang (Oracle) Xen is not just paravirtualization
More informationZhang Tianfei. Rosen Xu
Zhang Tianfei Rosen Xu Agenda Part 1: FPGA and OPAE - Intel FPGAs and the Modern Datacenter - Platform Options and the Acceleration Stack - FPGA Hardware overview - Open Programmable Acceleration Engine
More informationPassthrough in QEMU/KVM on Linux
Passthrough in QEMU/KVM on Linux G. Lettieri 2 Nov. 2017 Let see how hardware passthrough can be used in practice, using the QEMU hypervisor with the KVM API on Linux. We assume Intel hardware throughout
More informationImprove 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 informationviommu/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 informationAccelerating 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 informationApplying 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 informationVirtual Machine Virtual Machine Types System Virtual Machine: virtualize a machine Container: virtualize an OS Program Virtual Machine: virtualize a process Language Virtual Machine: virtualize a language
More informationVirtual 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 informationVirtualisation: The KVM Way. Amit Shah
Virtualisation: The KVM Way Amit Shah amit.shah@qumranet.com foss.in/2007 Virtualisation Simulation of computer system in software Components Processor Management: register state, instructions, exceptions
More informationACRN: A Big Little Hypervisor for IoT Development
ACRN: A Big Little Hypervisor for IoT Development Eddie Dong, Intel Open Source Technology Center Key contributors: Christopher Cormack, Matthew Curfman, Jeff Jackson Table of Contents PART 1: ACRN Overview..
More informationIntel Virtualization Technology Roadmap and VT-d Support in Xen
Intel Virtualization Technology Roadmap and VT-d Support in Xen Jun Nakajima Intel Open Source Technology Center Legal Disclaimer INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS.
More informationVhost 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 informationHKG : OpenAMP Introduction. Wendy Liang
HKG2018-411: OpenAMP Introduction Wendy Liang Agenda OpenAMP Projects Overview OpenAMP Libraries Changes in Progress Future Improvements OpenAMP Projects Overview Introduction With today s sophisticated
More informationRuntime VM Protection By Intel Multi-Key Total Memory Encryption (MKTME)
Runtime VM Protection By Intel Multi-Key Total Memory Encryption (MKTME) Kai Huang @ Intel Corporation LINUXCON + CONTAINERCON + CLOUDOPEN Beijing, China, 2018 1 Legal Disclaimer No license (express or
More informationA 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 informationSpring 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 informationFlexible Device Sharing in PCIe Clusters using Device Lending
Flexible Sharing in PCIe Clusters using Lending Jonas Markussen Simula Research Laboratory jonassm@simula.no Friedrich Seifert Dolphin Interconnect Solution AS Lars Bjørlykke Kristiansen Dolphin Interconnect
More informationSpring 2017 :: CSE 506. Introduction to. Virtual Machines. Nima Honarmand
Introduction to Virtual Machines Nima Honarmand Virtual Machines & Hypervisors Virtual Machine: an abstraction of a complete compute environment through the combined virtualization of the processor, memory,
More informationCan we boost more HPC performance? Integrate IBM POWER servers with GPUs to OpenStack Environment
Can we boost more HPC performance? Integrate IBM POWER servers with GPUs to OpenStack Environment Ankit Purohit, Takeaki Matsumoto Transform your business, transcend expectations with our technologically
More informationChangpeng 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 informationChangpeng 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 informationVirtualization. Starting Point: A Physical Machine. What is a Virtual Machine? Virtualization Properties. Types of Virtualization
Starting Point: A Physical Machine Virtualization Based on materials from: Introduction to Virtual Machines by Carl Waldspurger Understanding Intel Virtualization Technology (VT) by N. B. Sahgal and D.
More informationVirtualization. ! Physical Hardware Processors, memory, chipset, I/O devices, etc. Resources often grossly underutilized
Starting Point: A Physical Machine Virtualization Based on materials from: Introduction to Virtual Machines by Carl Waldspurger Understanding Intel Virtualization Technology (VT) by N. B. Sahgal and D.
More informationExtended Page Tables (EPT) A VMM must protect host physical memory Multiple guest operating systems share the same host physical memory VMM typically implements protections through page-table shadowing
More informationLinux Virtualization Update
Linux Virtualization Update Chris Wright Japan Linux Symposium, November 2007 Intro Virtualization mini summit Paravirtualization Full virtualization Hardware changes Libvirt Xen Virtualization
More informationvfio-ap: The Perils of the Weird
vfio-ap: The Perils of the Weird Antony Krowiak, Pierre Morel, Halil Pasic IBM Corporation 1 Trademarks The following are trademarks of the International Business Machines Corporation in the United States
More informationKVM CPU MODEL IN SYSCALL EMULATION MODE ALEXANDRU DUTU, JOHN SLICE JUNE 14, 2015
KVM CPU MODEL IN SYSCALL EMULATION MODE ALEXANDRU DUTU, JOHN SLICE JUNE 14, 2015 AGENDA Background & Motivation Challenges Native Page Tables Emulating the OS Kernel 2 KVM CPU MODEL IN SYSCALL EMULATION
More informationKVM 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 informationRevamping the QEMU Memory API. Avi Kivity Red Hat Nov 8, 2012
Revamping the QEMU Memory API Red Hat Nov 8, 2012 Agenda Motivation The Old API Reality Hierarchical memory Multiple masters Internal data structures 2 Motivation Memory consumption Correctness Performance
More informationvnetwork 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 informationIntroduction to SGX (Software Guard Extensions) and SGX Virtualization. Kai Huang, Jun Nakajima (Speaker) July 12, 2017
Introduction to SGX (Software Guard Extensions) and SGX Virtualization Kai Huang, Jun Nakajima (Speaker) July 12, 2017 1 INTEL RESTRICTED SECRET Agenda SGX Introduction Xen SGX Virtualization Support Backup
More informationI/O and virtualization
I/O and virtualization CSE-C3200 Operating systems Autumn 2015 (I), Lecture 8 Vesa Hirvisalo Today I/O management Control of I/O Data transfers, DMA (Direct Memory Access) Buffering Single buffering Double
More informationFakultät Informatik Institut für Systemarchitektur, Betriebssysteme THE NOVA KERNEL API. Julian Stecklina
Fakultät Informatik Institut für Systemarchitektur, Betriebssysteme THE NOVA KERNEL API Julian Stecklina (jsteckli@os.inf.tu-dresden.de) Dresden, 5.2.2012 00 Disclaimer This is not about OpenStack Compute.
More informationHow to abstract hardware acceleration device in cloud environment. Maciej Grochowski Intel DCG Ireland
How to abstract hardware acceleration device in cloud environment Maciej Grochowski Intel DCG Ireland Outline Introduction to Hardware Accelerators Intel QuickAssist Technology (Intel QAT) as example of
More informationFor Performance and Latency, not for Fun
Corporate Technology For Performance and Latency, not for Fun How to overcome the Big QEMU Lock, Siemens AG, Corporate Technology Corporate Competence Center Embedded Linux jan.kiszka@siemens.com Copyright
More informationParallels Remote Application Server
Parallels Remote Application Server GPU Accelerated Application Publishing v16.2 Parallels International GmbH Vordergasse 59 8200 Schaffhausen Switzerland Tel: + 41 52 672 20 30 www.parallels.com Copyright
More informationAsynchronous Peer-to-Peer Device Communication
13th ANNUAL WORKSHOP 2017 Asynchronous Peer-to-Peer Device Communication Feras Daoud, Leon Romanovsky [ 28 March, 2017 ] Agenda Peer-to-Peer communication PeerDirect technology PeerDirect and PeerDirect
More informationMaking Dynamic Instrumentation Great Again
Making Dynamic Instrumentation Great Again Malware Research Team @ @xabiugarte [advertising space ] Deep Packer Inspector https://packerinspector.github.io https://packerinspector.com Many instrumentation
More informationIntroduction of AMD Advanced Virtual Interrupt Controller
Introduction of AMD Advanced Virtual Interrupt Controller XenSummit 2012 Wei Huang August 2012 What is AVIC? AVIC is Advanced Virtual Interrupt Controller A virtual APIC to guest OSs with hardware acceleration
More informationIntroduction PCI Interface Booting PCI driver registration Other buses. Linux Device Drivers PCI Drivers
Overview 1 2 PCI addressing 3 4 5 bus, The most common is the PCI (in the PC world), PCI - Peripheral Component Interconnect, bus consists of two components: electrical interface programming interface,
More informationRed 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 informationArrakis: The Operating System is the Control Plane
Arrakis: The Operating System is the Control Plane Simon Peter, Jialin Li, Irene Zhang, Dan Ports, Doug Woos, Arvind Krishnamurthy, Tom Anderson University of Washington Timothy Roscoe ETH Zurich Building
More informationARM Interrupt Virtualization. Andre Przywara
ARM Interrupt Virtualization Andre Przywara 1 ARM interrrupt virtualization agenda GICv2 and virtualization overview KVM VGIC implementation GICv3 architecture GICv3 induced code
More informationImproving security and flexibility within Windows DPDK networking stacks RANJIT MENON INTEL OMAR CARDONA MICROSOFT
x Improving security and flexibility within Windows networking stacks RANJIT MENON INTEL OMAR CARDONA MICROSOFT Agenda The story so far Windows Architecture Proposing a change to the architecture Benefits
More informationNested Virtualization Update From Intel. Xiantao Zhang, Eddie Dong Intel Corporation
Nested Virtualization Update From Intel Xiantao Zhang, Eddie Dong Intel Corporation Legal Disclaimer INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED,
More informationKata 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 informationKVM/ARM. Marc Zyngier LPC 12
KVM/ARM Marc Zyngier LPC 12 For example: if a processor is in Supervisor mode and Secure state, it is in Secure Supervisor mode ARM Architecture if a processor is Virtualization
More informationQuo 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 informationReal-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 informationDEPLOYING NFV: BEST PRACTICES
DEPLOYING NFV: BEST PRACTICES Rimma Iontel Senior Cloud Architect, Cloud Practice riontel@redhat.com Julio Villarreal Pelegrino Principal Architect, Cloud Practice julio@redhat.com INTRODUCTION TO NFV
More informationMaking Nested Virtualization Real by Using Hardware Virtualization Features
Making Nested Virtualization Real by Using Hardware Virtualization Features May 28, 2013 Jun Nakajima Intel Corporation 1 Legal Disclaimer INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL
More informationThe Missing Piece of Virtualization. I/O Virtualization on 10 Gb Ethernet For Virtualized Data Centers
The Missing Piece of Virtualization I/O Virtualization on 10 Gb Ethernet For Virtualized Data Centers Agenda 10 GbE Adapters Built for Virtualization I/O Throughput: Virtual & Non-Virtual Servers Case
More informationTask Scheduling of Real- Time Media Processing with Hardware-Assisted Virtualization Heikki Holopainen
Task Scheduling of Real- Time Media Processing with Hardware-Assisted Virtualization Heikki Holopainen Aalto University School of Electrical Engineering Degree Programme in Communications Engineering Supervisor:
More informationKVM 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 informationXen. past, present and future. Stefano Stabellini
Xen past, present and future Stefano Stabellini Xen architecture: PV domains Xen arch: driver domains Xen: advantages - small surface of attack - isolation - resilience - specialized algorithms (scheduler)
More informationMicro VMMs and Nested Virtualization
Micro VMMs and Nested Virtualization For the TCE 4th summer school on computer security, big data and innovation Baruch Chaikin, Intel 9 September 2015 Agenda Virtualization Basics The Micro VMM Nested
More informationTransforming XenServer into a proper open-source project
Transforming XenServer into a proper open-source project James Bulpin CTO, XenServer, Citrix About the speaker James Bulpin Head of technology for XenServer group in Citrix; member of the Citrix CTO office
More informationPower Capping Linux. Len Brown, Jacob Pan, Srinivas Pandruvada
Power Capping Linux Len Brown, Jacob Pan, Srinivas Pandruvada Agenda Context System Power Management Issues Power Capping Overview Power capping participants Recommendation Linux Power Capping Framework
More informationVirtual Virtual Memory
Virtual Virtual Memory Jason Power 3/20/2015 With contributions from Jayneel Gandhi and Lena Olson 4/17/2015 UNIVERSITY OF WISCONSIN 1 Virtual Machine History 1970 s: VMMs 1997: Disco 1999: VMWare (binary
More informationHITB Amsterdam
Closer to metal: Reverse engineering the Broadcom NetExtreme s firmware Guillaume Delugré Sogeti / ESEC R&D guillaume(at)security-labs.org HITB 2011 - Amsterdam Purpose of this presentation G. Delugré
More informationPARAVIRTUAL RDMA DEVICE
12th ANNUAL WORKSHOP 2016 PARAVIRTUAL RDMA DEVICE Aditya Sarwade, Adit Ranadive, Jorgen Hansen, Bhavesh Davda, George Zhang, Shelley Gong VMware, Inc. [ April 5th, 2016 ] MOTIVATION User Kernel Socket
More informationAMD SEV Update Linux Security Summit David Kaplan, Security Architect
AMD SEV Update Linux Security Summit 2018 David Kaplan, Security Architect WHY NOT TRUST THE HYPERVISOR? Guest Perspective o Hypervisor is code I don t control o I can t tell if the hypervisor is compromised
More informationJunhong Jiang, Kevin Tian, Chris Wright, Don Dugger
Updating Xen for the Client Environment Junhong Jiang, Kevin Tian, Chris Wright, Don Dugger Legal Content INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. EXCEPT AS PROVIDED
More informationThe Price of Safety: Evaluating IOMMU Performance
The Price of Safety: Evaluating IOMMU Performance Muli Ben-Yehuda 1 Jimi Xenidis 2 Michal Ostrowski 2 Karl Rister 3 Alexis Bruemmer 3 Leendert Van Doorn 4 1 muli@il.ibm.com 2 {jimix,mostrows}@watson.ibm.com
More informationOptimizing and Enhancing VM for the Cloud Computing Era. 20 November 2009 Jun Nakajima, Sheng Yang, and Eddie Dong
Optimizing and Enhancing VM for the Cloud Computing Era 20 November 2009 Jun Nakajima, Sheng Yang, and Eddie Dong Implications of Cloud Computing to Virtualization More computation and data processing
More informationXen 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 informationRDMA on vsphere: Update and Future Directions
RDMA on vsphere: Update and Future Directions Bhavesh Davda & Josh Simons Office of the CTO, VMware 3/26/2012 1 2010 VMware Inc. All rights reserved Agenda Guest-level InfiniBand preliminary results Virtual
More informationSR-IOV Networking in Xen: Architecture, Design and Implementation
SR-IOV Networking in Xen: Architecture, Design and Implementation Yaozu Dong, Zhao Yu and Greg Rose Abstract. SR-IOV capable network devices offer the benefits of direct I/O throughput and reduced CPU
More information