Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for acquiring request data in multi-core virtual machine system

A technology of requesting data and obtaining requests, which is applied in the computer field, can solve the problems of wasting CPU power consumption and low efficiency of requesting data, and achieve the effect of improving efficiency and narrowing the scope of queries

Active Publication Date: 2014-07-02
HUAWEI TECH CO LTD +1
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the prior art, when the processor running on the virtual machine misses the read data, it initiates a request by broadcasting a message, and all the processors on the bus need to check whether the requested memory address is stored in their own buffer memories. data, and the search process of the processor without the data wastes CPU power consumption, and the efficiency of obtaining the requested data is not high

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
  • Method and device for acquiring request data in multi-core virtual machine system
  • Method and device for acquiring request data in multi-core virtual machine system
  • Method and device for acquiring request data in multi-core virtual machine system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] figure 2 It is a schematic flowchart of Embodiment 1 of the method for obtaining request data by a multi-core virtual machine system in the present invention; in this embodiment, the device for obtaining request data by a multi-core virtual machine system is used as the execution subject, and the device is configured in each client virtual machine, and is carried by the client The virtual machine's processor hosts. The device of this embodiment is configured in any client virtual machine that sends a data read request, such as figure 2 As shown, the method of the present embodiment includes the following steps:

[0051] S101: When a memory access and reading failure occurs in the local buffer memory according to the data reading request, identify whether the requested data of the data reading request is shared data between the client virtual machine and the management virtual machine; if not, perform S102, and if so, Execute S103.

[0052] Specifically, when the gu...

Embodiment 2

[0061] image 3 A schematic flowchart of Embodiment 2 of the method for obtaining request data for a multi-core virtual machine system of the present invention, as shown in image 3 As shown, this embodiment is in figure 2 On the basis of the illustrated embodiment, in S101, it is a specific implementation manner of identifying whether the requested data of the data read request is shared data between the client virtual machine and the management virtual machine, and the specific implementation manner includes:

[0062] S101a: In the local address mapping table, identify whether the shared identification of the storage address corresponding to the requested data is valid. If valid, determine that the requested data is shared data between the guest virtual machine and the management virtual machine, and execute S103. If invalid, execute S102.

[0063] Usually, in the storage space of the memory, the data in the storage address storing the data of the I / O resource is the share...

Embodiment 3

[0068] Figure 4 It is a schematic flow chart of Embodiment 3 of the method for obtaining requested data by a multi-core virtual machine system in the present invention. In this embodiment, the processor used by the client virtual machine that sends the data read request is the execution subject, such as Figure 4 As shown, this embodiment is in figure 2 On the basis of the illustrated embodiment, when the requested data is shared data in S103, determine a specific implementation of the buffer memory corresponding to the management virtual machine, the specific implementation includes:

[0069] S103a: When the requested data is shared data, query the processor currently used by the management virtual machine according to the record of the register;

[0070] Specifically, registers can be used to record the corresponding relationship between the management virtual machine and the currently used processor. The processor used by the management virtual machine is generally fixed...

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 provides a method and device for acquiring request data in a multi-core virtual machine system. The method includes the steps that when access reading performed according to a data reading request fails in a local buffer memory, whether data requested by the data reading request are data shared by a client virtual machine and a management virtual machine or not is recognized; when the requested data are the shared data, a buffer memory corresponding to the management virtual machine is determined; the requested data are searched and acquired in the determined buffer memory. The searching range for acquiring the requested data is shrunken, and the efficiency for acquiring the requested data in the multi-core virtual machine system is improved.

Description

technical field [0001] The embodiments of the present invention relate to computer technology, and in particular to a method and device for obtaining request data by a multi-core virtual machine system. Background technique [0002] With the rapid development of computer technology, multi-core virtual machine technology has also been developed rapidly. In multi-core virtual machine technology, a multi-core system includes multiple processors that can work independently, and each processor has its corresponding buffer memory. Multiple processors usually use centralized shared memory, that is, share the storage space of one memory. The multi-core virtual machine system is hosted in the multi-core system. A virtual machine can run on one processor or multiple processors. In a multi-core virtual machine system, the shared data in the buffer memories corresponding to multiple processors must maintain consistency. [0003] In the prior art, taking the monitoring-based consistency...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455G06F3/06
Inventor 李晔侯锐张立新江涛
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products