Method and apparatus for computer disk cache management
Abstract
A computer disk cache management method and apparatus which employs a least-recently-used with aging method to determine a best candidate for replacement as a result of a cache miss. A hash function takes as its input a block number and outputs a hash index into a hash table of pointers. Each pointer in the hash table points to a doubly-linked list of headers, with each header having a bit map wherein the bits contained in the map identify whether a particular block of data is contained within the cache. An ordered binary tree (heap) identifies candidates for replacement such that the best candidate for replacement is located at the root of the heap. After every access to a cache line, the heap is locally reorganized based upon a frequency of use and an age of the cache line, such that the least-frequently-used and/or oldest cache line is at the root of the heap.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 261.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus for managing a computer disk cache comprising: means for determining, in response to a request from an external source to access a block of data, whether a block of data is contained within said computer disk cache; means for ascertaining, in response to a cache miss, a best candidate for replacement wherein said ascertaining means includes: a an ordered list of candidates for replacement wherein said ordered list is a heap having the best candidate for replacement at a top of the heap and wherein the order of the candidates for replacement is defined by a frequency-of-use of th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 261 total)
References Cited — Backward Prior Art (20)
Non-Patent Literature (4)
- A. Hospodor, "Hit Ratio of Caching Disk Buffers", COMPCON (Spring 1992) pp. 427-432.
- A. Hospodor, Hit Ratio of Caching Disk Buffers , COMPCON (Spring 1992) pp. 427 432.
- J.T. Robinson et al, "Data Cache Management Using Frequency-Based Replacement", Performance Evaluation Review, vol. 18, No. 1, May 1990, pp. 134-142.
- J.T. Robinson et al, Data Cache Management Using Frequency Based Replacement , Performance Evaluation Review, vol. 18, No. 1, May 1990, pp. 134 142.