# US 10,956,230 B2 · Workload placement with forecast

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

- Number: US 10,956,230 B2
- Document ID: US10956230B2
- Status: Granted
- Kind: B2
- Application number: 16/147,974
- Filed: 2018-10-01
- Published: 2020-04-02
- Granted: 2021-03-23
- Earliest claimed: 2018-10-01
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Parikshit Santhana Gopalan Gopalan; Sandy Lau; Wei Li; Leah Nutman; Paul Pedersen; Yu Sun
- Web page: https://patentgrep.com/patent/US10956230B2

## CPC

- G06F 9/5088: {involving task migration}
- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 9/4856: {resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence)}
- G06F 9/5005: {to service a request}
- G06F 9/5016: {the resource being the memory}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/505: {considering the load}
- G06F 9/5061: {Partitioning or combining of resources}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 2209/5019: Workload prediction
- G06F 2209/5022: Workload threshold
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Various examples are disclosed for workload placement using forecast data. Forecast data for workloads and providers during a predefined period of time in the future is considered when identifying stressed providers and the feasibility of a workload move. Workloads with demand spikes at different future times can be matched by stacking current demand and forecast demand by timestamps. The possibility of stress can be reduced by making moves preemptively and considering forecast demand when evaluating the feasibility of a workload move.

## Claims

### Claim 1

A system for workload placement, comprising:
at least one computing device comprising a processor and memory;
at least one application executable by the at least one computing device, wherein, when executed, the at least one application causes the at least one computing device to at least:
determine that a first provider is operating under stress according to a first provider capacity threshold;
identify a workload residing in the first provider according to a resource usage of at least one resource being allocated to the workload by the first provider, wherein the workload is identified by selecting the workload with a highest effective demand and the workload that exceeds a workload usage threshold;
identify a second provider that is operating below capacity according to a second provider capacity threshold;
determine an estimated demand for the second provider if the workload were to be migrated to the second provider based at least in part on an aggregate current demand and an aggregate forecasted demand, the aggregate current demand representing a current workload demand of the workload and a current provider demand of the second provider, the aggregate forecasted demand comprising a forecasted workload demand of the workload and a forecasted provider demand of the second provider, and the aggregate forecasted demand comprising an array of aggregate forecasted demand values over a predefined future period of time;
determine an estimated effective demand for the second provider according to a maximum demand value, the maximum demand value comprising a maximum value of the estimated demand between a current time and the predefined future period of time; and
migrate the workload from the first provider to the second provider in an instance in which the estimated effective demand is below the second provider capacity threshold.

### Claim 2 (depends on 1)

The system of claim 1, wherein the workload is a particular workload of a plurality of workloads residing on the first provider, and when executed, the at least one application further causes the at least one computing device to at least:
monitor resource usage of individual workloads of the plurality of workloads.

### Claim 3 (depends on 2)

The system of claim 2, wherein when executed, the at least one application further causes the at least one computing device to at least:
generate a respective workload demand for the individual workloads based at least in part on the monitored resource usage, the respective workload demand comprising a respective current demand and a respective forecasted demand array, and the respective forecasted demand array comprising an array of forecasted demand values for a respective workload over the predefined future period of time.

### Claim 4 (depends on 3)

The system of claim 3, wherein when executed, the at least one application further causes the at least one computing device to at least:
generate a provider demand for the first provider, the provider demand being based at least in part on an aggregate of the respective workload demand for each of the individual workloads of the plurality of workloads.

### Claim 5 (depends on 1)

The system of claim 1, wherein when executed, the at least one application further cause the at least one computing device to at least:
compare a first provider effective demand to the first provider capacity threshold, wherein the first provider is determined to be under stress in an instance in which the first provider effective demand meets or exceeds the first provider capacity threshold.

### Claim 6 (depends on 1)

The system of claim 1, wherein the first provider and the second provider comprise at least one of: a host or a cluster of hosts.

### Claim 7 (depends on 1)

The system of claim 1, wherein the at least one resource allocated to the workload by the first provider comprises at least one of: a central processing unit (CPU) or an amount of memory.

### Claim 8

