IP Library Granted Patent US 11,436,159
Granted Patent B2
US 11,436,159 · App. 17/239,120 · Granted Sep 6, 2022

Using multi-tiered cache to satisfy input/output requests

Inventors: Beth Ann Peterson (Tucson, AZ); Chung Man Fung (San Francisco, CA); Lokesh Mohan Gupta (Tucson, AZ); Kyler A. Anderson (Sahuarita, AZ)
Assignee: International Business Machines Corporation
G06F12/128G06F12/0862G06F12/0897G06F2212/305
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 11,436,159
App. No.
17/239,120
Granted
Sep 6, 2022
Kind
B2
Abstract

A computer-implemented method, according to one approach, includes: initiating an I/O request using a primary cache, where the I/O request includes supplemental information pertaining to an anticipated workload of the I/O request. Performance characteristics experienced by the primary cache while satisfying the I/O request are also evaluated. The supplemental information and the performance characteristics are further used to determine whether to satisfy a remainder of the I/O request using the secondary cache. In response to determining to satisfy a remainder of the I/O request using the secondary cache, the I/O request is demoted from the primary cache to the secondary cache, and a remainder of the I/O request is satisfied using the secondary cache. However, in response to determining to not satisfy a remainder of the I/O request using the secondary cache, a remainder of the I/O request is satisfied using the primary cache.

Claims (106)

1. A computer-implemented method, comprising:

initiating an input/output (I/O) request using a primary cache, wherein the primary cache is coupled to a secondary cache and a data storage device, wherein the I/O request includes supplemental information pertaining to an anticipated workload from the I/O request;

evaluating performance characteristics experienced by the primary cache while satisfying the I/O request;

using the supplemental information and the performance characteristics to determine whether to satisfy a remainder of the I/O request using the secondary cache;

in response to determining to satisfy a remainder of the I/O request using the secondary cache, demoting the I/O request from the primary cache to the secondary cache; and

satisfying a remainder of the I/O request using the secondary cache.

2. The computer-implemented method of claim 1 , comprising:

in response to determining to not satisfy a remainder of the I/O request using the secondary cache, satisfying a remainder of the I/O request using the primary cache.

3. The computer-implemented method of claim 2 , comprising:

in response to determining that data associated with the I/O request has been updated as a result of satisfying the I/O request:

destaging the updated data from the primary cache to the data storage device,

copying the updated data to the secondary cache, and

demoting the updated data from the primary cache; and

in response to determining that data associated with the I/O request has not been updated as a result of satisfying the I/O request:

copying the data associated with the I/O request to the secondary cache, and

demoting the data associated with the I/O request from the primary cache.

4. The computer-implemented method of claim 1 , wherein the secondary cache includes a first tier of storage class memory and a second tier of storage class memory, wherein performance characteristics of the first tier of storage class memory are greater than performance characteristics of the second tier of storage class memory.

5. The computer-implemented method of claim 1 , wherein the primary cache includes dynamic random access memory, wherein the secondary cache includes storage class memory.

6. The computer-implemented method of claim 1 , comprising:

in response to determining that data associated with the I/O request has been updated as a result of satisfying the I/O request, destaging the updated data from the secondary cache to the data storage device.

7. The computer-implemented method of claim 1 , wherein the supplemental information is selected from the group consisting of: write repetition, read verification, write frequency, and dataset priority.

8. A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable and/or executable by a processor to cause the processor to:

initiate, by the processor, an input/output (I/O) request using a primary cache, wherein the primary cache is coupled to a secondary cache and a data storage device,

wherein the I/O request includes supplemental information pertaining to an anticipated workload from the I/O request;

evaluate, by the processor, performance characteristics experienced by the primary cache while satisfying the I/O request;

use, by the processor, the supplemental information and the performance characteristics to determine whether to satisfy a remainder of the I/O request using the secondary cache;

in response to determining to satisfy a remainder of the I/O request using the secondary cache, demote, by the processor, the I/O request from the primary cache to the secondary cache; and

satisfy, by the processor, a remainder of the I/O request using the secondary cache.

9. The computer program product of claim 8 , wherein the program instructions are readable and/or executable by the processor to cause the processor to:

in response to determining to not satisfy a remainder of the I/O request using the secondary cache, satisfy, by the processor, a remainder of the I/O request using the primary cache.

10. The computer program product of claim 9 , wherein the program instructions are readable and/or executable by the processor to cause the processor to:

determine, by the processor, whether data associated with the I/O request has been updated as a result of satisfying the I/O request;

in response to determining that the data associated with the I/O request has been updated as a result of satisfying the I/O request:

destage, by the processor, the updated data from the primary cache to the data storage device,

copy, by the processor, the updated data to the secondary cache, and

demote, by the processor, the updated data from the primary cache; and

in response to determining that the data associated with the I/O request has not been updated as a result of satisfying the I/O request:

copy, by the processor, the data associated with the I/O request to the secondary cache, and

demote, by the processor, the data associated with the I/O request from the primary cache.

11. The computer program product of claim 8 , wherein the secondary cache includes a first tier of storage class memory and a second tier of storage class memory, wherein performance characteristics of the first tier of storage class memory are greater than performance characteristics of the second tier of storage class memory.

12. The computer program product of claim 8 , wherein the primary cache includes dynamic random access memory, wherein the secondary cache includes storage class memory, wherein the I/O request is a synchronous I/O request.

13. The computer program product of claim 8 , wherein the program instructions are readable and/or executable by the processor to cause the processor to:

determine, by the processor, whether data associated with the I/O request has been updated as a result of satisfying the I/O request; and

in response to determining that the data associated with the I/O request has been updated as a result of satisfying the I/O request, destage, by the processor, the updated data from the secondary cache to the data storage device.

