Resource allocation method of virtual machine and device thereof
A resource allocation and virtual machine technology, applied in the field of resource allocation methods and devices, can solve the problems of reduced virtual machine performance, increased physical processor consumption, large data transmission delay, and the like
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] Embodiment 1 of the present invention provides a resource allocation method for a virtual machine, which can be implemented in a server, a server cluster, or other non-server carriers. Such as figure 2 As shown, the method includes the following steps:
[0066] S11. Obtain resource allocation parameters of the virtual machine, where the resource allocation parameters include scheduling parameters, and the scheduling parameters are used to indicate at least two of physical processor resources, physical memory, and physical input and output IO devices allocated to the virtual machine within the same processor node.
[0067] Wherein, the physical processor resource may be the entire physical processor, a physical core in the physical processor, or a hyperthread in the physical core.
[0068] The resource allocation parameters in the prior art do not have the above-mentioned scheduling parameters, but in the embodiment of the present invention, considering whether the ph...
Embodiment 2
[0101] Embodiment 2 of the present invention provides a resource allocation device 20 for a virtual machine, which can be set in a server, a server cluster, or other non-server carriers. Such as image 3 As shown, the device includes: a first physical processor 201, a first physical memory 202, a first physical input and output IO device 203, and the first physical processor 201 is used for:
[0102] Obtain the resource allocation parameters of the virtual machine through the first physical IO device 203, the resource allocation parameters include scheduling parameters, and the scheduling parameters are used to indicate the second physical processor, the second physical memory, and the second physical IO device assigned to the virtual machine at least two of are located within the same processor node;
[0103] Allocate physical resources to the virtual machine according to the resource allocation parameters.
[0104]The resource allocation device 20 for a virtual machine pro...
Embodiment 3
[0124] Embodiment 3 of the present invention also provides a virtual machine resource allocation device 30, which includes:
[0125] The obtaining unit 301 is configured to obtain resource allocation parameters of the virtual machine, the resource allocation parameters include scheduling parameters, and the scheduling parameters are used to indicate physical processor resources, physical memory, and physical input and output IO devices allocated to the virtual machine at least two of are located within the same processor node;
[0126] The allocating unit 302 is configured to allocate physical resources for the virtual machine according to the resource allocation parameters.
[0127] In the virtual machine resource allocation device 30 provided in Embodiment 3 of the present invention, the acquisition unit 301 acquires the resource allocation parameters of the virtual machine, and the resource allocation parameters include scheduling parameters, and the scheduling parameters a...
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