Patent ID: 9569367
Date: 2017-02-14
CPC Classifications: G06F

Claim:
1. A computer-implemented method for improving cache utilization, the method comprising: in response to receiving a request to store data, storing the data in one of a plurality of cache slots of a cache; after storing the data, setting a status of the cache slot as write pending (WP) to indicate that the cache slot contains data which needs to be written to a corresponding destination storage device; determining an eviction type of the cached data based on whether the destination storage device is a local storage device or a remote storage device, wherein the eviction type includes one of a normal eviction type and an immediate eviction type, and the eviction type is determined to be an immediate eviction type if the destination storage device is a remote storage device; after copying data from the cache slot to the corresponding destination storage device, marking the cache slot with the determined eviction type; and in response to receiving another request to store data, evicting at least one of the cache slots according to an eviction schedule determined based on the corresponding eviction type, wherein a cache slot with the immediate type is evicted prior to a cache slot with the normal eviction type.