IP Library Granted Patent US 11,210,237
Granted Patent B2
US 11,210,237 · App. 16/790,249 · Granted Dec 28, 2021

Integration of application indicated minimum and maximum time to cache for a two-tiered cache management mechanism

Inventors: Lokesh Mohan Gupta (Tucson, AZ); Kyler A. Anderson (Sahuarita, AZ); Beth Ann Peterson (Tucson, AZ); Matthew G. Borlick (Tucson, AZ)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F12/128G06F12/0866G06F12/124G06F2212/225G06F2212/283G06F2212/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,210,237
App. No.
16/790,249
Granted
Dec 28, 2021
Kind
B2
Abstract

Indications of a minimum retention time and a maximum retention time in a cache comprising a first type of memory and a second type of memory are received from a host application for a first plurality of tracks, wherein the minimum retention time or the maximum retention time are not indicated for a second plurality of tracks. In response to accessing a track of the first plurality of tracks, the minimum retention time is set for the track for the first type of memory, and the maximum retention time is set for the track for the second type of memory.

Claims (28)

1. A method, comprising:

receiving from a host application for a first plurality of tracks, an indication of a minimum retention time and a maximum retention time in a cache comprising a first type of memory and a second type of memory, wherein the minimum retention time or the maximum retention time are not indicated for a second plurality of tracks; and

in response to accessing a track of the first plurality of tracks, setting, for the track, the minimum retention time for the track to be stored in the first type of memory of the cache and the maximum retention time for the track to be stored in the second type of memory of the cache.

2. The method of claim 1 , wherein the first type of memory has a lower latency and a lower storage capacity than the second type of memory.

3. The method claim 2 , wherein the first type of memory is a dynamic random access memory (DRAM) cache and the second type of memory is a storage class memory (SCM) cache.

4. The method of claim 3 , where a cache management application attempts to maintain the track in the DRAM cache for at least a first amount of time that equals the minimum retention time, and attempts to maintain the track in the SCM cache for no more than a second amount of time that equals the maximum retention time.

5. The method of claim 3 , wherein an insertion point of the track in a first least recently used (LRU) list of the SCM cache for the track is determined based on the maximum retention time that the track is allowed to be retained in the SCM cache, wherein different insertion points in the first LRU list of the SCM cache correspond to different amounts of time that a selected track of the first plurality of tracks is expected to be retained in the SCM cache.

6. The method of claim 3 , wherein the DRAM cache and the SCM cache form a two-tier cache with the DRAM cache being a higher tier and the SCM cache being a lower tier, and wherein tracks are promoted to the SCM cache from the DRAM cache in response to determining that a read access time exceeds a first predetermined threshold and a write access time is below a second predetermined threshold.

7. The method of claim 1 , wherein tracks of the second plurality of tracks undergo a default mechanism for demotion from the cache.

8. A computer program product, the computer program product comprising a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code configured to perform operations, the operations comprising:

receiving from a host application for a first plurality of tracks, an indication of a minimum retention time and a maximum retention time in a cache comprising a first type of memory and a second type of memory, wherein the minimum retention time or the maximum retention time are not indicated for a second plurality of tracks; and

in response to accessing a track of the first plurality of tracks, setting, for the track, the minimum retention time for the track to be stored in the first type of memory of the cache and the maximum retention time for the track to be stored in the second type of memory of the cache.

9. The computer program product of claim 8 , wherein the first type of memory has a lower latency and a lower storage capacity than the second type of memory.

10. The computer program product claim 9 , wherein the first type of memory is a dynamic random access memory (DRAM) cache and the second type of memory is a storage class memory (SCM) cache.

11. The computer program product of claim 10 , where a cache management application attempts to maintain the track in the DRAM cache for at least a first amount of time that equals the minimum retention time, and attempts to maintain the track in the SCM cache for no more than a second amount of time that equals the maximum retention time.

12. The computer program product of claim 10 , wherein an insertion point of the track in a first least recently used (LRU) list of the SCM cache for the track is determined based on the maximum retention time that the track is allowed to be retained in the SCM cache, wherein different insertion points in the first LRU list of the SCM cache correspond to different amounts of time that a selected track of the first plurality of tracks is expected to be retained in the SCM cache.

13. The computer program product of claim 10 , wherein the DRAM cache and the SCM cache form a two-tier cache with the DRAM cache being a higher tier and the SCM cache being a lower tier, and wherein tracks are promoted to the SCM cache from the DRAM cache in response to determining that a read access time exceeds a first predetermined threshold and a write access time is below a second predetermined threshold.

14. A system, comprising:

a memory; and

a processor coupled to the memory, wherein the processor performs operations, the operations performed by the processor comprising:

receiving from a host application for a first plurality of tracks, an indication of a minimum retention time and a maximum retention time in a cache comprising a first type of memory and a second type of memory, wherein the minimum retention time or the maximum retention time are not indicated for a second plurality of tracks; and

in response to accessing a track of the first plurality of tracks, setting for the track, the minimum retention time for the track to be stored in the first type of memory of the cache and the maximum retention time for the track to be stored in the second type of memory of the cache.

15. The system of claim 14 , wherein the first type of memory has a lower latency and a lower storage capacity than the second type of memory.

16. The system claim 15 , wherein the first type of memory is a dynamic random access memory (DRAM) cache and the second type of memory is a storage class memory (SCM) cache.

17. The system of claim 16 , where a cache management application attempts to maintain the track in the DRAM cache for at least a first amount of time that equals the minimum retention time, and attempts to maintain the track in the SCM cache for no more than a second amount of time that equals the maximum retention time.

18. The system of claim 16 , wherein an insertion point of the track in a first least recently used (LRU) list of the SCM cache for the track is determined based on the maximum retention time that the track is allowed to be retained in the SCM cache, wherein different insertion points in the first LRU list of the SCM cache correspond to different amounts of time that a selected track of the first plurality of tracks is expected to be retained in the SCM cache.

19. The system of claim 16 , wherein the DRAM cache and the SCM cache form a two-tier cache with the DRAM cache being a higher tier and the SCM cache being a lower tier, and wherein tracks are promoted to the SCM cache from the DRAM cache in response to determining that a read access time exceeds a first predetermined threshold and a write access time is below a second predetermined threshold.

20. The system of claim 14 , wherein tracks of the second plurality of tracks undergo a default mechanism for demotion from the cache.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 14, 2020
From: GUPTA, LOKESH MOHAN; ANDERSON, KYLER A.; PETERSON, BETH ANN; BORLICK, MATTHEW G.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 051819/0431 →
Continuity (1)
Related Publication 20210255967A1 · Aug 19, 2021