# US 2019/0320013 A1 · Efficient un-allocation of cloud resources

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

- Number: US 2019/0320013 A1
- Document ID: US20190320013A1
- Status: Published application
- Kind: A1
- Application number: 16/426,717
- Filed: 2019-05-30
- Published: 2019-10-17
- Earliest claimed: 2016-10-17
- Assignees: AT&T Intellectual Property I, L.P.
- Applicants: AT&T Intellectual Property I, L.P.
- Inventors: Robert Todd Stephens
- Web page: https://patentgrep.com/patent/US20190320013A1

## CPC

- H04L 67/1023: based on a hash applied to IP addresses or costs
- H04L 67/1008: based on parameters of servers, e.g. available memory or workload (monitoring of computer activity G06F11/30)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Cloud services require the outward appearance of unlimited resources with flexible availability for varying demand. However, while on-demand allocation and deallocation of resources may seem efficient, there are significant cases where simply allocating and deallocating resources just in response to demand results in inefficiencies. As discussed herein, cloud services can be made more efficient by deallocating resources based on delays incurred between when resources are requested to be deallocated and reallocated and when they actually are deallocated and allocated, and for how long the resource would be returned to the cloud before needing to be reallocated. Deallocating resources more efficiently not only gives a direct performance improvement, but also indirect, since deallocated resources may not be available again when demand increases.

## Claims

### Claim 1

A system comprising:
a processor; and
a memory coupled to the processor, the memory having instructions stored thereon executable instructions that cause the processor to effectuate operations comprising:
during a first application runtime, determining a deallocation period based on a time between a request to deallocate resource and a deallocation of the resource;
determining a reallocation period based on a time between a request to allocate the resource and an allocation of the resource; and
during a second application runtime of the application, determining whether to deallocate the resource based on the deallocation period and the reallocation period.

### Claim 2 (depends on 1)

The system of claim 1, wherein the operations further comprise determining a corresponding deallocation period, reallocation period, and giveback period for a third application runtime of the application, wherein the third application runtime of the application is after the first application runtime and before the second application runtime, and wherein determining whether to deallocate the resource from the application during the second runtime is further based on the deallocation period, the reallocation period, and the giveback period of the third application runtime.

### Claim 3 (depends on 2)

The system of claim 2, wherein determining whether to deallocate the resource is based on whether a sum of mean deallocation periods of the first and third runtimes and a mean of allocation periods of the first and third runtimes is less than a mean of giveback periods of the first and third runtimes.

### Claim 4 (depends on 1)

The system of claim 1, wherein the resource is a server.

### Claim 5 (depends on 1)

The system of claim 1, wherein the request to deallocate the resource is generated based on application demand for the resource during the first application runtime falling below a threshold.

### Claim 6 (depends on 1)

The system of claim 1, wherein the second request is generated based on application demand for the resource during the first application runtime increasing above a threshold.

### Claim 7

A method comprising:
during a first application runtime, determining, by a resource deallocation controller, a deallocation period based on a time between a request to deallocate a resource and a deallocation of the resource;
determining, by the resource deallocation controller, a reallocation period based on a time between a request to allocate the resource and an allocation of the resource;
determining, by the resource deallocation controller, a giveback period based on the deallocation period and the reallocation period; and
during a second application runtime of the application, determining, by the resource deallocation controller, whether to deallocate the resource based on the deallocation period, the reallocation period, and the giveback period.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
determining, by the resource deallocation controller, a corresponding deallocation period, reallocation period, and giveback period for a third application runtime of the application, wherein the third application runtime of the application is after the first application runtime and before the second application runtime, and wherein determining whether to deallocate the resource from the application during the second runtime is further based on the deallocation period, the reallocation period, and the giveback period of the third application runtime.

### Claim 9 (depends on 8)

The method of claim 8, wherein determining whether to deallocate the resource is based on whether a sum of mean deallocation periods of the first and third runtimes and a mean of allocation periods of the first and third runtimes is less than a mean of giveback periods of the first and third runtimes

### Claim 10 (depends on 7)

The method of claim 7, wherein the resource is a virtual machine (VM) resource.

### Claim 11 (depends on 7)

The method of claim 7, wherein the resource may be allocated to another application during a giveback period.

### Claim 12 (depends on 7)

The method of claim 7, wherein the deallocate request is generated based on application demand for the resource during the first application runtime falling below a threshold.

### Claim 13 (depends on 7)

The method of claim 7, wherein the allocate request is generated based on application demand for the resource during the first application runtime increasing above a threshold.

### Claim 14

A computer-readable storage medium comprising executable instructions that cause a processor executing the instructions to effectuate operations comprising:
during a first application runtime, determining a deallocation period based on a time between a request to deallocate a resource and a deallocation of the resource;
determining a reallocation period based on a time between a request to allocate the resource and an allocation of the resource; and
during a second application runtime, determining whether to deallocate the resource based on the deallocation period, a giveback period, and the reallocation period.

### Claim 15 (depends on 14)

The computer-readable storage medium of claim 14, wherein the operations further comprise determining a corresponding deallocation period, reallocation period, and giveback period for a third application runtime, wherein the third application runtime is after the first application runtime and before the second application runtime, and wherein determining whether to deallocate resource during the second runtime is further based on the deallocation period, the reallocation period, and the giveback period of the third application runtime.

### Claim 16 (depends on 15)

The computer-readable storage medium of claim 15, wherein determining whether to deallocate the resource is based on whether a sum of mean deallocation periods of the first and third runtimes and a mean of allocation periods of the first and third runtimes is less than a mean of giveback periods of the first and third runtimes.

### Claim 17 (depends on 14)

The computer-readable storage medium of claim 14, wherein the request to deallocate the resource is generated based on application demand for the resource during the first application runtime falling below a threshold.

### Claim 18 (depends on 14)

The computer-readable storage medium of claim 14, wherein the second request is generated based on application demand for the resource during the first application runtime increasing above a threshold.

### Claim 19 (depends on 14)

The computer-readable storage medium of claim 14, wherein the resource may be allocated to another application during a giveback period.

### Claim 20 (depends on 14)

The computer-readable storage medium of claim 14, wherein the resource is a compute node.
