SlideShare une entreprise Scribd logo
1  sur  31
Trusted Computing Review (TCR) 2010, section 2




   Virtual Machine Performance

                        Qian Lin
                      Dec. 9th, 2010
Related topics
• Optimization for VM performance improvement
• Measurement: tools & methods
• High performance computing in virtual machines
Background
• Performance is a permanent issue!
   – no best, but better
   – global optimization -> infrastructure, architecture, ...
   – local optimization -> CPU, memory, I/O, storage, ...
• How to arbitrate the performance?
   – principles & standards vs. feasibility
   – tools & methods vs. implementation
• Various applications focus on different aspects
   – application deployment
   – case study
Related conferences
• First-tier
   – SOSP, OSDI, ASPLOS, ISCA, USENIX ATC, EuroSys
   – PPoPP, HPDC, ICDCS, NSDI
• Second-tier
   – VEE, HPCA, PACT, SC, ICS, IPDPS, IISWC, Euro-Par, CLUSTER
• Others
   – GCC, HiPC, SAC, ICPADS
   – HPCVirt
Virtualization infrastructure
• Operating system support for virtual machines.
  USENIX ATC’03
   – examine and reduce the large overhead for Type II VMMs
     (e.g., SimOS, UML, UMLinux)
Virtualization infrastructure
• Xen and the art of virtualization. SOSP’03
• Xen and the art of repeated research. USENIX ATC’04
Virtualization infrastructure
 • A comparison of software and hardware techniques
   for x86 virtualization. ASPLOS’06
     – conclusion: the hardware VMM suffers lower performance
       than the pure software VMM
     – defect of hardware VMM
        • no support for MMU virtualization
        • fails to co-exist with existing software techniques for MMU
          virtualization


Look ahead for
nested paging hardware
Virtualization infrastructure
• Accelerating two dimensional page walks for
  virtualized systems. ASPLOS’08
   – present an in-depth examination of the 2D page table walk
     overhead and options for decreasing it
Virtualization infrastructure
• Virtualizing I/O devices on VMware workstation’s
  hosted virtual machine monitor. USENIX ATC’01
   – architecture design
   – performance evaluation
Optimization
• Satori: Enlightened page sharing. USENIX ATC’09
   – system for sharing memory in virtualized systems
   – detect sharing opportunities and manage the surplus
     memory
Optimization
• High performance VMM-Bypass I/O in virtual
  machines. USENIX ATC’06
  – allows time-critical I/O operations to be carried out
    directly in guest VMs without involvement of the VMM
    and/or a privileged VM
Optimization
• Optimizing network virtualization in Xen.
  USENIX ATC’06
   – redefine the virtual network interfaces of guest domains
     to incorporate high-level network offload features
   – optimize the implementation of the data transfer path
     between guest and driver domains
   – provide support for guest operating systems to effectively
     utilize advanced virtual memory features such as
     superpages and global page mappings
Optimization
• High performance and scalable I/O virtualization via
  self-virtualized devices. HPDC’07
   – self-virtualized devices, which offload selected
     virtualization functionality from the hypervisor
   – self-virtualized network interface (SV-NIC)
Optimization
• Bridging the gap between software and hardware
  techniques for I/O virtualization. USENIX ATC’08
   – Problem 1: paravirtualized I/O causes high CPU overhead.
   – problem 2: direct I/O removes the benefits of the driver
     domain model.
   – Solution: bridge the performance gap between the driver
     domain model and direct I/O
Optimization
• XenLoop: a transparent high performance inter-VM
  network loopback. HPDC’08
  – a fully transparent and high performance
  – intercept outgoing network packets and shepherds the
    packets destined to co-resident VMs through a high-speed
    inter-VM shared memory channel
Optimization
• Virtualization Polling Engine (VPE): Using dedicated
  CPU cores to accelerate I/O virtualization. ICS’09
   – takes advantage of dedicated CPU cores to help with the
     virtualization of I/O devices by using an event-driven
     execution model with dedicated polling threads.
Optimization
• High performance network virtualization with SR-
  IOV. HPCA’09
Optimization
• I/O scheduling model of virtual machine based on
  multi-core dynamic partitioning. HPDC’10
   – Problem: scheduling of I/O missions was now treated as a
     secondary concern when compared with scheduling of
     processor resources.
      • This would cause serious degradation of I/O performance and
        make virtualization less desirable for I/O-intensive applications.
   – Solution: monitor I/O operations, divide processor cores
     into 3 subsets which take different missions respectively.
Measurement
• Measuring CPU overhead for I/O processing in the
  Xen virtual machine monitor. USENIX ATC’05
   – a light weight monitoring system
   – measure the CPU usage of different virtual machines
     caused by I/O processing
   – “page-flipping” technique of Xen
      • the memory page containing the I/O data in the driver domain is
        exchanged with an unused page provided by the guest OS.
