Management of fixed pages in memory for input/output operations

Electrical computers and digital processing systems: memory – Storage accessing and control – Memory configuring

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C711S171000, C710S052000, C710S056000

Reexamination Certificate

active

06260129

ABSTRACT:

FIELD OF THE INVENTION
The present invention relates to a method and system for managing pages fixed in volatile memory that are used in data transfer, i.e., input/output, operations.
BACKGROUND OF THE RELATED ART
Disaster recovery systems typically address two types of failures, a sudden catastrophic failure at a single point in time or data loss over a period of time. In the second type of gradual disaster, updates to volumes may be lost. To assist in recovery of data updates, a copy of data may be provided at a remote location. Such dual or shadow copies are typically made as the application system is writing new data to a primary storage device. International Business Machines Corporation (IBM), the assignee of the subject patent application, provides two systems for maintaining remote copies of data at a secondary site, extended remote copy (XRC) and peer-to-peer remote copy (PPRC). These systems provide a method for recovering data updates between a last, safe backup and a system failure. Such data shadowing systems can also provide an additional remote copy for non-recovery purposes, such as local access at a remote site. These XRC and PPRC systems are described in IBM publication “Remote Copy: Administrator's Guide and Reference,” IBM document No. SC35-0169-02(IBM Copyright 1994, 1996), which publication is incorporated herein by reference in its entirety.
In such backup systems, data is maintained in volume pairs. A volume pair is comprised of a volume in a primary storage device and a corresponding volume in a secondary storage device that includes an identical copy of the data maintained in the primary volume. Typically, the primary volume of the pair will be maintained in a primary direct access storage device (DASD) and the secondary volume of the pair is maintained in a secondary DASD shadowing the data on the primary DASD. A primary storage controller may be provided to control access to the primary DASD and a secondary storage controller may be provided to control access to the secondary DASD.
In data transfer operations, such as XRC, storage buffers in the host system's volatile memory, e.g., DRAM, are used to buffer data transferred from the primary storage controller to the secondary storage controller. A buffer is comprised of multiple pages in the host system's memory. Such pages in a buffer are fixed for the read operation from the primary storage controller, freed after the read operation, then fixed again for the write operation to the secondary storage controller, and freed after the completion of the write operation. A fixed page cannot be swapped out of the volatile memory (DRAM) to disk storage. Fixed pages are, thus, not available to the operating system for other operations. The number of storage or page buffers of memory consumed are a function of the number of volumes involved in the copy operation. For instance, the current version of the IBM XRC product requires a minimum of 50 MB of virtual storage to support a single primary storage controller. The host system must set aside sufficient paging space in volatile memory areas for data copy operations between the controllers.
With current systems, the host system queries the primary controller to determine the size of the data transfer and then fixes pages in volatile memory to form buffers which are the targets of the data transfer operations. After a read or write operation, the pages fixed in the buffers are freed. This process, which includes fixing and freeing the pages for each data transfer, is expensive in terms of consuming host processor cycles and processing time. Certain prior art systems retain a few fixed pages within a buffer which are not freed after the read and write operations. In this way, a few of the pages in a buffer remain fixed and do not need to be fixed and freed for each input/output (I/O) operation. However, the pages in a buffer which do not remain permanently fixed float between being fixed during the read and write operations and being not fixed after the completion of such operation. These “floating” pages, which are fixed and freed for each I/O operation through the host system consume system resources to perform such fixing and freeing. This system of leaving only a couple of the pages in a buffer fixed across input/output operations is described in “Fixed Storage Allocation of Input-Output Buffers,” IBM Technical Disclosure Bulletin, Vol. 39, No. 03(Mar. 1996).
Thus, there is a need in the art for an improved system for making pages in memory available for data transfer operations.
SUMMARY OF THE INVENTION
To address the shortcomings in the prior art described above, preferred embodiments of the present invention provide a system for managing pages in a volatile memory device for data transfer operations between a first storage area and a second storage area. The storage area is queried to determine a number of data sets to include in a data transfer operation. A number of pages in the volatile memory device needed for the data transfer operation is then determined. A determination is then made as to whether the number of pages needed for the data transfer operation is greater than available fixed pages in a pool of pages. Available fixed pages in the pool are allocated to the data transfer operation after determining that the number of pages needed to process the data transfer operation is less than or equal to the available fixed pages in the pool. Alternatively, after determining that the number of pages needed to process the data transfer operation is greater than the available fixed pages in the pool, all the fixed pages in the pool and additional fixed pages are allocated to the data transfer operation.
In further embodiments, the data sets are read from the first storage area to the fixed pages allocated to the data transfer operation. The data sets are then written from the fixed pages to the storage area. The fixed pages are allocated to the pool including available fixed pages after writing the data sets to the second storage area.
In yet further embodiments, an upper threshold of fixed pages available for data transfer operations is set. When the fixed pages are allocated to the pool, a determination is made as to whether the number of fixed pages available for data transfer operations exceeds the upper threshold. Fixed pages available in the pool are freed after determining that the number of fixed pages available for data transfer operations exceeds the upper threshold.
Preferred embodiments of the present invention provide a system and method for maintaining a pool of fixed pages available for data transfer operations, i.e., I/O operations, without having to fix and free pages after each input or output operation. In preferred embodiments, the number of fixed pages available for I/O operations is maintained at a threshold level to avoid tying-up too many pages that cannot otherwise be utilized by the operating system. Preferred embodiments further provide mechanisms for adjusting the number of fixed pages available for I/O operations as the I/O workload fluctuates.


REFERENCES:
Fixed Storage Allocation of Input-Output Buffers, IBM Technical Disclosure Bulletin, vol. 39, No. 3, Mar. 1996.*
Remote Copy Administrator's Guide and Reference, DFSMS/MVS Version 1, Third Edition, Jul. 1996, IBM Doc. No. SC35-0169-02.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Management of fixed pages in memory for input/output operations does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Management of fixed pages in memory for input/output operations, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Management of fixed pages in memory for input/output operations will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2474282

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.