发明申请
- 专利标题: Cache Management Through Delayed Writeback
- 专利标题(中): 缓存管理通过延迟回写
-
申请号: US12478555申请日: 2009-06-04
-
公开(公告)号: US20100312970A1公开(公告)日: 2010-12-09
- 发明人: Gordon B. Bell , Anil Krishna , Brian M. Rogers , Ken V. Vu
- 申请人: Gordon B. Bell , Anil Krishna , Brian M. Rogers , Ken V. Vu
- 申请人地址: US NY Armonk
- 专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人地址: US NY Armonk
- 主分类号: G06F12/08
- IPC分类号: G06F12/08 ; G06F12/00
摘要:
The illustrative embodiments provide a method, apparatus, and computer program product for managing a number of cache lines in a cache. In one illustrative embodiment, it is determined whether activity on a memory bus in communication with the cache exceeds a threshold activity level. A least important cache line is located in the cache responsive to a determination that the threshold activity level is exceeded, wherein the least important cache line is located using a cache replacement scheme. It is determined whether the least important cache line is clean responsive to the determination that the threshold activity level is exceeded. The least important cache line is selected for replacement in the cache responsive to a determination that the least important cache line is clean. A clean cache line is located within a subset of the number of cache lines and selecting the clean cache line for replacement responsive to an absence of a determination that the least important cache line is not clean, wherein the each cache line in the subset is examined in ascending order of importance according to the cache replacement scheme.
公开/授权文献
- US08140767B2 Cache management through delayed writeback 公开/授权日:2012-03-20