A non-transitory computer-readable medium embodying executable instructions, which, when executed by a processor, cause at least one computing device to at least:
determine that a first provider is operating under stress according to a first provider capacity threshold;
identify a workload residing in the first provider according to a resource usage of at least one resource being allocated to the workload by the first provider, wherein the workload is identified by selecting the workload with a highest effective demand and the workload that exceeds a workload usage threshold;
identify a second provider that is operating below capacity according to a second provider capacity threshold;
determine an estimated demand for the second provider if the workload were to be migrated to the second provider based at least in part on an aggregate current demand and an aggregate forecasted demand, the aggregate current demand representing a current workload demand of the workload and a current provider demand of the second provider, the aggregate forecasted demand comprising a forecasted workload demand of the workload and a forecasted provider demand of the second provider, and the aggregate forecasted demand comprising an array of aggregate forecasted demand values over a predefined future period of time;
determine an estimated effective demand for the second provider according to a maximum demand value, the maximum demand value comprising a maximum value of the estimated demand between a current time and the predefined future period of time; and
migrate the workload from the first provider to the second provider in an instance in which the estimated effective demand is below the second provider capacity threshold.

### Claim 9 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the workload is a particular workload of a plurality of workloads residing on the first provider, and when executed, the executable instructions further cause the at least one computing device to at least:
monitor resource usage of individual workloads of the plurality of workloads.

### Claim 10 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein when executed, the executable instructions further cause the at least one computing device to at least:
generate a respective workload demand for the individual workloads based at least in part on the monitored resource usage, the respective workload demand comprising a respective current demand and a respective forecasted demand array, and the respective forecasted demand array comprising an array of forecasted demand values for a respective workload over the predefined future period of time.

### Claim 11 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein when executed, the executable instructions further cause the at least one computing device to at least:
generate a provider demand for the first provider, the provider demand being based at least in part on an aggregate of the respective workload demand for each of the individual workloads of the plurality of workloads.

### Claim 12 (depends on 8)

The non-transitory computer-readable medium of claim 8, when executed, the executable instructions further cause the at least one computing device to at least:
compare a first provider effective demand to the first provider capacity threshold, wherein the first provider is determined to be under stress in an instance in which the first provider effective demand meets or exceeds the first provider capacity threshold.

### Claim 13 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the at least one resource allocated to the workload by the first provider comprises at least one of: a central processing unit (CPU) or an amount of memory.

### Claim 14

A computer-implemented method, comprising:
determining that a first provider is operating under stress according to a first provider capacity threshold;
identifying a workload residing in the first provider according to a resource usage of at least one resource being allocated to the workload by the first provider, wherein the workload is identified by selecting the workload with a highest effective demand and the workload that exceeds a workload usage threshold;
identifying a second provider that is operating below capacity according to a second provider capacity threshold;
determining an estimated demand for the second provider if the workload were to be migrated to the second provider based at least in part on an aggregate current demand and an aggregate forecasted demand, the aggregate current demand representing a current workload demand of the workload and a current provider demand of the second provider, the aggregate forecasted demand comprising a forecasted workload demand of the workload and a forecasted provider demand of the second provider, and the aggregate forecasted demand comprising an array of aggregate forecasted demand values over a predefined future period of time;
determining an estimated effective demand for the second provider according to a maximum demand value, the maximum demand value comprising a maximum value of the estimated demand between a current time and the predefined future period of time; and
migrating the workload from the first provider to the second provider in an instance in which the estimated effective demand is below the second provider capacity threshold.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, wherein the workload is a particular workload of a plurality of workloads residing on the first provider, and further comprising:
monitoring resource usage of individual workloads of the plurality of workloads.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, further comprising:
generating a respective workload demand for the individual workloads based at least in part on the monitored resource usage, the respective workload demand comprising a respective current demand and a respective forecasted demand array, and the respective forecasted demand array comprising an array of forecasted demand values for a respective workload over the predefined future period of time.

### Claim 17 (depends on 16)

The computer-implemented method of claim 16, further comprising:
generating a provider demand for the first provider, the provider demand being based at least in part on an aggregate of the respective workload demand for each of the individual workloads of the plurality of workloads.

### Claim 18 (depends on 14)

The computer-implemented method of claim 14, further comprising:
comparing a first provider effective demand to the first provider capacity threshold, wherein the first provider is determined to be under stress in an instance in which the first provider effective demand meets or exceeds the first provider capacity threshold.

### Claim 19 (depends on 14)

The computer-implemented method of claim 14, wherein the first provider and the second provider comprise at least one of: a host or a cluster of hosts.

### Claim 20 (depends on 14)

The computer-implemented method of claim 14, wherein the at least one resource allocated to the workload by the first provider comprises at least one of: a central processing unit (CPU) or an amount of memory.