Measurement
• Diagnosing performance overheads in the Xen virtual
  machine environment. VEE’05
   – Xenoprof: a system-wide statistical profiling toolkit
     implemented for Xen
      • enable coordinated profiling of multiple VMs in a system to obtain
        the distribution of hardware events (e.g., clock cycles, cache and
        TLB misses)
   – use the toolkit to analyze performance overheads incurred
     by networking applications running in Xen VMs
Measurement
• Xenprobes, a lightweight user-space probing
  framework for Xen virtual machine. USENIX ATC’07
  – a lightweight framework to probe the guest kernels
  – be useful for various purposes
     • monitor real-time status of production systems
     • analyze performance bottlenecks
     • log specific events tracing problems
  – introduce some unique advantages
     • put the breakpoint handlers in user-space => easy use
     • allow to probe multiple guests at the same time
     • support all kind of OS supported by Xen
Measurement
• An analysis of HPC benchmarks in virtual machine
  environments. Euro-Par’08
   – Problem: predicting performance for applications is
     toughly difficult in virtual environments.
   – Research: investigate the behavior and identify patterns of
     various overheads for HPC benchmark applications.
Measurement
• Application performance modeling in a virtualized
  environment. HPCA’09
   – build performance models for applications in virtualized
     environments
   – propose an iterative model training technique based on
     artificial neural networks which is found to be accurate
     across a range of applications
Measurement
• Performance comparison of two virtual machine
  scenarios using an HPC application. HPCVirt’09
  – compare the performance implications using HPC
    application
  – two VM node configuration
     • 2 VMs with 1 process/VM
     • 1 VM with 2 processes/VM
  – the difference in overall performance impact is around 3%
HPC
• A case for high performance computing with virtual
  machines. ICS’06
   – Two key ideas: VMM bypass I/O and scalable VM image
     management.
HPC
• Virtualization for high-performance computing.
  OSR 2006(vol.40)
   – discuss the trends, motivations, and issues in hardware
     virtualization with emphasis on their value in HPC
     environments
HPC
• Improving performance by embedding HPC
  applications in lightweight Xen domains. HPCVirt’08
   – HPC application and its execution environment can be
     embedded within a lightweight guest domain
Summary: research areas
• Reduce virtualization overhead
   – infrastructure
      • Xen vs. KVM vs. VMware
      • cloud computing related
   – CPU and memory
      • On the low-level, software strategies are becoming less important,
        but hardware.
      • On the high level, optimization is increasingly derived from
        algorithm rather than architecture.
   – I/O
      • continue to be hot topics!
      • network, disk, filesystem, ...
Summary: research areas
• Measurement and tools
  – benchmark
  – diagnosis and performance bottleneck
  – implementation of practical tools
• Application driven performance improvement
  – behavior analysis of specific applications, especially with
    respect to that triggering virtualization overhead
  – local optimize and customize VM for definite application
    scenario
Our past work
• Optimizing virtual machines using hybrid
  virtualization. SAC’11
TCR: to be expected ...
• VM security
• Virtualization technology and platform
• Novel memory architecture
• Cloud computing
• App. case study under virtualization environment
• VM miscellaneous (e.g., migration, time keeping)

Contenu connexe

Tendances

Implementation levels of virtualization
Implementation levels of virtualizationImplementation levels of virtualization
Implementation levels of virtualizationGokulnath S
 
Operating system 16 virtual machines
Operating system 16 virtual machinesOperating system 16 virtual machines
Operating system 16 virtual machinesVaibhav Khanna
 
Differences between Virtualization and Cloud
Differences between Virtualization and CloudDifferences between Virtualization and Cloud
Differences between Virtualization and CloudDuan van der Westhuizen
 
Cloud Computing using virtulization
Cloud Computing using virtulizationCloud Computing using virtulization
Cloud Computing using virtulizationAJIT NEGI
 
Virtualization (Distributed computing)
Virtualization (Distributed computing)Virtualization (Distributed computing)
Virtualization (Distributed computing)Sri Prasanna
 
Types of Virtualization Solutions
Types of Virtualization SolutionsTypes of Virtualization Solutions
Types of Virtualization Solutions Array Networks
 
1.Introduction to virtualization
1.Introduction to virtualization1.Introduction to virtualization
1.Introduction to virtualizationHwanju Kim
 
Virtualization Technology Overview
Virtualization Technology OverviewVirtualization Technology Overview
Virtualization Technology OverviewOpenCity Community
 
Platform virtualization.raj
Platform virtualization.rajPlatform virtualization.raj
Platform virtualization.rajNRajaMohanReddy
 
