Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and apparatus for allocating resources to virtual machines in cluster

A technology for allocating resources and virtual machines, applied in the field of electronic equipment, allocating resources for virtual machines, which can solve the problems of unusable resource fragments, waste of cluster resources, and a large number of resources.

Inactive Publication Date: 2018-07-03
ALIBABA GRP HLDG LTD
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] For example, in the above example, if physical machine 1, physical machine 2, and physical machine 3 have the same priority, physical machine 1 is randomly selected for the first time as the physical machine that allocates resources for a virtual machine with a resource requirement of 16-core CPU and 16GB memory. After that, for subsequent virtual machine creation requests with 16-core CPU and 32GB memory, the remaining resources still become resource fragments and cannot be used.
[0011] It can be seen that the existing method of allocating resources for virtual machines in the cluster tends to generate a large number of resource fragments, resulting in the waste of cluster resources

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 apparatus for allocating resources to virtual machines in cluster
  • Method and apparatus for allocating resources to virtual machines in cluster
  • Method and apparatus for allocating resources to virtual machines in cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0087] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0088] The first embodiment of the present application provides a method for allocating resources to a virtual machine in a cluster, the flow chart of which is as follows figure 1 As shown, this embodiment includes the following steps:

[0089] Step S101, obtaining a request for resource allocation for a virtual machine.

[0090] After the resource requirement of the virtual machine requested by the user is determined, the distributed cluster that provides virtual machine services for the user needs to allocate reso...

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 method for allocating resources to virtual machines in a cluster. The method is characterized by comprising the steps of obtaining a request of allocating the resources to thevirtual machines; according to virtual machine resource demand information carried by the request, determining to-be-allocated physical machines matched with virtual machine resource demands in the cluster; and creating virtual machines in the to-be-allocated physical machines. The physical machines matched with the virtual machine resource demands can be determined for the virtual machines as far as possible, so that the effects of remarkably reducing resource fragments and reducing cluster resource waste are achieved and the effects of increasing resource utilization rate and reducing costare achieved.

Description

technical field [0001] The present application relates to a method for allocating resources, in particular to a method and device for allocating resources for virtual machines in a cluster. It also relates to an electronic device. Background technique [0002] A virtual machine (Virtual Machine) refers to a complete computer system that is simulated by software and has hardware system functions and runs in a completely isolated environment. It is an environment created between the computer platform and the end user, and the end user operates the software based on this created environment. In computer science, a virtual machine can run programs like a real machine, providing a complete system platform that can run a complete operating system. Software on a virtual machine is limited to the resources occupied by the virtual machine. [0003] A computer cluster that provides virtual machine services for users, according to the resource demand information of the virtual machi...

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
CPCG06F9/5077G06F9/5083
Inventor 刘志诚
Owner ALIBABA GRP HLDG LTD