Method and apparatus for incorporating cache line replacement and cache write policy information into tag directories in a cache system
Abstract
A method and apparatus for incorporating cache line replacement and cache write policy information into the tag directories in a cache system. In a 2 way set-associative cache, one bit in each way's tag RAM is reserved for LRU information, and the bits are manipulated such that the Exclusive-OR of each way's bits points to the actual LRU cache way. Since all of these bits must be read when the cache controller determines whether a hit or miss has occurred, the bits are available when a cache miss occurs and a cache line replacement is required. The method can be generalized to caches which include a number of ways greater than two by using a pseudo-LRU algorithm and utilizing group select bits in each of the ways to distinguish between least recently used groups. Cache write policy information is stored in the tag RAM's to designate various memory areas as write-back or write-through. In this manner, system memory situated on an I/O bus which does not recognize inhibit cycles can have its data cached.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 2.
Claims (1)
- Claim 1Independent Claim
A method for incorporating cache line replacement information into tag memory in a cache subsystem organized as a multiple way cache which includes first and second ways, the cache subsystem having a cache controller and tag memory associated with each of the cache ways, the tag memory including a plurality of tag entries, wherein tag entries in tag memory associated with the first way correspond to tag entries in tag memory associated with the second way and each of the tag entries includes cache line replacement information comprising a replacement bit having either of two opposite value, th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (9)
| Patent | Title | Year | Citations |
|---|---|---|---|
| JP 5,155,824 B2 | 排気浄化装置 | 2013 | 0 |
Non-Patent Literature (5)
- James Archibald and Jean Loup Baier, An Evaluation of Cache Coherence Solutions in Shared Bus Multiprocessors, Oct. 18, 1985, pp. 1 32.
- James Archibald and Jean-Loup Baier, "An Evaluation of Cache Coherence Solutions in Shared-Bus Multiprocessors," Oct. 18, 1985, pp. 1-32.
- James R. Goodman, "Using Cache Memory to Reduce Processor-Memory Traffic," 1983, pp. 124-131.
- James R. Goodman, Using Cache Memory to Reduce Processor Memory Traffic, 1983, pp. 124 131.
- Paul Sweazey and Alan Jay Smith, "A Class of Compatible Cache Consistency Protocols and their Support by the IEEE Futurebus," 13th International Symposium on Computer Architecture 1986, pp. 414-423.