Server Virtualization
Server VirtualizationServer Virtualization
Server Virtualizationrjain51
 
Virtualization using VMWare Workstation and Cloud Computing
Virtualization using VMWare Workstation and Cloud ComputingVirtualization using VMWare Workstation and Cloud Computing
Virtualization using VMWare Workstation and Cloud ComputingHitesh Gupta
 
Vmm concepts
Vmm conceptsVmm concepts
Vmm conceptsLibin M
 
Comparison of Open Source Virtualization Technology
Comparison of Open Source Virtualization TechnologyComparison of Open Source Virtualization Technology
Comparison of Open Source Virtualization TechnologyBenoit des Ligneris
 

Tendances (20)

Implementation levels of virtualization
Implementation levels of virtualizationImplementation levels of virtualization
Implementation levels of virtualization
 
Server Virtualization
Server VirtualizationServer Virtualization
Server Virtualization
 
Operating system 16 virtual machines
Operating system 16 virtual machinesOperating system 16 virtual machines
Operating system 16 virtual machines
 
Virtualization
Virtualization Virtualization
Virtualization
 
Differences between Virtualization and Cloud
Differences between Virtualization and CloudDifferences between Virtualization and Cloud
Differences between Virtualization and Cloud
 
Introduction to virtualization
Introduction to virtualizationIntroduction to virtualization
Introduction to virtualization
 
Cloud Computing using virtulization
Cloud Computing using virtulizationCloud Computing using virtulization
Cloud Computing using virtulization
 
Virtualization (Distributed computing)
Virtualization (Distributed computing)Virtualization (Distributed computing)
Virtualization (Distributed computing)
 
Types of Virtualization Solutions
Types of Virtualization SolutionsTypes of Virtualization Solutions
Types of Virtualization Solutions
 
1.Introduction to virtualization
1.Introduction to virtualization1.Introduction to virtualization
1.Introduction to virtualization
 
Virtualization Technology Overview
Virtualization Technology OverviewVirtualization Technology Overview
Virtualization Technology Overview
 
Platform virtualization.raj
Platform virtualization.rajPlatform virtualization.raj
Platform virtualization.raj
 
Virtualization 101
Virtualization 101Virtualization 101
Virtualization 101
 
Server Virtualization
Server VirtualizationServer Virtualization
Server Virtualization
 
Virtualization using VMWare Workstation and Cloud Computing
Virtualization using VMWare Workstation and Cloud ComputingVirtualization using VMWare Workstation and Cloud Computing
Virtualization using VMWare Workstation and Cloud Computing
 
Vmm concepts
Vmm conceptsVmm concepts
Vmm concepts
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Virtualization
VirtualizationVirtualization
Virtualization
 
VMWARE
VMWAREVMWARE
VMWARE
 
Comparison of Open Source Virtualization Technology
Comparison of Open Source Virtualization TechnologyComparison of Open Source Virtualization Technology
Comparison of Open Source Virtualization Technology
 

En vedette

Scvmm Technical Overview.Son Vu
Scvmm Technical Overview.Son VuScvmm Technical Overview.Son Vu
Scvmm Technical Overview.Son Vuvncson
 
Virtualizing a Virtual Machine
Virtualizing a Virtual MachineVirtualizing a Virtual Machine
Virtualizing a Virtual Machineelliando dias
 
Jvm Performance Tunning
Jvm Performance TunningJvm Performance Tunning
Jvm Performance Tunningguest1f2740
 
Performance Demystified for SQL Server on Azure Virtual Machines
Performance Demystified for SQL Server on Azure Virtual MachinesPerformance Demystified for SQL Server on Azure Virtual Machines
Performance Demystified for SQL Server on Azure Virtual MachinesAmit Banerjee
 
Splunking the JVM (Java Virtual Machine)
Splunking the JVM (Java Virtual Machine)Splunking the JVM (Java Virtual Machine)
Splunking the JVM (Java Virtual Machine)Damien Dallimore
 
The Real Thing: Java Virtual Machine
The Real Thing: Java Virtual MachineThe Real Thing: Java Virtual Machine
The Real Thing: Java Virtual MachineFrontech
 
Java virtual machine
Java virtual machineJava virtual machine
Java virtual machineNikhil Sharma
 
Virtual Machines
Virtual MachinesVirtual Machines
Virtual MachinesJoa Ebert
 
Знакомство с Ethereum virtual machine
Знакомство с Ethereum virtual machineЗнакомство с Ethereum virtual machine
Знакомство с Ethereum virtual machineSergey Lonshakov
 
Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)Novell
 
Virtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMwareVirtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMwareDatapath Consulting
 

En vedette (13)

