Cost-aware cache replacement
Abstract
Systems and methods relate to cost-aware cache management policies. In a cost-aware least recently used (LRU) replacement policy, temporal locality as well as miss cost is taken into account in selecting a cache line for replacement, wherein the miss cost is based on an associated operation type including instruction cache read, data cache read, data cache write, prefetch, and write back. In a cost-aware dynamic re-reference interval prediction (DRRIP) based cache management policy, miss costs associated with operation types pertaining to a cache line are considered for assigning re-reference interval prediction values (RRPV) for inserting the cache line, pursuant to a cache miss and for updating the RRPV upon a hit for the cache line. The operation types comprise instruction cache access, data cache access, prefetch, and write back. These policies improve victim selection, while minimizing cache thrashing and scans.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 0.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method of cache management, the method comprising: identifying a number of least recently used cache lines in a cache; determining miss costs associated with the identified number of least recently used cache lines; and replacing a cache line with a lowest miss cost among the identified number of least recently used cache lines, wherein the miss costs are based on an operation type associated with the cache lines, the operation types in order of highest to lowest cost being instruction cache read, data cache read, data cache write, prefetch, and write back.
- Claim 2Depends on #1
The method of claim 1 , wherein the number of least recently used cache lines belong to multiple ways of a set of the cache.
- Claim 3Depends on #2
The method of claim 2 , comprising recording an order of use of the cache lines of the multiple ways in a least rec
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (10)
Non-Patent Literature (5)
- CAROLE-JEAN WU, MARGARET R MARTONOSI: "Dynamic Techniques for Mitigating Inter- and Intra-Application Cache Interference", PRINCETON UNIVERSITY, 1 January 2012 (2012-01-01), XP055407403, ISBN: 978-1-267-54591-6, Retrieved from the Internet <URL:https://media.proquest.com/media/pq/classic/doc/2762779
- International Search Report and Written Opinion—PCT/US2017/023163—ISA/EPO—dated Sep. 27, 2017.
- Jaleel A., et al., “High Performance Cache Replacement Using Re-Reference Interval Prediction (RRIP)”, ISCA'10, Saint-Malo, France, Jun. 19-23, 2010, 12 pages.
- MOINUDDIN K. QURESHI ET AL: "A Case for MLP-Aware Cache Replacement", ACM SIGARCH COMPUTER ARCHITECTURE NEWS, ACM SPECIAL INTEREST GROUP ON COMPUTER ARCHITECTURE, 2 PENN PLAZA, SUITE 701 NEW YORK NY 10121-0701 USA, vol. 34, no. 2, 1 May 2006 (2006-05-01), NY, USA, pages 167 - 178, XP058160560, ISSN:
- Qureshi MK., et al., "A Case for MLP-Aware Cache Replacement," ACM Sigarch Computer Architecture News, ACM Special Interest Group on Computer Architecture, 2 Penn Plaza, Suite 701, New York, NY 10121-0701, USA, vol. 34, No. 2, May 1, 2006 (May 1, 2006), pp. 167-178, XP058160560, ISSN: 0163-5964. DOI