IP Library Granted Patent US 10,282,138
Granted Patent B2
US 10,282,138 · App. 15/277,205 · Granted May 7, 2019

Secondary read cache optimization in data replication environments

Inventor: Xue Qiang Zhou (Shanghai, CN)
Assignee: International Business Machines Corporation
G06F3/067G06F3/065G06F3/0614G06F11/14G06F3/0619G06F12/084G06F12/0868
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 10,282,138
App. No.
15/277,205
Granted
May 7, 2019
Kind
B2
Abstract

A method to optimize primary and secondary read cache in a data replication environment includes determining contents of a primary read cache at a primary site. The method updates a primary cache map describing the contents and transmits the primary cache map from the primary site to a secondary site. At the secondary site, the method uses the primary cache map to substantially synchronize a secondary read cache with the primary read cache. The method further monitors for updates to the primary read cache and updates the primary cache map accordingly. When a difference between a current primary cache map and a previously transmitted primary cache map reaches a threshold, the method transmits the current primary cache map from the primary site to the secondary site. A corresponding system and computer program product are also disclosed.

Claims (40)

1. A method to optimize primary and secondary read cache in a data replication environment, the method comprising:

determining contents of a primary read cache at a primary site;

updating a primary cache map describing the contents;

transmitting the primary cache map from the primary site to a secondary site;

using, at the secondary site, the primary cache map to substantially synchronize a secondary read cache with the primary read cache;

monitoring updates to the primary read cache and updating the primary cache map to reflect the updates; and

when a difference between a current primary cache map and a previously transmitted primary cache map reaches a threshold, transmitting the current primary cache map from the primary site to the secondary site.

2. The method of claim 1 , wherein the primary cache map is one of a plurality of primary cache maps at the primary site, each primary cache map corresponding to a volume at the primary site.

3. The method of claim 2 , wherein the primary cache map is a bitmap.

4. The method of claim 3 , wherein the bitmap comprises a bit for each track in the corresponding volume.

5. The method of claim 1 , further comprising, upon receiving the primary cache map at the secondary site, consolidating the primary cache map with a secondary cache map to create a stage cache map.

6. The method of claim 5 , further comprising staging, to the secondary read cache at the secondary site, tracks identified by the stage cache map.

7. The method of claim 6 , further comprising organizing the staging of the tracks to optimize access to backend storage drives.

8. A computer program product to optimize primary and secondary read cache in a data replication environment, the computer program product comprising a computer-readable storage medium having computer-usable program code embodied therein, the computer-usable program code configured to perform the following when executed by at least one processor:

determine contents of a primary read cache at a primary site;

update a primary cache map describing the contents;

transmit the primary cache map from the primary site to a secondary site;

use, at the secondary site, the primary cache map to substantially synchronize a secondary read cache with the primary read cache;

monitor updates to the primary read cache and update the primary cache map to reflect the updates; and

when a difference between a current primary cache map and a previously transmitted primary cache map reaches a threshold, transmit the current primary cache map from the primary site to the secondary site.

9. The computer program product of claim 8 , wherein the primary cache map is one of a plurality of primary cache maps at the primary site, each primary cache map corresponding to a volume at the primary site.

10. The computer program product of claim 9 , wherein the primary cache map is a bitmap.

11. The computer program product of claim 10 , wherein the bitmap comprises a bit for each track in the corresponding volume.

12. The computer program product of claim 8 , wherein the computer-usable program code is further configured to, upon receiving the primary cache map at the secondary site, consolidate the primary cache map with a secondary cache map to create a stage cache map.

13. The computer program product of claim 12 , wherein the computer-usable program code is further configured to stage, to the secondary read cache at the secondary site, tracks identified by the stage cache map.

14. The computer program product of claim 13 , wherein the computer-usable program code is further configured to organize the staging of the tracks to optimize access to backend storage drives.

15. A system for synchronizing primary and secondary read cache in a data replication environment, the system comprising:

at least one processor;

at least one memory device coupled to the at least one processor and storing instructions for execution on the at least one processor, the instructions causing the at least one processor to;

determine contents of a primary read cache at a primary site;

update a primary cache map describing the contents;

transmit the primary cache map from the primary site to a secondary site;

use, at the secondary site, the primary cache map to substantially synchronize a secondary read cache with the primary read cache;

monitor updates to the primary read cache and update the primary cache map to reflect the updates; and

when a difference between a current primary cache map and a previously transmitted primary cache map reaches a threshold, transmit the current primary cache map from the primary site to the secondary site.

16. The system of claim 15 , wherein the primary cache map is one of a plurality of primary cache maps at the primary site, each primary cache map corresponding to a volume at the primary site.

17. The system of claim 16 , wherein the primary cache map is a bitmap.

18. The system of claim 17 , wherein the bitmap comprises a bit for each track in the corresponding volume.

19. The system of claim 15 , wherein the instructions further cause the at least one processor to, upon receiving the primary cache map at the secondary site, consolidate the primary cache map with a secondary cache map to create a stage cache map.

20. The system of claim 19 , wherein the instructions further cause the at least one processor to stage, to the secondary read cache at the secondary site, tracks identified by the stage cache map.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 27, 2016
From: ZHOU, XUE QIANG
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 039866/0850 →
Continuity (1)
Related Publication 20180088837A1 · Mar 29, 2018