Invention Grant
- Patent Title: Counter-based victim selection in a cache memory
-
Application No.: US15288792Application Date: 2016-10-07
-
Publication No.: US09940239B1Publication Date: 2018-04-10
- Inventor: Bernard C. Drerup , Ram Raghavan , Sahil Sabharwal , Jeffrey A. Stuecheli
- Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Brian F. Russell; Robert Williams
- Main IPC: G06F12/08
- IPC: G06F12/08 ; G06F12/12 ; G06F12/0864 ; G06F12/128

Abstract:
A set-associative cache memory includes a bank of counters including a respective one of a plurality of counters for each cache line stored in a plurality of congruence classes of the cache memory. Prior to receiving a memory access request that maps to a particular congruence class of the cache memory, the cache memory pre-selects a first victim cache line stored in a particular entry of a particular congruence class for eviction based on at least a counter value of the victim cache line. In response to receiving a memory access request that maps to the particular congruence class and that misses, the cache memory evicts the pre-selected first victim cache line from the particular entry, installs a new cache line in the particular entry, and pre-selects a second victim cache line from the particular congruence class based on at least a counter value of the second victim cache line.
Public/Granted literature
- US20180101476A1 COUNTER-BASED VICTIM SELECTION IN A CACHE MEMORY Public/Granted day:2018-04-12
Information query