Cache control to reduce transaction roll back
AssigneeNVIDIA Corporation
InventorMeng-Bing Yu
Life of this patent
Estimating the term…
Abstract
In one embodiment, a microprocessor is provided. The microprocessor includes a cache that is controlled by a cache controller. The cache controller is configured to replace cachelines in the cache based on a replacement scheme that prioritizes the replacement of cachelines that are less likely to cause roll back of a transaction of the microprocessor.
Claims20
A microprocessing system comprising:
- a cache comprising:
- a plurality of cachelines each being characterized by a replacement priority level selected from a plurality of replacement priority levels;
- and
- a cache controller configured to (1) select a least-recently-used cacheline of the plurality of cachelines having a highest available replacement priority level, and (2) replace the least-recently-used cacheline having the highest available replacement priority level according to a replacement scheme.
Within a microprocessing system, a method for controlling a cache comprising a plurality of cachelines, each of the plurality of cachelines being characterized by a replacement priority level selected from a plurality of replacement priority levels, the method comprising:
- selecting a least-recently-used cacheline in the cache having a highest available replacement priority level;
- and
- replacing the least-recently-used cacheline having the highest available replacement priority level according to a replacement scheme.
A microprocessing system comprising:
- a L1 instruction cache;
- a L1 data cache;
- a unified set-associative L2 cache comprising:
- a plurality of cacheline sets comprising a plurality of cachelines, each of the plurality of cachelines being characterized by a replacement priority level selected from a plurality of replacement priority levels;
- and
- a cache controller configured to (1) select a least-recently-used cacheline in a designated cacheline set of the plurality of cacheline sets having a highest available replacement priority level, (2) replace the least-recently-used cacheline having the highest available replacement priority level according to a replacement scheme.
Dependencies are inferred from the claim text.