发明名称 Method for programmer-controlled cache line eviction policy
摘要 A method and apparatus to enable programmatic control of cache line eviction policies. A mechanism is provided that enables programmers to mark portions of code with different cache priority levels based on anticipated or measured access patterns for those code portions. Corresponding cues to assist in effecting the cache eviction policies associated with given priority levels are embedded in machine code generated from source- and/or assembly-level code. Cache architectures are provided that partition cache space into multiple pools, each pool being assigned a different priority. In response to execution of a memory access instruction, an appropriate cache pool is selected and searched based on information contained in the instruction's cue. On a cache miss, a cache line is selected from that pool to be evicted using a cache eviction policy associated with the pool. Implementations of the mechanism or described for both n-way set associative caches and fully-associative caches.
申请公布号 US2006143396(A1) 申请公布日期 2006.06.29
申请号 US20040027444 申请日期 2004.12.29
申请人 CABOT MASON 发明人 CABOT MASON
分类号 G06F12/00 主分类号 G06F12/00
代理机构 代理人
主权项
地址