US 12,093,181 B2
Allocation control for cache
Chintan S. Patel, Santa Clara, CA (US); Alexander J. Branover, Boxborough, MA (US); Benjamin Tsien, Santa Clara, CA (US); Edgar Munoz, Austin, TX (US); and Vydhyanathan Kalyanasundharam, Santa Clara, CA (US)
Assigned to Advanced Micro Devices, Inc., Santa Clara, CA (US)
Filed by Advanced Micro Devices, Inc., Santa Clara, CA (US)
Filed on Jun. 28, 2022, as Appl. No. 17/852,296.
Prior Publication US 2023/0418753 A1, Dec. 28, 2023
Int. Cl. G06F 12/08 (2016.01); G06F 12/0811 (2016.01); G06F 12/0864 (2016.01); G06F 12/0871 (2016.01)
CPC G06F 12/0871 (2013.01) [G06F 12/0811 (2013.01); G06F 12/0864 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for operating a cache for a device, the method comprising:
based on a workload change, identifying a first allocation permissions policy, the workload change comprising a change from a first workload to a second workload, the first workload comprising one or more executing applications and one or more active clients and the second workload comprising one or more executing applications and one or more active clients;
operating the cache according to the first allocation permissions policy, wherein the first allocation permissions policy indicates which clients of a set of clients are permitted to allocate into the cache, wherein the allocating includes, in response to a miss for a request, assigning an entry of the cache to store data for the request;
based on set sampling, identifying a second allocation permissions policy; and operating the cache according to the second allocation permissions policy.