14. The computer program product of claim 8 , wherein the supplemental information is selected from the group consisting of: write repetition, read verification, write frequency, and dataset priority.

15. A system, comprising:

a processor, wherein the processor is coupled to a primary cache and a secondary cache; and

logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to:

initiate, by the processor, an input/output (I/O) request using the primary cache,

wherein the primary cache is coupled to the secondary cache and a data storage device, wherein the I/O request includes supplemental information pertaining to an anticipated workload from the I/O request;

evaluate, by the processor, performance characteristics experienced by the primary cache while satisfying the I/O request;

use, by the processor, the supplemental information and the performance characteristics to determine whether to satisfy a remainder of the I/O request using the secondary cache;

in response to determining to satisfy a remainder of the I/O request using the secondary cache, demote, by the processor, the I/O request from the primary cache to the secondary cache; and

satisfy, by the processor, a remainder of the I/O request using the secondary cache.

16. The system of claim 15 , the logic being configured to:

in response to determining to not satisfy a remainder of the I/O request using the secondary cache, satisfy, by the processor, a remainder of the I/O request using the primary cache.

17. The system of claim 16 , the logic being configured to:

determine, by the processor, whether data associated with the I/O request has been updated as a result of satisfying the I/O request;

in response to determining that the data associated with the I/O request has been updated as a result of satisfying the I/O request:

destage, by the processor, the updated data from the primary cache to the data storage device,

copy, by the processor, the updated data to the secondary cache, and

demote, by the processor, the updated data from the primary cache; and

in response to determining that the data associated with the I/O request has not been updated as a result of satisfying the I/O request:

copy, by the processor, the data associated with the I/O request to the secondary cache, and

demote, by the processor, the data associated with the I/O request from the primary cache.

18. The system of claim 15 , wherein the secondary cache includes a first tier of storage class memory and a second tier of storage class memory, wherein performance characteristics of the first tier of storage class memory are greater than performance characteristics of the second tier of storage class memory.

19. The system of claim 15 , wherein the primary cache includes dynamic random access memory, wherein the secondary cache includes storage class memory, wherein the I/O request is a synchronous I/O request.

20. The system of claim 15 , the logic being configured to:

determine, by the processor, whether data associated with the I/O request has been updated as a result of satisfying the I/O request; and

in response to determining that the data associated with the I/O request has been updated as a result of satisfying the I/O request, destage, by the processor, the updated data from the secondary cache to the data storage device.

21. The system of claim 15 , wherein the supplemental information is selected from the group consisting of: write repetition, read verification, write frequency, and dataset priority.

22. A system, comprising:

a processor, wherein the processor is coupled to: a primary cache, a secondary cache, and a data storage device; and

logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to:

initiate, by the processor, an input/output (I/O) request using the secondary cache,

wherein the I/O request includes supplemental information pertaining to an anticipated workload from the I/O request;

evaluate, by the processor, performance characteristics experienced by the secondary cache while satisfying the I/O request;

use, by the processor, the supplemental information and the performance characteristics to determine whether to satisfy a remainder of the I/O request using the primary cache;

in response to determining to satisfy a remainder of the I/O request using the primary cache, promote, by the processor, the I/O request from the secondary cache to the primary cache; and

satisfy, by the processor, a remainder of the I/O request using the primary cache.

23. The system of claim 22 , the logic being configured to:

determine, by the processor, whether data associated with the I/O request has been updated as a result of satisfying the I/O request;

in response to determining that the data associated with the I/O request has been updated as a result of satisfying the I/O request:

destage, by the processor, the updated data from the primary cache to the data storage device,

copy, by the processor, the updated data to the secondary cache, and

demote, by the processor, the updated data from the primary cache; and

in response to determining that the data associated with the I/O request has not been updated as a result of satisfying the I/O request:

copy, by the processor, the data associated with the I/O request to the secondary cache, and

demote, by the processor, the data associated with the I/O request from the primary cache,

wherein the primary cache includes dynamic random access memory, wherein the secondary cache includes storage class memory.

24. A computer-implemented method, comprising:

initiating an input/output (I/O) request using a secondary cache, wherein the secondary cache is coupled to a primary cache and a data storage device, wherein the I/O request includes supplemental information pertaining to an anticipated workload from the I/O request;

evaluating performance characteristics experienced by the secondary cache while satisfying the I/O request;

using the supplemental information and the performance characteristics to determine whether to satisfy a remainder of the I/O request using the primary cache;

in response to determining to satisfy a remainder of the I/O request using the primary cache, promoting the I/O request from the secondary cache to the primary cache; and

satisfying a remainder of the I/O request using the primary cache.

25. The computer-implemented method of claim 24 , comprising:

determining whether data associated with the I/O request has been updated as a result of satisfying the I/O request;

in response to determining that the data associated with the I/O request has been updated as a result of satisfying the I/O request:

destaging the updated data from the primary cache to the data storage device,

copying the updated data to the secondary cache, and

demoting the updated data from the primary cache; and

in response to determining that the data associated with the I/O request has not been updated as a result of satisfying the I/O request:

copying the data associated with the I/O request to the secondary cache, and

demoting the data associated with the I/O request from the primary cache,

wherein the primary cache includes dynamic random access memory, wherein the secondary cache includes storage class memory.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 24, 2021
From: PETERSON, BETH ANN; FUNG, CHUNG MAN; GUPTA, LOKESH MOHAN; ANDERSON, KYLER A.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 056333/0117 →
Continuity (2)
Continuation 16800889 · Feb 25, 2020
Related Publication 20210263863A1 · Aug 26, 2021
Cited By (1)
US 12,517,900