发明名称 METHOD AND APPARATUS FOR REPLACING CACHE LINES IN A CACHE MEMORY
摘要 A cache memory replacement algorithm replaces cache lines based on the likelihood that cache lines will not be needed soon. A cache memory in accordance with the present invention includes a plurality of cache lines that are accessed associatively, with a count entry associated with each cache line storing a count value that defines a replacement class. The count entry is typically loaded with a count value when the cache line is accessed, with the count value indicating the likelihood that the contents of cache lines will be needed soon. In other words, data which is likely to be needed soon is assigned a higher replacement class, while data that is more speculative and less likely to be needed soon is assigned a lower replacement class. When the cache memory becomes full, the replacement algorithm selects for replacement those cache lines having the lowest replacement class. Accordingly, the cache lines selected for replacement contain the most speculative data in the cache that is least likely to be needed soon.
申请公布号 US2001001873(A1) 申请公布日期 2001.05.24
申请号 US19980127491 申请日期 1998.07.31
申请人 HEWLETT-PACKARD COMPANY 发明人 WICKERAAD JOHN A.;LYLE STEPHEN B.;VOGE BRENDAN
分类号 G06F1/00;G06F12/08;G06F12/12;G06F21/00;(IPC1-7):G06F12/08 主分类号 G06F1/00
代理机构 代理人
主权项
地址