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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com