IP Library Granted Patent US 9,529,638
Granted Patent B2
US 9,529,638 · App. 14/830,865 · Granted Dec 27, 2016

Resource allocation for virtual machines and logical partitions

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,529,638
App. No.
14/830,865
Granted
Dec 27, 2016
Kind
B2
Abstract

A computer determines that a utilization level of a resource has satisfied a threshold. The computer scales the allocation of the resource to the furthest of the current allocation of the resource plus a parameter and of a historical limit. The computer determines if the scaled allocation of the resource is outside the historical limit and if so, sets the historical limit equal to the scaled allocation of the resource. The computer determines whether the scaling of the allocation of the resource will result in an allocation oscillation. The computer determines if the scaled allocation of the resource is outside a boundary parameter and if so, sets the allocation of the resource equal to the boundary parameter.

Claims (35)

1. A method for allocating a resource to a virtual machine or logical partition (LPAR), the method comprising the steps of:

a computer determining that a utilization level of a resource has satisfied a decrement threshold;

the computer scaling the allocation of the resource to the mathematically lesser of (i) a total, via subtraction, of a value of the current allocation of the resource minus a value of a parameter and (ii) a historical limit, wherein the historical limit is a minimum value over a historical period; and

the computer determining if the scaled allocation of the resource is outside the historical limit and if so, setting the historical limit equal to the scaled allocation of the resource.

2. The method of claim 1 , wherein the computer includes a hypervisor.

3. The method of claim 1 , wherein the resource includes a processor resource or a memory resource.

4. The method of claim 1 , wherein the resource includes a resource of a virtual machine.

5. The method of claim 1 , further comprising the step of:

the computer determining whether the scaling of the allocation of the resource will result in an allocation oscillation.

6. The method of claim 1 , further comprising the step of:

the computer determining if the scaled allocation of the resource is outside a boundary parameter and if so, setting the allocation of the resource equal to the boundary parameter.

7. A computer program product for allocating a resource to a virtual machine or logical partition (LPAR), the computer program product comprising:

one or more computer-readable tangible storage devices and program instructions stored on at least one of the one or more storage devices, the program instructions comprising:

program instructions to determine that a utilization level of a resource has satisfied a decrement threshold;

program instructions to scale the allocation of the resource to the mathematically lesser of (i) a total, via subtraction, of a value of the current allocation of the resource minus a value of a parameter and (ii) a historical limit, wherein the historical limit is a minimum value over a historical period; and

program instructions to determine if the scaled allocation of the resource is outside the historical limit and if so, set the historical limit equal to the scaled allocation of the resource.

8. The computer program product of claim 7 , wherein the computer program product includes at least a portion of a hypervisor.

9. The computer program product of claim 7 , wherein the resource includes a processor resource or a memory resource.

10. The computer program product of claim 7 , wherein the resource includes a resource of a virtual machine.

11. The computer program product of claim 7 , further comprising:

program instructions to determine whether the scaling of the allocation of the resource will result in an allocation oscillation.

12. The computer program product of claim 7 , further comprising:

program instructions to determine if the scaled allocation of the resource is outside a boundary parameter and if so, to set the allocation of the resource equal to the boundary parameter.

13. A system for allocating a resource to a virtual machine or logical partition (LPAR), the system comprising:

one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, the program instructions comprising:

program instructions to determine that a utilization level of a resource has satisfied a decrement threshold;

program instructions to scale the allocation of the resource to the mathematically lesser of (i) a total, via subtraction, of a value of the current allocation of the resource minus a value of a parameter and (ii) a historical limit, wherein the historical limit is a minimum value over a historical period; and

program instructions to determine if the scaled allocation of the resource is outside the a historical limit and if so, setting the historical limit equal to the scaled allocation of the resource.

14. The system of claim 13 , wherein the resource includes a processor resource or a memory resource.

15. The system of claim 13 , wherein the resource includes a resource of a virtual machine.

16. The system of claim 13 , wherein the threshold is one of an increment threshold and a decrement threshold.

17. The system of claim 13 , further comprising:

program instructions to determine whether the scaling of the allocation of the resource will result in an allocation oscillation.

18. The system of claim 13 , further comprising:

program instructions to determine if the scaled allocation of the resource is outside a boundary parameter and if so, to set the allocation of the resource equal to the boundary parameter.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 13, 2021
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: KYNDRYL, INC.
Reel/Frame 057885/0644 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 20, 2015
From: ATTALLA, EMAD; WIDMAYER, GERHARD
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 036377/0733 →