System and method for implementing an adaptive replacement cache policy
AssigneeInternational Business Machines Corporation
InventorsNimrod Megiddo, Dharmendra Shantilal Modha
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsNimrod Megiddo, Dharmendra Shantilal Modha
Estimating the term…
An adaptive replacement cache policy dynamically maintains two lists of pages, a recency list and a frequency list, in addition to a cache directory. The policy keeps these two lists to roughly the same size, the cache size c. Together, the two lists remember twice the number of pages that would fit in the cache. At any time, the policy selects a variable number of the most recent pages to exclude from the two lists. The policy adaptively decides in response to an evolving workload how many top pages from each list to maintain in the cache at any given time. It achieves such online, on-the-fly adaptation by using a learning rule that allows the policy to track a workload quickly and effectively. This allows the policy to balance between recency and frequency in an online and self-tuning fashion, in response to evolving and possibly changing access patterns. The policy is also scan-resistant. It allows one-time-only sequential read requests to pass through the cache without flushing pages that have temporal locality. The policy is extremely simple to implement and requires only constant-time overhead per request. The policy has negligible space overhead.
A method for adaptively managing pages in a cache memory with a variable workload, comprising:
An apparatus for adaptively managing pages in a cache memory with a variable workload, comprising:
A computer program product that adaptively manages pages in a cache memory with a variable workload, comprising:
Dependencies are inferred from the claim text.