Remote direct memory operations (RDMOs) for transactional processing systems

US10977193B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10977193-B2
Application numberUS-201916542222-A
CountryUS
Kind codeB2
Filing dateAug 15, 2019
Priority dateAug 17, 2018
Publication dateApr 13, 2021
Grant dateApr 13, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Techniques are described for offloading remote direct memory operations (RDMOs) to “execution candidates”. The execution candidates may be any hardware capable of performing the offloaded operation. Thus, the execution candidates may be network interface controllers, specialized co-processors, FPGAs, etc. The execution candidates may be on a machine that is remote from the processor that is offloading the operation, or may be on the same machine as the processor that is offloading the operation. Details for certain specific RDMOs, which are particularly useful in online transaction processing (OLTP) and hybrid transactional/analytical (HTAP) workloads, are provided.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: a process, executing on a first processor, causing a Remote Direct Memory Operation (RDMO) to be executed by an execution candidate that does not include the first processor; wherein the RDMO comprises a pre-defined sequence of two or more sub-operations; wherein each sub-operation, of the two or more sub-operations, is one of: a read operation, a write operation, or a compare-and-swap operation; and wherein causing the RDMO to be executed comprises causing the execution candidate to perform one of: (a) appending a write value to content of a disk page by: based, at least in part, on a location value for the content of the disk page, determining whether the disk page includes free space that is at least a size of the write value, and in response to determining that the disk page includes free space that is at least the size of the write value: appending the write value to an end of the content of the disk page, and atomically incrementing the location value by a length of the write value; (b) traversing one or more pointer-based data structures to identify elements, stored at the one or more pointer-based data structures, that satisfy a particular predicate by, for each pointer-based data structure of the one or more pointer-based data structures: determining whether a value stored at said each pointer-based data structure satisfies the particular predicate, and wherein determining whether a particular value stored at a particular pointer-based data structure satisfies the particular predicate comprises comparing, using a comparison operator, the particular value with a parameter value; wherein the comparison operator is one of: less than, less than or equal to, equal to, greater than or equal to, greater than, or is not equal to; in response to determining that the value stored at said each pointer-based data structure satisfies the particular predicate, including the value in a results buffer; (c) reading from a lock-based data structure, associated with a lock, the acquisition of which is required to perform an operation in the lock-based data structure, without performing operations on the lock for the lock-based data structure by: performing a compare-and-swap operation on a lock location for the lock, wherein, prior to performing the compare-and-swap operation, the lock location stores an original value, in response to determining success of said performing the compare-and-swap operation on the lock location: reading from the lock-based data structure, and after reading from the lock-based data structure, resetting the lock location to the original value; (d) copying data to a write location by: copying data from a buffer to the write location, and after copying the data from the buffer to the write location, writing a second value at a seal location in memory; or (e) performing an accumulation operation over one or more values stored at one or more respective addresses by, for each value of the one or more values: performing the accumulation operation between said each value and a corresponding value in a scatter list to produce an accumulation result value, and storing the accumulation result value at the address of said each value, wherein the accumulation operation is one of: FETCHANDADD, SUM, MAX, MIN, COUNT. 2. The method of claim 1 wherein causing an RDMO to be executed involves causing the execution candidate to perform appending a write value to content of a disk page. 3. The method of claim 1 wherein causing an RDMO to be executed involves causing the execution candidate to perform traversing one or more pointer-based data structures to identify elements, stored at the one or more pointer-based data structures, that satisfy a particular predicate. 4. The method of claim 1 wherein causing an RDMO to be executed involves causing the execution candidate to perform reading from a lock-based data structure. 5. The method of claim 1 wherein causing an RDMO to be executed involves causing the execution candidate to perform copying data to a write location. 6. The method of claim 1 wherein causing an RDMO to be executed involves causing the execution candidate to perform an accumulation operation over one or more values stored at one or more respective addresses. 7. The method of claim 1 wherein: the first processor is on a first computing device; the execution candidate is on a second computing device that is remote relative to the first computing device; and causing the RDMO to be executed by the execution candidate comprises sending the RDMO, to the second computing device, via a single network request. 8. The method of claim 1 wherein the first processor and the execution candidate are within a single computing device. 9. The method of claim 1 wherein the execution candidate is a field programmable gate array (FPGA) configured to perform the RDMO. 10. A system comprising: a first processor executing a process that causes a Remote Direct Memory Operation (RDMO) to be executed by an execution candidate that does not include the first processor; wherein the RDMO comprises a pre-defined sequence of two or more sub-operations; wherein each sub-operation, of the two or more sub-operations, is one of: a read operation, a write operation, or a compare-and-swap operation; and wherein causing the RDMO to be executed comprises causing the execution candidate to perform one of: (a) appending a write value to content of a disk page by: based, at least in part, on a location value for the content of the disk page, determining whether the disk page includes free space that is at least a size of the write value, and in response to determining that the disk page includes free space that is at least the size of the write value: appending the write value to an end of the content of the disk page, and atomically incrementing the location value by a length of the write value; (b) traversing one or more pointer-based data structures to identify elements, stored at the one or more pointer-based data structures, that satisfy a particular predicate by, for each pointer-based data structure of the one or more pointer-based data structures: determining whether a value stored at said each pointer-based data structure satisfies the particular predicate, and wherein determining whether a particular value stored at a particular pointer-based data structure satisfies the particular predicate comprises comparing, using a comparison operator, the particular value with a parameter value; wherein the comparison operator is one of: less than, less than or equal to, equal to, greater than or equal to, greater than, or is not equal to; in response to determining that the value stored at said each pointer-based data structure satisfies the particular predicate, including the value in a results buffer; (c) reading from a lock-based data structure, associated with a lock, the acquisition of which is required to perform an operation in the lock-based data structure, without performing operations on the lock for the lock-based data structure by: performing a compare-and-swap operation on a lock location for the lock, wherein, prior to performing the compare-and-swap operation, the lock location stores an original value, in response to determining success of said performing the compare-and-swap operation on the lock location: reading from the lock-based data structure, and after reading from the lock-based data structure, resetting the lock location to the original value; (d) copying data to a write location by: copying data from a buffer to the write location, and after copying the data from the buffer to the write

Assignees

Inventors

Classifications

  • Distributed shared memory [DSM], e.g. remote direct memory access [RDMA] · CPC title

  • Updates performed during online database operations; commit processing · CPC title

  • G06F9/547Primary

    Remote procedure calls [RPC]; Web services · CPC title

  • the resource being the memory · CPC title

  • in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10977193B2 cover?
Techniques are described for offloading remote direct memory operations (RDMOs) to “execution candidates”. The execution candidates may be any hardware capable of performing the offloaded operation. Thus, the execution candidates may be network interface controllers, specialized co-processors, FPGAs, etc. The execution candidates may be on a machine that is remote from the processor that is off…
Who is the assignee on this patent?
Oracle Int Corp
What technology area does this patent fall under?
Primary CPC classification G06F9/547. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 13 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 10 related publications on this page (citations in our corpus or others sharing the same primary CPC).