# US 2019/0245799 A1 · Reliability processing of remote direct memory access

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0245799 A1
- Document ID: US20190245799A1
- Status: Published application
- Kind: A1
- Application number: 15/888,228
- Filed: 2018-02-05
- Published: 2019-08-08
- Earliest claimed: 2018-02-05
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Sameer Kumar; Philip Heidelberger; Yutaka Sugawara; Dong Chen; Robert M. Senger
- Web page: https://patentgrep.com/patent/US20190245799A1

## CPC

- G06F 15/17331: {Distributed shared memory [DSM], e.g. remote direct memory access [RDMA]}
- H04L 47/34: ensuring sequence integrity, e.g. using sequence numbers
- H04L 49/90: Buffering arrangements
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Methods and systems for monitoring remote transmissions of messages among a plurality of nodes are described. A processing element in a first node may allocate a sequence number to a request to read and/or update data in a second node. The processing element may be different from main processors of the first node. The processing element may send the message and the sequence number to the second node. The processing element may modify a status of the sequence number to an active state, indicating a transmission of the message is pending. The processing element may, in response to a response from the second node, modify the status of the sequence number to an inactive state, indicating a completed transmission of the message. The processing element may, in response to no response from the second node within a time period, resend the message and the sequence number to the second node.

## Claims

### Claim 1

A method for monitoring remote transmissions of messages among a plurality of nodes, the method comprising:
receiving, by a processing element in a first node, a request to send a message to perform an access operation on data stored in a second node, wherein the first node includes one or more main processors different from the processing element;
allocating, by the processing element, a sequence number to the message;
sending, by the processing element, the message and the sequence number to a processing element of the second node;
modifying, by the processing element, a status of the sequence number to an active state, wherein the active state of the sequence number indicates that a transmission of the message is pending;
identifying, by the processing element, a presence or an absence of a response from the second node within a period of time;
wherein:
in response to a presence of the response from the second node within the period of time, modifying, by the processing element, the status of the sequence number to an inactive state, wherein the inactive state of the sequence number indicates that a transmission of the message is completed; and
in response to an absence of the response from the second node within the period of time, resending, by the processing element, the message and the sequence number to the processing element of the second node.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, wherein allocating the sequence number to the message includes:
identifying, by the processing element, a first bit including a value representative of an available sequence number, wherein the first bit is among a first bit vector of a data structure, and wherein the data structure includes at least a first level and a second level, and the first level includes the first bit vector;
identifying, by the processing element, a second bit vector associated with the first bit, wherein the second bit vector is among a plurality of bit vectors in the second level of the data structure;
identifying, by the processing element, a second bit including a value representative of an inactive state, wherein the second bit is among the second bit vector; and
identifying, by the processing element, the sequence number based on the first bit and the second bit.

### Claim 3 (depends on 2)

The method of claim 2, wherein modifying a status of the sequence number includes modifying the value of the second bit.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
prior to allocating the sequence number to the message, identifying, by the processing element, the sequence number in a queue; and
removing, by the processing element, the sequence number from the queue in response to allocating the sequence number to the message.

### Claim 5 (depends on 4)

The method of claim 4, wherein:
modifying the status of the sequence number to the active state includes removing the sequence number from a first slot the queue; and
modifying the status of the sequence number to the inactive state includes inserting the sequence number into a second slot of the queue.

### Claim 6 (depends on 5)

The method of claim 5, wherein a location of the first slot is indicated by a first pointer stored in a first counter of the first node, and a location of the second slot is indicated by a second pointer stored in a second counter of the first node, and the method further includes:
updating, by the processing element, the first pointer in response to the removal of the sequence number from the first slot of the queue; and
updating, by the processing element, the second pointer in response to the insertion of the sequence number into the second slot of the queue.

### Claim 7 (depends on 1)

The method of claim 1, further comprising, in response to the absence of the response from the second node within the period of time, resending, by the processing element, a plurality of messages associated with a plurality of sequence numbers in the inactive state.

### Claim 8 (depends on 1)

The method of claim 1, wherein the processing element is a first processing element, the first node includes a second processing element, the sequence number is stored in a data structure, and the data structure is accessible by the first and second processing elements, wherein the first processing element and the second processing element are configured to modify status of sequence numbers stored in the data structure concurrently without using a mutual exclusive lock.

### Claim 9

A system effective to monitor remote transmissions of messages among a plurality of nodes, the system comprises:
a first node including at least a first main processor, a first memory, and a first processing element different from the first main processor;
a second node including at least a second main processor, a second memory, and a second processing element different from the second main processor;
the first processing element is configured to:
receive a request to send a message to perform an access operation on data stored in the second memory of the second node;
allocate a sequence number to the message;
send the message and the sequence number to the second processing element of the second node;
modify a status of the sequence number to an active state, wherein the active state of the sequence number indicates that a transmission of the message is pending;
identify a presence or an absence of a response from the second processing element within a period of time;
wherein:
in response to a presence of the response from the second processing element within the period of time, modify the status of the sequence number to an inactive state, wherein the inactive state of the sequence number indicates that a transmission of the message is completed; and
in response to an absence of the response from the second node within the period of time, resend the message and the sequence number to the second processing element of the second node.

