hottub.patents
US 12,443,443 B2#3420593 Most CitedActiveUnited States (USPTO)Utility

Workload scheduler for memory allocation

0Forward Citations (#3420593 Global)
0.0/yrCitation Velocity (#3420593 Global)
0.00Citation PageRank (#3420593 Global)
17Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

Examples described herein relate to a work scheduler that includes at least one processor and at least one queue. In some examples, the work scheduler receives a request to allocate a region of memory and based on availability of a memory segment associated with a central cache to satisfy the request to allocate a region of memory, provide a memory allocation using an available memory segment entry associated with the central cache from the at least one queue. In some examples, the work scheduler assigns a workload to a processor and controls when to pre-fetch content relevant to the workload to store in a cache or memory accessible to the processor based on a position of the workload in a work queue associated with the processor.

Interactive Citation Constellation Global Citation Ranking

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

Claims (8)

  1. Claim 1Independent Claim

    An apparatus comprising: an interface; circuitry, coupled to the interface, the circuitry comprising a processor, the circuitry to: cause pre-fetch of packet data and content associated with a workload to be stored in a cache accessible to the processor core based on a position of an identifier of the workload in a work queue associated with the processor, wherein the pre-fetch of the packet data causes copying of the packet data into the cache before processing of the packet data by the workload, wherein the pre-fetch of the content causes copying of: a software environment to process the packet data, cryptographic keys used to process the packet data, and instructions executed to process the packet data, and wherein the packet data associated with the workload includes packet payload and packet connection context; and a second circuitry to determine whether to permit eviction or not permit eviction of the pre-fetched packet data in the cache based at least in part on a position of th

  2. Claim 2Depends on #1

    The apparatus of claim 1, wherein the circuitry is to pre-fetch the packet data associated with the workload by accessing a look-up table to determine one or more memory locations of packet data associated with the workload.

  3. Claim 3Depends on #1

    The apparatus of claim 1, wherein the circuitry is to update the position of the identifier of the workload in the work queue based on completion of another workload identified in the work queue.

  4. Claim 4Depends on #1

    The apparatus of claim 1, wherein based on the position of the identifier of the workload, the circuitry is to cause a pre-fetch of the packet data associated with the workload to store in the cache accessible to the processor core.

  5. Claim 5Depends on #1

    The apparatus of claim 1, wherein the second circuitry is to prevent the packet data associated with the workload from being evicted from the cache based on the position of the identifier of the workload within an offset from a head of the work queue.

  6. Claim 6Depends on #1

    The apparatus of claim 1, comprising a central processing unit (CPU) to offload data processing scheduling to the circuitry.

  7. Claim 7Depends on #1

    The apparatus of claim 1, further comprising a server, data center, or rack, wherein the server, data center, or rack comprises a central processing unit (CPU) to offload work scheduling to the circuitry.

  8. Claim 8Depends on #1

    The apparatus of claim 1, wherein the circuitry is to not cause pre-fetch of packet data that is stored in the cache.

Technical Overview & Description

Communication between cores in a multi-core processor is an important feature in many computer applications such as packet processing, high-performance computing (HPC), and machine learning. The number of cores that can communicate may be limited if adequate inter-core communication is not available. Shared memory space managed by software is often employed to realize inter-core communication. Moreover, a large amount of data can move between memory domains of processors for processing. In some scenarios, offload engines are available to perform certain tasks for central processing units (CPUs) in order to free the CPU to perform other operations. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 shows an overview of requests for memory allocations. FIG. 2 depicts an example of a scheme for free memory object management. FIG. 3 depicts an example of a scheme of a local cache organization. FIG. 4 shows an example organization of various memory spans in a page heap. FIG. 5 depicts an example system. FIG. 6 depicts an example of a work scheduler. FIG. 7 A depicts an example of segmentation of a memory object. FIG. 7 B depicts an example of coalescing of contiguous memory objects. FIG. 8 depicts a process performed by a work scheduler. FIG. 9 depicts a system. FIG. 10 depicts a process. FIG. 11 depicts a system.

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 (17)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Berger, Emery, D., et. al.,
  • “
  • Hoard: A Scalable Memory Allocator for Multithreaded Applications
  • ”
  • , Copyright 2000 ACM, 12 pages.
  • Evans, Jason,
  • “
  • A Scalable Concurrent malloc(3) Implementation for FreeBSD
  • ”
  • , Apr. 16, 2006, 14 pages.