Prioritizing and locking removed and subsequently reloaded cache lines
Abstract
A method for selecting a line to replace in an inclusive set-associative cache memory system which is based on a least recently used replacement policy but is enhanced to detect and give special treatment to the reloading of a line that has been recently cast out. A line which has been reloaded after having been recently cast out is assigned a special encoding which temporarily gives priority to the line in the cache so that it will not be selected for replacement in the usual least recently used replacement process. This method of line selection for replacement improves system performance by providing better hit rates in the cache hierarchy levels above, by ensuring that heavily used lines in the levels above are not aged out of the levels below due to lack of use.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 36.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for use in a computer system with a cache memory and a cache memory controller, said method comprising: detecting when cache lines that have been recently replaced in said cache memory are subsequently reloaded into said cache memory; and giving priority to said cache lines by said cache memory controller, so that while said cache lines have priority they are locked and cannot be selected for replacement on cache misses.
- Claim 2Depends on #1
The method in claim 1 , further comprising detecting, by the use of timestamps, cache lines that have been recently replaced in said cache memory and then subsequently reloaded.
- Claim 3Depends on #1
The method in claim 1 , further comprising detecting, by the use of a FIFO array containing the addresses of recently replaced cache lines, cache lines that have been recently replaced in said cache memory and then subsequently reloaded.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