白丝美女被狂躁免费视频网站,500av导航大全精品,yw.193.cnc爆乳尤物未满,97se亚洲综合色区,аⅴ天堂中文在线网官网

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

專利號
US11176057B2
公開日期
2021-11-16
申請人
INTERNATIONAL BUSINESS MACHINES CORPORATION(US NY Armonk)
發(fā)明人
Lokesh Mohan Gupta; Matthew G. Borlick; Beth Ann Peterson; Kyler A. Anderson
IPC分類
G06F12/123; G06F12/0891; G06F12/0893
技術(shù)領(lǐng)域
cache,scm,retention,minimum,dram,tracks,track,lru,in,time
地域: NY NY Armonk

摘要

An indication is received from a host application of a first minimum retention time in a cache comprising a first type of memory and a second type of memory for a first plurality of tracks, wherein the first minimum retention time is not indicated for a second plurality of tracks. Based on the first minimum retention time, a second minimum retention time is set for the first plurality of tracks for the first type of memory and a third minimum retention time is set for the first plurality of tracks for the second type of memory. A track of the first plurality of tracks is demoted from the first type of memory, in response to determining that the track is a least recently used (LRU) track in a LRU list of tracks in the first type of memory and the track has been in the first type of memory for a time that exceeds the second minimum retention time.

說明書

In a conventional least recently used (LRU) based cache management mechanism of a storage controller, a cache management application may add a track to the most recently used (MRU) end of a least recently used (LRU) list of tracks. The cache management application demotes a track from the cache, in response to determining that the track is a least recently used (LRU) track in a LRU list of tracks.

Certain applications may provide indications (i.e., hints) to the cache management application of the minimum amount of time that a track should remain in the cache, where the application is aware that the track is likely to access the track once again within the minimum amount of time. The minimum amount of time is referred to as the minimum retention time. As a result, caching operations in a storage controller takes account of hints provided by an application to retain certain tracks in cache for at least a minimum amount of time before demoting the tracks. If the minimum retention time is not specified by the application then the conventional LRU based cache management mechanism is employed.

In a two-tiered cache, if minimum retention time is adhered to strictly for all applications, then the two-tiered cache may become full of tracks that have minimum retention time and no track can be demoted. Certain embodiments provide mechanisms to prevent such a situation from occurring in a two-tiered cache, while at the same time ensuring that minimum retention time requirements are adhered to.

權(quán)利要求

1
微信群二維碼
意見反饋