Hardware assisted Virtualization in Embedded

Similar documents
Intel Virtualization Technology Roadmap and VT-d Support in Xen

Micro VMMs and Nested Virtualization

Making Nested Virtualization Real by Using Hardware Virtualization Features

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

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


COSC6376 Cloud Computing Lecture 14: CPU and I/O Virtualization

COMPUTER ARCHITECTURE. Virtualization and Memory Hierarchy

Achieve Low Latency NFV with Openstack*

Knut Omang Ifi/Oracle 6 Nov, 2017

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

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

Nested Virtualization and Server Consolidation

Chapter 5 C. Virtual machines

I/O and virtualization

Virtualization. Starting Point: A Physical Machine. What is a Virtual Machine? Virtualization Properties. Types of Virtualization

Virtualization. ! Physical Hardware Processors, memory, chipset, I/O devices, etc. Resources often grossly underutilized

Virtualization and memory hierarchy

System Virtual Machines

The only open-source type-1 hypervisor

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

Graphics Pass-through with VT-d

Virtualization, Xen and Denali

Using a Hypervisor to Manage Multi-OS Systems Cory Bialowas, Product Manager

Virtualization. Operating Systems, 2016, Meni Adler, Danny Hendler & Amnon Meisels

Virtualization. Pradipta De

Roadmap for Challenging Times System Virtualiztion

Module 1: Virtualization. Types of Interfaces

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

HPVM & OpenVMS. Sandeep Ramavana OpenVMS Engineering Sep Germany Technical Update Days 2009

references Virtualization services Topics Virtualization

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

evm for Windows* User Manual

Introduction to SGX (Software Guard Extensions) and SGX Virtualization. Kai Huang, Jun Nakajima (Speaker) July 12, 2017

System Virtual Machines

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

Virtualisation: The KVM Way. Amit Shah

Junhong Jiang, Kevin Tian, Chris Wright, Don Dugger

KVM for IA64. Anthony Xu

Cloud Computing Virtualization

ENVISION TECHNOLOGY CONFERENCE. Functional intel (ia) BLA PARTHAS, INTEL PLATFORM ARCHITECT

Advanced Operating Systems (CS 202) Virtualization

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

Xen on ARM. Stefano Stabellini

VMWARE TUNING BEST PRACTICES FOR SANS, SERVER, AND NETWORKS

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

Xen VGA passthrough. 1.1 VGA passthrough. 1 Introduction. 2 Xen architecture. 2.1 Structure

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

Mission-Critical Enterprise Linux. April 17, 2006

KVM as The NFV Hypervisor

Exam : VMWare VCP-310

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

LINUX KVM FRANCISCO JAVIER VARGAS GARCIA-DONAS CLOUD COMPUTING 2017

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

Using a Separation Kernel to Protect against the Remote Exploitation of Unaltered Passenger Vehicles

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

3U CompactPCI Intel SBCs F14, F15, F17, F18, F19P

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

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

Security and Performance Benefits of Virtualization

REAL TIME OPERATING SYSTEM PROGRAMMING-I: VxWorks

Service Edge Virtualization - Hardware Considerations for Optimum Performance

Task Scheduling of Real- Time Media Processing with Hardware-Assisted Virtualization Heikki Holopainen

Introduction Construction State of the Art. Virtualization. Bernhard Kauer OS Group TU Dresden Dresden,

Applying Multi-core and Virtualization to Industrial and Safety-Related Applications

Introduction to Qubes OS

Xen Summit Spring 2007

COSC 6385 Computer Architecture. Virtualizing Compute Resources

Intel s s Security Vision for Xen

Distributed Systems COMP 212. Lecture 18 Othon Michail

The Price of Safety: Evaluating IOMMU Performance

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


Fairness Issues in Software Virtual Routers

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

Software Development Using Full System Simulation with Freescale QorIQ Communications Processors

CS 550 Operating Systems Spring Introduction to Virtual Machines

STM/PE & XHIM. Eugene D. Myers Trust Mechanisms Information Assurance Research NSA/CSS Research Directorate May 24, 2018

VMware Overview VMware Infrastructure 3: Install and Configure Rev C Copyright 2007 VMware, Inc. All rights reserved.

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

Secure Partitioning (s-par) for Enterprise-Class Consolidation

Development of I/O Pass-through: Current Status & the Future. Nov 21, 2008 Yuji Shimada NEC System Technologies, Ltd.

Virtualization. Michael Tsai 2018/4/16

The Missing Piece of Virtualization. I/O Virtualization on 10 Gb Ethernet For Virtualized Data Centers

Practical Xen Testing at Intel

Out-of-band (OOB) Management of Storage Software through Baseboard Management Controller Piotr Wysocki, Kapil Karkra Intel

Xen Project Status Ian Pratt 12/3/07 1

CHAPTER 16 - VIRTUAL MACHINES

Parallels Workstation 4.0 Extreme Read Me

Heterogeneous Real-Time SoC Software Architecture

Xen. past, present and future. Stefano Stabellini

Introduction to Virtual Machines. Carl Waldspurger (SB SM 89 PhD 95) VMware R&D