Scvmm Technical Overview.Son Vu
Scvmm Technical Overview.Son VuScvmm Technical Overview.Son Vu
Scvmm Technical Overview.Son Vu
 
Virtualizing a Virtual Machine
Virtualizing a Virtual MachineVirtualizing a Virtual Machine
Virtualizing a Virtual Machine
 
Jvm Performance Tunning
Jvm Performance TunningJvm Performance Tunning
Jvm Performance Tunning
 
Performance Demystified for SQL Server on Azure Virtual Machines
Performance Demystified for SQL Server on Azure Virtual MachinesPerformance Demystified for SQL Server on Azure Virtual Machines
Performance Demystified for SQL Server on Azure Virtual Machines
 
Splunking the JVM (Java Virtual Machine)
Splunking the JVM (Java Virtual Machine)Splunking the JVM (Java Virtual Machine)
Splunking the JVM (Java Virtual Machine)
 
The Real Thing: Java Virtual Machine
The Real Thing: Java Virtual MachineThe Real Thing: Java Virtual Machine
The Real Thing: Java Virtual Machine
 
Java virtual machine
Java virtual machineJava virtual machine
Java virtual machine
 
Virtual Machines
Virtual MachinesVirtual Machines
Virtual Machines
 
Virtual machine
Virtual machineVirtual machine
Virtual machine
 
Знакомство с Ethereum virtual machine
Знакомство с Ethereum virtual machineЗнакомство с Ethereum virtual machine
Знакомство с Ethereum virtual machine
 
Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)
 
Virtualization basics
Virtualization basics Virtualization basics
Virtualization basics
 
Virtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMwareVirtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMware
 

Similaire à Virtual Machine Performance

Virtualization in cloud
Virtualization in cloudVirtualization in cloud
Virtualization in cloudAshok Kumar
 
Introduction to Cloud Computing
Introduction to Cloud Computing Introduction to Cloud Computing
Introduction to Cloud Computing Pratik Patil
 
Tuning VIM performance for unikernels
Tuning VIM performance for unikernelsTuning VIM performance for unikernels
Tuning VIM performance for unikernelsStefano Salsano
 
Cloud-computing.ppt
Cloud-computing.pptCloud-computing.ppt
Cloud-computing.pptAjit Mali
 
Virtualization in cloud computing
Virtualization in cloud computingVirtualization in cloud computing
Virtualization in cloud computingRubaNagarajan
 
HPC HUB - Virtual Supercomputer on Demand
HPC HUB - Virtual Supercomputer on DemandHPC HUB - Virtual Supercomputer on Demand
HPC HUB - Virtual Supercomputer on DemandVilgelm Bitner
 
ServerVirtualization.pptx
ServerVirtualization.pptxServerVirtualization.pptx
ServerVirtualization.pptxSatyajeetGaur3
 
Lecture5_ServerVirtualization.pptx
Lecture5_ServerVirtualization.pptxLecture5_ServerVirtualization.pptx
Lecture5_ServerVirtualization.pptxUbaidURRahman78
 
Cloud computing and its job opportunities
Cloud computing and its job opportunities Cloud computing and its job opportunities
Cloud computing and its job opportunities Ramya SK
 
[EWiLi2016] Enabling power-awareness for the Xen Hypervisor
[EWiLi2016] Enabling power-awareness for the Xen Hypervisor[EWiLi2016] Enabling power-awareness for the Xen Hypervisor
[EWiLi2016] Enabling power-awareness for the Xen HypervisorMatteo Ferroni
 
Introduction to Cloud Computing
Introduction to Cloud ComputingIntroduction to Cloud Computing
Introduction to Cloud ComputingBharat Kalia
 
Cloud virtualization
Cloud virtualizationCloud virtualization
Cloud virtualizationSarwan Singh
 
Cloud and its job oppertunities
Cloud and its job oppertunitiesCloud and its job oppertunities
Cloud and its job oppertunitiesRamya SK
 
9-cloud-computing.pdf
9-cloud-computing.pdf9-cloud-computing.pdf
9-cloud-computing.pdfErvisTema1
 
Challenges in Cloud Computing – VM Migration
Challenges in Cloud Computing – VM MigrationChallenges in Cloud Computing – VM Migration
Challenges in Cloud Computing – VM MigrationSarmad Makhdoom
 
Superfluid networking for 5G: vision and state of the art
Superfluid networking for 5G: vision and state of the artSuperfluid networking for 5G: vision and state of the art
Superfluid networking for 5G: vision and state of the artStefano Salsano
 

Similaire à Virtual Machine Performance (20)

Virtualization in cloud
Virtualization in cloudVirtualization in cloud
Virtualization in cloud
 
Introduction to Cloud Computing
Introduction to Cloud Computing Introduction to Cloud Computing
Introduction to Cloud Computing
 
