Hardware counter virtualization-based performance analysis method for multiple virtual machines

An analysis method and multi-virtual machine technology, which is applied in the field of multi-virtual machine performance analysis based on hardware counter virtualization, can solve problems such as inability to meet simultaneous use, inability to analyze different events at the same time, and limited CPU events.

Inactive Publication Date: 2011-05-25
HUAZHONG UNIV OF SCI & TECH
View PDF2 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, for performance analysis tools based on hardware counters, the number of CPU events that can be analyzed simultaneously is limited, and existing performance analysis tools cannot simultaneously analyze different events in different virtual machines
Therefore, it cannot meet the needs of multiple users using differen

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Hardware counter virtualization-based performance analysis method for multiple virtual machines
  • Hardware counter virtualization-based performance analysis method for multiple virtual machines
  • Hardware counter virtualization-based performance analysis method for multiple virtual machines

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be described in detail below in conjunction with the accompanying drawings and examples.

[0028] The purpose of the present invention is to research a kind of multi-virtual machine performance analysis method based on hardware counter virtualization technology, make them can analyze a plurality of different incidents independently simultaneously, main steps of the present invention comprise:

[0029] (1) Run a background daemon process in each virtual machine to monitor the request to start or stop performance analysis, and use Xenstore as a message passing mechanism between multiple virtual machines;

[0030] (2) Use a structure to save the CPU event information of the virtual machine in Xen, so that multiple virtual machines can start performance analysis at the same time;

[0031] (3) Realize the time-division multiplexing of each virtual machine to the hardware counter by virtualizing the hardware counter, so that they can analyze differe...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a hardware counter virtualization-based performance analysis method for multiple virtual machines. The method comprises the following steps of: when performance analysis is performed on multiple virtual machines at the same time and the multiple virtual machines need to occupy hardware counters, if the total number of central processing unit (CPU) events analyzed by multiple virtual machines surpasses the number of the hardware counters, virtualizing the hardware counters so as to meet requirements, otherwise, not virtualizing the hardware counters; and acquiring sampling information on the manager layer of an Xen virtual machine through a sampling mechanism, distributing the information to buffer zones which correspond to the virtual machines and analyzing and processing the information by using user layer programs of the virtual machines so as to obtain corresponding analysis result and detailed performance information. A request, which is used for starting or stopping performance analysis, of each virtual machine is monitored by a background daemon, Xenstore is taken as a message sending mechanism among the virtual machines, virtualization of the hardware counters is realized by time-sharing multiplexing technology, convenience is brought to program performance analysis in a virtual environment, and analysis accuracy is ensured well.

Description

technical field [0001] The invention belongs to the field of performance analysis of computing system virtualization, and in particular relates to a multi-virtual machine performance analysis method based on hardware counter virtualization, which enables multiple virtual machines to perform performance analysis independently. Background technique [0002] Virtualization technology allows a single physical computer to run multiple virtual machines at the same time, and each virtual machine runs its own operating system, so that applications can run in independent spaces without affecting each other. Therefore, virtualization technology significantly improves the utilization rate of software and hardware resources, improves management efficiency, and saves a lot of costs. Now, virtualization technology has received widespread attention from many companies. According to authoritative research institutions, in 2012, more than half of the world's workloads will be virtualized. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/455G06F11/36
Inventor 金海袁平鹏谢夏蒋海鸥
Owner HUAZHONG UNIV OF SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products