Processing method of distributed virtual machine visit abnormality and virtual machine monitor

A technology of a virtual machine monitor and a processing method, applied in the computer field, can solve the problems of increasing meaningless network communication, increasing the delay of remote memory access, reducing the cache utilization rate in DVMM, etc., so as to solve the problem of abnormal access and reduce false sharing. , the effect of improving performance

Inactive Publication Date: 2012-05-02
HUAWEI TECH CO LTD
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

False sharing reduces the utilization rate of the cache in DVMM, increases meaningless network communication,

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
  • Processing method of distributed virtual machine visit abnormality and virtual machine monitor
  • Processing method of distributed virtual machine visit abnormality and virtual machine monitor
  • Processing method of distributed virtual machine visit abnormality and virtual machine monitor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] A distributed virtual machine is composed of multiple physical servers running in a distributed virtualization environment from the hardware level, including: a processor (Central Processing Unit, referred to as CPU), virtual machine memory, network card and high-speed input and output (I / O )equipment. In addition, each physical server is equipped with a virtual machine monitor, through which the virtual machine monitors communicate with each other, so that the processor of each physical server can access the resources of other physical servers, thereby forming a virtual aggregated hardware platform .

[0032] The virtual machine memory is an isolated, zero-based and continuous pseudo-physical memory space for the virtual machine. This memory space corresponds to a section of physical memory allocated by each physical server. The virtual machine monitor establishes a P2M (Pseudo-physical Address to Machine Physical Address, mapping relationship between the pseudo-physi...

Embodiment 2

[0056] This embodiment provides a virtual machine monitoring machine, such as figure 2 As shown, it includes: a subpage search module 11, an access authority judgment module 12, a distributed shared memory 13 and an instruction simulation execution module 14, wherein,

[0057] The subpage search module 11 is used to obtain the offset address in the subpage of the subpage of the physical page where the access exception occurs according to the address of the physical page where the access exception occurs when the virtual machine executes the current instruction and accesses the memory of the virtual machine, and according to the The offset address in the page is used to find the subpage where the access exception occurs, and the physical page includes several subpages;

[0058] An access authority judging module 12, configured to determine whether the virtual machine has the access authority of the subpage where the access exception occurs;

[0059] Distributed shared memory ...

Embodiment 3

[0072] This embodiment provides a distributed virtual machine, such as Figure 4 As shown, it includes a plurality of physical servers connected through the network, and each physical server is provided with a virtual machine monitor, and the virtual machine monitor includes:

[0073] The subpage search module 11 is used to obtain the offset address in the subpage of the subpage of the physical page where the access exception occurs according to the address of the physical page where the access exception occurs when the virtual machine executes the current instruction and accesses the memory of the virtual machine, and according to the The offset address in the page is used to find the subpage where the access exception occurs, and the physical page includes several subpages;

[0074] An access authority judging module 12, configured to determine whether the virtual machine has the access authority of the subpage where the access exception occurs;

[0075] Distributed shared ...

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 embodiment of the invention discloses a processing method of a distributed virtual machine visit abnormality and a virtual machine monitor, relating to the computer technology field, and being able to reduce the generation of false sharing, and accordingly, being able to improve the performance of a distributed virtual machine memory. The processing method of the distributed virtual machine visit abnormality of the embodiment of the invention comprises the steps of executing a current instruction and the address of a physical page appearing a visit abnormality when accessing the visit abnormality memory according to the virtual machine to find out a sub-page appearing the visit abnormality; determining whether the virtual machine possesses the access permission of the sub-page appearing the visit abnormality; if the virtual machine does not possess the access permission, repairing the sub-page appearing the visit abnormality to enable the virtual machine memory to access the sub-page appearing the visit abnormality and execute the current instruction again; if the virtual machine possesses the access permission, executing the current instruction and returning the execution result to the virtual machine to execute the context, thereby enabling the virtual machine to finish the execution of the current instruction.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method for processing abnormal access of distributed virtual machines and a virtual machine monitor. Background technique [0002] A virtual machine (Virtual Machine, referred to as VM) refers to a complete computer system that is simulated by software and has complete hardware system functions and runs in a completely isolated environment. Distributed virtualization technology is a technology that recombines resources from multiple physical machines into a virtual machine in a virtual way. When the operating system installed on the virtual machine runs and uses these virtual resources, it is deployed on each A distributed virtual machine monitor (Distributed Virtual Machine Monitor, DVMM for short) on a physical machine will intercept sensitive access behaviors, so as to ensure correct usage of virtual resources by the virtual machine. [0003] Since the processor on each p...

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): G06F11/07G06F3/06G06F9/455
CPCG06F12/02G06F2009/45583G06F9/45558G06F2212/151G06F9/455G06F12/109G06F12/0815G06F12/1036
Inventor 邱军
Owner HUAWEI TECH CO LTD
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