Counter-based victim selection in a cache memory
Abstract
A set-associative cache memory includes a plurality of congruence classes each including multiple entries for storing cache lines of data. A respective one of a plurality of counters is maintained for each cache line stored in the multiple entries. In response to a memory access request, the cache memory selects a victim cache line stored in a particular entry of a particular congruence class for eviction from the cache memory by reference to at least a counter value of the victim cache line. The cache memory also receives a new cache line of data for insertion into the particular entry and an indication of a distance from the cache memory to a data source from which the cache memory received the new cache line. The cache memory installs the new cache line in the particular entry and sets an initial counter value of the counter for the new cache line based on the received indication of the distance.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method in a data processing system, the method comprising: in a set-associative cache memory having a plurality of congruence classes each including multiple entries for storing cache lines of data, maintaining a respective one of a plurality of counters for each cache line stored in the multiple entries; in response to a memory access request that misses in the cache memory: the cache memory selecting a victim cache line stored in a particular entry of a particular congruence class for eviction from the cache memory by reference to at least a counter value of the victim cache line; the cach
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (25)
Non-Patent Literature (5)
- Drerup et al. "Counter-based Victim Selection in a Cache Memory", U.S. Appl. No. 15/288,741, filed Oct. 7, 2016. Notice of Allowance dated Mar. 30, 2017.
- Drerup et al. "Counter-based Victim Selection in a Cache Memory", U.S. Appl. No. 15/288,792, filed Oct. 7, 2016. Non-Final Office Action dated Mar. 10, 2017.
- Drerup et al. "Counter-based Victim Selection in a Cache Memory", U.S. Appl. No. 15/288,815, filed Oct. 7, 2016. Non-Final Office Action dated Mar. 9, 2017.
- Drerup et al. "Counter-based Victim Selection in a Cache Memory",U.S. Appl. No. 15/288,741, filed Oct. 7, 2016. Non-Final Office Action dated Dec. 14, 2016.
- Drerup et al. "Hybrid Replacement Policy in a Multilevel Cache Memory Hierarchy", U.S. Appl. No. 15/333,681, filed Oct. 25, 2016. Non-Final Office Action dated Feb. 23, 2017.