Tuning VIM performance for unikernels
Tuning VIM performance for unikernelsTuning VIM performance for unikernels
Tuning VIM performance for unikernels
 
Cloud-computing.ppt
Cloud-computing.pptCloud-computing.ppt
Cloud-computing.ppt
 
Virtualization in cloud computing
Virtualization in cloud computingVirtualization in cloud computing
Virtualization in cloud computing
 
HPC HUB - Virtual Supercomputer on Demand
HPC HUB - Virtual Supercomputer on DemandHPC HUB - Virtual Supercomputer on Demand
HPC HUB - Virtual Supercomputer on Demand
 
Could the “C” in HPC stand for Cloud?
Could the “C” in HPC stand for Cloud?Could the “C” in HPC stand for Cloud?
Could the “C” in HPC stand for Cloud?
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
ServerVirtualization.pptx
ServerVirtualization.pptxServerVirtualization.pptx
ServerVirtualization.pptx
 
Lecture5_ServerVirtualization.pptx
Lecture5_ServerVirtualization.pptxLecture5_ServerVirtualization.pptx
Lecture5_ServerVirtualization.pptx
 
Cloud computing and its job opportunities
Cloud computing and its job opportunities Cloud computing and its job opportunities
Cloud computing and its job opportunities
 
[EWiLi2016] Enabling power-awareness for the Xen Hypervisor
[EWiLi2016] Enabling power-awareness for the Xen Hypervisor[EWiLi2016] Enabling power-awareness for the Xen Hypervisor
[EWiLi2016] Enabling power-awareness for the Xen Hypervisor
 
Introduction to Cloud Computing
Introduction to Cloud ComputingIntroduction to Cloud Computing
Introduction to Cloud Computing
 
Cloud virtualization
Cloud virtualizationCloud virtualization
Cloud virtualization
 
Cloud and its job oppertunities
Cloud and its job oppertunitiesCloud and its job oppertunities
Cloud and its job oppertunities
 
9-cloud-computing.pdf
9-cloud-computing.pdf9-cloud-computing.pdf
9-cloud-computing.pdf
 
Challenges in Cloud Computing – VM Migration
Challenges in Cloud Computing – VM MigrationChallenges in Cloud Computing – VM Migration
Challenges in Cloud Computing – VM Migration
 
unit 2.ppt
unit 2.pptunit 2.ppt
unit 2.ppt
 
Cloud
CloudCloud
Cloud
 
Superfluid networking for 5G: vision and state of the art
Superfluid networking for 5G: vision and state of the artSuperfluid networking for 5G: vision and state of the art
Superfluid networking for 5G: vision and state of the art
 

Plus de Qian Lin

Fine-Grained, Secure and Efficient Data Provenance on Blockchain Systems
Fine-Grained, Secure and Efficient Data Provenance on Blockchain SystemsFine-Grained, Secure and Efficient Data Provenance on Blockchain Systems
Fine-Grained, Secure and Efficient Data Provenance on Blockchain SystemsQian Lin
 
PaxosStore: High-availability Storage Made Practical in WeChat
PaxosStore: High-availability Storage Made Practical in WeChatPaxosStore: High-availability Storage Made Practical in WeChat
PaxosStore: High-availability Storage Made Practical in WeChatQian Lin
 
Trinity: A Distributed Graph Engine on a Memory Cloud
Trinity: A Distributed Graph Engine on a Memory CloudTrinity: A Distributed Graph Engine on a Memory Cloud
Trinity: A Distributed Graph Engine on a Memory CloudQian Lin
 
Presto: Distributed Machine Learning and Graph Processing with Sparse Matrices
Presto: Distributed Machine Learning and Graph Processing with Sparse MatricesPresto: Distributed Machine Learning and Graph Processing with Sparse Matrices
Presto: Distributed Machine Learning and Graph Processing with Sparse MatricesQian Lin
 
Adaptive Execution Support for Malleable Computation
Adaptive Execution Support for Malleable ComputationAdaptive Execution Support for Malleable Computation
Adaptive Execution Support for Malleable ComputationQian Lin
 
C-Cube: Elastic Continuous Clustering in the Cloud
C-Cube: Elastic Continuous Clustering in the CloudC-Cube: Elastic Continuous Clustering in the Cloud
C-Cube: Elastic Continuous Clustering in the CloudQian Lin
 
Kineograph: Taking the Pulse of a Fast-Changing and Connected World
Kineograph: Taking the Pulse of a Fast-Changing and Connected WorldKineograph: Taking the Pulse of a Fast-Changing and Connected World
Kineograph: Taking the Pulse of a Fast-Changing and Connected WorldQian Lin
 
