hottub.patents
US 12,711,071 B2#3162655 Most CitedActiveUnited States (USPTO)Utility

Allocation control for cache

0Forward Citations (#3162655 Global)
0.0/yrCitation Velocity (#3162655 Global)
0.00Citation PageRank (#3162655 Global)
12Prior Art Cited
20Claims (3 Indep. · 17 Dep.)
3Drawings / Sheets

Abstract

A technique for operating a cache is disclosed. The technique includes based on a workload change, identifying a first allocation permissions policy; operating the cache according to the first allocation permissions policy; based on set sampling, identifying a second allocation permissions policy; and operating the cache according to the second allocation permissions policy.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 0.

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    A method comprising: performing caching operations, by a last level cache, for a plurality of clients connected via an interconnect to the last level cache; based on a workload change, changing a first allocation policy for the last level cache to generate an updated first allocation policy that indicates which clients of the plurality of clients are permitted to allocate into the last level cache, wherein the updated first allocation policy reduces cache thrashing associated with contention among the plurality of clients as compared with the first allocation policy; and operating the last level cache according to the updated first allocation policy.

  2. Claim 2Depends on #1

    The method of claim 1, wherein the workload changes comprises changing from a first workload to a second workload, wherein the first workload includes a first set of executing applications and active clients, and the second workload includes a second set of executing applications and active clients.

  3. Claim 3Depends on #1

    The method of claim 1, further comprising determining the updated first allocation policy based on aspects of execution observed for the workload change.

  4. Claim 4Depends on #1

    The method of claim 1, further comprising determining the updated first allocation policy using a set sampling technique.

  5. Claim 5Depends on #4

    The method of claim 4, wherein the set sampling technique comprises observing performance of different allocation policies in different sets of the last level cache.

  6. Claim 6Depends on #5

    The method of claim 5, wherein the different sets are cache associativity sets.

  7. Claim 7Depends on #1

    The method of claim 1, wherein the first allocation policy and the first updated allocation policy indicate which clients are permitted to allocate entries in the last level cache and which clients are not permitted to allocate entries in the last level cache.

  8. Claim 8Depends on #7

    The method of claim 7, where the allocating includes, in response to a miss in the last level cache for an access request from a client, assigning an entry of the last level cache to store data for the request.

  9. Claim 9Depends on #1

    The method of claim 1, wherein the performing the caching operations includes allocating entries into the last level cache based on the first allocation policy.

  10. Claim 10Independent Claim

    A system comprising: a last level cache configured to perform caching operations for a plurality of clients connected via an interconnect to the last level cache; and a cache controller configured to: based on a workload change, change a first allocation policy for the last level cache to generate an updated first allocation policy that indicates which clients of the plurality of clients are permitted to allocate into the last level cache, wherein the updated first allocation policy reduces cache thrashing associated with contention among the plurality of clients as compared with the first allocation policy; and cause the last level cache to operate according to the updated first allocation policy.

  11. Claim 11Depends on #10

    The system of claim 10, wherein the workload changes comprises changing from a first workload to a second workload, wherein the first workload includes a first set of executing applications and active clients, and the second workload includes a second set of executing applications and active clients.

  12. Claim 12Depends on #10

    The system of claim 10, wherein the cache controller is further configured to determine the updated first allocation policy based on aspects of execution observed for the workload change.

  13. Claim 13Depends on #10

    The system of claim 10, wherein the cache controller is further configured to determine the updated first allocation policy using a set sampling technique.

  14. Claim 14Depends on #13

    The system of claim 13, wherein the set sampling technique comprises observing performance of different allocation policies in different sets of the last level cache.

  15. Claim 15Depends on #14

    The system of claim 14, wherein the different sets are cache associativity sets.

  16. Claim 16Depends on #10

    The system of claim 10, wherein the first allocation policy and the first updated allocation policy indicate which clients are permitted to allocate entries in the last level cache and which clients are not permitted to allocate entries in the last level cache.

  17. Claim 17Depends on #16

    The system of claim 16, where the allocating includes, in response to a miss in the last level cache for an access request from a client, assigning an entry of the last level cache to store data for the request.

  18. Claim 18Depends on #10

    The system of claim 10, wherein the performing the caching operations includes allocating entries into the last level cache based on the first allocation policy.

  19. Claim 19Independent Claim

    A system comprising: a plurality of clients; a last level cache configured to perform caching operations for the plurality of clients connected via an interconnect to the last level cache; and a cache controller configured to: based on a workload change, change a first allocation policy for the last level cache to generate an updated first allocation policy that indicates which clients of the plurality of clients are permitted to allocate into the last level cache, wherein the updated first allocation policy reduces cache thrashing associated with contention among the plurality of clients as compared with the first allocation policy; and cause the last level cache to operate according to the updated first allocation policy.

  20. Claim 20Depends on #19

    The system of claim 19, wherein the workload changes comprises changing from a first workload to a second workload, wherein the first workload includes a first set of executing applications and active clients, and the second workload includes a second set of executing applications and active clients.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a Continuation of U.S. patent application Ser. No. 17/852,296, filed on Jun. 28, 2022, the entirety of which is hereby incorporated herein by reference. BACKGROUND Caches improve performance by storing copies of data considered likely to be accessed again in the future into a low latency cache memory. Improvements to cache technologies are constantly being made. BRIEF DESCRIPTION OF THE DRAWINGS A more detailed understanding can be had from the following description, given by way of example in conjunction with the accompanying drawings wherein: FIG. 1 is a block diagram of an example computing device in which one or more features of the disclosure can be implemented; FIG. 2 illustrates elements of the device associated with the last level cache, according to an example; FIG. 3 illustrates a set sampling operation, according to an example; FIG. 4 illustrates operation of the system, according to an example; and FIG. 5 is a flow diagram of a method for operating a cache, according to an example. DETAILED DESCRIPTION A technique for operating a cache is disclosed. The technique includes based on a workload change, identifying a first allocation permissions policy; operating the cache according to the first allocation permissions policy; based on set sampling, identifying a second allocation permissions policy; and operating the cache according to the second allocation permissions policy. FIG. 1 is a block diagram of an example computing device 100 in which one or more features of the disclosure can be implemented. In various examples, the computing device 100 is one of, but is not limited to, for example, a computer, a gaming device, a handheld device, a set-top box, a television, a mobile phone, a tablet computer, or other computing device. The device 100 includes, without limitation, one or more processors 102 , a memory 104 , one or more auxiliary devices 106 , a storage 108 , and a last level cache (

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

Non-Patent Literature (5)

  • Jallel, A., et al.,
  • “
  • Adaptive Insertion Policies for Managing Shared Caches
  • ”
  • ; Proceedings of the 17th International Conference on Parallel Architectures and Compilation Techniques, PACT '08 AMC Press, New York, New York, USA, Oct. 25, 2008, 12 pgs.