Method and device for load balancing of resources of virtual machine

A load balancing and virtual machine technology, applied in the computer field, can solve problems such as virtual computing system instability, and achieve the effects of avoiding migration overhead, resolving conflicts, and saving network resources

CN101593133BInactive Publication Date: 2012-07-04BEIHANG UNIV
3 Cites 1 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2012-07-04
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention provides a method and a device for load balancing of resources of a virtual machine. The method comprises the following steps of: if the obtained resource utilization rate within the future time preset by a local physical host is more than a set threshold value, transmitting a request message of inquiring the current resource utilization rate of other physical hosts in a virtual computing system to a proxy server; according to the received resource utilization rates of other physical hosts, acquiring a physical host list of which the resource utilization rate meets the operating requirement of a virtual host to be moved, which is operated on the local physical host; determining a destination movement physical host according to moving probabilities of all physical hosts in the physical host list and the resource utilization rates within the future time preset by all physical hosts in the physical host list; and moving the virtual host to be moved to the destination movement physical host. The embodiment of the invention has the advantages of avoiding unnecessary moving cost due to the temporary peak value of the resource utilization rate, saving network resources, solving the conflict problem caused by the cluster effect, and ensuring the stability of the virtual computing system.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] Embodiments of the present invention relate to computer technology, and in particular to a method and device for balancing virtual machine resource loads. Background technique

[0002] With the development of various technologies such as computers and networks, various computing resources, storage resources, data resources, software resources, and service resources are aggregated in the network. Using virtual host technology can more effectively integrate these scattered resources. , to achieve resource sharing and effective utilization.

[0003] Due to the difference in the processing capabilities of each physical host and the uncertainty of each application, the load imbalance of each physical host in the virtual computing environment is caused, that is, the resource utilization of some physical hosts is very high, resulting in the exhaustion of the resources of the physical host. , while the resource utilization rate of some physical hosts is very ...

Examples

Embodiment Construction

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

[0023] figure 1 A flowchart of a virtual machine resource load balancing method provided by an embodiment of the present invention, such as figure 1 As shown, the method includes:

[0024] Step 101, if the obtained resource utilization rate of the local physical host in the preset future time is greater than the set threshold, then send a request message to query the current resource utilization rate of other physical hosts in the virtual computing system to the proxy server;

[0025] The monitoring engine of the local physical host monitors the load of the local physical host in real time, and the load is generally reflected by resource utilization (utilization). The resource utilization rate includes the resources occupied by the virtual machine resource load and the resources occupied by other processes running on...