Optimizing Virtual Machines Using Hybrid Virtualization
Optimizing Virtual Machines Using Hybrid VirtualizationOptimizing Virtual Machines Using Hybrid Virtualization
Optimizing Virtual Machines Using Hybrid VirtualizationQian Lin
 
Be an Explorer, Be a Coder, Be a Writer
Be an Explorer, Be a Coder, Be a WriterBe an Explorer, Be a Coder, Be a Writer
Be an Explorer, Be a Coder, Be a WriterQian Lin
 
SciMATE: A Novel MapReduce-Like Framework for Multiple Scientific Data Formats
SciMATE: A Novel MapReduce-Like Framework for Multiple Scientific Data FormatsSciMATE: A Novel MapReduce-Like Framework for Multiple Scientific Data Formats
SciMATE: A Novel MapReduce-Like Framework for Multiple Scientific Data FormatsQian Lin
 
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...Qian Lin
 
In-situ MapReduce for Log Processing
In-situ MapReduce for Log ProcessingIn-situ MapReduce for Log Processing
In-situ MapReduce for Log ProcessingQian Lin
 
C-MR: Continuously Executing MapReduce Workflows on Multi-Core Processors
C-MR: Continuously Executing MapReduce Workflows on Multi-Core ProcessorsC-MR: Continuously Executing MapReduce Workflows on Multi-Core Processors
C-MR: Continuously Executing MapReduce Workflows on Multi-Core ProcessorsQian Lin
 

Plus de Qian Lin (13)

Fine-Grained, Secure and Efficient Data Provenance on Blockchain Systems
Fine-Grained, Secure and Efficient Data Provenance on Blockchain SystemsFine-Grained, Secure and Efficient Data Provenance on Blockchain Systems
Fine-Grained, Secure and Efficient Data Provenance on Blockchain Systems
 
PaxosStore: High-availability Storage Made Practical in WeChat
PaxosStore: High-availability Storage Made Practical in WeChatPaxosStore: High-availability Storage Made Practical in WeChat
PaxosStore: High-availability Storage Made Practical in WeChat
 
Trinity: A Distributed Graph Engine on a Memory Cloud
Trinity: A Distributed Graph Engine on a Memory CloudTrinity: A Distributed Graph Engine on a Memory Cloud
Trinity: A Distributed Graph Engine on a Memory Cloud
 
Presto: Distributed Machine Learning and Graph Processing with Sparse Matrices
Presto: Distributed Machine Learning and Graph Processing with Sparse MatricesPresto: Distributed Machine Learning and Graph Processing with Sparse Matrices
Presto: Distributed Machine Learning and Graph Processing with Sparse Matrices
 
Adaptive Execution Support for Malleable Computation
Adaptive Execution Support for Malleable ComputationAdaptive Execution Support for Malleable Computation
Adaptive Execution Support for Malleable Computation
 
C-Cube: Elastic Continuous Clustering in the Cloud
C-Cube: Elastic Continuous Clustering in the CloudC-Cube: Elastic Continuous Clustering in the Cloud
C-Cube: Elastic Continuous Clustering in the Cloud
 
Kineograph: Taking the Pulse of a Fast-Changing and Connected World
Kineograph: Taking the Pulse of a Fast-Changing and Connected WorldKineograph: Taking the Pulse of a Fast-Changing and Connected World
Kineograph: Taking the Pulse of a Fast-Changing and Connected World
 
Optimizing Virtual Machines Using Hybrid Virtualization
Optimizing Virtual Machines Using Hybrid VirtualizationOptimizing Virtual Machines Using Hybrid Virtualization
Optimizing Virtual Machines Using Hybrid Virtualization
 
Be an Explorer, Be a Coder, Be a Writer
Be an Explorer, Be a Coder, Be a WriterBe an Explorer, Be a Coder, Be a Writer
Be an Explorer, Be a Coder, Be a Writer
 
SciMATE: A Novel MapReduce-Like Framework for Multiple Scientific Data Formats
SciMATE: A Novel MapReduce-Like Framework for Multiple Scientific Data FormatsSciMATE: A Novel MapReduce-Like Framework for Multiple Scientific Data Formats
SciMATE: A Novel MapReduce-Like Framework for Multiple Scientific Data Formats
 
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
 
In-situ MapReduce for Log Processing
In-situ MapReduce for Log ProcessingIn-situ MapReduce for Log Processing
In-situ MapReduce for Log Processing
 
C-MR: Continuously Executing MapReduce Workflows on Multi-Core Processors
C-MR: Continuously Executing MapReduce Workflows on Multi-Core ProcessorsC-MR: Continuously Executing MapReduce Workflows on Multi-Core Processors
C-MR: Continuously Executing MapReduce Workflows on Multi-Core Processors
 

Dernier

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 

