Invention Grant
US07958311B2 Cache line replacement techniques allowing choice of LFU or MFU cache line replacement
有权
缓存线替换技术允许选择LFU或MFU缓存线替换
- Patent Title: Cache line replacement techniques allowing choice of LFU or MFU cache line replacement
- Patent Title (中): 缓存线替换技术允许选择LFU或MFU缓存线替换
-
Application No.: US12130278Application Date: 2008-05-30
-
Publication No.: US07958311B2Publication Date: 2011-06-07
- Inventor: Richard Edward Matick , Jaime H. Moreno , Malcolm Scott Ware
- Applicant: Richard Edward Matick , Jaime H. Moreno , Malcolm Scott Ware
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Ryan, Mason & Lewis, LLP
- Main IPC: G06F12/12
- IPC: G06F12/12

Abstract:
Methods and apparatus allowing a choice of Least Frequently Used (LFU) or Most Frequently Used (MFU) cache line replacement are disclosed. The methods and apparatus determine new state information for at least two given cache lines of a number of cache lines in a cache, the new state information based at least in part on prior state information for the at least two given cache lines. Additionally, when an access miss occurs in one of the at least two given lines, the methods and apparatus (1) select either LFU or MFU replacement criteria, and (2) replace one of the at least two given cache lines based on the new state information and the selected replacement criteria. Additionally, a cache for replacing MFU cache lines is disclosed. The cache additionally comprises MFU circuitry (1) adapted to produce new state information for the at least two given cache lines in response to an access to one of the at least two given cache lines, and (2) when a cache miss occurs in one of the at least two given cache lines, adapted to determine, based on the new state information, which of the at least two given cache lines is the most frequently used cache line.
Public/Granted literature
- US20090031084A1 CACHE LINE REPLACEMENT TECHNIQUES ALLOWING CHOICE OF LFU OR MFU CACHE LINE REPLACEMENT Public/Granted day:2009-01-29
Information query