ADAPTIVE CACHE PREFETCHING BASED ON COMPETING DEDICATED PREFETCH POLICIES IN DEDICATED CACHE SETS TO REDUCE CACHE POLLUTION
First Claim
1. An adaptive cache prefetch circuit for prefetching cache data into a cache, comprising:
- a miss tracking circuit configured to update at least one miss state based on a cache miss resulting from an accessed cache entry in;
at least one first dedicated cache set in a cache for which at least one first dedicated prefetch policy is applied, and at least one second dedicated cache set in the cache for which at least one second dedicated prefetch policy, different from the at least one first dedicated prefetch policy, is applied; and
a prefetch filter configured to select a prefetch policy from among the at least one first dedicated prefetch policy and the at least one second dedicated prefetch policy based on the at least one miss state of the miss tracking circuit.
1 Assignment
0 Petitions
Accused Products
Abstract
Adaptive cache prefetching based on competing dedicated prefetch policies in dedicated cache sets to reduce cache pollution is disclosed. In one aspect, an adaptive cache prefetch circuit is provided for prefetching data into a cache. The adaptive cache prefetch circuit is configured to determine which prefetch policy to use as a replacement policy based on competing dedicated prefetch policies applied to dedicated cache sets in the cache. Each dedicated cache set has an associated dedicated prefetch policy used as a replacement policy for the given dedicated cache set. Cache misses for accesses to each of the dedicated cache sets are tracked by the adaptive cache prefetch circuit. The adaptive cache prefetch circuit can be configured to apply a prefetch policy to the other follower (i.e., non-dedicated) cache sets in the cache using the dedicated prefetch policy that incurred fewer cache misses to its respective dedicated cache sets to reduce cache pollution.
-
Citations
29 Claims
-
1. An adaptive cache prefetch circuit for prefetching cache data into a cache, comprising:
-
a miss tracking circuit configured to update at least one miss state based on a cache miss resulting from an accessed cache entry in;
at least one first dedicated cache set in a cache for which at least one first dedicated prefetch policy is applied, and at least one second dedicated cache set in the cache for which at least one second dedicated prefetch policy, different from the at least one first dedicated prefetch policy, is applied; anda prefetch filter configured to select a prefetch policy from among the at least one first dedicated prefetch policy and the at least one second dedicated prefetch policy based on the at least one miss state of the miss tracking circuit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. An adaptive cache prefetch circuit for prefetching cache data into a cache, comprising:
-
a miss tracking means for updating at least one miss state means based on a cache miss resulting from an accessed cache entry in;
at least one first dedicated cache set in a cache for which at least one first dedicated prefetch policy is applied, and at least one second dedicated cache set in the cache for which at least one second dedicated prefetch policy, different from the at least one first dedicated prefetch policy, is applied; anda prefetch filter means for selecting a prefetch policy from among the at least one first dedicated prefetch policy and the at least one second dedicated prefetch policy based on the at least one miss state means of the miss tracking means.
-
-
20. A method of adaptive cache prefetching based on competing dedicated prefetch policies in dedicated cache sets, comprising:
-
receiving a memory access request comprising a memory address to be addressed in a cache; determining if the memory access request is a cache miss by determining if an accessed cache entry among a plurality of cache entries in the cache corresponding to the memory address, is contained in the cache; updating at least one miss state of a miss tracking circuit based on the cache miss resulting from the accessed cache entry in;
at least one first dedicated cache set in the cache for which at least one first dedicated prefetch policy is applied, and at least one second dedicated cache set in the cache for which at least one second dedicated prefetch policy, different from the at least one first dedicated prefetch policy, is applied;issuing a prefetch request to prefetch cache data into a cache entry in a follower cache set among a plurality of cache sets in the cache; selecting a prefetch policy from among the at least one first dedicated prefetch policy and the at least one second dedicated prefetch policy, to be applied to the prefetch request, based on the at least one miss state of the miss tracking circuit; and filling the prefetched cache data into the cache entry in the follower cache set based on the selected prefetch policy. - View Dependent Claims (21, 22, 23, 24, 25, 26)
-
-
27. A non-transitory computer-readable medium having stored thereon computer executable instructions to cause a processor-based adaptive cache prefetch circuit to prefetch cache data into a cache, by:
-
updating at least one miss state of a miss tracking circuit based on a cache miss resulting from an accessed cache entry in;
at least one first dedicated cache set in a cache for which at least one first dedicated prefetch policy is applied, and at least one second dedicated cache set in the cache for which at least one second dedicated prefetch policy, different from the at least one first dedicated prefetch policy, is applied; andselecting a prefetch policy from among the at least one first dedicated prefetch policy and the at least one second dedicated prefetch policy, to be applied in a prefetch request issued by a prefetch control circuit to cause the cache to be filled, based on the at least one miss state of the miss tracking circuit. - View Dependent Claims (28, 29)
-
Specification