Dernier (20)

Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 

Virtual Machine Performance

  • 1. Trusted Computing Review (TCR) 2010, section 2 Virtual Machine Performance Qian Lin Dec. 9th, 2010
  • 2. Related topics • Optimization for VM performance improvement • Measurement: tools & methods • High performance computing in virtual machines
  • 3. Background • Performance is a permanent issue! – no best, but better – global optimization -> infrastructure, architecture, ... – local optimization -> CPU, memory, I/O, storage, ... • How to arbitrate the performance? – principles & standards vs. feasibility – tools & methods vs. implementation • Various applications focus on different aspects – application deployment – case study
  • 4. Related conferences • First-tier – SOSP, OSDI, ASPLOS, ISCA, USENIX ATC, EuroSys – PPoPP, HPDC, ICDCS, NSDI • Second-tier – VEE, HPCA, PACT, SC, ICS, IPDPS, IISWC, Euro-Par, CLUSTER • Others – GCC, HiPC, SAC, ICPADS – HPCVirt
  • 5. Virtualization infrastructure • Operating system support for virtual machines. USENIX ATC’03 – examine and reduce the large overhead for Type II VMMs (e.g., SimOS, UML, UMLinux)
  • 6. Virtualization infrastructure • Xen and the art of virtualization. SOSP’03 • Xen and the art of repeated research. USENIX ATC’04
  • 7. Virtualization infrastructure • A comparison of software and hardware techniques for x86 virtualization. ASPLOS’06 – conclusion: the hardware VMM suffers lower performance than the pure software VMM – defect of hardware VMM • no support for MMU virtualization • fails to co-exist with existing software techniques for MMU virtualization Look ahead for nested paging hardware
  • 8. Virtualization infrastructure • Accelerating two dimensional page walks for virtualized systems. ASPLOS’08 – present an in-depth examination of the 2D page table walk overhead and options for decreasing it
  • 9. Virtualization infrastructure • Virtualizing I/O devices on VMware workstation’s hosted virtual machine monitor. USENIX ATC’01 – architecture design – performance evaluation
  • 10. Optimization • Satori: Enlightened page sharing. USENIX ATC’09 – system for sharing memory in virtualized systems – detect sharing opportunities and manage the surplus memory
  • 11. Optimization • High performance VMM-Bypass I/O in virtual machines. USENIX ATC’06 – allows time-critical I/O operations to be carried out directly in guest VMs without involvement of the VMM and/or a privileged VM
  • 12. Optimization • Optimizing network virtualization in Xen. USENIX ATC’06 – redefine the virtual network interfaces of guest domains to incorporate high-level network offload features – optimize the implementation of the data transfer path between guest and driver domains – provide support for guest operating systems to effectively utilize advanced virtual memory features such as superpages and global page mappings
  • 13. Optimization • High performance and scalable I/O virtualization via self-virtualized devices. HPDC’07 – self-virtualized devices, which offload selected virtualization functionality from the hypervisor – self-virtualized network interface (SV-NIC)
  • 14. Optimization • Bridging the gap between software and hardware techniques for I/O virtualization. USENIX ATC’08 – Problem 1: paravirtualized I/O causes high CPU overhead. – problem 2: direct I/O removes the benefits of the driver domain model. – Solution: bridge the performance gap between the driver domain model and direct I/O
  • 15. Optimization • XenLoop: a transparent high performance inter-VM network loopback. HPDC’08 – a fully transparent and high performance – intercept outgoing network packets and shepherds the packets destined to co-resident VMs through a high-speed inter-VM shared memory channel
  • 16. Optimization • Virtualization Polling Engine (VPE): Using dedicated CPU cores to accelerate I/O virtualization. ICS’09 – takes advantage of dedicated CPU cores to help with the virtualization of I/O devices by using an event-driven execution model with dedicated polling threads.
  • 17. Optimization • High performance network virtualization with SR- IOV. HPCA’09
  • 18. Optimization • I/O scheduling model of virtual machine based on multi-core dynamic partitioning. HPDC’10 – Problem: scheduling of I/O missions was now treated as a secondary concern when compared with scheduling of processor resources. • This would cause serious degradation of I/O performance and make virtualization less desirable for I/O-intensive applications. – Solution: monitor I/O operations, divide processor cores into 3 subsets which take different missions respectively.
  • 19. Measurement • Measuring CPU overhead for I/O processing in the Xen virtual machine monitor. USENIX ATC’05 – a light weight monitoring system – measure the CPU usage of different virtual machines caused by I/O processing – “page-flipping” technique of Xen • the memory page containing the I/O data in the driver domain is exchanged with an unused page provided by the guest OS.
  • 20. Measurement • Diagnosing performance overheads in the Xen virtual machine environment. VEE’05 – Xenoprof: a system-wide statistical profiling toolkit implemented for Xen • enable coordinated profiling of multiple VMs in a system to obtain the distribution of hardware events (e.g., clock cycles, cache and TLB misses) – use the toolkit to analyze performance overheads incurred by networking applications running in Xen VMs
  • 21. Measurement • Xenprobes, a lightweight user-space probing framework for Xen virtual machine. USENIX ATC’07 – a lightweight framework to probe the guest kernels – be useful for various purposes • monitor real-time status of production systems • analyze performance bottlenecks • log specific events tracing problems – introduce some unique advantages • put the breakpoint handlers in user-space => easy use • allow to probe multiple guests at the same time • support all kind of OS supported by Xen
  • 22. Measurement • An analysis of HPC benchmarks in virtual machine environments. Euro-Par’08 – Problem: predicting performance for applications is toughly difficult in virtual environments. – Research: investigate the behavior and identify patterns of various overheads for HPC benchmark applications.
  • 23. Measurement • Application performance modeling in a virtualized environment. HPCA’09 – build performance models for applications in virtualized environments – propose an iterative model training technique based on artificial neural networks which is found to be accurate across a range of applications
  • 24. Measurement • Performance comparison of two virtual machine scenarios using an HPC application. HPCVirt’09 – compare the performance implications using HPC application – two VM node configuration • 2 VMs with 1 process/VM • 1 VM with 2 processes/VM – the difference in overall performance impact is around 3%
  • 25. HPC • A case for high performance computing with virtual machines. ICS’06 – Two key ideas: VMM bypass I/O and scalable VM image management.
  • 26. HPC • Virtualization for high-performance computing. OSR 2006(vol.40) – discuss the trends, motivations, and issues in hardware virtualization with emphasis on their value in HPC environments
  • 27. HPC • Improving performance by embedding HPC applications in lightweight Xen domains. HPCVirt’08 – HPC application and its execution environment can be embedded within a lightweight guest domain
  • 28. Summary: research areas • Reduce virtualization overhead – infrastructure • Xen vs. KVM vs. VMware • cloud computing related – CPU and memory • On the low-level, software strategies are becoming less important, but hardware. • On the high level, optimization is increasingly derived from algorithm rather than architecture. – I/O • continue to be hot topics! • network, disk, filesystem, ...
  • 29. Summary: research areas • Measurement and tools – benchmark – diagnosis and performance bottleneck – implementation of practical tools • Application driven performance improvement – behavior analysis of specific applications, especially with respect to that triggering virtualization overhead – local optimize and customize VM for definite application scenario
  • 30. Our past work • Optimizing virtual machines using hybrid virtualization. SAC’11
  • 31. TCR: to be expected ... • VM security • Virtualization technology and platform • Novel memory architecture • Cloud computing • App. case study under virtualization environment • VM miscellaneous (e.g., migration, time keeping)

