发明授权
US06490655B1 Data processing apparatus and method for cache line replacement responsive to the operational state of memory
有权
响应于存储器的操作状态的高速缓存行替换的数据处理装置和方法
- 专利标题: Data processing apparatus and method for cache line replacement responsive to the operational state of memory
- 专利标题(中): 响应于存储器的操作状态的高速缓存行替换的数据处理装置和方法
-
申请号: US09394424申请日: 1999-09-13
-
公开(公告)号: US06490655B1公开(公告)日: 2002-12-03
- 发明人: Daniel Kershaw
- 申请人: Daniel Kershaw
- 优先权: GB9901140 19990119
- 主分类号: G06F1200
- IPC分类号: G06F1200
摘要:
A data processing system 2 is described including a cache memory 8 and a plurality of DRAM banks 16, 18, 20, 22. A victim select circuit 32 within a cache controller 10 selects victim cache storage lines 28 upon a cache miss such that unlocked cache storage lines are selected in preference to locked cache storage lines, non-dirty cache storage lines are selected in preference to dirty cache storage lines, and cache storage lines requiring a write back to a non-busy DRAM bank are selected in preference to cached storage lines requiring a write back to a busy DRAM storage bank. A DRAM controller 24 is provided that continuously performs a background processing operation whereby dirty cache storage lines 28 within a cache memory 8 are written back to their respective DRAM banks 16, 18, 20, 22 when these are not busy performing other operations and when the cache storage line has a least recently used value below a certain threshold. A bus arbitration circuit 12 is provided that re-arbitrates bus master priorities in dependence upon determined latencies for respective memory access requests. As an example, if a high priority memory access request results a cache miss, with a lower priority memory access request resulting in a cache hit, then the lower priority memory access request will be re-arbitrated to be performed ahead of the normally higher priority memory access request and may be finished before that higher priority memory access request starts to return data words to a data bus 14.
信息查询