IP Library Granted Patent US 8,751,724
Granted Patent B2
US 8,751,724 · App. 13/236,966 · Granted Jun 10, 2014

Dynamic memory reconfiguration to delay performance overhead

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 8,751,724
App. No.
13/236,966
Granted
Jun 10, 2014
Kind
B2
Abstract

Embodiments of the present invention provide a method, system and computer program product for dynamic main memory reconfiguration in virtual memory management. In an embodiment of the invention, a method for dynamic main memory reconfiguration in virtual memory management can include receiving a memory access directive in a host computer, determining a low free space condition in a memory allocation to satisfy the memory access directive, augmenting the memory allocation with a mapping to additional memory in the host computer in lieu of page swapping in response to the low free space condition, and satisfying the memory access directive. Additionally, the method can include determining an excess free space condition in the memory allocation and removing from the memory allocation a selection of allocated memory in the host computer.

Claims (35)

1. A method for dynamic main memory reconfiguration in virtual memory management, the method comprising:

receiving a memory access directive in one of virtual machines hosted in a host computer;

upon determining a low free space condition in a logical memory allocation for the virtual machine to satisfy the memory access directive, augmenting the logical memory allocation for the virtual machine with additional logical memory from a real memory in the host computer;

attempting to remove logical memory from others of the virtual machines for use by the virtual machine when no additional logical memory can be added from the real memory for use by the virtual machine;

triggering page swapping only when no additional logical memory can be added from the real memory or from others of the virtual machines for use by the virtual machine; and,

satisfying the memory access directive.

2. The method of claim 1 , further comprising:

determining an excess free space condition in the memory allocation; and,

removing from the memory allocation a selection of allocated memory in the host computer.

3. The method of claim 1 , wherein augmenting the memory allocation with additional memory from the real memory in the host computer is limited to a maximum number of logical memory blocks.

4. A computer data processing system configured for dynamic main memory reconfiguration in virtual memory management, the system comprising:

a host computer with at least one processor, fixed storage and real memory;

an operating system hosting a virtual machine;

a memory allocation corresponding to the virtual machine;

a virtual memory manager managing page swapping between the memory allocation and the fixed storage; and,

a memory reconfiguration module coupled to the virtual memory manager, the module comprising program code enabled to

receive a memory access directive in one of virtual machines hosted in a host computer;

upon determining a low free space condition in a logical memory allocation for the virtual machine to satisfy the memory access directive, augment the logical memory allocation for the virtual machine with additional logical memory from a real memory in the host computer;

attempt to remove logical memory from others of the virtual machines for use by the virtual machine when no additional logical memory can be added from the real memory for use by the virtual machine;

trigger page swapping only when no additional logical memory can be added from the real memory or from others of the virtual machines for use by the virtual machine; and

satisfy the memory access directive.

5. The system of claim 4 , wherein the additional memory comprises a selection of logical memory blocks in the real memory of the host computer.

6. The system of claim 5 , wherein the program code is additionally enabled to limit the augmentation of the memory allocation to a maximum number of logical memory blocks.

7. The system of claim 4 , wherein the program code is additionally enabled to remove from the memory allocation a selection of allocated memory in the host computer in response to determining an excess free space condition in the memory allocation.

8. A computer program product for dynamic main memory reconfiguration in virtual memory management, the computer program product comprising:

a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising:

computer readable program code for receiving a memory access directive in one of virtual machines hosted in a host computer;

computer readable program code for upon determining a low free space condition in a logical memory allocation for the virtual machine to satisfy the memory access directive, augmenting the logical memory allocation for the virtual machine with additional logical memory from a real memory in the host computer;

computer readable program code for attempting to remove logical memory from others of the virtual machines for use by the virtual machine when no additional logical memory can be added from the real memory for use by the virtual machine;

computer readable program code for triggering page swapping only when no additional logical memory can be added from the real memory or from others of the virtual machines for use by the virtual machine; and,

computer readable program code for satisfying the memory access directive.

9. The computer program product of claim 8 , further comprising:

computer readable program code for determining an excess free space condition in the memory allocation; and,

computer readable program code for removing from the memory allocation a selection of allocated memory in the host computer.

10. The computer program product of claim 9 , wherein augmenting the memory allocation with additional memory from the real memory in the host computer is limited to a maximum number of logical memory blocks.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 10, 2014
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: LENOVO INTERNATIONAL LIMITED
Reel/Frame 034194/0291 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 20, 2011
From: PRASAD, ARAVINDA
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 026934/0118 →