发明名称 Method and apparatus for facilitating flow control during accesses to cache memory
摘要 One embodiment of the present invention provides a system that facilitates flow control to support pipelined accesses to a cache memory. When an access to the cache memory generates a miss, the system increments a number of outstanding misses that are currently in process for a set in the cache to which the miss is directed. If the number of outstanding misses is greater than or equal to a threshold value, the system stalls generation of subsequent accesses to the cache memory until the number of outstanding misses for each set in the cache memory falls below the threshold value. Upon receiving a cache line from a memory subsystem in response to an outstanding miss, the system identifies a set that the outstanding miss is directed to. The system then installs the cache line in an entry associated with the set. The system also decrements a number of outstanding misses that are currently in process for the set. If the number of outstanding misses falls below the threshold value as a result of decrementing, and if no other set has a number of outstanding misses that is greater than or equal to the threshold value, the system removes the stall condition so that subsequent accesses can be generated for the cache memory.
申请公布号 US6754775(B2) 申请公布日期 2004.06.22
申请号 US20020161794 申请日期 2002.06.04
申请人 SUN MICROSYSTEMS, INC. 发明人 CHAUDHRY SHAILENDER;TREMBLAY MARC
分类号 G06F12/08;(IPC1-7):G06F12/00 主分类号 G06F12/08
代理机构 代理人
主权项
地址