Method and device for allocating CPU resources of virtual machine

A technology of CPU resource and allocation method, applied in the direction of resource allocation, multi-program device, program control device, etc., can solve the problems of low resource utilization rate, unpredictable maximum demand, static resource allocation method that cannot meet application requirements, etc. Achieving good stability and convergence

Inactive Publication Date: 2009-12-02
BEIHANG UNIV
View PDF0 Cites 49 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, the current static resource allocation method cannot meet the application requirements
Because to ensure the service quality of the application, it must be allocated according to the maximum demand of the application. On the one hand, the maximum demand of the application is unpredictable, and on the other hand, it still has to face the problem of low resource utilization.

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 allocating CPU resources of virtual machine
  • Method and device for allocating CPU resources of virtual machine
  • Method and device for allocating CPU resources of virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

[0026] The present invention takes a virtual machine system in which apache2 (a kind of Web server software) is installed on each virtual machine as an example, and provides a solution to a virtual machine CPU resource allocation method and device.

[0027] figure 1 It is a flow chart of the deployment environment in the embodiment of the virtual machine CPU resource allocation method of the present invention. Before using the pre-release virtual machine CPU resource allocation method, preparations such as creating a virtual machine and deploying applications on the virtual machine are required, such as figure 1 As shown, the process of deploying the environment in the embodiment of the virtual machine CPU resource allocation method of the present invention is as follows:

[0028] Step 10: Install a virtual machine m...

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 discloses a method and a device for allocating CPU resources of a virtual machine. The method comprises the following steps of: monitoring operating conditions of all virtual machines in the current period to obtain the monitoring information which at least includes CPU resource utilization rates of all virtual machines in the current period and the throughputs applied to all virtual machines in the current period; according to the monitoring information, performing feedback adjustment on CPU resource request of all virtual machines in the next period by taking the target CPU resource utilization rate of all virtual machines and the target throughputs applied to all virtual machines as a target; according to the CPU resource request of all virtual machines, deciding the CPU resource allocations of all virtual machines in the next period on a virtual machine management control layer; and according to the CPU resource allocations of all virtual machines, allocating CPU resources for all virtual machines. The method adopts a dynamic mode to allocate CPU resources for all virtual machines, so that all virtual machines on one physical node can be coordinated to share the CPU resources.

Description

technical field [0001] The present invention relates to the technical field of virtual machines, in particular to a virtual machine CPU resource allocation method and device. Background technique [0002] In the data center, in order to ensure the stable power supply environment, suitable temperature and humidity control and network bandwidth conditions required for server operation, a large number of servers need to be managed in a centralized and unified manner. Traditional server application deployment often takes the form of a dedicated server (Dedicated server). In this way, in order to prevent multiple applications deployed on the same physical node from interfering with each other, generally a physical node only deploys a single application or a component of an application. However, this method will inevitably lead to adverse consequences such as low utilization of hardware resources, excessive purchase of hardware resources, etc., and also increases the cost of mana...

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/50G06F9/455H04L29/08
Inventor 胡春明李博耿建平钟亮怀进鹏
Owner BEIHANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products