张俊 1080379124 2011.1 1. BTLab Embedded Virtualization Group Outline  Introduction  Performance Analysis  PerformanceTuning Methods.

Slides:



Advertisements
Similar presentations
1 VIRTUAL MACHINES By: Sai Siddharth Kumar Dantu.
Advertisements

Content Overview Virtual Disk Port to Intel platform
Virtualization Dr. Michael L. Collard
Differentiated I/O services in virtualized environments
Virtualization in HPC Minesh Joshi CSC 469 Dr. Box Feb 1, 2012.
Project Overview 2014/05/05 1. Current Project “Research on Embedded Hypervisor Scheduler Techniques” ◦ Design an energy-efficient scheduling mechanism.
Virtual Machine Security Design of Secure Operating Systems Summer 2012 Presented By: Musaad Alzahrani.
Chapter 1: Introduction
Chapter 13 Embedded Systems Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Chapter 13 Embedded Systems
Chapter 11 Operating Systems
KVM/ARM: The Design and Implementation of the Linux ARM Hypervisor Fall 2014 Presented By: Probir Roy.
Chapter 4 Structure of Operating Systems Copyright © 2008.
Virtualization and the Cloud
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Virtual Machines. Virtualization Virtualization deals with “extending or replacing an existing interface so as to mimic the behavior of another system”
Virtualization for Cloud Computing
Virtualization Technology Prof D M Dhamdhere CSE Department IIT Bombay Moving towards Virtualization… Department of Computer Science and Engineering, IIT.
Tanenbaum 8.3 See references
1 Scheduling I/O in Virtual Machine Monitors© 2008 Diego Ongaro Scheduling I/O in Virtual Machine Monitors Diego Ongaro, Alan L. Cox, and Scott Rixner.
Virtualization Virtualization is the creation of substitutes for real resources – abstraction of real resources Users/Applications are typically unaware.
Computer System Architectures Computer System Software
May l Washington, DC l Omni Shoreham Nick Dobrovolskiy VP Parallels Open Platform May 19 th, 2008 Introducing Parallels Server.
Microkernels, virtualization, exokernels Tutorial 1 – CSC469.
UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept Kernel or MicroKernel Concept: An OS architecture-design.
Prioritizing Local Inter-Domain Communication in Xen Sisu Xi, Chong Li, Chenyang Lu, and Christopher Gill Cyber-Physical Systems Laboratory Washington.
SAIGONTECH COPPERATIVE EDUCATION NETWORKING Spring 2010 Seminar #1 VIRTUALIZATION EVERYWHERE.
Thanks to Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction n What is an Operating System? n Mainframe Systems.
Virtual Machine Scheduling for Parallel Soft Real-Time Applications
Benefits: Increased server utilization Reduced IT TCO Improved IT agility.
Improving Network I/O Virtualization for Cloud Computing.
Virtualization: Not Just For Servers Hollis Blanchard PowerPC kernel hacker.
A Virtual Machine Monitor for Utilizing Non-dedicated Clusters Kenji Kaneda Yoshihiro Oyama Akinori Yonezawa (University of Tokyo)
Virtual Machine and its Role in Distributed Systems.
Politecnico di Torino Dipartimento di Automatica ed Informatica TORSEC Group Performance of Xen’s Secured Virtual Networks Emanuele Cesena Paolo Carlo.
COMS E Cloud Computing and Data Center Networking Sambit Sahu
Our work on virtualization Chen Haogang, Wang Xiaolin {hchen, Institute of Network and Information Systems School of Electrical Engineering.
High Performance Computing on Virtualized Environments Ganesh Thiagarajan Fall 2014 Instructor: Yuzhe(Richard) Tang Syracuse University.
PART II OPERATING SYSTEMS LECTURE 8 SO TAXONOMY Ştefan Stăncescu 1.
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
Scott Ferguson Section 1
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Full and Para Virtualization
Lecture 26 Virtual Machine Monitors. Virtual Machines Goal: run an guest OS over an host OS Who has done this? Why might it be useful? Examples: Vmware,
Virtualization One computer can do the job of multiple computers, by sharing the resources of a single computer across multiple environments. Turning hardware.
Operating-System Structures
Cloud Computing Lecture 5-6 Muhammad Ahmad Jan.
Bolt : Faster Reconfiguration in Operating Systems Sankaralingam Panneerselvam Michael M. Swift Nam Sung Kim University of Wisconsin, Madison, WI ATC 2015.
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
Virtualization Neependra Khare
Virtualization for Cloud Computing
Is Virtualization ready for End-to-End Application Performance?
Current Generation Hypervisor Type 1 Type 2.
Virtualization Dr. Michael L. Collard
Virtualization Virtualization is the creation of substitutes for real resources – abstraction of real resources Users/Applications are typically unaware.
Virtual Servers.
1. 2 VIRTUAL MACHINES By: Satya Prasanna Mallick Reg.No
Virtual Machines.
Virtualization Virtualization is the creation of substitutes for real resources – abstraction of real resources Users/Applications are typically unaware.
OS Virtualization.
Virtualization Layer Virtual Hardware Virtual Networking
Virtualization Techniques
LAB 01 Installation of VIRTUAL MACHINE and LINUX
Virtualization Dr. S. R. Ahmed.
A Virtual Machine Monitor for Utilizing Non-dedicated Clusters
Presentation transcript:

张俊

BTLab Embedded Virtualization Group Outline  Introduction  Performance Analysis  PerformanceTuning Methods  Experimental Results  Conclusion 2

BTLab Embedded Virtualization Group Outline  Introduction  Performance Analysis  PerformanceTuning Methods  Experimental Results  Conclusion 3

BTLab Embedded Virtualization Group Virtualization in General  A host(VMM, Virtual Machine Monitor) manages the hardware resources Multiplexing or Partitioning  Virtualization Flavors Full virtualization Paravirtualization  Virtualization Application Server Desktop Embedded System OS App Hardware Guest OS App Guest OS App Host(VMM) Hardware 4

BTLab Embedded Virtualization Group Motivation 5  RTOS is primitive, simple executives Task scheduling Interrupt Handling  RT applications now require TCP/IP&GUI File system&Database Multi-core support  Classic solutions Add these non-RT services to the basic RT kernel Add RT extension to the general-purpose kernel Task scheduling Kernel preemptivity

BTLab Embedded Virtualization Group System Consolidation  Multi-core enablement for legacy embedded uni- processor applications 6

BTLab Embedded Virtualization Group Another Solution  Deploy separate RTOS and GPOS on single embedded platform RTOS: real-time tasks GPOS: non-real-time services  Meet increasing RT application requirements while enjoying all the benefits of embedded virtualization  Add RT extension to the VMM VM scheduling VMM kernel preemptivity 7

BTLab Embedded Virtualization Group Embedded Real-Time Architecture 8  Multi-core CPU with virtualization extension  KVM as the hypervisor  Linux as the GPOS  VxWorks as the RTOS

BTLab Embedded Virtualization Group Outline  Introduction  Performance Analysis  PerformanceTuning Methods  Experimental Results  Conclusion 9

BTLab Embedded Virtualization Group PDLT: Process Dispatch Latency Time  Between an interrupt occurs and the first command of a process that has been awakened by the interrupt service routine longest antency are on the order of tens up to hundreds of milliseconds 10

BTLab Embedded Virtualization Group  Six stages associated with the delivery of the interrupt to the guest OS  System load causing additional latency Computational loads Interrupt loads Virtualization-Caused Latency 11

BTLab Embedded Virtualization Group Outline  Introduction  Performance Analysis  PerformanceTuning Methods  Experimental Results  Conclusion 12

BTLab Embedded Virtualization Group Prioritization  A straightforward approach to improving guest responsiveness over QEMU/KVM is to raise the priorities of QEMU’s threads and lift them into a real-time scheduling class  Approaches Shell command: chrt System Call: sched_setscheduler() 13

BTLab Embedded Virtualization Group Dedicated Core  Reserve one dedicated core for real-time guest a symmetric multi-processor (SMP) system, preventing the real-time guest from being adversely affected by harmful workloads.  Approaches Process pinning System call: sched_setaffinity() Tools: taskset/cpuset Interrupt pinning File interface: /proc/irq/ /smp_affinity 14

BTLab Embedded Virtualization Group Outline  Introduction  Performance Analysis  PerformanceTuning Methods  Experimental Results  Conclusion 15

BTLab Embedded Virtualization Group Experimental Results (VxWorks)  Interrupt Response Time (IRT) 16

BTLab Embedded Virtualization Group Experimental Results (Linux)  Process Dispatch Latency Time (PDLT) 17

BTLab Embedded Virtualization Group Outline  Introduction  Performance Analysis  PerformanceTuning Methods  Experimental Results  Conclusion 18

BTLab Embedded Virtualization Group Conclusions  Virtualization software layer combined with various system loads do cause certain additional response latencies.  Real-time performance tunings methods under the host Linux can reduce the response latencies of the real-time guest to some degree.  With careful setup and tuning, sub-millisecond response time can be guaranteed on the KVM guest. 19

BTLab Embedded Virtualization Group Contributions  Propose an KVM-based embedded real-time virtualization architecture, which combines Linux and VxWorks together, as the guest GPOS and guest RTOS respectively.  Analyze how KVM combined other system loads introduces additional latencies to the guest interrupt response time  Evaluate the interrupt response time the KVM guest is able to achieve and the effectiveness of various performance tuning methods. 20

BTLab Embedded Virtualization Group End Thank you! Q&A 21

BTLab Embedded Virtualization Group Backup VMM VM scheduling VM

BTLab Embedded Virtualization Group Backup

BTLab Embedded Virtualization Group