hottub.patents
US 12,326,816 B2#3525086 Most CitedActiveUnited States (USPTO)Utility

Technologies for offload device fetching of address translations

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

Abstract

Techniques for offload device address translation fetching are disclosed. In the illustrative embodiment, a processor of a compute device sends a translation fetch descriptor to an offload device before sending a corresponding work descriptor to the offload device. The offload device can request translations for virtual memory address and cache the corresponding physical addresses for later use. While the offload device is fetching virtual address translations, the compute device can perform other tasks before sending the corresponding work descriptor, including operations that modify the contents of the memory addresses whose translation are being cached. Even if the offload device does not cache the translations, the fetching can warm up the cache in a translation lookaside buffer. Such an approach can reduce the latency overhead that the offload device may otherwise incur in sending memory address translation requests that would be required to execute the work descriptor.

Interactive Citation Constellation Global Citation Ranking

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

Claims (8)

  1. Claim 1Independent Claim

    An offload device comprising: an address translation cache (ATC); and a processing engine implemented at least partially in hardware, wherein the processing engine is to: receive a translation fetch descriptor from a processor of a compute device to be processed by the processing engine, the translation fetch descriptor comprising an indication of a plurality of virtual memory addresses; send, in response to receipt of the translation fetch descriptor, a request for a physical memory address corresponding to individual virtual memory addresses of the plurality of virtual memory addresses; receive, for individual virtual memory addresses of the plurality of virtual memory addresses, a physical memory address; cache, for individual virtual memory addresses of the plurality of virtual memory addresses, the corresponding physical memory address in the ATC; send, without reading from or writing to any of the physical addresses corresponding to the plurality of virtual memory addresses, an i

  2. Claim 2Depends on #1

    The offload device of claim 1, wherein the offload device is connected to the processor by a PCIe interconnect or a CXL interconnect.

  3. Claim 3Depends on #1

    The offload device of claim 1, wherein the processing engine is further to: receive, in response to the request for a physical memory address for one of the plurality of virtual memory addresses and prior to receipt of the work descriptor, a response indicating a page fault; send, in response to receipt of the response indicating the page fault and prior to receipt of the work descriptor, a page request service (PRS) request corresponding to the page fault; and receive the work descriptor after sending the PRS request corresponding to the page fault for the one of the plurality of virtual memory addresses corresponding to the work descriptor.

  4. Claim 4Depends on #1

    The offload device of claim 1, wherein to send the request for the physical memory address corresponding to individual virtual memory addresses of the plurality of virtual memory addresses comprises to send a request for the physical memory address corresponding to individual virtual memory addresses of the plurality of virtual memory addresses with a no write flag set and with a potential write flag set.

  5. Claim 5Depends on #4

    The offload device of claim 4, wherein the processing engine is further to: record a write flag as set and an available write flag as set for a first physical address corresponding to a first virtual memory address of the plurality of virtual memory addresses based on a response to the corresponding request for the physical memory address; and record a write flag as cleared and an available write flag as set for a second physical address corresponding to a second virtual memory address of the plurality of virtual memory addresses based on a response to the corresponding request for the physical memory address.

  6. Claim 6Depends on #1

    The offload device of claim 1, wherein the indication of the plurality of virtual memory addresses comprises a starting virtual memory address, a region size, and a region stride, wherein a difference between a value of individual virtual memory addresses of the plurality of virtual memory addresses and an adjacent virtual memory address of the plurality of virtual memory addresses is the region stride.

  7. Claim 7Independent Claim

    A compute device comprising: a processor; a memory; an input/output memory management unit (IOMMU); an offload device; and one or more storage devices comprising a plurality of instructions stored thereon that, when executed by the processor, causes the processor to: determine a plurality of virtual memory addresses to be used by the offload device to execute a task; and send a translation fetch descriptor comprising an indication of the plurality of virtual memory addresses to the offload device, wherein the offload device, in response to receipt of the translation fetch descriptor, is to: send a request to the IOMMU for a physical address corresponding to individual virtual memory addresses of the plurality of virtual memory addresses; receive, for individual virtual memory addresses of the plurality of virtual memory addresses, a physical memory address; cache, for individual virtual memory addresses of the plurality of virtual memory addresses, the corresponding physical memory add

  8. Claim 8Depends on #7

    The compute device of claim 7, wherein the offload device is further to: receive, in response to the request for a physical memory address for one of the plurality of virtual memory addresses and prior to receipt of the work descriptor, a response indicating a page fault; send, in response to receipt of the response indicating the page fault and prior to receipt of the work descriptor, a page request service (PRS) request corresponding to the page fault; and receive the work descriptor after sending the PRS request corresponding to the page fault for the one of the plurality of virtual memory addresses corresponding to the work descriptor.

Technical Overview & Description

BACKGROUND Offload devices such as accelerators are a type of connected device or endpoint that can offload general purpose processing and execute certain workloads with additional capacity or more efficiently in terms of performance and power. Address virtualization capabilities allow for scalable, robust use of accelerators. An operating system can manage virtual address spaces and the assignment of real memory to virtual memory. Real memory is addressed using physical addresses while virtual memory is addressed using virtual addresses. Address translation hardware in the central processing unit, often referred to as a memory management unit or MMU, can translate virtual addresses to physical addresses. BRIEF DESCRIPTION OF THE DRAWINGS The concepts described herein are illustrated by way of example and not by way of limitation in the accompanying figures. For simplicity and clarity of illustration, elements illustrated in the figures are not necessarily drawn to scale. Where considered appropriate, reference labels have been repeated among the figures to indicate corresponding or analogous elements. FIG. 1 is a simplified block diagram of at least one embodiment of a compute device with an offload device for fetching of address translations; FIG. 2 is a simplified block diagram of at least one embodiment of an environment that may be established by the compute device of FIG. 1 ; FIG. 3 is a simplified block diagram of at least one embodiment of an environment that may be established by the offload device of FIG. 1 and/or the RCiEP of FIG. 1 ; FIG. 4 is a table depicting one embodiment of a translation fetch descriptor that may be used by the compute device of FIG. 1 ; FIG. 5 is a table depicting one embodiment of a translation fetch completion record that may be used by the compute device of FIG. 1 ; FIG. 6 is a simplified flow diagram of at least one embodiment of a method for off-loading a task that may be performed by the compute device of FIG. 1 ; and

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

PatentTitleYearCitations

Non-Patent Literature (10)

  • Advanced Micro Devices, Inc.;
  • “
  • AMD I/O Virtualization Technology (IOMMU) Specification License Agreement,
  • ”
  • IOMMU Architectural Specification, Rev. 2.00; Mar. 24, 2011; 167 pages.
  • ARM; ARM System Memory Management Unit Architecture Specification, SMMU architecture v 3.0 and v. 3.1; 2016; 443 pages.
  • EPO; Extended European Search Report issued in EP Patent Application No. 21197132.0, dated Mar. 10, 2022; 13 pages.
  • Intel;
  • “
  • Intel Data Streaming Accelerator Preliminary Architecture Specification,