IP Library Granted Patent US 8,701,120
Granted Patent B2
US 8,701,120 · App. 12/394,844 · Granted Apr 15, 2014

Virtualization of storage buffers used by asynchronous processes

Inventors: Damian L. Osisek (Vestal, NY); Donald W. Schmidt (Stone Ridge, NY); Phil C. Yeh (Poughkeepsie, NY)
Assignee: International Business Machines Corporation
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,701,120
App. No.
12/394,844
Granted
Apr 15, 2014
Kind
B2
Abstract

The amount of host real storage provided to a large guest storage buffer is controlled. This control is transparent to the guest that owns the buffer and is executing an asynchronous process to update the buffer. The control uses one or more indicators to determine when additional host real storage is to be provided.

Claims (36)

1. A computer program product for facilitating the providing of host real storage for guest storage buffers in a virtual processing environment, said virtual processing environment comprising a host and one or more guests managed by said host, the computer program product comprising:

a non-transitory storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method, said method comprising:

storing data, based on executing an asynchronous process on a processor of the virtual processing environment, into a guest storage buffer, the guest storage buffer having n units of host real storage committed thereto and being larger than the n units of host real storage, and wherein the storing comprises storing data into a current unit of the guest storage buffer, said current unit of the guest storage buffer being backed by a committed unit of host real storage;

updating an indicator, based on detecting that the current unit of the guest storage buffer is no longer to be stored into and another unit of the guest storage buffer is to be the current unit of the guest storage buffer to be stored into;

employing the indicator to determine whether host real storage is to be committed to one or more other blocks of the guest storage buffer; and

generating an alert to the host indicating to the host that action is to be taken by the host to commit host real storage, based on the employing indicating host real storage is to be committed to one or more other blocks of the guest storage buffer.

2. The computer program product of claim 1 , wherein the updating comprises decrementing the indicator or incrementing the indicator, based on detecting that the current unit of guest storage buffer is no longer to be stored into, and wherein the alert is generated, in response to the indicator reaching a predetermined value.

3. The computer program product of claim 1 , wherein the indicator is a current indicator that indicates the current unit of the guest storage buffer, and the employing comprises employing the current indicator and an alert indicator, the alert indicator specifying a reference point of when an alert is to be generated to the host indicating host real storage is to be committed.

4. The computer program product of claim 3 , wherein the employing comprises comparing the alert indicator and the current indicator, and generating the alert, based on the alert indicator equaling the current indicator.

5. The computer program product of claim 3 , wherein the method further comprises updating the alert indicator, based on committing host real storage to n−1 other guest buffer blocks, wherein the updating comprises adding n−1 to the alert indicator.

6. The computer program product of claim 3 , wherein the current indicator is not reset, based on storing into the other units of the guest storage buffer, but continues to be incremented.

7. The computer program product of claim 3 , wherein the current indicator and the alert indicator specify relative positions within the guest storage buffer.

8. The computer program product of claim 3 , wherein the number of units of host real storage to be committed may vary from one instance of a host handling the alert to a next instance of the host handling the alert.

9. The computer program product of claim 3 , wherein the method further comprises:

decommitting by the host one or more units of host storage backing one or more units of the guest storage buffer that are full;

committing one or more units of host real storage; and

updating the alert indicator.

10. The computer program product of claim 9 , wherein the committing comprises:

based on a guest indicating that the contents of a unit of the guest storage buffer have been consumed, committing an empty unit of host real storage; and

based on the guest indicating that the contents have not been consumed, paging in said guest contents to the committed unit of host real storage.

11. A computer system for facilitating providing of host real storage for guest storage buffers in a virtual processing environment, said virtual processing environment comprising a host and one or more guests managed by said host, and said computer system comprising:

a memory; and

at least one processor in communications with the memory, wherein the computer system is capable of performing a method, said method comprising:

storing data, based on executing an asynchronous process on a processor of the virtual processing environment, into a guest storage buffer, the guest storage buffer having n units of host real storage committed thereto and being larger than the n units of host real storage, and wherein the storing comprises storing data into a current unit of the guest storage buffer, said current unit of the guest storage buffer being backed by a committed unit of host real storage;

updating an indicator, based on detecting that the current unit of the guest storage buffer is no longer to be stored into and another unit of the guest storage buffer is to be the current unit of the guest storage buffer to be stored into;

employing the indicator to determine whether host real storage is to be committed to one or more other blocks of the guest storage buffer; and

generating an alert to the host indicating to the host that action is to be taken by the host to commit host real storage, based on the employing indicating host real storage is to be committed to one or more other blocks of the guest storage buffer.

12. The computer system of claim 11 , wherein the updating comprises decrementing the indicator or incrementing the indicator, based on detecting that the current unit of guest storage buffer is no longer to be stored into, and wherein the alert is generated, in response to the indicator reaching a predetermined value.

13. The computer system of claim 11 , wherein the indicator is a current indicator that indicates the current unit of the guest storage buffer, and the employing comprises employing the current indicator and an alert indicator, the alert indicator specifying a reference point of when an alert is to be generated to the host indicating host real storage is to be committed.

14. The computer system of claim 13 , wherein the employing comprises comparing the alert indicator and the current indicator, and generating the alert, based on the alert indicator equaling the current indicator.

15. The computer system of claim 13 , wherein the method further comprises updating the alert indicator, based on committing host real storage to n−1 other guest buffer blocks, wherein the updating comprises adding n−1 to the alert indicator.

16. The computer system of claim 13 , wherein the current indicator is not reset, in response to storing into the other units of the guest storage buffer, but continues to be incremented.

17. The computer system of claim 13 , wherein the method further comprises:

decommitting by the host one or more units of host storage backing one or more units of the guest storage buffer that are full;

committing one or more units of host real storage; and

updating the alert indicator.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 27, 2009
From: OSISEK, DAMIAN L.; SCHMIDT, DONALD W.; YEH, PHIL C.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 022325/0005 →
Continuity (1)
Related Publication 20100223612A1 · Sep 2, 2010