Patents
US 6,996,676 B2#257148 Most CitedExpiredUnited States (USPTO)Utility

System and method for implementing an adaptive replacement cache policy

96Forward Citations (#257148 Global)
4.8/yrCitation Velocity (#305850 Global)
19.03Citation PageRank (#362671 Global)
11Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

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.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 96.

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method for adaptively managing pages in a cache memory with a variable workload, comprising: maintaining the cache memory into a first list L 1 and a second list L 2 ; wherein the cache memory has a capacity to store c pages; adaptively distributing the workload between the first list L 1 and the second list L 2 , to a total capacity of c pages; and wherein maintaining the cache memory comprises dividing the first list L 1 into two list portions T 1 and B 1 .

  2. Claim 2Depends on #1

    The method of claim 1 , wherein adaptively distributing the workload comprises adaptively varying the sizes of the two list portions T 1 and B 1 .

  3. Claim 3Depends on #2

    The method of claim 2 , wherein maintaining the cache memory further comprises dividing the second list L 2 into two list portions T 2 and B 2 .

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • "Least-Recently-Used-Page-Replacement Algorithm For Cache Memories," IBM Technical Disclosure Bulletin, vol. 25 No. 3A, Aug. 1982.
  • D. Lee et al., "LRFU: A Spectrum of Policies that Subsumes the Least Recently Used and Least Frequently Used Policies," IEEE Transactions On Computers, vol. 50, No. 12, Dec. 2001.
  • E. O'Neil et al., "An Optimality Proof of the LRU-K Page Replacement Algorithm," Journal of the ACM, vol. 46, No. 1, Jan. 1999, pp. 92-112.
  • F. Mounes et al. ,"The Effect of Using State-Based Priority In formation in a Shared-Memory Multiprocessor Cache Replacement Policy," Technical Report No: HPPC-97-11, Nov. 1997.
  • J. Choi et al., "Design, Implementation, and Performance Evaluation of a Detection-Based Adaptive Block Replacement Scheme," IEEE Transactions On Computers, vol. 51, No. 7, Jul. 2002.