发明授权
- 专利标题: Programming means for dynamic specifications of cache management preferences
- 专利标题(中): 编程意味着缓存管理首选项的动态规范
-
申请号: US10425443申请日: 2003-04-28
-
公开(公告)号: US07039760B2公开(公告)日: 2006-05-02
- 发明人: Ravi Kumar Arimilli , John David McCalpin , Francis Patrick O'Connell , William John Starke
- 申请人: Ravi Kumar Arimilli , John David McCalpin , Francis Patrick O'Connell , William John Starke
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Duke W. Yee; Mark E. McBurney
- 主分类号: G06F12/00
- IPC分类号: G06F12/00
摘要:
A method and apparatus for managing cache lines in a data processing system. A special purpose register is employed in which this register may be manipulated by user code and operating system code to set preferences, such as a level 2 cache management policy preference for an application thread. These preferences may be dynamically set and an arbitration mechanism is employed to best satisfy preferences of multiple threads with a single aggregate preference. Members are represented using a least recently used tree. The least recent used tree has a set of nodes forming a path to member cache lines in a hierarchical structure. A state of a selected node is selectively biased within the set of nodes in the least recently used tree. At least one node on a level below the selected node is eliminated from being selected in managing the cache lines. In this manner, members can be biased against or for selection as victims when replacing cache lines in a cache memory.