# US 10,958,719 B2 · Pairwise comparison for load balancing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,958,719 B2
- Document ID: US10958719B2
- Status: Granted
- Kind: B2
- Application number: 16/527,111
- Filed: 2019-07-31
- Published: 2020-02-20
- Granted: 2021-03-23
- Earliest claimed: 2016-10-05
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Badhrinath Sampathkumar; Zhelong Pan; Haoqiang Zheng; Fei Guo; Sabareesh Subramaniam
- Web page: https://patentgrep.com/patent/US10958719B2

## CPC

- H04L 67/1008: based on parameters of servers, e.g. available memory or workload (monitoring of computer activity G06F11/30)
- H04L 41/0897: by horizontal or vertical scaling of resources, or by migrating entities, e.g. virtual resources or entities
- H04L 43/0817: by checking functioning
- H04L 43/16: Threshold monitoring
- H04L 67/1023: based on a hash applied to IP addresses or costs
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Load balancing across hosts in a computer system is triggered based on pairwise comparisons of resource utilization at different host. A method for load balancing across hosts includes the steps of determining a resource utilization difference between first and second hosts, wherein the first host has a higher resource utilization than the second host, comparing the resource utilization difference against a threshold difference, and upon determining that the resource utilization difference exceeds the threshold difference, selecting a workload executing in the first host for migration to the second host.

## Claims

### Claim 1

A method for load balancing across hosts, comprising:
determining a resource utilization difference between first and second hosts, wherein the first host has a higher resource utilization than the second host;
comparing the resource utilization difference against a threshold difference;
upon determining that the resource utilization difference exceeds the threshold difference, selecting a plurality of workloads executing in the first host for migration to the second host by identifying at least two workloads having the smallest resource utilization on the first host and ensuring that a resulting resource utilization of the second host after performing the migration is less than the first host; and
migrating the at least two workloads from the first host to the second host.

### Claim 2 (depends on 1)

The method of claim 1, wherein selecting the at least two workloads comprises:
selecting a first workload executing in the first host to evaluate for migration from the first host to the second host;
estimating a resource utilization difference between the first and second hosts that would result if the first workload is migrated from the first host to the second host; and
upon determining that the estimated resource utilization difference is less than the threshold difference, selecting the first workload as the workload for migration from the first host to the second host.

### Claim 3 (depends on 2)

The method of claim 2, wherein selecting the at least two workloads further comprises:
upon determining that the estimated resource utilization difference is greater than the threshold difference, selecting a second workload executing in the first host to evaluate for migration from the first host to the second host.

### Claim 4 (depends on 3)

The method of claim 3, wherein the first workload has a higher resource utilization than the second workload.

### Claim 5 (depends on 2)

The method of claim 2, wherein selecting the at least two workloads further comprises:
upon determining that the estimated resource utilization difference is greater than the threshold difference, selecting a second workload executing in the first host to evaluate as an additional workload for migration from the first host to the second host.

### Claim 6 (depends on 5)

The method of claim 5, wherein the first workload has a lower resource utilization than the second workload.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
sorting the hosts in accordance with each host's resource utilization,
wherein the first host has the highest resource utilization and the second host has the lowest resource utilization.

### Claim 8 (depends on 1)

The method of claim 1, wherein the resource utilization is one of processor utilization and system memory usage.

### Claim 9

A non-transitory computer readable medium comprising instructions to be executed in a computer system to cause the computer system to carry out a method for load balancing across hosts, said method comprising:
determining a resource utilization difference between first and second hosts, wherein the first host has a higher resource utilization than the second host;
comparing the resource utilization difference against a threshold difference;
upon determining that the resource utilization difference exceeds the threshold difference, selecting a plurality of workloads executing in the first host for migration to the second host by identifying at least two workloads having the smallest resource utilization on the first host and ensuring that a resulting resource utilization of the second host after performing the migration is less than the first host; and
migrating the at least two workloads from the first host to the second host.

### Claim 10 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein selecting the at least two workloads comprises:
selecting a first workload executing in the first host to evaluate for migration from the first host to the second host;
estimating a resource utilization difference between the first and second hosts that would result if the first workload is migrated from the first host to the second host; and
upon determining that the estimated resource utilization difference is less than the threshold difference, selecting the first workload as the workload for migration from the first host to the second host.

### Claim 11 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein selecting the at least two workloads further comprises:
upon determining that the estimated resource utilization difference is greater than the threshold difference, selecting a second workload executing in the first host to evaluate for migration from the first host to the second host.

### Claim 12 (depends on 11)

The non-transitory computer readable medium of claim 11, wherein the first workload has a higher resource utilization than the second workload.

### Claim 13 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein selecting the at least two workloads includes:
upon determining that the estimated resource utilization difference is greater than the threshold difference, selecting a second workload executing in the first host to evaluate as an additional workload for migration from the first host to the second host.

### Claim 14 (depends on 13)

The non-transitory computer readable medium of claim 13, wherein the first workload has a lower resource utilization than the second workload.

### Claim 15 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the method further comprises:
sorting the hosts in accordance with each host's resource utilization,
wherein the first host has the highest resource utilization and the second host has the lowest resource utilization.

### Claim 16 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the resource utilization is one of processor utilization and system memory usage.

### Claim 17

A computer system comprising:
a plurality of hosts, each host having one or more workloads executed therein and tracking resource utilization;
a management server configured to receive the resource utilization of the hosts and perform load balancing across the hosts by:
determining a resource utilization difference between first and second hosts, wherein the first host has a higher resource utilization than the second host;
comparing the resource utilization difference against a threshold difference;
upon determining that the resource utilization difference exceeds the threshold difference, selecting a plurality of workloads executing in the first host for migration to the second host by identifying at least two workloads having the smallest resource utilization on the first host and ensuring that a resulting resource utilization of the second host after performing the migration is less than the first host; and
migrating the at least two workloads from the first host to the second host.

### Claim 18 (depends on 17)

The computer system of claim 17, wherein selecting the at least two workloads includes:
selecting a first workload executing in the first host to evaluate for migration from the first host to the second host;
estimating a resource utilization difference between the first and second hosts that would result if the first workload is migrated from the first host to the second host; and
upon determining that the estimated resource utilization difference is less than the threshold difference, selecting the first workload as the workload for migration from the first host to the second host.

### Claim 19 (depends on 17)

The computer system of claim 17, wherein the management server is configured to perform load balancing across the hosts by:
sorting the hosts in accordance with each host's resource utilization,
wherein the first host has the highest resource utilization and the second host has the lowest resource utilization.

### Claim 20 (depends on 17)

The computer system of claim 17, wherein the resource utilization is one of processor utilization and system memory usage.
