发明名称 System and method for hierarchical approximation of least recently used replacement algorithms
摘要 A system for approximating a least recently used (LRU) algorithm for memory replacement in a cache memory. In one system example, the cache memory comprises memory blocks allocated into sets of N memory blocks. The N memory blocks are allocated as M super-ways of N/M memory blocks where N is greater than M. An index identifies the set of N memory blocks. A super-way hit/replacement tracking state machine tracks hits and replacements to each super-way and maintains state corresponding to an order of hits and replacements for each super-way where the super-ways are ordered from the MRU to the LRU. Storage for the state bits is associated with each index entry where the state bits include code bits associated with a memory block to be replaced within a LRU super-way. LRU logic is coupled to the super-way hit/replacement tracking state machine to select an LRU super-way as a function of the super-way hit and replacement history. Block selection logic then selects a memory block to be replaced within the LRU super-way as a function of predefined selection criteria.
申请公布号 US2004078526(A1) 申请公布日期 2004.04.22
申请号 US20020274766 申请日期 2002.10.21
申请人 SILICON GRAPHICS, INC. 发明人 ZHANG DAVID X.
分类号 G06F12/00;G06F12/12;(IPC1-7):G06F12/12 主分类号 G06F12/00
代理机构 代理人
主权项
地址