# US 2015/0106811 A1 · System and method for managing a virtualized computing environment

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

- Number: US 2015/0106811 A1
- Document ID: US20150106811A1
- Status: Published application
- Kind: A1
- Application number: 14/493,182
- Filed: 2014-09-22
- Published: 2015-04-16
- Earliest claimed: 2011-05-25
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Anne Marie Holler; Ganesha Shanmuganathan; Chirag Bhatt; Irfan Ahmad
- Web page: https://patentgrep.com/patent/US20150106811A1

## CPC

- G06F 9/5088: {involving task migration}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2209/5019: Workload prediction
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A technique for predictive distributed resource scheduling and distributed power management includes analyzing patterns in the workload, predicting future workloads, and making recommendations for changes to the virtual computing environment. In addition, a cost-benefit analysis can be performed to determine whether the recommended change would likely result in improved performance.

## Claims

### Claim 1

A method for managing distributed computing resources in a virtual computing environment, comprising:
receiving resource usage data of one or more virtual machines executing on a host computer;
comparing the resource usage data to previously collected resource usage data of the one or more virtual machines;
generating a prediction of future workload based on said comparing; and
generating a resource allocation recommendation based on the prediction;
wherein generating a prediction of future workload based on said comparing further comprises:
assuming a step pattern in the resource usage data;
finding inter peak distances in the step pattern of the resource usage data;
finding how long peaks in the step pattern of the resource data last; and
predicting future workloads based on the inter peak distances in the step pattern of the resource usage data and based on how long the peaks in the step pattern of the resource usage data last.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
filtering the data to generate quantized data; and
determining a coding for the resource allocation based on the quantized data, wherein generating the prediction of future workload is based on determining whether the coding matches a previously detected workload pattern.

### Claim 3 (depends on 1)

The method of claim 1, wherein the resource allocation recommendation comprises a recommendation to migrate a virtual machine from a first host computer to a second host computer.

### Claim 4 (depends on 3)

The method of claim 3, further comprising transmitting the resource allocation recommendation to a resource scheduler configured to cause the virtual machine to migrate from the first host computer to the second host computer.

### Claim 5 (depends on 1)

The method of claim 1, wherein the resource allocation recommendation comprises a recommendation to migrate a disk image of a virtual machine from a first storage array to a second storage array.

### Claim 6 (depends on 1)

The method of claim 1, wherein the resource allocation recommendation comprises a recommendation to power on or power off a host computer.

### Claim 7 (depends on 6)

The method of claim 6, further comprising transmitting the resource allocation recommendation to a power management module configured to cause host computer to be powered on or powered off.

### Claim 8 (depends on 1)

The method of claim 1, wherein the resource allocation recommendation is based on an entitlement, including shares, reservation, and/or limit, of one or more virtual machines, wherein modifying the entitlement causes a different resource allocation recommendation to be generated.

### Claim 9

A non-transitory computer-readable storage medium comprising instructions that, when executed in a computing device, causes the computing device to carry out the steps of:
receiving resource usage data of one or more virtual machines executing on a host computer;
comparing the resource usage data to previously collected resource usage data of the one or more virtual machines;
generating a prediction of future workload based on said comparing; and
generating a resource allocation recommendation based on the prediction;
wherein generating a prediction of future workload based on said comparing further comprises:
assuming a step pattern in the resource usage data;
finding inter peak distances in the step pattern of the resource usage data;
finding how long peaks in the step pattern of the resource data last; and
predicting future workloads based on the inter peak distances in the step pattern of the resource usage data and based on how long the peaks in the step pattern of the resource usage data last.

### Claim 10 (depends on 9)

The computer-readable storage medium of claim 9, further comprising:
filtering the data to generate quantized data; and
determining a coding for the resource allocation based on the quantized data, wherein generating the prediction of future workload is based on determining whether the coding matches a previously detected workload pattern.

### Claim 11 (depends on 9)

The computer-readable storage medium of claim 9, wherein the resource allocation recommendation comprises a recommendation to migrate a virtual machine from a first host computer to a second host computer.

### Claim 12 (depends on 11)

The computer-readable storage medium of claim 11, further comprising transmitting the resource allocation recommendation to a resource scheduler configured to cause the virtual machine to migrate from the first host computer to the second host computer.

### Claim 13 (depends on 9)

The computer-readable storage medium of claim 9, wherein the resource allocation recommendation comprises a recommendation to migrate a disk image of a virtual machine from a first storage array to a second storage array.

### Claim 14 (depends on 9)

The computer-readable storage medium of claim 9, wherein the resource allocation recommendation comprises a recommendation to power on or power off a host computer.

### Claim 15 (depends on 14)

The computer-readable storage medium of claim 14, further comprising transmitting the resource allocation recommendation to a power management module configured to cause host computer to be powered on or power off.

### Claim 16 (depends on 9)

The computer-readable storage medium of claim 9, wherein the resource allocation recommendation is based on an entitlement, including shares, reservation, and/or limit, of one or more virtual machines, wherein modifying the entitlement causes a different resource allocation recommendation to be generated.

### Claim 17

A computer system, comprising:
one or more host computers; and
a virtual management computer, configured to:
receive resource usage data of one or more virtual machines executing on the one or more host computers,
compare the resource usage data to previously collected resource usage data of the one or more virtual machines,
generate a prediction of future workload based on said comparing, and
generate a resource allocation recommendation based on the prediction;
wherein generating a prediction of future workload based on said comparing further comprises:
assuming a step pattern in the resource usage data;
finding inter peak distances in the step pattern of the resource usage data;
finding how long peaks in the step pattern of the resource data last; and
predicting future workloads based on the inter peak distances in the step pattern of the resource usage data and based on how long the peaks in the step pattern of the resource usage data last.

### Claim 18 (depends on 17)

The computer system of claim 17, wherein the virtual management computer is further configured to:
filter the data to generate quantized data; and
determine a coding for the resource allocation based on the quantized data, wherein generating the prediction of future workload is based on determining whether the coding matches a previously detected workload pattern.

### Claim 19 (depends on 17)

The computer system of claim 17, wherein the resource allocation recommendation comprises a recommendation to migrate a virtual machine from a first host computer to a second host computer.

### Claim 20 (depends on 19)

The computer system of claim 19, wherein the virtual management computer is further configured to transmit the resource allocation recommendation to a resource scheduler included in the first host computer configured to cause the virtual machine to migrate from the first host computer to the second host computer.

### Claim 21 (depends on 1)

The method of claim 1, wherein the start of a peak is defined as when the current point in the workload is above x percentile based on the last m minutes and the end of the peak is when the workload is no longer in the x percentile.

### Claim 22 (depends on 21)

The method of claim 21, further comprising keeping track of the mean inter peak distance, average duration of peaks, and the value of the peaks and determining when the last peak occurred.

### Claim 23 (depends on 21)

The method of claim 21, further comprising keeping track of the mean inter peak distance, average duration of peaks, and the value of the peaks and determining whether a peak is currently happening.