Notes de l'éditeur

  1. Type I: IBM’s VM/370, Disco, and VMware’s ESX Server Type II: SimOS, User-Mode Linux, and UMLinux Hybrid: operate mostly on the physical hardware but use the host OS to perform I/O
  2. extends the idea of OS-bypass originated from user-level communication Left fig.: VM-Bypass I/O (I/O Handled by VMM Directly) Right fig.: VM-Bypass I/O (I/O Handled by Another VM)
  3. self-virtualized devices: an I/O virtualization approach which improves I/O performance by offloading selected virtualization functionality onto the device SV-NIC: (1) provides virtual interfaces (VIFs) to guest virtual machines for an underlying physical device, the network interface, (2) manages the way in which the device’s physical resources are used by guest operating systems, and (3) provides high performance, low overhead network access to guest domains.
  4. 1. TCP/UDP based network communication tends to perform poorly when used between co-resident VMs, but has the advantage of being transparent to user applications. 2. Other solutions exploit inter-domain shared memory mechanisms to improve communication latency and bandwidth, but require applications or user libraries to be rewritten against customized APIs – something not practical for a large majority of distributed applications. XenLoop: intercepts outgoing network packets beneath the network layer and shepherds the packets destined to co-resident VMs through a high-speed inter-VM shared memory channel that bypasses the virtualized network interface.
  5. 将 I/O 资源池化,然后委派专门的 core 去维护这个池。
  6. Virtualization technology has been gaining acceptance in the scientific community due to its overall flexibility in running HPC applications.
  7. In this paper, we show how an HPC application and its execution environment can be embedded within a lightweight guest domain, alongside a domain that runs a conventional OS which is only used for administrative purpose. That permits the execution environment to take advantage of kernel-level facilities to improve performance, which would be hard to achieve in the traditional process model because of lack of support or excessive overhead.