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

Virtual machine load balancing method

A load balancing and virtual machine technology, applied in software simulation/interpretation/simulation, program control design, instrumentation, etc., can solve problems such as load imbalance

Pending Publication Date: 2021-09-10
KYLIN CORP
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to solve the above problems, the purpose of the present invention is to provide a virtual machine load balancing method to solve the problem that the existing virtual machine load balancing method is prone to load imbalance again after the virtual machine is migrated

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 load balancing method
  • Virtual machine load balancing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention obtains the average load by determining the sum of the host loads of the physical hosts in the cluster. According to the average load, the gap between each physical host and the average load can be obtained. Therefore, the virtual machine on the physical host with a higher than average load can be migrated to the physical host with a lower than average load, so as to achieve the purpose of tending to the average overall.

[0028] The implementation of the present invention will be described in detail below with reference to the drawings and examples, so as to fully understand and implement the implementation process of how to use technical means to solve technical problems and achieve technical effects in the present invention.

[0029] like figure 1 and figure 2 As shown, the virtual machine load balancing method of the present invention comprises the following steps:

[0030] Step a, determine the load of each physical host in the cluster: th...

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 load balancing method, which comprises the following steps of: a, determining the load of each physical host in a cluster, wherein the load determination process of each physical host is as follows: host load=CPU (Central Processing Unit) utilization rate*CPU weight+memory utilization rate*memory weight+disk utilization rate*disk weight, and the host load is the load of the physical host; b, sorting the physical hosts in the cluster according to the numerical value of the host load determined in the step a; c, determining the average load of the cluster; and d, virtual machine migration: migrating the virtual machine of the source physical host with high load to the target physical host with low load, so that the host load of the source physical host and the host load of the target physical host both tend to the average load of the cluster. According to the method, the problem of unbalanced host load occurring in the initial allocation and later use processes of the virtual machines is solved, the virtual machines are effectively and uniformly distributed in the physical hosts of the cluster, and the effective utilization of cluster resources is realized.

Description

technical field [0001] The invention relates to a load balancing method in the field of cloud technology, in particular to a virtual machine load balancing method. Background technique [0002] In a cloud scenario, a cluster includes multiple physical hosts, and resource heterogeneity may exist among physical hosts. The CPU, memory, and hard disk resources of the server are inconsistent, resulting in uneven distribution of virtual machines on physical hosts. It may happen that the resource utilization rate of a physical host is high, while the resource utilization rate of other physical hosts is low. The usual virtual machine load balancing scheduling method considers resource utilization from a single dimension, such as CPU or memory, and does not consider multi-dimensional uniformity, and when migrating virtual machines, it simply considers the physical host with high load. Migrate the virtual machine to the physical host with low load, so after the migration, the load im...

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/455
CPCG06F9/45558G06F2009/4557G06F2009/45583
Inventor 张浩薛晋泽李俊良
Owner KYLIN CORP
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