hottub.patents
US 12,554,640 B2#3315910 Most CitedActiveUnited States (USPTO)Utility

Apparatuses, systems, and methods for controlling cache allocations in a configurable combined private and shared cache in a processor-based system

0Forward Citations (#3315910 Global)
0.0/yrCitation Velocity (#3315910 Global)
0.00Citation PageRank (#3315910 Global)
21Prior Art Cited
20Claims (4 Indep. · 16 Dep.)
6Drawings / Sheets

Abstract

Apparatuses, systems, and methods for controlling cache allocations in a configurable combined private and shared cache in a processor-based system. The processor-based system is configured to receive a cache allocation request to allocate a line in a share cache structure, which may further include a client identification (ID). The cache allocation request and the client ID can be compared to a sub-non-uniform memory access (NUMA) (sub-NUMA) bit mask and a client allocation bit mask to generate a cache allocation vector. The sub-NUMA bit mask may have been programmed to indicate that processing cores associated with a sub-NUMA region are available, whereas processing cores associated with other sub-NUMA regions are not available, and the client allocation bit mask may have been programmed to indicate that processing cores are available. The sub-NUMA bit mask and the client allocation bit mask can be combined to create a cache allocation vector that a cache allocation request to allocate a line serviced by one of processing cores.

Interactive Citation Constellation Global Citation Ranking

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

Claims (20 — 4 Independent, 16 Dependent)

  1. Claim 1Independent Claim

    A processor-based system, comprising a vector generation circuit and a cache selection circuit; the vector generation circuit configured to: receive a cache allocation request including a client identifier (ID); and compare the cache allocation request and the client ID to a sub-Non-Uniform Memory Access (NUMA) bit mask and a client allocation bit mask to generate a cache allocation vector; and the cache selection circuit configured to: select a processing core to receive the cache allocation request based on the cache allocation vector and a per-processing core weighting; and provide the cache allocation request to the processing core at an associated shared cache.

  2. Claim 2Depends on #1

    The processor-based system of claim 1, wherein the per-processing core weighting comprises a proportional weight based on a number of ways available for allocation.

  3. Claim 3Depends on #1

    The processor-based system of claim 1, wherein the cache selection circuit is further configured to update the per-processing core weighting based on providing the cache allocation request to the selected processing core.

  4. Claim 4Depends on #1

    The processor-based system of claim 1, wherein the client allocation bit mask corresponds to the client ID of a client application, and comprises a plurality of bits each corresponding to a processor core of a plurality of processor cores and indicating whether the client application is permitted to request allocation from a shared cache of the corresponding processor core.

  5. Claim 5Depends on #1

    The processor-based system of claim 1, wherein the sub-NUMA bit mask corresponds to a home node of the processor-based system, and comprises a plurality of bits each corresponding to a processor core of a plurality of processor cores and indicating whether the home node is permitted to allocate from a shared cache of the corresponding processor core.

  6. Claim 6Depends on #1

    The processor-based system of claim 1, wherein the vector generation circuit is configured to compare the cache allocation request and the client ID to the sub-NUMA bit mask and the client allocation bit mask to generate the cache allocation vector by being configured to perform a logical AND operation using the sub-NUMA bit mask and the client allocation bit mask.

  7. Claim 7Depends on #1

    The processor-based system of claim 1, integrated into an integrated circuit (IC).

  8. Claim 8Depends on #7

    The processor-based system of claim 7, further integrated into a device selected from the group consisting of: a server, a computer, a portable computer, a desktop computer, a mobile computing device, a set top box, an entertainment unit, a navigation device, a communications device, a fixed location data unit, a mobile location data unit, a global positioning system (GPS) device, a mobile phone, a cellular phone, a smart phone, a session initiation protocol (SIP) phone, a tablet, a phablet, a wearable computing device (e.g., a smart watch, a health or fitness tracker, eyewear, etc.), a personal digital assistant (PDA), a monitor, a computer monitor, a television, a tuner, a radio, a satellite radio, a music player, a digital music player, a portable music player, a digital video player, a video player, a digital video disc (DVD) player, a portable digital video player, an automobile, a vehicle component, avionics systems, a drone, and a multicopter.

  9. Claim 9Independent Claim

    A processor-based system, comprising: means for receiving a cache allocation request including a client identifier (ID); means for comparing the cache allocation request and the client ID to a sub-Non-Uniform Memory Access (NUMA) bit mask and a client allocation bit mask to generate a cache allocation vector; means for selecting a processing core to receive the cache allocation request based on the cache allocation vector and a per-processing core weighting; and means for providing the cache allocation request to the processing core at an associated shared cache.

  10. Claim 10Independent Claim

    A method of controlling cache allocations in a configurable combined private and shared cache, comprising: receiving, by a vector generation circuit of a processor-based system, a cache allocation request; generating, by the vector generation circuit, an associated cache allocation vector based on a sub-Non-Uniform Memory Access (NUMA) bit mask and a client allocation bit mask; providing, by the vector generation circuit, the cache allocation vector to a cache selection circuit of the processor-based system; receiving, by the cache selection circuit, the cache allocation vector; and selecting, by the cache selection circuit, a processing core to receive the cache allocation request based on cache weighting information and the cache allocation vector.

  11. Claim 11Depends on #10

    The method of claim 10, wherein the cache weighting information comprises information regarding a number of cache ways of a shared cache from each of a plurality of processing cores.

  12. Claim 12Depends on #11

    The method of claim 11, wherein the shared cache of each of the plurality of processing cores is a configurable combined private and shared cache.

  13. Claim 13Depends on #10

    The method of claim 10, wherein the client allocation bit mask corresponds to a client identifier (ID) of a client application, and comprises a plurality of bits each corresponding to a processor core of a plurality of processor cores and indicating whether the client application is permitted to request allocation from a shared cache of the corresponding processor core.

  14. Claim 14Depends on #10

    The method of claim 10, wherein the sub-NUMA bit mask corresponds to a home node of the processor-based system, and comprises a plurality of bits each corresponding to a processor core of a plurality of processor cores and indicating whether the home node is permitted to allocate from a shared cache of the corresponding processor core.

  15. Claim 15Depends on #10

    The method of claim 10, wherein generating the associated cache allocation vector based on the sub-NUMA bit mask and the client allocation bit mask comprises performing a logical AND operation using the sub-NUMA bit mask and the client allocation bit mask.

  16. Claim 16Independent Claim

    A non-transitory computer-readable medium having stored thereon computer-executable instructions which, when executed by a processor, cause the processor to: receive a cache allocation request; generate an associated cache allocation vector based on a sub-Non-Uniform Memory Access (NUMA) bit mask and a client allocation bit mask; provide, by a vector generator, the cache allocation vector to a cache selection circuit of the processor; receive, by a cache selector, the cache allocation vector; and select a processing core to receive the cache allocation request based on cache weighting information and the cache allocation vector.

  17. Claim 17Depends on #16

    The non-transitory computer-readable medium of claim 16, wherein the cache weighting information comprises information regarding a number of cache ways of a shared cache from each of a plurality of processing cores.

  18. Claim 18Depends on #17

    The non-transitory computer-readable medium of claim 17, wherein the shared cache of each of the plurality of processing cores is a configurable combined private and shared cache.

  19. Claim 19Depends on #16

    The non-transitory computer-readable medium of claim 16, wherein the client allocation bit mask corresponds to a client identifier (ID) of a client application, and comprises a plurality of bits each corresponding to a processor core of a plurality of processor cores and indicating whether the client application is permitted to request allocation from a shared cache of the corresponding processor core.

  20. Claim 20Depends on #16

    The non-transitory computer-readable medium of claim 16, wherein the sub-NUMA bit mask corresponds to a home node of a processor-based system, and comprises a plurality of bits each corresponding to a processor core of a plurality of processor cores and indicating whether the home node is permitted to allocate from a shared cache of the corresponding processor core.

Technical Overview & Description

PRIORITY CLAIM The present application is a continuation of and claims priority to U.S. patent application Ser. No. 17/834,697, filed Jun. 7, 2022, and entitled “ APPARATUSES, SYSTEMS, AND METHODS FOR CONTROLLING CACHE ALLOCATIONS IN A CONFIGURABLE COMBINED PRIVATE AND SHARED CACHE IN A PROCESSOR-BASED SYSTEM, ” which claims priority to U.S. Provisional Patent Application Ser. No. 63/208,746, filed on Jun. 9, 2021, and entitled “ APPARATUSES, SYSTEMS, AND METHODS FOR CONTROLLING CACHE ALLOCATIONS IN A CONFIGURABLE COMBINED PRIVATE AND SHARED CACHE IN A PROCESSOR-BASED SYSTEM, ” the contents of which are incorporated herein by reference in its entirety. BACKGROUND I. Field of the Disclosure The technology of the disclosure relates generally to configuring cache resources in a processor, and specifically to configuring combined private and shared cache levels in a processor. II. Background In order to provide low-latency retrieval of instructions and/or data (as compared to the latency of transactions to a main memory system such as a double data rate (DDR) memory, for example), microprocessors may conventionally include one or more levels of cache memory resources. These cache memory resources may be arranged in a hierarchical manner — for example, a microprocessor may have level 0 (L0), level 1 (L1), level 2 (L2), and level 3 (L3) caches, of which L0 may be the relative smallest and lowest latency, with the other caches increasing in size and latency up through the L3 cache, which may be the largest but with the longest latency compared to the other caches. In some aspects, one or more of the levels of cache hierarchy may have split instruction and data caches (e.g., the L0 cache level may comprise split L0 instruction and L0 data caches), whereas other levels of the cache hierarchy may contain both instructions and data. Some levels of the cache hierarchy may be “ private ” to the microprocessor or, in the case of a multi-core microprocessor, may be private to one

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.

References Cited — Backward Prior Art (21)

Non-Patent Literature (10)

  • ARM,
  • “
  • AMBA 5 CHI Architecture Specification,
  • ”
  • ARM IHI 0050E.b, Aug. 16, 2021, ARM Limited, 508 pages.
  • Tsai, W.-Y, et al.,
  • “
  • A Port-Configuration Assisted NIC IRQ Affinitization Scheme for Multi-Core Packet Forwarding Applications,
  • ”
  • 2012 IEEE Global Communications Conference (GLOBECOM), Dec. 3-7, 2012, Anaheim, CA, USA, IEEE, 6 pages.