CS 350 Winter 2011 Current Topics: Virtual Machines + Solid State Drives

CSE 120 Principles of Operating Systems

Virtually Impossible

How it can help your organisation

Kemari: Virtual Machine Synchronization for Fault Tolerance using DomT

Deflating the hype: Embedded Virtualization in 3 steps

Intel Virtualization Technology for Directed I/O Architecture Specification

CLOUD COMPUTING IT0530. G.JEYA BHARATHI Asst.Prof.(O.G) Department of IT SRM University

Transcription:

Hardware assisted Virtualization in Embedded Tanveer Alam Platform Architect Embedded Virtualization Sponsored by: &

Agenda Embedded Virtualization What is embedded? Embedded specific requirements Key Embedded Use Cases Hardware Virtualization Features Review Embedded Virtualization and Retail/Digital Signage OS Soft Failover Proof-of-Concept Example Embedded Virtualization and Medical Critical OS Isolation Proof-of-Concept Example Call to Action 2

Embedded Virtualization Industrial Medical Energy Retail Automotive 3

Technical requirements for Embedded Virtualization Smaller code base lesser points of failure Highly robust and reliable Remote management Certification Legacy code Consolidation + Critical function isolation/partitioning Real time Easy and fast to implement turnkey 4

Embedded Virtualization Usage Models Legacy OS Consolidation Trusted/Open Application Integration Legacy OS (Single threaded: RTOS e.g. VxWorks) Legacy OS (Single threaded: RTOS e.g VxWorks) Guest OS Media (Phone, Video) Application Embedded OS with GUI, calendar, voice mail, games etc. Thin Hypervisor Thin Hypervisor VT-x & VT-d enabled Multi-Core Intel Architecture CPU 0 Antenna CPU 1 VT-x & VT-d enabled Multi-Core Intel Architecture RTOS & GPOS Consolidation Performance-Critical Application Separation Linux* X-windows MS Windows* API Real Time Kernel Real Time Process Modified NetBSD* SMP kernel IP Stack Changes User Space Standard NetBSD Hypervisor CPU 0 CPU 1 NIC Chipset VT-x & VT-d enabled Multi-Core Intel Architecture Hypervisor CPU 0 CPU 1 NIC Chipset VT-x & VT-d enabled Multi-Core Intel Architecture VT-x: Intel Virtualization Technology (Intel VT) for IA-32, Inte l 64 and Intel Architecture VT-d: Intel Virtualization Technology (Intel VT) for Directed I/O * Other names Other and brands names may and be brands claimed may as the be property claimed of as others. the property of others. 5

Intel Virtualization Technology Review - HW Virtualization Extended Page Tables (EPT) Virtual Processor ID (VPID) VPID [0:15] Guest 0 VPID [0:15] Guest 1 Preemption Timer / Pause Loop Exit Guest 0 VT-d I/O Virtualization DMA remap PCIe pass-through Interrupt remap Guest 1 6

Virtualization in Embedded : Soft Failover Proof-of-Concept 7

Virtualization in Embedded : Soft Failover Automatic System Recovery Preserve Critical Data and State Real-time task pointer tracking and resume Requires No Network Connectivity 8

Virtualization in Embedded : Soft Failover Xen DomU (P) Xen DomU (B) Ryarc Player Samba Samba Xen Dom0 Host OS Heartbeat Mon daemon 9

Virtualization in Embedded : Soft Failover Specifications: Software Rev/Version Linux Kernel 2.6.32.26 Fedora 14 (64 bits) Xen pvops 4.1 Video Player File Share Ryarc Samba 10

Virtualization in Embedded: Medical Proof-of-Concept 11

Virtualization in Embedded : Critical Path Isolation (Medical) PoC RHEL* HDD RHEL* SQL Database Windows* XP VGA Display BT Driver Waveform Display VNC* terminal Windows *HDD Bare Metal Hypervisor (e. g. Xen or Commercial VMM) USB Drive (VMM/Hypervisor) VT-x : VMX & HW assist VT-d : DMA & Interrupt Remapping Bluetooth RHEL* Ethernet Windows* Ethernet 12

CPU Utilization Virtualization in Embedded : Critical Path Isolation (Medical) 100 90 80 70 60 50 40 Windows Linux/RTOS 30 20 10 0 1 2 3 4 5 6 7 8 9 10 11 Running Processes 13

Virtualization in Embedded Call to Action Few Embedded Challenges: real-time, simpler Dom0, fast path intervm comms Open to developing similar creative ideas using Xen and open source in the embedded domains. Explore Xen community collaboration possibilities to enable better embedded practical solutions. 14

References Resource Intel HD Graphics Driver Xen how-to guide Xen VGA pass-though (using Intel VT-d) Xen PCI pass-through (using Intel VT-d) Intel Embedded Developer Site Link http://support.intel.com http://wiki.xensource.com http://wiki.xensource.com/xenwiki/xenpcipassthrou gh http://wiki.xensource.com/xenwiki/xenvgapassthro ugh http://edc.intel.com 15