Method and apparatus for adaptively bypassing one or more levels of a cache hierarchy
AssigneeHewlett-Packard Development Company, L.P.
InventorSimon C. Steely, Jr.
Life of this patent
Estimating the term…
Loading patent…
AssigneeHewlett-Packard Development Company, L.P.
InventorSimon C. Steely, Jr.
Estimating the term…
A system for adaptively bypassing one or more higher cache levels following a miss in a lower level of a cache hierarchy is described. Each cache level preferably includes a tag store containing address and state information for each cache line resident in the respective cache. When an invalidate request is received at a given cache hierarchy, each cache level is searched for the address specified by the invalidate request. When an address match is detected, the state of the respective cache line is changed to the invalid state, although the address of the cache line is left in the tag store. Thereafter, if the processor or entity associated with this cache hierarchy issues its own request for this same cache line, the cache hierarchy begins searching the tag store of each level starting with the lowest cache level. Since the address of the invalidated cache line was left in the respective tag store, a match will be detected at one of the cache levels, although the corresponding state of this cache line is invalid. This condition is specifically detected and is considered to be an “inval_miss” occurrence. In response, to an inval_miss, the cache hierarchy calls off searching any higher levels, and instead, issues a memory reference request for the desired cache line. In a further embodiment, the entity that sourced an invalidate request is stored, and a subsequent memory reference request for the same cache line is sent directly to the source entity.
A method for use in a cache hierarchy including at least two cache levels organized as a lower cache level and a higher cache level, each cache level configured to store one or more cache lines, the method comprising the steps of:
A method for use in a cache hierarchy including at least one cache level, the at least one cache level configured to store one or more cache lines, the method comprising the steps of:
A cache hierarchy comprising:
Dependencies are inferred from the claim text.