### Claim 10 (depends on 9)

The system of claim 9, wherein the second processing element of the second node is configured to:
receive the message and the sequence number;
in response to the receipt of the message and the sequence number, send the response to the first processing element of the first node.

### Claim 11 (depends on 9)

The system of claim 9, wherein the first memory is configured to store a data structure, and the first processing element is further configured to:
identify a first bit including a value representative of an available sequence number, wherein the first bit is among a first bit vector of the data structure, and wherein the data structure includes at least a first level and a second level, and the first level includes the first bit vector;
identify a second bit vector associated with the first bit, wherein the second bit vector is among a plurality of bit vectors in the second level of the data structure;
identify a second bit including a value representative of an inactive state, wherein the second bit is among the second bit vector; and
identify the sequence number based on the first bit and the second bit.

### Claim 12 (depends on 11)

The system of claim 11, wherein the first processing element is further configured to modify the value of the second bit in order to modify a status of the sequence number.

### Claim 13 (depends on 9)

The system of claim 9, wherein the first memory is configured to store a data structure, and the first processing element is further configured to:
identify the sequence number in a queue of the data structure; and
remove the sequence number from the queue in response to allocation of the sequence number to the message.

### Claim 14 (depends on 13)

The system of claim 13, wherein the first processing element is further configured to:
remove the sequence number from a first slot the queue to modify the status of the sequence number to the active state; and
insert the sequence number into a second slot of the queue to modify the status of the sequence number to the inactive state.

### Claim 15 (depends on 14)

The system of claim 14, wherein the first node further includes:
a first counter configured to store a first pointer indicative of a location of the first slot;
a second counter configured to store a second pointer indicative of a location of the second slot, and the first processing element is further configured to:
update the first pointer in response to the removal of the sequence number from the first slot of the queue; and
update the second pointer in response to the insertion of the sequence number into the second slot of the queue.

### Claim 16 (depends on 9)

The system of claim 9, wherein the first processing element is further configured to, in response to the absence of the response from the second node within the period of time, resend a plurality of messages associated with a plurality of sequence numbers in the inactive state.

### Claim 17 (depends on 9)

The system of claim 9, wherein the first node further includes a third processing element, the sequence number is stored in a data structure, the data structure is accessible by the first and third processing elements, and wherein the first processing element and the third processing element are configured to modify status of sequence numbers stored in the data structure concurrently without using a mutual exclusive lock.

### Claim 18

A computer program product for monitoring remote transmissions of messages among a plurality of nodes, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processing element of a device to cause the device to:
receive a request to send a message to perform an access operation on data stored in a destination node, and wherein the device includes one or more main processors different from the processing element;
allocate a sequence number to the message;
send the message and the sequence number to a processing element of the destination node;
modify a status of the sequence number to an active state, wherein the active state of the sequence number indicates that a transmission of the message is pending;
identify a presence or an absence of a response from the destination node within a period of time;
wherein:
in response to a presence of the response from the destination node within the period of time, modify the status of the sequence number to an inactive state, wherein the inactive state of the sequence number indicates that a transmission of the message is completed; and
in response to an absence of the response from the destination node within the period of time, resend the message and the sequence number to the processing element of the destination node.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the program instructions are further executable by the processing element of a device to cause the device to:
identify a first bit including a value representative of an available sequence number, wherein the first bit is among a first bit vector of a data structure, and wherein the data structure includes at least a first level and a second level, and the first level includes the first bit vector;
identify a second bit vector associated with the first bit, wherein the second bit vector is among a plurality of bit vectors in the second level of the data structure;
identify a second bit including a value representative of an inactive state, wherein the second bit is among the second bit vector; and
identify the sequence number based on the first bit and the second bit, wherein the processing element is among a plurality of processing elements of the device, and the plurality of processing elements are configured to update the data structure concurrently without using a mutual exclusive lock.

### Claim 20 (depends on 18)

The computer program product of claim 18, wherein the program instructions are further executable by the processing element of a device to cause the device to:
prior to allocation of the sequence number to the message, identify the sequence number in a queue;
in response to allocating the sequence number to the message, remove the sequence number from the queue to modify the status of the sequence number to the active state; and
in response to receipt of the response from the destination node, insert the sequence number into a second slot of the queue to modify the status of the sequence number to the inactive state, wherein the processing element is among a plurality of processing elements of the device, and the plurality of processing elements are configured to update the data structure concurrently without using a mutual exclusive lock.
