白丝美女被狂躁免费视频网站,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.

說明書

FIG. 8 illustrates a flowchart that shows the demote process for a track in the DRAM cache 112 as performed by a cache management application 116, in accordance with certain embodiments. The operations shown in FIG. 8 improve the performance of the storage controller 102 by reducing cache misses should there be indications of minimum retention time for certain tracks in the DRAM cache 112.

Control starts at block 802 in which the cache management application 116 starts evaluating the track at the LRU end of the LRU list 118 for potential demotion from the DRAM cache 112. Control proceeds to block 804 in which the cache management application 116 determines whether the track has a minimum retention time. If not (“No” branch 806), then the cache management application 116 demotes (at block 808) the track from the DRAM cache 112.

If at block 804 the cache management application 116 determines that the track has a minimum retention time (“Yes” branch 810) then control proceeds to block 812 in which the cache management application 116 determines whether the difference of the current time from the timestamp of the track is greater than the minimum retention time of the track (i.e., whether the track has been in the DRAM cache for a time that exceeds the minimum retention time). If so (“Yes” branch 814) then the track is demoted (at block 816) and the cache management application 116 decrements (i.e., subtracts the number 1) the number of minimum retention time tracks in the DRAM cache 112 (at block 818).

權(quán)利要求

1
微信群二維碼
意見反饋