发明名称 Demoting tracks from a first cache to a second cache by using an occupancy of valid tracks in strides in the second cache to consolidate strides in the second cache
摘要 Information is maintained on strides configured in a second cache and occupancy counts for the strides indicating an extent to which the strides are populated with valid tracks and invalid tracks. A determination is made of tracks to demote from a first cache. A first stride is formed including the determined tracks to demote. The tracks from the first stride are to a second stride in the second cache having an occupancy count indicating the stride is empty. A determination is made of a target stride in the second cache based on the occupancy counts of the strides in the second cache. A determination is made of at least two source strides in the second cache having valid tracks based on the occupancy counts of the strides in the second cache. The target stride is populated with the valid tracks from the source strides.
申请公布号 US8825957(B2) 申请公布日期 2014.09.02
申请号 US201213352224 申请日期 2012.01.17
申请人 International Business Machines Corporation 发明人 Benhase Michael T.;Gupta Lokesh M.
分类号 G06F12/00;G06F13/00;G06F13/28 主分类号 G06F12/00
代理机构 Konrad Raynes Dadva & Victor LLP 代理人 Victor David W.;Konrad Raynes Dadva & Victor LLP
主权项 1. A computer program product for managing data in a computer readable cache system comprising a first cache, a second cache, and a storage system, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that executes to perform operations, the operations comprising: maintaining information on strides configured in the second cache and occupancy counts for the strides indicating an extent to which the strides are populated with valid tracks and invalid tracks, wherein a stride having no valid tracks is empty, wherein the strides comprise data strides populated with tracks of data, and wherein the tracks are maintained in the storage system; determining tracks to demote from the first cache, wherein the first cache comprises a dynamic random access memory (DRAM) and wherein the second cache comprises n solid state storage devices; forming a first stride including the determined tracks to demote; stripping the first stride of tracks from the first cache across the n solid state storage devices to form a second stride in the second cache having an occupancy count indicating the stride is empty, wherein the first cache stores tracks comprising modified or unmodified data and sequential or non-sequential data, and wherein tracks formed in strides in the first cache to promote to the second cache comprise unmodified non-sequential data; determining a target stride in the second cache based on the occupancy counts of the strides in the second cache; determining at least two source strides in the second cache having valid tracks based on the occupancy counts of the strides in the second cache; and populating the target stride with the valid tracks from the source strides.
地址 Armonk NY US