Shadow tag memory to monitor state of cachelines at different cache level
AssigneeAdvanced Micro Device, Inc.
InventorsSriram Srinivasan, William L. Walker
Life of this patent
Estimating the term…
Abstract
A processing system includes a plurality of processor cores and a plurality of private caches. Each private cache is associated with a corresponding processor core of the plurality of processor cores and includes a corresponding first set of cachelines. The processing system further includes a shared cache shared by the plurality of processor cores. The shared cache includes a second set of cachelines, and a shadow tag memory including a plurality of entries, each entry storing state information for a corresponding cacheline of the first set of cachelines of one of the private caches.
Claims22
A processing system comprising:
- a plurality of processor cores;
- a plurality of private caches, each private cache associated with a corresponding processor core of the plurality of processor cores and comprising a corresponding set of cachelines, the plurality of private caches configured to store coherency states for the cachelines of the corresponding sets of cachelines in accordance with a first set of coherency states;
- and
- a shared cache shared by the plurality of processor cores, the shared cache comprising:
- a second set of cachelines;
- and
- a shadow tag memory comprising a plurality of entries, each entry storing state and address information for a corresponding cacheline of the set of cachelines of one of the private caches, the shadow tag memory configured to store coherency states for the cachelines of the sets of cachelines of the plurality of private caches in accordance with a second set of coherency states, the second set of coherency states comprising a superset of the first set of coherency states, wherein the state information comprises coherency states for at least a subset of the cachelines of the plurality of private caches in accordance with the second set of coherency states.
A processing system comprising:
- a plurality of processor cores;
- a plurality of private caches, each private cache associated with a corresponding processor core of the plurality of processor cores and comprising a corresponding set of cachelines;
- and
- a shared cache shared by the plurality of processor cores, the shared cache comprising:
- a second set of cachelines:
- and
- a shadow tag memory comprising a plurality of entries, each entry storing state and address information for a corresponding cacheline of the set of cachelines of one of the private caches
- wherein:
- responsive to determining that a fill request for a private cache will result in eviction of a victim cacheline from the private cache, the private cache is to transmit to the shared cache a single request packet that identifies both the fill request to be performed and a victim request to store the victim cacheline that is to be evicted to the shared cache;
- and
- responsive to receiving the single request packet, the shared cache is to buffer the fill request in a fill request queue and to buffer the victim request in a victim request queue.
A method in a processing system including a plurality of private caches associated with a plurality of processor cores and a shared cache shared by the plurality of processor cores, the method comprising:
- maintaining, at the plurality of private caches, coherency information for cachelines stored at the plurality of private caches in accordance with a first set of coherency states;
- and
- maintaining, at a shadow tag memory of the shared cache, coherency information for the cachelines stored at the plurality of private caches in accordance with a second set of coherency states, the second set of coherency states comprising a superset of the first set of coherency states.
A processing system comprising:
- a plurality of private caches, each private cache private to a corresponding processor core of a set of processor cores, each of the private caches configured to store coherency states for cachelines of the corresponding private cache in accordance with a first set of coherency states;
- and
- a shared cache shared by the set of processor cores, wherein the shared cache is maintained as data exclusive relative to the plurality of private caches and tag inclusive relative to the plurality of private caches, wherein the shared cache comprises:
- a shadow tag memory that stores, in accordance with a second set of coherency states, state information representative of tag information stored by the plurality of private caches, the second set of coherency states comprising a superset of the first set of coherency states, wherein the state information comprises coherency states for at least a subset of the cachelines of the plurality of private caches.
Dependencies are inferred from the claim text.