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

Virtual machine resource allocation method and device and electronic device

A resource allocation device and resource allocation technology, applied in the field of virtual machine resource allocation methods, devices, and electronic equipment, can solve problems such as unreasonable resource application, unreasonable resource allocation, and unusable memory resources, so as to reduce operation and maintenance risks Effect

Active Publication Date: 2019-05-14
ALIBABA GRP HLDG LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The virtual machine resource allocation method in the prior art has at least the following defects: 1) The resource allocation is unreasonable, resulting in that although there are resources in the physical machine cluster, it is impossible to produce large-scale physical machine resources, that is, it is impossible to successfully apply for the creation of large-scale virtual machine resources. virtual machine
2) The resource application of a single physical machine is unreasonable. For example, the Central Processing Unit (CPU) resources of a physical machine have been exhausted, but the memory (MEM) resources are still remaining, resulting in the remaining memory resources being unable to continue to be used
3) Multiple virtual machine resource application requests from a single user will fall on one physical machine, which increases the user's physical machine operation and maintenance risk

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
  • Virtual machine resource allocation method and device and electronic device
  • Virtual machine resource allocation method and device and electronic device
  • Virtual machine resource allocation method and device and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] figure 2 A schematic flowchart of an embodiment of a method for allocating virtual machine resources provided by the present invention. The virtual machine resource allocation method in the embodiment of the present invention can be applied to a virtual machine resource allocation server, that is, the execution subject of the virtual machine resource allocation method in the embodiment of the present invention is the virtual machine resource allocation server. Such as figure 2 As shown, the virtual machine resource allocation method in the embodiment of the present invention may specifically include:

[0044] S201. Determine the type of the dominant resource of the physical machine cluster according to the virtual machine resource application request.

[0045] Specifically, according to the user's virtual machine resource application request, the type of the most occupied resource in the physical machine cluster is determined as the dominant resource type of the phy...

Embodiment 2

[0052] image 3 A schematic flowchart of another embodiment of the method for allocating virtual machine resources provided by the present invention. The virtual machine resource allocation method in the embodiment of the present invention can be applied to a virtual machine resource allocation server, that is, the execution subject of the virtual machine resource allocation method in the embodiment of the present invention is the virtual machine resource allocation server. The virtual machine resource allocation method in the embodiment of the present invention is figure 2 A specific implementation of the method for allocating virtual machine resources in the illustrated embodiment, such as image 3 As shown, the virtual machine resource allocation method in the embodiment of the present invention may specifically include:

[0053] figure 2 Step S201 in the illustrated embodiment may specifically include the following steps S301 and S302.

[0054] S301. Determine the do...

Embodiment 3

[0066] Figure 4 A schematic flowchart of another embodiment of the method for allocating virtual machine resources provided by the present invention. The virtual machine resource allocation method in the embodiment of the present invention can be applied to a virtual machine resource allocation server, that is, the execution subject of the virtual machine resource allocation method in the embodiment of the present invention is the virtual machine resource allocation server. The virtual machine resource allocation method in the embodiment of the present invention is image 3 A specific implementation of the method for allocating virtual machine resources in the illustrated embodiment, such as Figure 4 As shown, the virtual machine resource allocation method in the embodiment of the present invention may specifically include:

[0067] image 3 Step S301 in the illustrated embodiment may specifically include the following steps S401-S402.

[0068]S401. Calculate the occupat...

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 provides a virtual machine resource allocation method and device and an electronic device. The virtual machine resource allocation method comprises the following steps: determining the type of a dominant resource of a physical machine cluster according to a virtual machine resource application request; determining the physical machines of which the types of the dominant resources arethe same as the types of the dominant resources of the physical machine cluster as candidate physical machines; and determining the candidate physical machine with the minimum occupation ratio of theresources with the type the same as that of the dominant resources as the target physical machine for creating the virtual machine on the target physical machine. According to the virtual machine resource allocation method and device and the electronic device provided by the invention, a large-specification virtual machine can be conveniently applied and created, different types of resources in asingle physical machine can be uniformly occupied, and the physical machine operation and maintenance risk of a user can be conveniently reduced.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a virtual machine resource allocation method, device and electronic equipment. Background technique [0002] In the public cloud environment, users need to apply for creating virtual machines with different specifications according to their business. How to reasonably and efficiently allocate the resources of each physical machine in the physical machine cluster to create virtual machines has always been a challenge for the public cloud environment. [0003] The virtual machine resource allocation method in the prior art has at least the following defects: 1) The resource allocation is unreasonable, resulting in that although there are resources in the physical machine cluster, it is impossible to produce large-scale physical machine resources, that is, it is impossible to successfully apply for the creation of large-scale virtual machine resources. virtual machine. 2...

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/50
CPCY02D10/00
Inventor 周宇
Owner ALIBABA GRP HLDG 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