Apparatus and method for deadlock avoidance
Summary by NHIP
Deadlock avoidance in parallel processors
The method prevents deadlock in parallel-processor systems by reserving node buffer space before issuing remote memory access requests. Distinctive features include a deadlock-avoidance FIFO acting as a landing zone and schemes for controlled discard or persistent reservation.
Claim Score by NHIP
Abstract
An improved method for the prevention of deadlock in a massively parallel processor (MPP) system wherein, prior to a process sending messages to another process running on a remote processor, the process allocates space in a deadlock-avoidance FIFO. The allocated space provides a “landing zone” for requests that the software process (the application software) will subsequently issue using a remote-memory-access function. In some embodiments, the deadlock-avoidance (DLA) function provides two different deadlock-avoidance schemes: controlled discard and persistent reservation. In some embodiments, the software process determines which scheme will be used at the time the space is allocated.

Term
8 yearsleft in the term
Expires 9 October 2034, including 576 days of term adjustment.
- Priority
- Filed
- Granted
- Today
- Expires
22 claims: 3 independent, 19 dependent
- 1A computer-implemented method for deadlock avoidance in a parallel-processor system, wherein the parallel-processor system includes a plurality of network nodes, wherein each one of the plurality of network nodes includes a node buffer, a processor and local memory, and a deadlock-avoidance (DLA) engine, wherein the plurality of network nodes includes a first network node having a first node buffer, a second network node having a second node buffer, and a third network node having a third node buffer, wherein each one of the plurality of network nodes is operatively coupled to a plurality of other network nodes over a network, and wherein at least one software process executes on the respective processor of each one of the plurality of network nodes, the method comprising:receiving, in the first network node, a first allocation command from a first application software process executing in the processor of the first network node to reserve a first space in the first node buffer for communication between the first application software process executing in the processor of the first network node and other application software processes executing in processors of other network nodes, reserving the first space for use by the first application software process, entering a first remote memory access (RMA) request from the first application software process into the first node buffer, performing a first RMA operation by sending the first RMA request over the network to the second network node, and communicating data between the second network node and the first network node based on the first RMA request, removing the first RMA request from the first node buffer, un-reserving the first space in the node buffer of the first network node;receiving, in the first network node, a second allocation command from a second application software process executing in the processor of the first network node, to reserve a second space in the first node buffer for communication between the second application software process executing in the processor of the first network node and other application software processes executing in processors of other network nodes, reserving the second space for use by the second application software process, entering a second RMA request from the second application software process into the first node buffer, performing a second RMA operation by sending the second RMA request over the network to the third network node, and communicating data between the third network node and the first network node based on the second RMA request, removing the second RMA request from the first node buffer, and un-reserving of the second space in the node buffer of the first network node.
- 8A non-transitory computer-readable medium having instructions stored thereon for causing a suitably programmed information processor to perform a deadlock-avoidance method in a parallel-processor system, wherein the parallel-processor system includes a plurality of network nodes, wherein each one of the plurality of network nodes includes a node buffer, a processor and local memory, wherein the plurality of network nodes includes a first network node having a first node buffer, a second network node having a second node buffer, and a third network node having a third node buffer, wherein each one of the plurality of network nodes is operatively coupled to a plurality of other network nodes over a network, and wherein at least one software process executes on each one of the plurality of network nodes, the deadlock-avoidance method comprising:receiving, in the first network node, a first allocation command from a first software process executing in the processor of the first network node to reserve a first space in the first node buffer for communication between the first software process executing in the processor of the first network node and other software processes executing in processors of other network nodes;reserving the first space for use by the first software process;entering a first remote memory access (RMA) request from the first software process into the first node buffer;performing a first RMA operation by sending the first RMA request over the network to the second network node, and communicating data between the second network node and the first network node based on the first RMA request;removing the first RMA request from the first node buffer;un-reserving the first space in the node buffer of the first network node;receiving, in the first network node, a second allocation command from a second software process executing in the processor of the first network node, to reserve a second space in the first node buffer for communication between the second software process executing in the processor of the first network node and other software processes executing in processors of other network nodes;reserving the second space for use by the second software process;entering a second RMA request from the second software process into the first node buffer;performing a second RMA operation by sending the second RMA request over the network to the third network node, and communicating data between the third network node and the first network node based on the second RMA request;removing the second RMA request from the first node buffer;and un-reserving the second space in the node buffer of the first network node.
- 15Broadest claimClaim Score 17, narrow(NHIP)A parallel-processor system comprising:a plurality of network nodes, wherein each one of the plurality of network nodes includes a node buffer, a processor and local memory, wherein the plurality of network nodes includes a first network node that has a first node buffer, a second network node that has a second node buffer, and a third network node that has a third node buffer, wherein each one of the plurality of network nodes is operatively coupled to a plurality of other network nodes, and wherein at least one software process executes on each one of the plurality of network nodes, a reservation unit in the first network node configured to receive a first allocation command from a first software process that executes in the processor of the first network node, to reserve a first space in the first node buffer for communication between the first software process and other software processes that execute in processors of other network nodes, and based on the first allocation command, to reserve the first space for use by the first software process;an RMA unit configured to enter a first remote memory access (RMA) request from the first software process into the first node buffer, to send the first RMA request over the network to the second network node, to communicate data between the second network node and the first network node based on the first RMA request, and to remove the first RMA request from the first node buffer;wherein the reservation unit is configured to later un-reserve the first space in the node buffer of the first network node;wherein the reservation unit is also configured to receive a second allocation command from a second software process that executes in the processor of the first network node, to reserve a second space in the first node buffer for communication between the second software process of the first network node and other software processes that execute in processors of other network nodes, and based on the second allocation command, to reserve the second space for use by the second software process;wherein the RMA unit is also configured to enter a second RMA request from the second software process into the first node buffer, to send the second RMA request over the network to the third network node, to communicate data between the third network node and the first network node based on the second RMA request, and to remove the second RMA request from the first node buffer;wherein the reservation unit is configured to later un-reserve the second space in the node buffer of the first network node.
Independent claims3
203 paragraphs in 6 sections, as filed
CROSS-REFERENCE TO RELATED APPLICATION
0001This application is a divisional of U.S. patent application Ser. No. 13/798,074 filed on Mar. 12, 2013 (which issued as U.S. Pat. No. 9,160,607 on Oct. 13, 2015), which claims priority benefit, under 35 U.S.C. § 119(e), of U.S. Provisional Patent Application No. 61/724,887 filed Nov. 9, 2012 by Edwin Froese et al., titled “Method and apparatus for deadlock avoidance,” and U.S. Provisional Patent Application No. 61/724,891 filed Nov. 9, 2012 by Edwin Froese et al., titled “Collective engine method and apparatus,” each of which is incorporated herein by reference in its entirety.
FIELD OF THE INVENTION
0002The invention relates generally to computer software and/or hardware, and more particularly to methods and apparatus to prevent deadlocks in a multiprocessor environment.
BACKGROUND OF THE INVENTION
0003A massively parallel processor (MPP) is one type of supercomputer. An MPP consists of a large number of independent computing nodes (processors and memory) interconnected with a specialized high-speed network. The number of nodes in a supercomputer can be in the thousands. An application or task running on an MPP is divided into many subtasks, each of which executes on its own node. The subtasks execute in parallel, each subtask computing a portion of the final result. These individually computed results, in general, need to be combined multiple times during the execution of the overall application, with the combined intermediate result being sent back to each of the nodes running the subtasks of the application.
0004When the processes on the plurality of nodes in an MPP interact, the possibility of deadlock exists. Deadlock is a situation in which two or more processes are waiting for mutual messages or for related events to occur, but neither receives the notification, and just continues to wait. Deadlock can result from programming errors. Deadlock may also be a result of a hardware implementation, such that occasionally, due to hardware conditions, a possibility exists that the messages or notifications block each other, will never get sent to the waiting processes, and the processes end up deadlocked. In some computing environments, it may be acceptable to detect after-the-fact that deadlock has occurred and to correct the problem. This is not acceptable in a supercomputing MPP environment, where the number of interacting processes can be in the thousands. Even a very small possibility of deadlock can have large impacts on overall application performance.
0005There remains a need in the art for an improved engine and method for performing deadlock avoidance in an MPP.
BRIEF SUMMARY OF THE INVENTION
0006In some embodiments, the present invention includes a method for the prevention of deadlock in an MPP system. Prior to a subtask (a portion of application software) sending and receiving messages from another subtask, the subtask allocates space in a deadlock-avoidance FIFO (first-in-first-out buffer). The allocated space provides a “landing zone” for requests that the software process (the application software) will subsequently issue using the fast memory access (FMA). The FMA function provides software with windows into the memory space of remote nodes, allowing software running at the local node to PUT and GET data directly to and from the remote node's memory. The FMA forwards remote-memory-access requests to the deadlock-avoidance (DLA) function (also referred to as a deadlock-avoidance engine). The purpose of the DLA function is to prevent deadlock cycles, involving traffic flows between nodes, by isolating software processes from back-pressure exerted by the Network interconnecting the nodes. In some embodiments of the present invention, the deadlock-avoidance (DLA) function provides two different deadlock-avoidance schemes: Controlled Discard and Persistent Reservation. The software process selects the scheme that will be used at the time the space is allocated.
0007In some embodiments, the present invention provides a computer-implemented method and/or system for deadlock avoidance in a parallel-processor system, wherein the parallel-processor system includes a plurality of nodes, wherein each one of the plurality of nodes includes a node buffer, a processor and local memory, wherein the plurality of nodes includes a first node having a first node buffer, a second node having a second node buffer, and a third node having a third node buffer, wherein each node is operatively coupled to a plurality of other nodes, and wherein a software process executes on each one of the plurality of nodes, the method comprising: receiving, in the first node, a first command from a first software process executing in the processor of the first node, to reserve N<b>1</b> allocation units of space in the first node buffer for communication between the first software process executing in the processor of the first node and other software processes executing in processors of other nodes, wherein N<b>1</b> is a number between one and a total size of the first node buffer, checking whether the first node buffer contains at least N<b>1</b> unreserved allocation units of space to satisfy the first command, and if N<b>1</b> unreserved allocation units now exist in the first node buffer, then reserving N<b>1</b> allocation units for use by the first process, but if N<b>1</b> unreserved allocation units do not now exist then denying the first command for allocation units of space, entering a first remote-memory-access request from the first software process into the first node buffer, indicating that an additional one of the allocation units in the first node buffer is in use, performing a first remote-memory-access operation by sending the first remote-memory-access request over the network to the second node, and communicating data between the second node and the first node based on the first remote-memory-access request, removing the first remote-memory-access request from the first node buffer, indicating that one of the allocation units in the first node buffer is no longer in use, entering a second remote-memory-access request from the first software process into the first node buffer, indicating that an additional one of the allocation units in the first node buffer is in use, performing a second remote-memory-access operation by sending the second remote-memory-access request over the network to the third node, which causes the third node to communicate data between the third node and the first node, removing the second remote-memory-access request from the first node buffer, indicating that one of the allocation units in the first node buffer is no longer in use, and receiving, in the first node, a second command from a first software process executing in the processor of the first node, to un-reserve N<b>1</b> allocation units of space in the first node buffer of the first node, and un-reserving N<b>1</b> allocation units of space in the node buffer of the first node.
0008In some embodiments, when using the Controlled Discard scheme, software issues an allocation request to the deadlock-avoidance engine indicating the amount of space it needs for a block of requests it is about to issue and can immediately follow the allocation request with those requests. The deadlock-avoidance engine allocates space for the entire block if it has sufficient space available. Otherwise, the deadlock-avoidance engine discards all requests of the block. An indication is returned to application software of whether or not the allocation was successful. If the allocation was not successful, the application software later retries the allocation and the corresponding block of requests. Therefore, the application software must retain the state information that it requires to be able to retry the block until it determines that the allocation for the block was accepted by the deadlock-avoidance engine. Application software may issue successive blocks in pipeline fashion without first waiting for the allocation success or failure notification of prior blocks.
0009In some embodiments, when using the Persistent Reservation scheme, a software process (application software) issues an allocation request to the deadlock-avoidance engine indicating an amount of space that is to be reserved within the deadlock-avoidance FIFO. An indication is returned to the application software of whether or not the allocation was successful. Once the application software determines that the allocation was successful, it may use the FMA to send any number of requests, and all will be accepted by the deadlock-avoidance engine provided that the amount of space being occupied in the FIFO never exceeds the allocated amount. This scheme does not require that application software be able to retry requests that have already been issued.
BRIEF DESCRIPTION OF THE DRAWINGS
0010<figref idref="DRAWINGS">FIG. 1</figref> is a block diagram of a Network Interface Function <b>101</b>, according to some embodiments of the invention.
0011<figref idref="DRAWINGS">FIG. 2</figref> is a block diagram of a Network Interface Function <b>201</b>, according to some embodiments of the invention.
0012<figref idref="DRAWINGS">FIG. 3</figref> is a block diagram of a DLA engine <b>221</b>, according to some embodiments of the invention.
0013<figref idref="DRAWINGS">FIG. 4</figref> is a block diagram of the enqueue function <b>410</b>, according to some embodiments of the invention.
0014<figref idref="DRAWINGS">FIG. 5</figref> is a block diagram of the DLA dequeue function <b>330</b>, according to some embodiments of the invention.
0015<figref idref="DRAWINGS">FIG. 6</figref> shows a block diagram of one embodiment using an exemplary network software stack <b>600</b>.
DETAILED DESCRIPTION OF THE INVENTION
0016Although the following detailed description contains many specifics for the purpose of illustration, a person of ordinary skill in the art will appreciate that many variations and alterations to the following details are within the scope of the invention. Very narrow and specific examples are used to illustrate particular embodiments; however, the invention described in the claims is not intended to be limited to only these examples, but rather includes the full scope of the attached claims. Accordingly, the following preferred embodiments of the invention are set forth without any loss of generality to, and without imposing limitations upon the claimed invention. Further, in the following detailed description of the preferred embodiments, reference is made to the accompanying drawings that form a part hereof, and in which are shown by way of illustration specific embodiments in which the invention may be practiced. It is understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the present invention.
0017The leading digit(s) of reference numbers appearing in the Figures generally corresponds to the Figure number in which that component is first introduced, such that the same reference number is used throughout to refer to an identical component which appears in multiple Figures. Signals and connections may be referred to by the same reference number or label, and the actual meaning will be clear from its use in the context of the description.
0018The following abbreviations, among others, appear in the present description: AMO (atomic memory operation); BTE (block-transfer engine); COMP WAT (completion wait); CQ (completion queue); DLA (deadlock avoidance); FIFO (first-in-first-out buffer); HSS (hardware supervisory system); IND (indication); IOMMU (input-output memory-management unit); IRQ (interrupt request); LB (logical block); MAINT (maintenance); MMR (memory-mapped registers); MON (monitor); NAT (network-address translation); NET (network); NICLM (network-interface core-logic monitor); NPT (non-posted table); ORB (outstanding-request buffer); OS (operating system); PARB (processor-interface arbiter); PG (page); RAT (remote-address translation); RD (read); REQ (request); RMT (receive-message table); RSP (response); SSID (synchronization-sequence identification); TARB (transmit arbiter); TBL (table); TRANS (translate); TX (transmit); WC (write combining); WRT (write).
0019<figref idref="DRAWINGS">FIG. 1</figref> is a block diagram of a network-interface function <b>101</b>. The network-interface function provides functionality to manage the transfer of data between application software via an application-software interface <b>110</b> and a Physical Network Interface <b>112</b>. In some embodiments, this network is the hardware that forms a high-speed network (HSN) interconnecting the nodes of a massively parallel processor system. The network-interface function (NIF) <b>101</b> is a facility to convert traffic from and to a network interface. In some embodiments, the NIF is implemented entirely in software (in some such embodiments, the NIF <b>201</b> (all or a substantial number of its components shown in <figref idref="DRAWINGS">FIG. 2</figref>) is implemented in the hardware abstraction layer software (see <figref idref="DRAWINGS">FIG. 6</figref> described below)). In some embodiments, the NIF is partially implemented in hardware. In other embodiments, the NIF is implemented substantially entirely in hardware.
0020In some embodiments, the fast memory access (FMA) function <b>222</b> (also called a remote-memory-access function) provides software with windows into the memory space of the remote endpoints, allowing software running at the local processor (node) to PUT and GET data directly to and from the remote endpoints' memory. In some embodiments, software may also perform atomic memory operations between local operands and remote memory locations using the atomic-memory-operation function <b>232</b> (AMO). Using FMA <b>222</b>, software at the local processor explicitly controls each element of data that is transferred. Before an operation can be performed an FMA descriptor that will be used to control the operation must first be configured by software. Typically, one or more FMA descriptors are assigned to an application process. In some embodiments, the FMA is implemented entirely in software (in some such embodiments, the FMA is implemented in the hardware abstraction layer software (see <figref idref="DRAWINGS">FIG. 6</figref> described below)). In some embodiments, the FMA is partially implemented in hardware. In other embodiments, the FMA is entirely implemented in hardware. In some embodiments, the descriptors are stored in memory-mapped registers (MMRs) in the FMA unit. In some embodiments, each FMA supports <b>127</b> FMA descriptors. In other embodiments, each FMA supports between 64 and 128 descriptors. In other embodiments, each FMA supports between 96 and 192 descriptors. In other embodiments, each FMA supports between 128 and 256 descriptors.
0021In some embodiments, the block-transfer engine (BTE) <b>223</b> provides software running at the local processor with the ability to transfer potentially large blocks of data to and from the memory of remote endpoints by issuing just a single transaction request. In using BTE, a software application is off-loaded from performing the actual element-by-element data transfer, and so is able to perform other processing while the actual transfer is taking place. In some embodiments, the BTE is implemented entirely in software (in some such embodiments, the BTE is implemented in the hardware abstraction layer software (see <figref idref="DRAWINGS">FIG. 6</figref> described below)). In some embodiments, the BTE is partially implemented in hardware. In other embodiments, the BTE is entirely implemented in hardware.
0022In some embodiments, the FMA <b>222</b> forwards remote-memory-access requests to the deadlock-avoidance (DLA) engine <b>221</b> (also referred to as the DLA function or simply DLA). The purpose of the DLA engine <b>221</b> is to prevent deadlock cycles, involving traffic flows between nodes, by isolating software processes from back-pressure exerted by the high-speed network (HSN). The DLA function includes a large buffer (in some embodiments, a first-in-first-out buffer (FIFO)) for absorbing network-bound requests. If the rate at which HSN-bound requests, arriving from FMA, exceeds the rate at which the network is accepting requests such that the FIFO becomes full, the DLA engine discards subsequent requests arriving from FMA. In some embodiments, the DLA engine includes mechanisms to partition the FIFO space between the different FMA descriptors, and mechanisms to allow software to interact with the FIFO fill level and to be informed of any discards that may have occurred. The DLA engine forwards the HSN-bound requests to a transmit arbiter (TARB) <b>242</b>. In some embodiments, the DLA is implemented entirely in software (in some such embodiments, the DLA is implemented in the hardware abstraction layer software (see <figref idref="DRAWINGS">FIG. 6</figref> described below)). In some embodiments, the DLA is partially implemented in hardware. In other embodiments, the DLA is entirely implemented in hardware.
0023In some embodiments, the collective-engine (CE) function <b>247</b> provides the ability to perform rapid reductions of small quantities of data across potentially many software processes running at many network endpoints. Each CE function supports a plurality of virtual CEs. To facilitate scaling, software configures virtual connections between virtual CEs such that the virtual CEs are arranged in an inverted-tree structure. The software processes join a reduction by issuing requests to the virtual CEs at the bottom of the tree. Partial reduction results propagate upward toward the root of the tree. The final reduction result propagates back down the tree and is delivered to the participating processes by the virtual CEs at the bottom of the tree. In some embodiments, the CE is implemented entirely in software (in some such embodiments, the CE is implemented in the hardware abstraction layer software (see <figref idref="DRAWINGS">FIG. 6</figref> described below)). In some embodiments, the CE is partially implemented in hardware. In other embodiments, the CE is entirely implemented in hardware.
0024In some embodiments, the transmit arbiter (TARB) <b>242</b> arbitrates the request packets from DLA <b>221</b>, BTE <b>223</b>, and CE <b>247</b> and passes the requests, unmodified, to a synchronization-sequence-identification (SSID) function <b>243</b>. In some embodiments, the TARB <b>242</b> is implemented entirely in software (in some such embodiments, the TARB <b>242</b> is implemented in the hardware abstraction layer software (see <figref idref="DRAWINGS">FIG. 6</figref> described below)). In some embodiments, the TARB <b>242</b> is partially implemented in hardware. In other embodiments, the TARB <b>242</b> is entirely implemented in hardware.
0025In some embodiments, the synchronization-sequence-identification (SSID) function <b>243</b> tracks request-packet sequences. Each sequence corresponds to a different transaction. Based on special packets that are issued from the request sources (FMA, BTE, CE) to mark the beginning and end of transactions and the particular FMA descriptor, BTE channel, or virtual CE that the packet is associated with, the SSID assigns each request packet destined for the network to its correct sequence and inserts a sequence identifier (ssid value) into the packet. The network-bound request is forwarded on to an outstanding-request-buffer (ORB) <b>246</b> function. In some embodiments, the SSID is implemented entirely in software (in some such embodiments, the SSID is implemented in the hardware abstraction layer software (see <figref idref="DRAWINGS">FIG. 6</figref> described below)). In some embodiments, the SSID is partially implemented in hardware. In other embodiments, the SSID is entirely implemented in hardware.
0026In some embodiments, the outstanding-request-buffer (ORB) function <b>246</b> tracks packets. The ORB assigns and inserts a packet ID value into each request forwarded to the network physical interface <b>112</b>. A response with the same packet ID value is expected to be eventually returned. Fetching requests are expected to return a response that contains data that will be written to the memory of the local processor. For Fetching requests, the ORB <b>246</b> retains the local address information contained in the request. The local address information will eventually be needed to write the response data to memory. The local address information is stripped off of the request before it is forwarded to the network physical interface. In some embodiments, the ORB is implemented entirely in software (in some such embodiments, the ORB is implemented in the hardware abstraction layer software (see <figref idref="DRAWINGS">FIG. 6</figref> described below)). In some embodiments, the ORB is partially implemented in hardware. In other embodiments, the ORB is entirely implemented in hardware.
0027In some embodiments, remote-address-translation (RAT) <b>245</b> and network-address-translation (NAT) <b>241</b> functions provide for validation of requests targeting the local processor's memory. Requests targeting the memory of the local processor, such as PUTs and AMOs from remote endpoints, and GET responses, are validated before being delivered to the software application to confirm they are authorized and fall within the bounds of the targeted memory domain. The remote-address-translation (RAT) <b>245</b> and network-address-translation (NAT) <b>241</b> functions are involved in the validation. The authorization is performed through a protection-tag (PTAG)/protection-key (PKEY) mechanism. Each network request carries a PKEY value. PKEY values are derived from PTAG values configured by software. For a request to be authorized its PKEY value must correspond to the PTAG value configured for the targeted memory domain. In some embodiments, the RAT and NAT are implemented entirely in software (in some such embodiments, the RAT and NAT functions are implemented in the hardware abstraction layer software (see <figref idref="DRAWINGS">FIG. 6</figref> described below)). In some embodiments, the RAT and NAT are partially implemented in hardware. In other embodiments, the RAT and NAT are entirely implemented in hardware.
0028In some embodiments, an input/output memory-management unit (IOMMU) <b>235</b> supports memory management by providing memory page translation for requests targeting the local processor's memory. The input/output memory-management unit (IOMMU) is involved in this translation. In some embodiments, the IOMMU is implemented entirely in software (in some such embodiments, the IOMMU is implemented in the hardware abstraction layer software (see <figref idref="DRAWINGS">FIG. 6</figref> described below)). In some embodiments, the IOMMU is partially implemented in hardware. In other embodiments, the IOMMU is entirely implemented in hardware.
0029In some embodiments, a receive-message-table (RMT) function <b>236</b> provides mechanisms based on completion queues and interrupt requests for notifying software of significant events, such as the complete reception of a message targeting the local processor, and global visibility of the results of a sequence of requests issued by the local processor. The synchronization-sequence-identification (SSID) function <b>243</b>, receive-message-table (RMT) function <b>236</b>, and completion-queue (CQ) <b>234</b> functions are the principal entities involved. Certain types of requests can be tracked by the RMT for the purpose of issuing a completion notification when all requests of a message have been received. If the request is of this type, the RMT updates its table of message state information. (The RMT maps individual request packets to messages based on the source endpoint ID of the request and the ssid value contained in the request.) In some embodiments, the RMT is implemented entirely in software (in some such embodiments, the RMT is implemented in the hardware abstraction layer software (see <figref idref="DRAWINGS">FIG. 6</figref> described below)). In some embodiments, the RMT is partially implemented in hardware. In other embodiments, the RMT is entirely implemented in hardware.
0030In some embodiments, a non-posted-table (NPT) function <b>233</b>, forward requests received to the atomic-memory-operation (AMO) function <b>232</b>. For each request received from the HSN, a response is returned to the source endpoint. The NPT <b>233</b> is responsible for forwarding the request's response to the HSN via the network's physical interface <b>112</b>. For fetching requests, the response to the network's physical interface can only be issued after the data to be returned in the response has been received from the AMO function, which, in turn, is generally dependent on having received the data from a software process. The NPT is responsible for tracking each request for which a response is outstanding, and for matching each response received from the AMO function with the corresponding outstanding request. For non-fetching requests, the NPT can issue the response immediately upon forwarding the request on to the AMO function, or optionally, can request a response in the request that it forwards to the AMO function, and only return the response to the network upon receiving the response from the AMO function. In some embodiments, the NPT are implemented entirely in software (in some such embodiments, the NPT is implemented in the hardware abstraction layer software (see <figref idref="DRAWINGS">FIG. 6</figref> described below)). In some embodiments, the NPT and AMO are partially implemented in hardware. In other embodiments, the NPT and AMO are entirely implemented in hardware.
0031The term “node” refers to a memory hierarchy and set of processing resources attached to a single network interface. In some embodiments, a node may contain one or more processors together with local memory. Local memory refers to the memory hierarchy within a node. In some embodiments, local memory may be part of a cache-coherent domain (an intra-node domain). Remote memory refers to memory on a different node. Local memory can be accessed by a processor at the node using load and store operations.
0032The term “network endpoint,” or simply “endpoint,” is usually equivalent to node. In some embodiments, it is possible to have multi-ported nodes. A multi-ported node is one which is connected to more than one network interface. In the case of a multi-ported node, the terms node and network endpoint are not quite equivalent, as a multi-ported node appears in the system as more than one network endpoint.
0033A “sequence” is a series of requests sent from one endpoint to another. These requests may consist of PUT, BTE_SEND, or GET packets. In the case of a PUT or BTE_SEND sequence, it may include a message-complete packet. A “message” consists of a sequence and a completion notification at the destination. The completion notification may include a CQ event or flag data write in the case of a PUT or GET message, or an RX Descriptor writeback in the case of a BTE_SEND message. A “transaction” is more broadly interpreted. A transaction includes one or more sequences or messages, the mechanisms to initiate those sequences, and a source-side completion notification (SSCN). For example, a transaction may be used to send a single message from the FMA. In this case, the transaction includes the programming of the FMA, the transmission of the message, and the source-side completion notification. However, a transaction could also be used to perform a series of PUT or GET sequences involving different destination endpoints. In this case, the SSCN provides the following information: that the transaction is complete, that all GET responses are visible at the source, and whether or not the transaction was successful.
0034A flit (flow control digits) is a sub-portion of a network packet. In some embodiments, large network packets are broken into small pieces called flits (flow control digits). The first flit, called the header flit, holds information about this packet's route (namely the destination address) and sets up the routing behavior for all subsequent flits associated with the packet. The head flit is followed by zero or more body flits, containing the actual payload of data. The final flit, called the tail flit, performs some bookkeeping to close the connection between the two nodes. One thing special about wormhole flow control is the implementation of virtual channels.
0035<figref idref="DRAWINGS">FIG. 2</figref> is a block diagram of a network-interface function (NIF) <b>201</b> (in some embodiments, some or all of this is implemented in hardware, and so is also sometimes referred to as a network-interface circuit (NIC) <b>201</b> in some embodiments, a network-interface core (NIC) in other embodiments, or as a network-interface card (NIC) in yet other embodiments). The network-interface circuit (NIC) <b>201</b> has a collective-engine (CE) function <b>247</b> and a deadlock-avoidance (DLA) function <b>221</b>, according to some embodiments of the invention. In some embodiments, NIF <b>201</b> includes FMA function <b>222</b> that receives, as input, signal REQ <b>2221</b> sent from the software application interface <b>298</b> of the processor connected to the node (the left side of <figref idref="DRAWINGS">FIG. 2</figref>), and signal RSP IND <b>2222</b>; FMA function <b>222</b> outputs signal NET REQ <b>2211</b> sent to DLA function <b>221</b>, and outputs signal CQ DESC UPDATE <b>2341</b> sent to function CQ <b>234</b>.
0036In some embodiments, DLA function <b>221</b> receives, as input, signal NET REQ <b>2211</b>; DLA function <b>221</b> outputs signal NET REQ <b>2421</b> sent to TARB function <b>242</b>, and outputs signal DLA FIFO STATUS <b>2311</b> sent to function PARB <b>231</b>. In some embodiments, TARB function <b>242</b> receives, as input, signal NET REQ <b>2421</b> from DLA <b>221</b>, signal NET REQ <b>2422</b> from BTE <b>223</b> and signal NET REQ <b>2423</b> from CE <b>247</b>; TARB function <b>242</b> outputs signal NET REQ <b>2431</b> sent to SSID function <b>243</b>.
0037In some embodiments, SSID function <b>243</b> receives, as input, signal NET REQ <b>2431</b> from TARB function <b>242</b>, and generates signals NET REQ <b>2461</b> sent to ORB <b>246</b> and RSP IND <b>2233</b> sent to BTE <b>223</b>; SSID function <b>243</b> also generates as output signal FLUSH REQ and in return receives, as input, signal FLUSH RSP from WC <b>244</b> and signal NET RSP HEADERS from WC <b>244</b>.
0038In some embodiments, BTE function <b>223</b> receives as input signals RSP IND <b>2233</b> from SSID <b>243</b>, USER DATA RD RSP <b>2231</b> from NPT <b>233</b> and USER DATA RD ADDR <b>2232</b> from NAT <b>241</b>, and generates as output signals NET REQ <b>2422</b> sent to TARB <b>242</b>, PUT/SEND USER DATA RD <b>2312</b> sent to PARB <b>231</b> and TX DESCRIPTOR WRITE BACK <b>2313</b> sent to PARB <b>231</b>. BTE <b>223</b> also communicates, as input and output, signal TRANS <b>2235</b> to and from NAT <b>241</b>.
0039In some embodiments, ORB function <b>246</b> receives, as input, signal NET REQ <b>2461</b> from SSID function <b>243</b>, and generates output signal NET REQ <b>2460</b>; ORB function <b>246</b> then receives, as input, signal NET RSP <b>2462</b> and generates as output signal NET RSP <b>2451</b> sent to RAT function <b>245</b>.
0040In some embodiments, RAT function <b>245</b> receives, as input, signal NET RSP <b>2451</b> from ORB function <b>246</b>, and generates output signal NET RSP <b>2441</b> sent to WC <b>244</b>; RAT function <b>245</b> also receives, as input, signal NET REQ <b>2452</b> and generates, as outputs, signal NET REQ <b>2471</b> sent to CE function <b>247</b> and signal NET REQ <b>2361</b> sent to RMT function <b>236</b>; RAT function <b>245</b> also communicates, as input and output, signal TRANS <b>2415</b> to NAT <b>241</b>, receives as input, signal COMP REQ <b>2453</b> and generates as output signal LINK ACTIVE <b>2450</b>.
0041In some embodiments, WC function <b>244</b> receives, as input, signal NET RSP <b>2441</b> from RAT function <b>245</b>, and generates output signal NET RESP XLATED TO WRITE REQ <b>2314</b> to PARB function <b>231</b> and output signal PAGE TABLE READ/ERROR LOG WRITE <b>2315</b> also sent to PARB function <b>231</b>; WC function <b>244</b> receives (from SSID function <b>243</b>) as input signal FLUSH REQ and in return sends, as output, signal FLUSH RSP and signal NET RSP HEADERS to SSID function <b>243</b>.
0042In some embodiments, NAT function <b>241</b> communicates, as input and output, signal TRANS <b>2415</b> to RAT function <b>245</b>; communicates, as input and output, signal TRANS <b>2345</b> to CQ function <b>234</b>; communicates, as input and output, signal TRANS <b>2355</b> to IOMMU function <b>235</b>; communicates, as input and output, signal TRANS <b>2235</b> to BTE function <b>223</b>; and generates as output, signal USER DATA RD ADDR <b>2232</b> sent to BTE <b>223</b>.
0043In some embodiments, CQ function <b>234</b> communicates, as input and output, signal TRANS <b>2345</b> to NAT function <b>241</b>; receives, as input, signal CQE (BTE, DLA, RMT, SSIO) <b>2341</b> and generates as output CQ WRT <b>2331</b> sent to NPT <b>233</b>.
0044In some embodiments, IOMMU function <b>235</b> receives, as input, signal COMP WAT (CQ, NPT, BTE, RAT) <b>2351</b>; receives, as input, signal PG TBL RD RSP <b>2352</b>; communicates, as input and output, signal TRANS <b>2355</b> to NAT function <b>241</b>; and generates, as output, COMP REQ <b>2453</b> sent to RAT <b>245</b>.
0045In some embodiments, CE function <b>247</b> receives, as input, signal NET REQ <b>2471</b> from RAT <b>245</b>; generates, as output, signal NET REQ <b>2423</b> sent to TARB function <b>242</b>; and generates as output, signal RSP <b>2332</b> sent to NPT <b>233</b>.
0046In some embodiments, RMT function <b>236</b> receives, as input, signal NET REQ <b>2361</b> from RAT <b>245</b>; and generates as output, signal NET REQ <b>2333</b> sent to NPT <b>233</b>.
0047In some embodiments, NPT function <b>233</b> receives, as input, signal CQ WRT <b>2331</b> from CQ function <b>234</b>; receives, as input, signal RSP <b>2332</b> from CE function <b>247</b>; receives, as input, signal NET REQ <b>2333</b> from RMT function <b>236</b>; receives, as input, signal RSP <b>2334</b> from AMO function <b>232</b>. NPT function <b>233</b> also generates as output, signal USER DATA RD RSP <b>2231</b> sent to BTE <b>223</b>, generates as output, signal REQ <b>2321</b> sent to AMO <b>232</b>, generates as output, signal NET RSP <b>2339</b> sent to Network Interface <b>299</b>, and generates as output, signal MAINT RSP <b>2316</b> sent to PARB <b>231</b>.
0048In some embodiments, PARB function <b>231</b> receives, as input, signal DLA FIFO STATUS <b>2311</b> from DLA function <b>221</b>; receives, as input, signal PUT/SEND USER DATA RD <b>2312</b> from BTE function <b>223</b>; receives, as input, signal TX DESCRIPTOR WRITE BACK <b>2313</b> from BTE function <b>223</b>; receives, as input, signal NET RESP XLATED TO WRITE REQ <b>2314</b> from WC function <b>244</b>; receives, as input, signal PAGE TABLE READ/ERROR LOG WRITE <b>2315</b> from WC function <b>244</b>; receives, as input, signal MAINT RSP <b>2316</b> from NPT function <b>233</b>; and receives, as input, signal REQ <b>2317</b> from AMO function <b>232</b>. PARB function <b>231</b> also generates as output, signal REQ <b>2310</b> sent to the software application interface <b>298</b> of the processor connected to the node.
0049In some embodiments, AMO function <b>232</b> receives, as input, signal REQ <b>2321</b> from NPT <b>233</b>; then generates as output, signal REQ <b>2317</b> sent to PARB <b>231</b>; AMO function <b>232</b> also receives, as input, signal RSP <b>2322</b> sent from the software application interface <b>298</b> of the processor connected to the node, then generates as output, signal RSP <b>2317</b> sent to NPT <b>233</b>.
0050In some embodiments, NICLM function <b>248</b> communicates with REQ MON function <b>229</b>; communicates with RSP MON function <b>239</b>; communicates with NET MON function <b>249</b>; communicates signal LB RING (MMR ACCESS) <b>2481</b> with the network interface <b>299</b> on the network side (to the right hand side of the <figref idref="DRAWINGS">FIG. 2</figref>); generates as output signal HSS IRQ <b>2489</b> sent to the network interface <b>299</b>, and generates as output signal OS IRQ <b>2488</b> sent to the network interface <b>299</b>.
0051Deadlock-Avoidance Engine Description
0052The present invention includes a deadlock-avoidance (DLA) engine or function. In some embodiments, the DLA engine includes a large software-managed FIFO used to guarantee that a request sent towards the high-speed network (HSN) will be able to leave the processor initiating the request. The DLA engine receives requests from the FMA function and enqueues them in its FIFO if space has been reserved for the request. Requests are then passed to the TARB <b>242</b> after they are dequeued. Software reserves space in the FIFO by performing allocation requests and can guarantee that all prior requests are dequeued by sending a DLA marker through the FIFO. Allocation status and marker dequeue events are reported through a standard completion-queue (CQ) interface. FIFO status for software use is periodically written to memory. In some embodiments, there are two allocation models allowed by the DLA: Persistent Reservation (PR) and Controlled Discard (CD). Persistent Reservation allows for a more static allocation of the DLA queue among FMA descriptors, while Controlled Discard allows for a more dynamic allocation scheme. While several features of the DLA engine can be used by either allocation scheme, some of the features in the present invention are more pertinent to only one of the allocation schemes.
0053<figref idref="DRAWINGS">FIG. 3</figref> is a block diagram of a DLA engine <b>221</b>. The DLA engine is divided into two main sub-functions, enqueue <b>310</b> and dequeue <b>330</b>. The enqueue function <b>310</b> processes FIFO allocations and performs packet enqueue checks. The dequeue function <b>330</b> takes packets from the enqueue function, writes them to the deadlock FIFO <b>332</b>, and then reads them and sends them to the TARB <b>242</b> for arbitration and network injection. The dequeue function takes DLA markers from the FIFO, sends them <b>3320</b> to the Per Descriptor Marker Notification Logic <b>314</b> in the enqueue function <b>310</b>.
0054The DLA enqueue sub-function decodes packets <b>3120</b> from the FMA, performs FIFO allocations and de-allocations <b>312</b>, and determines if packets will be written to the DLA FIFO. The enqueue function uses FIFO configuration settings, FIFO credits reserved and consumed counts, and per descriptor status to perform these operations. The enqueue function sends allocation status and DLA marker-event data <b>3122</b> to the completion queue (CQ). It also updates memory with FIFO allocation status <b>3124</b>.
0055<figref idref="DRAWINGS">FIG. 4</figref> is a block diagram of the enqueue function <b>410</b>. In some embodiments, in enqueue-function stage-<b>1</b><b>412</b>, header flits are checked for parity errors and single-error correction double-bit-error detection (SECDED) is performed on data flits. Packets with header parity errors are discarded. In some embodiments, DLA-specific packets—AllocSSID, SeqComplete, or DLAMARKER—are checked for a status of A_STATUS_FMA_UNCORRECTABLE or A_STATUS_DATA_ERR. These packets are also dropped. Header-parity-error reporting takes priority over DLA packets with bad status. Packet flits with single-bit data errors are corrected and reported. Double-bit errors are reported only; no other action is taken.
0056Following data checking in enqueue-function stage-<b>1</b><b>412</b>, headers of packets that are used by DLA are decoded in enqueue-function stage-<b>2</b><b>414</b>. AllocSSID, SeqComplete, and DLAMARKER packets are used within DLA to start and end transactions and to start and end FIFO allocations within transactions.
0057FIFO allocation decisions involve FIFO fill status as well as status kept for each individual descriptor. FIFO fill status checks are made for allocations at enqueue-function stage-<b>3</b><b>416</b>. A detailed description of FIFO fill status is provided below. One of the individual descriptor enqueue blocks <b>430</b> receives a select signal when a packet header is at enqueue-function stage-<b>3</b>. Individual descriptor blocks also receive an enqueue request and an enqueue count signal for packets that are intended to go through DLA and to the TARB.
0058The decision to allocate or to honor an enqueue request is made at enqueue-function stage-<b>4</b><b>418</b> in the selected descriptor allocate unit packets <b>431</b> which pass their enqueue checks are sent to the dequeue unit at enqueue-function stage-<b>5</b><b>420</b> to be entered into the main DLA FIFO.
0059<figref idref="DRAWINGS">FIG. 5</figref> is a block diagram of the DLA dequeue function <b>330</b>. The DLA dequeue function receives packets from the enqueue function and stores them <b>510</b> in the deadlock FIFO <b>512</b>, provided they have passed their enqueue checks. Packets that have failed FIFO enqueue checks are discarded. Since the DLA FIFO is large, in some embodiments, packet headers are protected by ECC to meet reliability goals. The packets are marked as low-priority controlled discard, high-priority controlled discard, or persistent-reservation packet type. ECC bits are generated and stored with the packet header flits in stage <b>6</b><b>510</b>. In some embodiments, the ECC bits are generated and checked in hardware. The enqueue type and ECC bits are stored in otherwise unused header bit positions. Packets are stored in the main DLA FIFO and read and sent from there to the TARB <b>518</b>. Read addresses are generated by Read Address Logic <b>514</b> based on information from enqueue stage <b>6</b><b>510</b>. Packets are stored in the DLA queue on a half-flit granularity. This makes the queue storage more efficient for payload sizes of one (1), three (3), five (5), and seven (7) 64-bit words (rounded up to the nearest 64-bit world). After reading from the FIFO, SECDED is performed on packet headers in Read Data and Verify <b>516</b>. The enqueue type flags are used to send <b>530</b> consumed credit decrements back to the enqueue unit. DLA marker information is also sent back to the enqueue function, which generates a CQ event for it. Only the used half-flit is stored in the DLA FIFO for tail flits where the upper data is not valid. On dequeue, the unused half-flit is inserted to restore the original packet.
0060<figref idref="DRAWINGS">FIG. 6</figref> shows a block diagram of one embodiment using an exemplary network software stack <b>600</b>. In some embodiments, a high degree of compatibility is maintained with an existing (e.g., the Cray XE6) system. In some embodiments, implementations of GNI and DMAPP in the software stack used in some embodiments of the present invention build on those for the conventional “Gemini” NIC of the Cray XE6, adding support for new features. Compatibility is maintained for software that uses these interfaces.
0061In some embodiments, the software of the present invention uses the MPICH2 software code distribution from Argonne National Laboratory. In some embodiments, the MPI (message-passing interface) implementation uses a Nemesis driver for the network-router and NIF functions layered over uGNI. (See H. Pritchard, I. Gorodetsky, and D. Buntinas. “A uGNI based MPICH2 Nemesis Network Module for the Cray XE.” In <i>Proceedings of the </i>18<i>th European MPI Users' Group Conference on Recent Advances in the Message Passing Interface, EuroMPI '</i>11, pp. 110-119, Springer-Verlag, 2011.) Use of FMA (fast memory access) gives MPI applications the ability to pipeline large numbers of small, low-latency transfers—an increasingly important requirement for strong scaling on multicore nodes. Where space is available, intermediate size messages are sent eagerly to pre-allocated system buffers. Large messages are transferred using a rendezvous protocol in which bulk data transfer occurs after matching of an MPI message header and a receive request. Message matching is progressed by each call, or in the case of large messages, using an optional progress thread. The block-transfer engine (BTE) is used to provide high-bandwidth, good overlap of computation and communication, and efficient use of main memory bandwidth. Implementation of latency sensitive collectives, including MPI_Allreduce and MPI_Barrier collective-reduction operations, is optimized using the collective engine described above.
0062Cray SHMEM (shared memory) provides an explicit one-sided communication model. (See Cray Research, Inc. “SHMEM Technical Note for C,” SG-25 16 2.3, 1994.) Each process executes in its own address space but can access segments of the memory of other processes, typically the static data segment and the symmetric heap through a variety of put and get calls, AMO (atomic memory operations) calls, and collectives. Since the Cray T3D system, Cray supercomputers have supported Cray SHMEM. Its implementation for the present invention provides the application programmer with fine-grain control of communication with minimum overhead.
0063In some embodiments, the deadlock-avoidance engine contains a plurality of storage elements or RAMs. In some embodiments, as shown in Table 1, the DLA RAMs include:
0064<tables id="TABLE-US-00001" num="00001"><table frame="none" colsep="0" rowsep="0" pgwide="1"><tgroup align="left" colsep="0" rowsep="0" cols="6"><colspec colname="1" colwidth="42pt" align="left" /><colspec colname="2" colwidth="35pt" align="left" /><colspec colname="3" colwidth="21pt" align="center" /><colspec colname="4" colwidth="35pt" align="center" /><colspec colname="5" colwidth="35pt" align="center" /><colspec colname="6" colwidth="98pt" align="left" /><thead><row><entry namest="1" nameend="6" rowsep="1">TABLE 1</entry></row><row><entry namest="1" nameend="6" align="center" rowsep="1" /></row><row><entry>Name</entry><entry>Sub-unit</entry><entry>Data</entry><entry>Checkbits</entry><entry>Size</entry><entry>Comment</entry></row><row><entry namest="1" nameend="6" align="center" rowsep="1" /></row></thead><tbody valign="top"><row><entry>enq_ram</entry><entry>Enqueue</entry><entry>31</entry><entry>7</entry><entry> 128 × 38</entry><entry>Allocation CQ event data</entry></row><row><entry>deq_ram</entry><entry>Enqueue</entry><entry>44</entry><entry>7</entry><entry> 128 × 51</entry><entry>DLA Marker CQ event data</entry></row><row><entry>ram_b0d0lo</entry><entry>Dequeue</entry><entry>36</entry><entry>*</entry><entry>4096 × 36</entry><entry>Bank 0 data 0 lower</entry></row><row><entry>ram_b0d0hi</entry><entry>Dequeue</entry><entry>37</entry><entry>*</entry><entry>4096 × 37</entry><entry>Bank 0 data 0 higher and tail bit</entry></row><row><entry>ram_b0d1lo</entry><entry>Dequeue</entry><entry>36</entry><entry>*</entry><entry>4096 × 36</entry><entry>Bank 0 data 1 lower</entry></row><row><entry>ram_b0d1hi</entry><entry>Dequeue</entry><entry>37</entry><entry>*</entry><entry>4096 × 37</entry><entry>Bank 0 data 1 higher and tail bit</entry></row><row><entry>ram_b1d0lo</entry><entry>Dequeue</entry><entry>36</entry><entry>*</entry><entry>4096 × 36</entry><entry>Bank 1 data 0 lower</entry></row><row><entry>ram_b1d0hi</entry><entry>Dequeue</entry><entry>37</entry><entry>*</entry><entry>4096 × 37</entry><entry>Bank 1 data 0 higher and tail bit</entry></row><row><entry>ram_b1d1lo</entry><entry>Dequeue</entry><entry>36</entry><entry>*</entry><entry>4096 × 36</entry><entry>Bank 1 data 1 lower</entry></row><row><entry>ram_b1d1hi</entry><entry>Dequeue</entry><entry>37</entry><entry>*</entry><entry>4096 × 37</entry><entry>Bank 1 data 1 higher and tail bit</entry></row><row><entry namest="1" nameend="6" align="center" rowsep="1" /></row></tbody></tgroup></table></tables>
0065The following table (Table 2) lists exceptions and errors detected by DLA hardware, in some embodiments. For every error listed in the table, an error is recorded.
0066<tables id="TABLE-US-00002" num="00002"><table frame="none" colsep="0" rowsep="0" pgwide="1"><tgroup align="left" colsep="0" rowsep="0" cols="4"><colspec colname="1" colwidth="42pt" align="left" /><colspec colname="2" colwidth="77pt" align="left" /><colspec colname="3" colwidth="182pt" align="left" /><colspec colname="4" colwidth="77pt" align="left" /><thead><row><entry namest="1" nameend="4" rowsep="1">TABLE 2</entry></row><row><entry namest="1" nameend="4" align="center" rowsep="1" /></row><row><entry>Sub-Unit</entry><entry>Mnemonic</entry><entry>Definition</entry><entry>Action</entry></row><row><entry namest="1" nameend="4" align="center" rowsep="1" /></row></thead><tbody valign="top"><row><entry>DEQUEUE</entry><entry>FIFO_DATA1_MBE</entry><entry>FIFO data packet MBE</entry><entry>Dropped if DLA</entry></row><row><entry /><entry /><entry>upper</entry><entry>MARKER packet</entry></row><row><entry>DEQUEUE</entry><entry>FIFO_DATA1_SBE</entry><entry>FIFO data packet SBE</entry><entry>Corrected</entry></row><row><entry /><entry /><entry>upper</entry></row><row><entry>DEQUEUE</entry><entry>FIFO_DATA0_MBE</entry><entry>FIFO data packet MBE</entry><entry>Dropped if DLA</entry></row><row><entry /><entry /><entry>lower</entry><entry>MARKER packet</entry></row><row><entry>DEQUEUE</entry><entry>FIFO_DATA0_SBE</entry><entry>FIFO data packet SBE</entry><entry>Corrected</entry></row><row><entry /><entry /><entry>lower</entry></row><row><entry>ENQUEUE</entry><entry>MARKER_RAM_MBE</entry><entry>DLA Marker CQE data</entry><entry>Marker CQE dropped</entry></row><row><entry /><entry /><entry>RAM MBE</entry></row><row><entry>ENQUEUE</entry><entry>MARKER_RAM_SBE</entry><entry>DLA Marker CQE data</entry><entry>Corrected</entry></row><row><entry /><entry /><entry>RAM SBE</entry></row><row><entry>ENQUEUE</entry><entry>ALLOC_RAM_MBE</entry><entry>Allocation status RAM</entry><entry>Allocation CQE dropped</entry></row><row><entry /><entry /><entry>MBE</entry></row><row><entry>ENQUEUE</entry><entry>ALLOC_RAM_SBE</entry><entry>Allocation status RAM</entry><entry>Corrected</entry></row><row><entry /><entry /><entry>SBE</entry></row><row><entry>DEQUEUE</entry><entry>FIFO_OVERFLOW</entry><entry>FIFO overflow</entry><entry>None</entry></row><row><entry>ENQUEUE</entry><entry>HDR_PERR</entry><entry>Incoming FMA request</entry><entry>Drop packet, this error</entry></row><row><entry /><entry /><entry>packet with header parity</entry><entry>has priority over</entry></row><row><entry /><entry /><entry>error</entry><entry>FMA_PKT_ERR.</entry></row><row><entry>ENQUEUE</entry><entry>FMA_PKT_ERR</entry><entry>Incoming FMA AllocSSID,</entry><entry>Drop packet</entry></row><row><entry /><entry /><entry>SyncComplete, or</entry></row><row><entry /><entry /><entry>DLAMARKER request packet</entry></row><row><entry /><entry /><entry>with an lstatus of A_STATUS_FMA_UNCORRECTABLE</entry></row><row><entry /><entry /><entry>or</entry></row><row><entry /><entry /><entry>A_STATUS_DATA_ERR</entry></row><row><entry>ENQUEUE</entry><entry>ALLOC_BOTH_ERR</entry><entry>Attempt to do both a CD</entry><entry>Do neither a CD or a PR</entry></row><row><entry /><entry /><entry>and PR allocation</entry><entry>allocation</entry></row><row><entry>ENQUEUE</entry><entry>DATA1_MBE</entry><entry>Incoming FMA request</entry><entry>Error is reported, packet</entry></row><row><entry /><entry /><entry>packet with upper data field</entry><entry>with data flit MBE is</entry></row><row><entry /><entry /><entry>MBE</entry><entry>propagated</entry></row><row><entry>ENQUEUE</entry><entry>DATA1_SBE</entry><entry>Incoming FMA request</entry><entry>Corrected</entry></row><row><entry /><entry /><entry>packet with upper data field</entry></row><row><entry /><entry /><entry>SBE</entry></row><row><entry>ENQUEUE</entry><entry>DATA0_MBE</entry><entry>Incoming FMA request</entry><entry>Error is reported, packet</entry></row><row><entry /><entry /><entry>packet with lower data field</entry><entry>with data flit MBE is</entry></row><row><entry /><entry /><entry>MBE</entry><entry>propagated</entry></row><row><entry>ENQUEUE</entry><entry>DATA0_SBE</entry><entry>Incoming FMA request</entry><entry>Corrected</entry></row><row><entry /><entry /><entry>packet with lower data field</entry></row><row><entry /><entry /><entry>SBE</entry></row><row><entry>DEQUEUE</entry><entry>FIFO_HDR_MBE</entry><entry>Dequeued FIFO packet</entry><entry>Dropped</entry></row><row><entry /><entry /><entry>header with MBE</entry></row><row><entry>DEQUEUE</entry><entry>FIFO_HDR_SBE</entry><entry>Dequeued FIFO packet</entry><entry>Corrected</entry></row><row><entry /><entry /><entry>header with SBE</entry></row><row><entry namest="1" nameend="4" align="center" rowsep="1" /></row></tbody></tgroup></table></tables>
0067The external interfaces of the DLA engine, for some embodiments wherein the DLA engine is wholly or partially implemented in hardware, are listed in the following Table 3.
0068<tables id="TABLE-US-00003" num="00003"><table frame="none" colsep="0" rowsep="0" pgwide="1"><tgroup align="left" colsep="0" rowsep="0" cols="3"><colspec colname="1" colwidth="28pt" align="left" /><colspec colname="2" colwidth="105pt" align="left" /><colspec colname="3" colwidth="147pt" align="left" /><thead><row><entry namest="1" nameend="3" rowsep="1">TABLE 3</entry></row><row><entry namest="1" nameend="3" align="center" rowsep="1" /></row><row><entry>I/O</entry><entry>Name</entry><entry>Description</entry></row><row><entry namest="1" nameend="3" align="center" rowsep="1" /></row></thead><tbody valign="top"><row><entry /></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="1"><colspec colname="1" colwidth="280pt" align="center" /><tbody valign="top"><row><entry>System Interface</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="3"><colspec colname="1" colwidth="28pt" align="left" /><colspec colname="2" colwidth="105pt" align="left" /><colspec colname="3" colwidth="147pt" align="left" /><tbody valign="top"><row><entry>input</entry><entry>cclk</entry><entry>system clock</entry></row><row><entry>input</entry><entry>i_reset</entry><entry>system reset</entry></row><row><entry>input</entry><entry>i_warm_reset</entry><entry>warm reset</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="1"><colspec colname="1" colwidth="280pt" align="center" /><tbody valign="top"><row><entry>FMA Interface</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="3"><colspec colname="1" colwidth="28pt" align="left" /><colspec colname="2" colwidth="105pt" align="left" /><colspec colname="3" colwidth="147pt" align="left" /><tbody valign="top"><row><entry>input</entry><entry>i_fma_dla_req_header</entry><entry>FMA request header</entry></row><row><entry>input</entry><entry>i_fma_dla_req_count[3:0]</entry><entry>FMA request half-flit count, valid with header</entry></row><row><entry>input</entry><entry>i_fma_dla_req_sb[1:0]</entry><entry>FMA request sideband</entry></row><row><entry>input</entry><entry>i_fma_dla_req_flit[143:0]</entry><entry>FMA request flit</entry></row><row><entry>output</entry><entry>r_q_dla_fma_req_ack[3:0]</entry><entry>FMA request half flit acknowledge</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="1"><colspec colname="1" colwidth="280pt" align="center" /><tbody valign="top"><row><entry>TARB Interface</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="3"><colspec colname="1" colwidth="28pt" align="left" /><colspec colname="2" colwidth="105pt" align="left" /><colspec colname="3" colwidth="147pt" align="left" /><tbody valign="top"><row><entry>output</entry><entry>r_q_dla_tarb_req_flit[143:0]</entry><entry>TARB Request Channel Flit</entry></row><row><entry>output</entry><entry>r_q_dla_tarb_req_sb[1:0]</entry><entry>TARB Request Channel Sideband</entry></row><row><entry>input</entry><entry>i_tarb_dla_req_ack</entry><entry>TARB Request Channel Acknowledge</entry></row><row><entry>output</entry><entry>r_q_dla_tarb_dl_rec</entry><entry>Gives DLA packets priority over CE and BTE in</entry></row><row><entry /><entry /><entry>TARB. Forced to 0.</entry></row><row><entry /><entry>PARB Interface</entry></row><row><entry>output</entry><entry>r_q_dla_parb_req_flit[143:0]</entry><entry>PARB Request Channel Flit</entry></row><row><entry>output</entry><entry>r_q_dla_parb_req_sb[1:0]</entry><entry>PARB Request Channel Sideband</entry></row><row><entry>input</entry><entry>i_parb_dla_req_ack</entry><entry>PARB Request Channel Acknowledge</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="1"><colspec colname="1" colwidth="280pt" align="center" /><tbody valign="top"><row><entry>Completion Queue Interface</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="3"><colspec colname="1" colwidth="28pt" align="left" /><colspec colname="2" colwidth="105pt" align="left" /><colspec colname="3" colwidth="147pt" align="left" /><tbody valign="top"><row><entry>output</entry><entry>r_q_dla_cq_handle[10:0]</entry><entry>CQ handle</entry></row><row><entry>output</entry><entry>r_q_dla_cq_data[59:0]</entry><entry>CQ event data</entry></row><row><entry>output</entry><entry>r_q_dla_cq_valid Valid</entry><entry>CQ Event</entry></row><row><entry>input</entry><entry>i_cq_dla_ack Ack</entry></row><row><entry /><entry>Interrupt requests</entry></row><row><entry>output</entry><entry>r_q_dla_pi_os_irq</entry><entry>OS interrupt to Processor Interface</entry></row><row><entry>output</entry><entry>r_q_dla_lb_hss_irq</entry><entry>HSS interrupt to Local Unit</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="1"><colspec colname="1" colwidth="280pt" align="center" /><tbody valign="top"><row><entry>MMR Ring and Logic Monitor (REQMON) Interface</entry></row></tbody></tgroup><tgroup align="left" colsep="0" rowsep="0" cols="3"><colspec colname="1" colwidth="28pt" align="left" /><colspec colname="2" colwidth="105pt" align="left" /><colspec colname="3" colwidth="147pt" align="left" /><tbody valign="top"><row><entry>input</entry><entry>i_reqmon_dla_ring[15:0]</entry><entry>MMR ring in</entry></row><row><entry>output</entry><entry>r_q_dla_reqmon_ring[15:0]</entry><entry>MMR ring out</entry></row><row><entry>output</entry><entry>r_q_dla_reqmon_ring_wrack</entry><entry>MMR write acknowledge</entry></row><row><entry>input</entry><entry>i_reqmon_dla_select0[7:0]</entry><entry>Data 0 select</entry></row><row><entry>input</entry><entry>i_reqmon_dla_select1[7:0]</entry><entry>Data 1 select</entry></row><row><entry>output</entry><entry>r_q_dla_reqmon_data0[146:0]</entry><entry>Data 0</entry></row><row><entry>output</entry><entry>r_q_dla_reqmon_data1[146:0]</entry><entry>Data 1</entry></row><row><entry>output</entry><entry>r_q_dla_reqmon_cntr_inc[15:0]</entry><entry>Performance counter increments</entry></row><row><entry namest="1" nameend="3" align="center" rowsep="1" /></row></tbody></tgroup></table></tables>
0069In some embodiments of the present invention, the deadlock-avoidance mechanism provides two different deadlock avoidance schemes:
00701. Controlled Discard
00712. Persistent Reservation
0072With both schemes, software allocates space, on a per-FMA descriptor basis, in a deadlock-avoidance FIFO. The allocated space provides a “landing zone” for requests that software process (the application software) will subsequently issue using the FMA descriptor. The software process determines which scheme will be used at the time the space is allocated.
0073In some embodiments, the Controlled Discard scheme operates as follows: Software issues an allocation request to the deadlock-avoidance engine indicating the amount of space it needs for a block of requests it is about to issue and can immediately follow the allocation request with those requests. The deadlock-avoidance engine allocates space for the entire block if it has sufficient space available. Otherwise, the deadlock-avoidance engine discards all requests of the block. An indication is returned to application software of whether or not the allocation was successful. If the allocation was not successful, the application software later retries the allocation and the corresponding block of requests. Therefore, the application software must retain the state information that it requires to be able to retry the block until it determines that the allocation for the block was accepted by the deadlock-avoidance engine. Application software may issue successive blocks in pipeline fashion without first waiting for the allocation success or failure notification of prior blocks.
0074In some embodiments, the Persistent Reservation scheme operates as follows: A software process (application software) issues an allocation request to the deadlock-avoidance engine indicating an amount of space to be reserved within the deadlock-avoidance FIFO for a particular FMA descriptor. An indication is returned to the application software of whether or not the allocation was successful. Once the application software receives an indication that the allocation was successful, it may use that FMA descriptor to send any number of requests, and all will be accepted by the deadlock-avoidance engine provided that the amount of space being occupied in the FIFO, for the descriptor, never exceeds the allocated amount. The scheme includes a concept of DLA Markers that application software can insert into the FIFO. When a Marker exits the FIFO, a notification is delivered back to the application software. In this way, application software can determine when a series of prior requests have been flushed from the FIFO. Provided that the allocated FIFO space is never exceeded, application software may issue additional requests without first waiting for the notification from a prior Marker to return. This scheme does not require that application software be able to retry requests that have already been issued.
0075The Persistent Reservation scheme allocates portions of the deadlock-avoidance engine's request buffering capacity to particular FMA descriptors in a relatively static fashion. The Controlled Discard scheme allows the remainder of the buffering capacity to be allocated to FMA descriptors dynamically on a transaction-by-transaction basis. The Controlled Discard scheme may be best suited to message-oriented traffic. The Persistent Allocation scheme may work better in situations where previously issued requests cannot easily be reissued.
0076The acceptance logic determines whether or not there is sufficient unallocated space available in the FIFO to satisfy incoming allocation requests and does not honor allocation requests when space cannot be allocated. Notification of allocation success or failure is provided through completion-queue events (CQEs). A FIFO-fill-level status may be periodically written to the local node's memory. When using the Controlled Discard scheme, application software may interrogate the fill-level status prior to attempting to issue a block of requests to determine whether the space allocation for the block is likely to be successful. When using the Persistent Allocation scheme, application software may determine when a series of requests has been flushed through the FIFO by using Markers that it can insert into the FIFO. A priority mechanism is provided such that some portion of the space in the FIFO can be reserved for Controlled-Discard-mode requests associated with FMA descriptors that have been marked as having high priority.
0077In some embodiments, the FMA unit can store a plurality of parameters for FMA operations. FMA descriptor parameters are used to perform FMA transfers, launch BTE operations, and initiate collective operations. Every FMA request must identify the FMA descriptor to use for that request. In some embodiments, there are <b>127</b> independent FMA descriptors.
0078In some embodiments, application software causes the FMA function to perform some operation by sending the FMA function an ALLOC_SEQID message. In some embodiments wherein the FMA function is implemented in hardware, application software causes FMA hardware to perform some function by storing to an FMA “doorbell”. A doorbell, also called a doorbell interrupt, is a memory-addressable location in the FMA hardware that, when written to, causes the FMA to execute a function. FMA doorbells include ALLOC_SEQID used to indicate the start of a transaction, and SEQCMP used to indicate the completion of a transaction.
0079In some embodiments, network requests generated using the FMA function are issued within the context of transactions. Application software must signal the start of a transaction by requesting a new ssid value through a store to the relevant FMA descriptor with an ALLOC_SEQID message. In some embodiments wherein the FMA function is implemented in hardware, application software stores to the relevant FMA descriptor's ALLOC_SEQID doorbell. Software signals the end of the transaction by releasing the ssid value through a store to the relevant FMA descriptor with a SEQCMP message. In some embodiments wherein the FMA function is implemented in hardware, application software signals the end of the transaction by releasing the ssid value through a store to the SEQCMP doorbell. All network requests issued between these two messages are part of the transaction. It is expected that when using Controlled Discard, one or more space allocations will be used for each transaction.
0080In some embodiments, there is a limit to the maximum amount of space in the deadlock-avoidance FIFO that software is allowed to reserve in a single allocation, a “maximum-allocation credit.” If the size of the entire transaction is less than the maximum-allocation credit, space for the transaction, in the deadlock-avoidance FIFO, can be allocated in a single block. Otherwise, the transaction must be divided into a series of transaction blocks with space allocated independently for each block. The requests of each transaction block can immediately follow the ALLOC_SEQID request (also called ALLOC_SEQID doorbell) that was used to reserve space for the block. Successive blocks, together with their space-allocation requests, can be issued one after the other without intervening delays.
0081In some embodiments, to reduce the overhead associated with managing deadlock avoidance, the ALLOC_SEQID and SEQCMP messages (also called doorbells) are used to signal the start and end of each transaction block as well as the start and end of each transaction. If the entire transaction can be issued in a single block, the number of requests that need to be issued is no greater than it would need to be in the absence of the deadlock-avoidance functionality.
0082In some embodiments, when using a Persistent Reservation, application software will most likely issue the space-allocation request, and check for confirmation that the allocation was successful, before sending any of the requests of the transaction(s) that it is scheduled to issue using the space reservation. In this way, it will not be necessary to reissue the requests of the transaction(s) due to discard by the deadlock avoidance block. Once a Persistent Reservation has been established, any number of transactions may be issued using that reservation.
0083As the quantity of requests issued using a Persistent Reservation is not limited, application software must limit the rate at which it issues requests so as not to overflow its reserved space. It does this by inserting Marker requests into the FIFO. A Marker returns a notification when it exits the FIFO, providing application software with a mechanism for tracking when all requests issued prior to the Marker have been flushed from the FIFO. By limiting the number of requests issued between Markers, and, when necessary, waiting for a Marker notification to return before issuing more requests, application software is kept from overflowing its space allocation.
0084In some embodiments, in addition to its usage for signaling the start of a new transaction to the SSID function <b>243</b>, the ALLOC_SEQID message (also called a doorbell) is also used to request the allocation of space in the deadlock-avoidance FIFO and to indicate whether the space is being requested for a Controlled Discard transaction block or for a Persistent Reservation. To facilitate these additional usages, in some embodiments, the following fields are included in the ALLOC_SEQID message (in some embodiments, the message contains 64 bits):
00851. TRANSACTION_START—When set, indicates the start of a new transaction.
00862. DISCARD_RESET—Indicates that this is the first reissued block once blocks have been discarded by the FMA when using Controlled Discard. Once the deadlock-avoidance engine denies a space-allocation request for a particular FMA descriptor, it denies all space-allocation requests received for that descriptor, regardless of space availability within the deadlock-avoidance FIFO, until an allocation request is received in which the DISCARD_RESET bit is set.
00873. ALLOC_STATUS_RESET—When set, cancel the generation of an allocation status CQE that may still be pending at the time this allocation request is received.
00884. CREDITS_REQUIRED—Value representing the amount of FIFO space being requested.
00895. DLA_REISSUE—This bit should be set if the ALLOC_SEQID message is being performed in the course of reissuing all or part of a previously issued transaction as a consequence of a previously unsuccessful Controlled Discard allocation attempt.
00906. BLOCK_ID—This value is returned within allocation status CQEs to identify the allocation request(s) to which the CQE corresponds. Application software should increment this value with each allocation request issued or reissued.
00917. STATUS_INTERVAL—This field controls how frequently the deadlock-avoidance logic generates allocation status CQEs for successful allocations.
00928. DLA_ALLOC_CD—When set, indicates space is to be allocated in Controlled Discard mode.
00939. DLA_ALLOC_PR—When set, indicates space is to be allocated in Persistent Reservation mode.
009410. DLA_HIGH_PRIORITY—Identifies whether or not transactions issued using the FMA descriptor in Controlled Discard mode are considered to be high priority.
0095In some embodiments, in addition to its usage for signaling the end of a transaction to the SSID function <b>243</b>, the SEQCMP message is also used to terminate a previous FIFO space allocation. To facilitate this additional usage, the following fields are included in the SEQCMP message (in some embodiments, this message contains 64 bits):
00961. TRANSACTION_END.—. This bit is set to 1 to signal the end of a transaction to the SSID function <b>243</b>.
00972. SEQCMP_DLA_DEALLOC.—. This bit is set to 1 to indicate that the current FIFO space allocation should be terminated.
0098In some embodiments, admittance logic of the deadlock-avoidance engine generates allocation status CQEs in reaction to FIFO space-allocation requests that it receives. Space-allocation requests are generated by application software that sends an FMA descriptor ALLOC_SEQ_ID message. The logic for generating allocation-status CQEs operates on a per-FMA-descriptor basis. In some embodiments, there is not a fixed one-for-one (or one-for-n) relationship between the number of allocations attempted and the number of these CQEs generated. Instead, so that it is never necessary to stall the processing of subsequent space-allocation requests while waiting for the CQE status of a previous allocation to be issued, each CQE may report the status of a series of consecutive space-allocation requests. This means that even if software requests an allocation-status CQE for every allocation attempt (STATUS_INTERVAL=1), these CQEs will not necessarily be generated this frequently. An allocation-status CQE is guaranteed to be issued at some point after each allocation request with STATUS_INTERVAL=1, but if software has continued to issue more allocation requests while waiting for that CQE, it is possible that one or more of these additional requests will also have been received and processed before the CQE is issued. In this case, the CQE reports the status of all allocation requests processed up to the time that the CQE actually is issued.
0099In some embodiments, the admittance logic generates a CQE if it has the necessary flow control credits and if a CQE is ready to be generated. A CQE is ready to be generated if, since the latter of the last generated CQE or the last allocation request with ALLOC_STATUS_RESET set to 1, one or more unsuccessful space allocation attempts have occurred, including, possibly, the last request with ALLOC_STATUS_RESET set to 1, or a space allocation request has been received for which STATUS_INTERVAL is less than or equal to the number of space allocation requests that have been received since the latter of the last CQE that was generated or the last allocation request with ALLOC_STATUS_RESET set to 1 (and STATUS_INTERVAL is not equal to 0).
0100In some embodiments, when a CQE is generated, it indicates the allocation status of all space-allocation requests since the latter of the last CQE generated or the last allocation request with ALLOC_STATUS_RESET set to 1. When a CQE is generated, it is issued using the DLA_CQH value included in the most recently received space-allocation request.
0101In some embodiments, Marker notifications are generated when Markers exit the deadlock-avoidance FIFO. The removal of requests from the FIFO is never stalled to wait for a Marker notification to be delivered. If, for a particular FMA descriptor, another Marker exits the FIFO while the generation of a prior Marker notification is still pending, the earlier Marker notification is discarded and only the most recent notification is delivered.
0102On a per-FMA-descriptor basis, the Marker-notification logic generates a Marker-notification CQE if it has the necessary flow-control credits and if a Marker notification is ready to be generated. A Marker notification is ready to be generated if, since the last notification was generated, another Marker has exited the deadlock-avoidance FIFO.
0103In some embodiments, the logic for maintaining the deadlock-avoidance FIFO fill level and determining the success or failure of space-allocation attempts uses the variables described here. Together, these variables represent the FIFO fill status. In some embodiments, these variables are stored in a control block in a node's memory. In other embodiments wherein the DLA function is implemented in hardware, these variables are stored in memory-mapped registers (MMR).
01041. MAX_CREDITS—This value represents the overall maximum amount of space that may be consumed in the FIFO. A space-allocation request is only successful if the sum of the FIFO space consumed by all Controlled Discard requests, reserved for all types of requests, and being requested, is less than or equal to this value. This is a software-configured value that should only be changed during node initialization.
01052. MAX_LO_CD_CREDITS—A low-priority Controlled Discard space-allocation request is only successful if the sum of the FIFO space consumed by low-priority Controlled Discard requests, reserved for low-priority Controlled Discard requests, and being requested, is less than or equal to this value. This is a software-configured value that is only expected to be changed during node initialization. This value must be less than or equal to MAX_CREDITS.
01063. MAX_HI_CD_CREDITS—A high-priority Controlled Discard space-allocation request is only successful if the sum of the FIFO space consumed by high-priority Controlled Discard requests, reserved for high-priority Controlled Discard requests, and the space being requested, is less than or equal to this value. This is a software-configured value that is only expected to be changed during node initialization. This value must be less than or equal to MAX_CREDITS.
01074. MAX_PR_CREDITS—A Persistent Reservation space-allocation request is only successful if the sum of the space being requested and all space already reserved for Persistent Reservations is less than or equal to this value. This is a software-configured value that is only expected to be changed during node initialization. This value must be less than or equal to MAX_CREDITS.
01085. MAX_LO_CD_PR_CREDITS—A low-priority Controlled Discard space-allocation request or a Persistent Reservation space-allocation request is only successful if the sum of the FIFO space consumed by low-priority Controlled Discard requests, the FIFO space reserved for low-priority Controlled Discard requests, the FIFO space reserved for Persistent Reservations, and amount of space being requested, is less than or equal to this value. This is a software-configured value that is only expected to be changed during node initialization. This value must be less than or equal to MAX_CREDITS.
01096. MAX_LO_HI_CD_CREDITS—A low- or high-priority Controlled Discard space-allocation request is only successful if the sum of the FIFO space consumed by all Controlled Discard requests, the FIFO space reserved for all Controlled Discard requests, and the amount of space being requested, is less than or equal to this value. This is a software-configured value that is only expected to be changed during node initialization. This value must be less than or equal to MAX_CREDITS.
01107. MAX_HI_CD_PR_CREDITS—A high-priority Controlled Discard space-allocation request or a Persistent Reservation space-allocation request is only successful if the sum of the FIFO space consumed by high-priority Controlled Discard requests, the FIFO space reserved for high-priority Controlled Discard requests, the FIFO space reserved for Persistent Reservations, and the amount of space being requested, is less than or equal to this value. This is a software-configured value that is only expected to be changed during node initialization. This value must be less than or equal to MAX_CREDITS.
01118. MAX_CD_ALLOC_CREDITS—This value represents the maximum amount of space that is allowed to be allocated with a single Controlled Discard space allocation request. This is a software-configured value that is only expected to be changed during node initialization. This value must be less than or equal to MAX_CREDITS.
01129. MAX_PR_ALLOC_CREDITS—This value represents the maximum amount of space that is allowed to be allocated with a single Persistent Reservation allocation request. This is a software-configured value that is only expected to be changed during node initialization. This value must be less than or equal to MAX_CREDITS.
011310. CONSUMED—This calculated value represents the total amount of space, in credits, actually occupied in the FIFO. This value increases with each new request pushed into the FIFO and decreases with each request removed from the FIFO.
011411. LO_CD_CONSUMED—This calculated value represents the amount of space actually occupied in the FIFO for low-priority Controlled Discard requests. This value increases with each new request pushed into the FIFO if the corresponding descriptor is in low-priority Controlled Discard mode as indicated by the descriptor variables CD_ACTIVE_i=1 and HP_ACTIVE_i=0. This value decreases with each low-priority Controlled Discard request removed from the FIFO.
011512. HI_CD_CONSUMED—This calculated value represents the amount of space, in credits, actually occupied in the FIFO for high-priority Controlled Discard requests. This value increases with each new request pushed into the FIFO if the corresponding descriptor is in high-priority Controlled Discard mode as indicated by the descriptor variables CD_ACTIVE_i=1 and HP_ACTIVE_i=1. This value decreases with each high-priority Controlled Discard request removed from the FIFO.
011613. PR_CONSUMED—This calculated value represents the amount of space, in credits, actually occupied in the FIFO for Persistent Reservation requests. This value increases with each new request pushed into the FIFO if the corresponding descriptor is in Persistent Reservation mode as indicated by the descriptor variables PR_ACTIVE_i=1, CD_ACTIVE_i=0. This value decreases with each Persistent Reservation request removed from the FIFO.
011714. CONSUMED_PR_CREDITS_i—This calculated value represents the amount of space, in credits, occupied in the FIFO for Persistent Reservation requests associated with FMA descriptor “i”. A separate instance of this variable exists for each FMA descriptor.
011815. LO_CD_RESVD—This calculated value represents the total amount of unoccupied FIFO space, in credits, reserved for low-priority Controlled Discard requests.
011916. HI_CD_RESVD—This calculated value represents the total amount of unoccupied FIFO space, in credits, reserved for high-priority Controlled Discard requests.
012017. PR_RESVD—This calculated value represents the total amount of FIFO space, in credits, reserved for Persistent Reservation requests. Persistent Reservation requests that have been received and are present within the FIFO occupy space that is accounted for with this value.
012118. RESVD_CREDITS_i—This calculated value represents the amount of FIFO space, in credits, currently reserved for FMA descriptor “i”. This value is descriptor i's contribution to either LO_CD_RESVD, HI_CD_RESVD, or PR_RESVD. A separate instance of this variable exists for each FMA descriptor.
012219. Allocation type: CD_ACTIVE_i, PR_ACTIVE_i, HP_ACTIVE_i—These values are set by the deadlock-avoidance engine when space is allocated for a descriptor, and are used to record whether the type of the allocation is low-priority Controlled Discard, high-priority Controlled Discard, or Persistent Reservation. These values are subsequently used to tag requests entered into the FIFO in order to enable update of the correct *_CONSUMED variable as requests are removed from the FIFO. Separate instances of these variables exist for each FMA descriptor.
012320. PR_RELEASE_PENDING_i—This value is asserted between when that the deadlock-avoidance logic receives a request to release a Persistent Reservation associated with descriptor “i”, and when the reservation is actually released. Persistent Reservations are not released until CONSUMED_PR_CREDITS_i drains to 0. Requests to allocate space in the FIFO for descriptor “i”, that are received while this value is asserted, are not honored. A separate instance of this variable exists for each FMA descriptor.
0124In some embodiments, the various credit limits to which the space-allocation requests are subject, are designed to allow some minimum portion of the FIFO to be reserved for requests of one or more of the allocation types (low-priority Controlled Discard, high-priority Controlled Discard, Persistent Reservation), and to allow sharing of the remaining space in the FIFO between different allocation types.
0125In some embodiments, a request is a Controlled-Discard-mode request if it is a space-allocation request with DLA_ALLOC_CD=1 and PR_ACTIVE_i indicates a Persistent-Reservation-mode allocation is not already active, or if CD_ACTIVE_i indicates space is allocated for Controlled Discard mode. When CD_ACTIVE_i indicates that a Controlled-Discard-mode allocation is already active, a request to allocate space is unsuccessful and is rejected if DLA_ALLOC_PR=1 or if TRANSACTION_START=1. A rejected space-allocation request terminates any allocation already active. The following paragraphs describe DLA processing for Controlled Discard Mode Requests.
0126A request to allocate space with DLA_ALLOC_CD=1 and TRANSACTION_START=0 is valid and may be successful regardless of whether or not CD_ACTIVE_i indicates that a Controlled-Discard-mode allocation is already active. Such a request attempts to allocate new space by performing the following steps.
0127In some embodiments, a request to allocate space for a Controlled Discard block is successful if all of the following are true: <ul id="ul0001" list-style="none"><li id="ul0001-0001" num="0000"><ul id="ul0002" list-style="none"><li id="ul0002-0001" num="0128">The previous allocation request, for the descriptor, was successful or DISCARD_RESET is equal to 1</li><li id="ul0002-0002" num="0129">An allocation-status CQE in which one or more unsuccessful allocation attempts is being reported is not pending. (An allocation request with ALLOC_STATUS_RESET equal to 1 cancels any allocation status CQE that may be pending from previous unsuccessful allocation attempts.)</li><li id="ul0002-0003" num="0130">CREDITS_REQUIRED is less than or equal to MAX_CD_ALLOC_CREDITS.</li><li id="ul0002-0004" num="0131">MAX_CREDITS is greater than or equal to LO_CD_CONSUMED+HI_CD_CONSUMED+LO_CD_RESVD+HI_CD_RESVD+PR_RESVD+CREDITS_REQUIRED.</li><li id="ul0002-0005" num="0132">MAX_x_CD_CREDITS is greater than or equal to x_CD_CONSUMED+x_CD_RESVD+CREDITS_REQUIRED. x is replaced by “HI” or “LO” according to whether the allocation request is high or low priority.</li><li id="ul0002-0006" num="0133">MAX_LO_HI_CD_CREDITS is greater than or equal to LO_CD_CONSUMED+HI_CD_CONSUMED+LO_CD_RESVD+HI_CD_RESVD+CREDITS_REQUIRED.</li><li id="ul0002-0007" num="0134">MAX_x_CD_PR_CREDITS is greater than or equal to x_CD_CONSUMED+x_CD_RESVD+PR_RESVD+CREDITS_REQUIRED. x is replaced by “HI” or “LO” according to whether the allocation request is high or low priority.</li></ul></li></ul>
0135In some embodiments, if the new Controlled Discard allocation is successful and a Controlled Discard allocation is already active, the unused credits from the already active allocation are released by subtracting RESVD_CREDITS_i from x_CD_RESVD. This occurs after the preceding tests to determine if the allocation request can be honored and before the actions noted in the following paragraph.
0136If the new allocation is successful, x_CD_RESVD is increased by CREDITS_REQUIRED and RESVD_CREDITS_i is set equal to CREDITS_REQUIRED.
0137In the preceding paragraphs, x is replaced by “HI” or “LO” according to whether the new allocation request is high or low priority. CD_ACTIVE_i is set to 1 to indicate that a Controlled-Discard-mode allocation is active. HP_ACTIVE_i is set to either 0 or 1, as appropriate, to indicate the allocation is either low- or high priority. PR_ACTIVE_i should be 0.
0138In some embodiments, if a new Controlled Discard allocation is not successful and a Controlled Discard allocation is already active, the already active allocation is terminated. If the allocation request is successful and must also be entered into the FIFO (TRANSACTION_START=1), it is also subject to Per-Request Processing after Block Allocation has been performed.
0139In some embodiments, when a request is received, it is discarded if it does not correspond to an FMA descriptor for which a successful allocation is currently active.
0140If a request is accepted, RESVD_CREDITS_i and x_CD_RESVD are each decreased by the amount of space actually required for the request and x_CD_CONSUMED is increased by the amount of space required for the request (x is replaced by “HI” or “LO” according to whether HP_ACTIVE_i corresponds to high or low priority Controlled Discard mode), and the request is pushed into the FIFO.
0141As requests are removed from the FIFO, y_CONSUMED is decreased by the amount of space that was being consumed by the request (y is replaced by “HI_CD”, “LO_CD”, or “PR” according to the type indicated in the side information contained in the removed request). CONSUMED_PR_CREDITS_i is also decreased when Persistent Reservation requests are removed from the FIFO.
0142The variable “CONSUMED” must always represent the amount of space actually in use within the FIFO. Therefore this value increases when the request is pushed into the FIFO. This value decreases by the appropriate amount with each request removed from the output of the FIFO. This value is 0 when the FIFO is empty. If CONSUMED is 0, HI_CD_CONSUMED, LO_CD_CONSUMED, PR_CONSUMED, and CONSUMED_PR_CREDITS_i should also all be 0.
0143In some embodiments, when a SyncComplete request in which SEQCMP_DLA_DEALLOC=1 or a DLAMarker request in which DLA_MARKER_DEALLOC=1 is received, the following occurs: <ul id="ul0003" list-style="none"><li id="ul0003-0001" num="0000"><ul id="ul0004" list-style="none"><li id="ul0004-0001" num="0144">x_CD_RESVD is reduced by RESVD_CREDITS_i. This effectively returns reserved, but unused, credits to the pool of free space available for future allocations (x is replaced by “HI” or “LO” according to whether HP_ACTIVE_i corresponds to high-priority or low-priority Controlled-Discard mode).</li><li id="ul0004-0002" num="0145">RESVD_CREDITS_i is set to 0. This ensures no further requests are accepted until another successful allocation request occurs.</li><li id="ul0004-0003" num="0146">CD_ACTIVE_i is cleared to 0 to indicate that an active space allocation does not exist. Terminate the transaction block in a maximum-sized SyncComplete request.</li></ul></li></ul>
0147In some embodiments, as each request of a transaction block is received, the admittance logic verifies that there is space available for the request. Space is available for a Controlled Discard request if RESVD_CREDITS_i is greater than or equal to the sum of the space actually required for the request and, if the request is not either a SyncComplete request or a Marker request issued with DLA_MARKER_DEALLOC=1, the space that would be required to terminate the transaction block in a maximum-sized SyncComplete request. If space is not available for the request, the entire request is dropped and an overflow is considered to have occurred for the current FIFO space allocation. If the dropped request corresponds to a request that is normally forwarded toward the SSID function <b>243</b>, an overflow is also considered to have occurred for the current transaction.
0148In some embodiments, DLA records whether the current FIFO space allocation has been affected by an overflow and whether the current transaction has been affected by an overflow. Overflows within the current FIFO space allocation are reported through the Marker-notification CQE mechanism. This reporting mechanism may be useful to software employing Persistent Reservations; it is not likely to be useful when Controlled Discard is being used. Overflows within a transaction are reported as follows: When a SyncComplete with TRANSACTION_END=1 is received, if an overflow has occurred within the transaction, A_STATUS_DLA_OVERFLOW is reported in the “lstatus” field of the copy of the SyncComplete entered into the FIFO for forwarding to the SSID function <b>243</b> via the TARB <b>242</b>. The SSID function <b>243</b> will report the error in the source-side CQE that it can issue following the completion of the overall transaction. If destination-side message notification (DSMN) is enabled for the transaction, the error is also reported to the destination endpoint. In some embodiments, an allocation-overflow error is potentially recoverable by repeating the overall transaction in which the error occurred.
0149In some embodiments, a request is a Persistent-Reservation-mode request if it is a space-allocation request with DLA_ALLOC_PR=1 and CD_ACTIVE_i indicates a Controlled-Discard-mode allocation is not already active, or if PR_ACTIVE_i indicates space is already allocated for Persistent Reservation mode. The following paragraphs describe DLA processing for Persistent-Reservation-mode requests.
0150In some embodiments, when PR_ACTIVE_i indicates that a Persistent-Reservation-mode allocation is already active, a request to allocate space is unsuccessful and is rejected if DLA_ALLOC_PR=1 or if DLA_ALLOC_CD=1. A rejected space-allocation request terminates any allocation already active. In some embodiments, a request to allocate space for a Persistent Reservation is successful if all of the following are true: <ul id="ul0005" list-style="none"><li id="ul0005-0001" num="0000"><ul id="ul0006" list-style="none"><li id="ul0006-0001" num="0151">The previous allocation request, for the descriptor, was successful or DISCARD_RESET is equal to 1.</li><li id="ul0006-0002" num="0152">An allocation-status CQE, in which one or more unsuccessful allocation attempts is being reported, is not pending. (An allocation request with ALLOC_STATUS_RESET equal to 1 cancels any allocation status CQE that may be pending from previous unsuccessful allocation attempts.)</li><li id="ul0006-0003" num="0153">CREDITS_REQUIRED is less than or equal to MAX_PR_ALLOC_CREDITS.</li><li id="ul0006-0004" num="0154">MAX_CREDITS is greater than or equal to LO_CD_CONSUMED+HI_CD_CONSUMED+LO_CD_RESVD+HI_CD_RESVD+PR_RESVD+CREDITS_REQUIRED.</li><li id="ul0006-0005" num="0155">MAX_PR_CREDITS is greater than or equal to PR_RESV+CREDITS_REQUIRED.</li><li id="ul0006-0006" num="0156">MAX_LO_CD_PR_CREDITS is greater than or equal to LO_CD_CONSUMED+LO_CD_RESVD+PR_RESVD+CREDITS_REQUIRED.</li><li id="ul0006-0007" num="0157">MAX_HI_CD_PR_CREDITS is greater than or equal to HI_CD_CONSUMED+HI_CD_RESVD+PR_RESVD+CREDITS_REQUIRED.</li></ul></li></ul>
0158If the allocation is successful, PR_RESVD is increased by CREDITS_REQUIRED and RESVD_CREDITS_i is set equal to CREDITS_REQUIRED. PR_ACTIVE_i is set to 1 to indicate that a Persistent Reservation is active. CD_ACTIVE_i should be 0. If the allocation request is successful and must also be entered into the FIFO (TRANSACTION_START=1), it is also subject to Per-Request Processing after Block Allocation has been performed.
0159In some embodiments, when a request is received, it is discarded if it does not correspond to an FMA descriptor for which a successful allocation is currently active. It is also discarded if PR_RELEASE_PENDING_i=1. As each request of a successfully allocated block is received, it is admitted or discarded. If the request is accepted, the following occurs: <ul id="ul0007" list-style="none"><li id="ul0007-0001" num="0000"><ul id="ul0008" list-style="none"><li id="ul0008-0001" num="0160">PR_CONSUMED and CONSUMED_PR_CREDITS_i are increased by the amount of space required for the request.</li><li id="ul0008-0002" num="0161">The request is pushed into the FIFO.</li></ul></li></ul>
0162As requests are removed from the FIFO, y_CONSUMED is decreased by the amount of space that was being consumed by the request (y is replaced by “HI_CD”, “LO_CD”, or “PR” according to the type indicated in the information contained in the removed request). CONSUMED_PR_CREDITS_i is also decreased when Persistent Reservation requests are removed from the FIFO.
0163The variable “CONSUMED” must always represent the amount of space actually in use within the FIFO. Therefore this value increases when the request is pushed into the FIFO. This value decreases by the appropriate amount with each request removed from the output of the FIFO. This value is 0 when the FIFO is empty. If CONSUMED is 0, HI_CD_CONSUMED, LO_CD_CONSUMED, PR_CONSUMED, and CONSUMED_PR_CREDITS_i should also all be 0.
0164In some embodiments, when a SyncComplete request in which SEQCMP_DLA_DEALLOC=1 or a DLAMarker request in which DLA_MARKER_DEALLOC=1 is received, PR_RELEASE_PENDING_i is set to 1. A Persistent Reservation is not terminated until all requests in the FIFO that are accounted for by that reservation have been removed from the FIFO. As Persistent Reservation requests are removed from the FIFO, if PR_RELEASE_PENDING_i=1 and CONSUMED_PR_CREDITS_i decrements to 0, the reservation is released by performing the following operations: <ul id="ul0009" list-style="none"><li id="ul0009-0001" num="0000"><ul id="ul0010" list-style="none"><li id="ul0010-0001" num="0165">PR_RESVD is reduced by RESVD_CREDITS_i. This returns the credits that were reserved for the Persistent Reservation back to the pool of free space available for future allocations.</li><li id="ul0010-0002" num="0166">RESVD_CREDITS_i is set to 0. This ensures no further requests are accepted until another successful allocation request occurs.</li><li id="ul0010-0003" num="0167">PR_ACTIVE_i is cleared to 0 to indicate that an active space allocation does not exist.</li><li id="ul0010-0004" num="0168">PR_RELEASE_PENDING_i is cleared to 0.</li></ul></li></ul>
0169In some embodiments, as each request is received, the admittance logic verifies that there is space available for the request. Space is available for a Persistent Reservation request if RESVD_CREDITS_i is greater than or equal to the sum of CONSUMED_PR_CREDITS_i, the space actually required for the request, and (if the request is not either a SyncComplete request or a Marker request issued with DLA_MARKER_DEALLOC=1) the space that would be required to terminate the transaction block in a maximum-sized SyncComplete request. If space is not available for the request, the entire request is dropped and an overflow is considered to have occurred for the current FIFO space allocation. If the dropped request corresponds to a request that is normally forwarded toward the SSID function <b>243</b>, an overflow is also considered to have occurred for the current transaction.
0170In some embodiments, the deadlock-avoidance engine (DLA) records whether the current FIFO space allocation has been affected by an overflow and whether the current transaction has been affected by an overflow. Overflows within the current FIFO space allocation are reported through the Marker-notification CQE mechanism. This reporting mechanism may be useful to software employing Persistent Reservations in situations where Markers occur relatively frequently while transactions are relatively long lived. In some embodiments, overflows within a transaction are reported as follows: When a SyncComplete with TRANSACTION_END=1 is received, if an overflow has occurred within the transaction, A_STATUS_DLA_OVERFLOW is reported in the lstatus field of the copy of the SyncComplete entered into the FIFO for forwarding to the SSID function <b>243</b> via the TARB <b>242</b>. The SSID function <b>243</b> will report the error in the source-side CQE that it can issue following the completion of the overall transaction. If destination-side message notification (DSMN) is enabled for the transaction, the error is also reported to the destination endpoint. In some embodiments, an allocation-overflow error is potentially recoverable by repeating the overall transaction in which the error occurred.
0171In some embodiments, the requests of a Controlled-Discard-transaction block that software may continue to send even though the space allocation for the block may not have been successful essentially waste bandwidth on the processor interface. This wasted bandwidth could be used for requests associated with other FMA descriptors for which space has been successfully allocated and for non-FMA traffic, such as the read completions that are used to service BTE Put and Send requests. To reduce the amount of bandwidth wasted, and also to reduce contention between FMA descriptors when the total number of allocated credits is near the limit, the DLA block periodically writes a FIFO-fill-level report to processor memory. Prior to starting each transaction block, software can interrogate the FIFO's allocation-status report to determine whether the allocation for the block is likely to be successful.
0172In some embodiments, the FIFO capacity and allocation sizes are expressed in units of “credits”. As the data received and forwarded by the deadlock-avoidance unit are in the form of NIF flits, an obvious mapping of credits to actual physical storage is to equate one credit to one NIF flit. In some embodiments, a NIF flit (or sub-packet) is 144 bits, or 18 bytes. With this mapping, 64-byte-cacheline-sized Put requests would make efficient use of the FIFO storage capacity, as each request would fully consume five flits. However, random Puts and AMOs would not; these each consume two flits, but half of the second flit is unused. Therefore, to improve the efficiency with which the FIFO storage capacity is used for these types of requests, the granularity of the DLA block's credit accounting is actually half of a flit, or 72 bits. For these types of requests, this effectively increases the FIFO capacity by 33%. The CREDITS_REQUIRED value of each allocation request must account for any “overhead” data that also passes through the deadlock-avoidance FIFO; that is, in the data being sent, there may be additional control bits or bytes that also get stored in the FIFO.
0173The FIFO needs to be large enough to allow for efficient FMA operation without excessive bandwidth being wasted by the transmission of Controlled-Discard-mode transaction blocks that failed to allocate in the FIFO. The FIFO size should also be large enough to support as many simultaneous Persistent Reservations as necessary with space still left for Controlled Discard allocations, and with the size of the Persistent Reservations being large enough to support a sufficient request issue rate per reservation. It is possible for all of the space in the FIFO to become allocated before the FIFO-fill-level report, indicating that the FIFO is becoming full, is able to be made visible in processor memory. Starting from an empty FIFO with no space reserved, if some reasonable number of software processes, using different FMA descriptors, each start sending a Controlled-Discard-mode transaction block at about the same time, there should be a high probability that space is able to be allocated for all of the blocks. To reduce overhead in software as well as in processor-to-network bandwidth, the maximum allowed size for each block should not be too small. Ideally it is large enough to accommodate most transactions issued using FMA.
0174In some embodiments, a FIFO size of about 64K bytes (7280 credits) is sufficiently large, in the absence of any Persistent Reservations, to accommodate 64 simultaneous Put transactions, with each having a size of about 640 bytes of sequential user data. However, in some embodiments that provide Persistent Reservations for a sufficiently large number of cores, an even larger FIFO size may be desirable. In some embodiments, the size of the FIFO is 16384 credits. This value is indicated by hardware through the reset value of the A_NIC_DLA_CFG_MAX MMR. Assuming a round-trip latency from the processor to network and back of 500 ns, this FIFO size is sufficient to reserve four times the round-trip latency for Controlled Discard allocations (3200 credits) with 206 credits (68 8-byte Put requests) available for each of 64 Persistent Reservations. In some embodiments, this is sufficient to support an issue rate for the cores using the Persistent Reservations of 10 ns per core with DLA Markers inserted every 16 requests.
0175In some embodiments, the deadlock-avoidance functionality can be disabled. When deadlock avoidance is disabled, the DLA operates as follows. <ul id="ul0011" list-style="none"><li id="ul0011-0001" num="0000"><ul id="ul0012" list-style="none"><li id="ul0012-0001" num="0176">All requests that would normally pass through the FIFO, on their way to the TARB, are entered into the FIFO regardless of whether sufficient unused space is reserved in the FIFO to accommodate the request. Requests are accepted for any FMA descriptor regardless of whether prior space-allocation requests have been received or have been successful.</li><li id="ul0012-0002" num="0177">If the FIFO is full, the deadlock-avoidance block applies back-pressure to FMA to limit the rate at which requests can be received to the rate at which they can be removed from the FIFO. This is a primary difference compared to operation when deadlock avoidance is enabled. When it is enabled, requests are dropped if sufficient unused space has not been pre-allocated for the request.</li><li id="ul0012-0003" num="0178">FIFO-fill-level reports can still be generated. In some embodiments, FIFO-fill-level-report generation can be disabled.</li><li id="ul0012-0004" num="0179">DLA Marker notifications can still occur. In some embodiments, DLA Marker notifications can be disabled.</li></ul></li></ul>
0180In some embodiments, the present invention provides a computer-implemented method for deadlock avoidance in a parallel-processor system, wherein the parallel-processor system includes a plurality of nodes, wherein each one of the plurality of nodes includes a node buffer, a processor and local memory, wherein the plurality of nodes includes a first node having a first node buffer, a second node having a second node buffer, and a third node having a third node buffer, wherein each node is operatively coupled to a plurality of other nodes, and wherein a software process executes on each one of the plurality of nodes, the method comprising: receiving, in the first node, a first command from a first software process executing in the processor of the first node, to reserve N<b>1</b> allocation units of space in the first node buffer for communication between the first software process executing in the processor of the first node and other software processes executing in processors of other nodes, wherein N<b>1</b> is a number between one and a total size of the first node buffer, checking whether the first node buffer contains at least N<b>1</b> unreserved allocation units of space to satisfy the first command, and if N<b>1</b> unreserved allocation units now exist in the first node buffer, then reserving N<b>1</b> allocation units for use by the first process but if N<b>1</b> unreserved allocation units do not now exist then denying the first command for allocation units of space, entering a first remote memory access request from the first software process into the first node buffer, indicating that an additional one of the allocation units in the first node buffer is in use, performing a first remote memory access operation by sending the first remote memory access request over the network to the second node, and communicating data between the second node and the first node based on the first remote memory access request, removing the first remote memory access request from the first node buffer, indicating that one of the allocation units in the first node buffer is no longer in use, entering a second remote memory access request from the first software process into the first node buffer, indicating that an additional one of the allocation units in the first node buffer is in use, performing a second remote memory access operation by sending the second remote memory access request over the network to the third node, which causes the third node to communicate data between the third node and the first node, removing the second remote memory access request from the first node buffer, indicating that one of the allocation units in the first node buffer is no longer in use, and receiving, in the first node, a second command from a first software process executing in the processor of the first node, to un-reserve N<b>1</b> allocation units of space in the first node buffer of the first node, and un-reserving N<b>1</b> allocation units of space in the node buffer of the first node.
0181In some embodiments of the method, the first node buffer is a first-in-first-out (FIFO) buffer.
0182Some embodiments of the method further include: receiving, in the first node, a third command from a second software process executing in the processor of the first node, to reserve N<b>2</b> allocation units of space in the first node buffer for communication between the second software process executing in the processor of the first node and other software processes executing in processors of other nodes, wherein N<b>2</b> is a number between one and a total size of the first node buffer, checking whether the first node buffer contains at least N<b>2</b> unreserved allocation units of space to satisfy the third command, and if N<b>2</b> unreserved allocation units now exist in the first node buffer, then reserving N<b>2</b> allocation units for use by the second process but if N<b>2</b> unreserved allocation units do not now exist then denying the third command for allocation units of space, entering a third remote memory access request from the second software process into the first node buffer, indicating that an additional one of the allocation units in the first node buffer is in use, performing a third remote memory access operation by sending the third remote memory access request over the network to the third node, which causes the second node to communicate data between the third node and the first node, removing the third remote memory access request from the first node buffer, indicating that one of the allocation units in the first node buffer is no longer in use, entering a fourth remote memory access request from the second software process into the first node buffer, indicating that an additional one of the allocation units in the first node buffer is in use, performing a fourth remote memory access operation by sending the fourth remote memory access request over the network to the second node, which causes the second node to communicate data between the second node and the first node, removing the fourth remote memory access request from the first node buffer, indicating that one of the allocation units in the first node buffer is no longer in use, and receiving, in the first node, a fourth command from a first software process executing in the processor of the first node, to un-reserve N<b>2</b> allocation units of space in the node buffer of the first node, and un-reserving N<b>2</b> allocation units of space in the node buffer of the first node.
0183In some embodiments of the method, the entering of the first remote memory access request from the first software process into the first node buffer further includes receiving the first remote memory access request into a first remote memory access unit in the first node, wherein the first remote memory access unit enters the first remote memory access request into the first node buffer.
0184Some embodiments of the method further include entering a first marker request into the first node buffer, wherein the first marker request sends a notification to the first software process once all prior requests in the first node buffer have been sent.
0185Some embodiments of the method further include tracking operation requests that are sent on the network from the first node to other ones of the plurality of nodes. In some embodiments, the SSID <b>243</b> performs this function.
0186In some embodiments of the method, the communicating of data between the second node and the first node based on the first remote memory access request further includes using a plurality of packets spaced apart in time for the communicating.
0187In some embodiments, the present invention provides a non-transitory computer-readable medium having instructions stored thereon for causing a suitably programmed information processor to perform a deadlock-avoidance method in a parallel-processor system, wherein the parallel-processor system includes a plurality of nodes, wherein each one of the plurality of nodes includes a node buffer, a processor and local memory, wherein the plurality of nodes includes a first node having a first node buffer, a second node having a second node buffer, and a third node having a third node buffer, wherein each node is operatively coupled to a plurality of other nodes, and wherein a software process executes on each one of the plurality of nodes, the deadlock-avoidance method comprising: receiving, in the first node, a first command from a first software process executing in the processor of the first node, to reserve N<b>1</b> allocation units of space in the first node buffer for communication between the first software process executing in the processor of the first node and other software processes executing in processors of other nodes, wherein N<b>1</b> is a number between one and a total size of the first node buffer, checking whether the first node buffer contains at least N<b>1</b> unreserved allocation units of space to satisfy the first command, and if N<b>1</b> unreserved allocation units now exist in the first node buffer, then reserving N<b>1</b> allocation units for use by the first process but if N<b>1</b> unreserved allocation units do not now exist then denying the first command for allocation units of space, entering a first remote memory access request from the first software process into the first node buffer, indicating that an additional one of the allocation units in the first node buffer is in use, performing a first remote memory access operation by sending the first remote memory access request over the network to the second node, and communicating data between the second node and the first node based on the first remote memory access request, removing the first remote memory access request from the first node buffer, indicating that one of the allocation units in the first node buffer is no longer in use, entering a second remote memory access request from the first software process into the first node buffer, indicating that an additional one of the allocation units in the first node buffer is in use, performing a second remote memory access operation by sending the second remote memory access request over the network to the third node, which causes the third node to communicate data between the third node and the first node, removing the second remote memory access request from the first node buffer, indicating that one of the allocation units in the first node buffer is no longer in use, and receiving, in the first node, a second command from a first software process executing in the processor of the first node, to un-reserve N<b>1</b> allocation units of space in the first node buffer of the first node, and un-reserving N<b>1</b> allocation units of space in the node buffer of the first node.
0188In some embodiments of the non-transitory computer-readable medium, the first node buffer is a first-in-first-out (FIFO) buffer.
0189In some embodiments of the non-transitory computer-readable medium, the medium further includes instructions such that the method further includes receiving, in the first node, a third command from a second software process executing in the processor of the first node, to reserve N<b>2</b> allocation units of space in the first node buffer for communication between the second software process executing in the processor of the first node and other software processes executing in processors of other nodes, wherein N<b>2</b> is a number between one and a total size of the first node buffer, checking whether the first node buffer contains at least N<b>2</b> unreserved allocation units of space to satisfy the third command, and if N<b>2</b> unreserved allocation units now exist in the first node buffer, then reserving N<b>2</b> allocation units for use by the second process but if N<b>2</b> unreserved allocation units do not now exist then denying the third command for allocation units of space, entering a third remote memory access request from the second software process into the first node buffer, indicating that an additional one of the allocation units in the first node buffer is in use, performing a third remote memory access operation by sending the third remote memory access request over the network to the third node, which causes the second node to communicate data between the third node and the first node, removing the third remote memory access request from the first node buffer, indicating that one of the allocation units in the first node buffer is no longer in use, entering a fourth remote memory access request from the second software process into the first node buffer, indicating that an additional one of the allocation units in the first node buffer is in use, performing a fourth remote memory access operation by sending the fourth remote memory access request over the network to the second node, which causes the second node to communicate data between the second node and the first node, removing the fourth remote memory access request from the first node buffer, indicating that one of the allocation units in the first node buffer is no longer in use, and receiving, in the first node, a fourth command from a first software process executing in the processor of the first node, to un-reserve N<b>2</b> allocation units of space in the node buffer of the first node, and un-reserving N<b>2</b> allocation units of space in the node buffer of the first node.
0190In some embodiments of the non-transitory computer-readable medium, the medium further includes instructions such that the entering of the first remote memory access request from the first software process into the first node buffer further includes receiving the first remote memory access request into a first remote memory access unit in the first node, wherein the first remote memory access unit enters the first remote memory access request into the first node buffer.
0191In some embodiments of the non-transitory computer-readable medium, the medium further includes instructions such that the method further includes entering a first marker request into the first node buffer, wherein the first marker request sends a notification to the first software process once all prior requests in the first node buffer have been sent.
0192In some embodiments of the non-transitory computer-readable medium, the medium further includes instructions such that the method further includes tracking operation requests that are sent on the network from the first node to other ones of the plurality of nodes.
0193In some embodiments of the non-transitory computer-readable medium, the medium further includes instructions such that the communicating of data between the second node and the first node based on the first remote memory access request further includes using a plurality of packets spaced apart in time for the communicating.
0194In some embodiments, the present invention provides a parallel-processor system that includes: a plurality of nodes, wherein each one of the plurality of nodes includes a node buffer, a processor and local memory, wherein the plurality of nodes includes a first node having a first node buffer, a second node having a second node buffer, and a third node having a third node buffer, wherein each node is operatively coupled to a plurality of other nodes, and wherein a software process executes on each one of the plurality of nodes. This system includes:
0195a receiver in the first node that receives a first command from a first software process executing in the processor of the first node, to reserve N<b>1</b> allocation units of space in the first node buffer for communication between the first software process executing in the processor of the first node and other software processes executing in processors of other nodes, wherein N<b>1</b> is a number between one and a total size of the first node buffer,
0196a checker that checks whether the first node buffer contains at least N<b>1</b> unreserved allocation units of space to satisfy the first command, and if N<b>1</b> unreserved allocation units now exist in the first node buffer, then reserves N<b>1</b> allocation units for use by the first process but if N<b>1</b> unreserved allocation units do not now exist then denies the first command for allocation units of space,
0197a loader that enters a first remote memory access request from the first software process into the first node buffer, an indicator that indicates that an additional one of the allocation units in the first node buffer is in use,
0198a communicator that causes performance of a first remote memory access operation by sending the first remote memory access request over the network to the second node, and causes communication of data between the second node and the first node based on the first remote memory access request,
0199an unloader that removes the first remote memory access request from the first node buffer, wherein the indicator indicates that one of the allocation units in the first node buffer is no longer in use,
0200wherein the loader enters a second remote memory access request from the first software process into the first node buffer,
0201wherein the indicator indicates that an additional one of the allocation units in the first node buffer is in use,
0202wherein the communicator causes performance of a second remote memory access operation by sending the second remote memory access request over the network to the third node, which causes the third node to communicate data between the third node and the first node,
0203wherein the unloader removes the second remote memory access request from the first node buffer,
0204wherein the indicator indicates that one of the allocation units in the first node buffer is no longer in use, and
0205wherein the receiver in the first node receives a second command from a first software process executing in the processor of the first node, to un-reserve N<b>1</b> allocation units of space in the first node buffer of the first node, and un-reserves N<b>1</b> allocation units of space in the node buffer of the first node.
0206In some embodiments of the system, the first node buffer is a first-in-first-out (FIFO) buffer.
0207In some embodiments of the system,
0208the receiver in the first node receives a third command from a second software process executing in the processor of the first node, to reserve N<b>2</b> allocation units of space in the first node buffer for communication between the second software process executing in the processor of the first node and other software processes executing in processors of other nodes, wherein N<b>2</b> is a number between one and a total size of the first node buffer,
0209the checker checks whether the first node buffer contains at least N<b>2</b> unreserved allocation units of space to satisfy the third command, and if N<b>2</b> unreserved allocation units now exist in the first node buffer, then reserving N<b>2</b> allocation units for use by the second process but if N<b>2</b> unreserved allocation units do not now exist then denying the third command for allocation units of space,
0210the loader enters a third remote memory access request from the second software process into the first node buffer,
0211the indicator indicates that an additional one of the allocation units in the first node buffer is in use,
0212the communicator that causes performance of a third remote memory access operation by sending the third remote memory access request over the network to the third node, which causes the second node to communicate data between the third node and the first node,
0213the unloader removes the third remote memory access request from the first node buffer,
0214the indicator indicates that one of the allocation units in the first node buffer is no longer in use,
0215the loader enters a fourth remote memory access request from the second software process into the first node buffer,
0216the indicator indicates that an additional one of the allocation units in the first node buffer is in use,
0217the communicator that causes performance a fourth remote memory access operation by sending the fourth remote memory access request over the network to the second node, which causes the second node to communicate data between the second node and the first node,
0218the unloader removes the fourth remote memory access request from the first node buffer,
0219the indicator indicates that one of the allocation units in the first node buffer is no longer in use, and
0220the receiver in the first node receives a fourth command from a first software process executing in the processor of the first node, to un-reserve N<b>2</b> allocation units of space in the node buffer of the first node, and un-reserving N<b>2</b> allocation units of space in the node buffer of the first node.
0221In some embodiments, the loader that enters of the first remote memory access request from the first software process into the first node buffer further includes a receiver that receives the first remote memory access request into a first remote memory access unit in the first node, wherein the first remote memory access unit enters the first remote memory access request into the first node buffer.
0222In some embodiments, the loader enters a first marker request into the first node buffer, wherein the first marker request sends a notification to the first software process once all prior requests in the first node buffer have been sent.
0223Some embodiments further include a tracker that tracks operation requests that are sent on the network from the first node to other ones of the plurality of nodes.
0224In some embodiments, the present invention provides a parallel-processor system that includes: a plurality of nodes, wherein each one of the plurality of nodes includes a node buffer, a processor and local memory, wherein the plurality of nodes includes a first node having a first node buffer, a second node having a second node buffer, and a third node having a third node buffer, wherein each node is operatively coupled to a plurality of other nodes, and wherein a software process executes on each one of the plurality of nodes, means for receiving, in the first node, a first command from a first software process executing in the processor of the first node, to reserve N<b>1</b> allocation units of space in the first node buffer for communication between the first software process executing in the processor of the first node and other software processes executing in processors of other nodes, wherein N<b>1</b> is a number between one and a total size of the first node buffer, means for checking whether the first node buffer contains at least N<b>1</b> unreserved allocation units of space to satisfy the first command, and if N<b>1</b> unreserved allocation units now exist in the first node buffer, then reserving N<b>1</b> allocation units for use by the first process but if N<b>1</b> unreserved allocation units do not now exist then denying the first command for allocation units of space, means for entering a first remote memory access request from the first software process into the first node buffer, means for indicating that an additional one of the allocation units in the first node buffer is in use, means for performing a first remote memory access operation by sending the first remote memory access request over the network to the second node, and communicating data between the second node and the first node based on the first remote memory access request, means for removing the first remote memory access request from the first node buffer, means for indicating that one of the allocation units in the first node buffer is no longer in use, means for entering a second remote memory access request from the first software process into the first node buffer, means for indicating that an additional one of the allocation units in the first node buffer is in use, means for performing a second remote memory access operation by sending the second remote memory access request over the network to the third node, which causes the third node to communicate data between the third node and the first node, means for removing the second remote memory access request from the first node buffer, means for indicating that one of the allocation units in the first node buffer is no longer in use, and means for receiving, in the first node, a second command from a first software process executing in the processor of the first node, to un-reserve N<b>1</b> allocation units of space in the first node buffer of the first node, and means for un-reserving N<b>1</b> allocation units of space in the node buffer of the first node.
0225In some embodiments of the system, the first node buffer is a first-in-first-out (FIFO) buffer.
0226Some embodiments of the system further include: means for receiving, in the first node, a third command from a second software process executing in the processor of the first node, to reserve N<b>2</b> allocation units of space in the first node buffer for communication between the second software process executing in the processor of the first node and other software processes executing in processors of other nodes, wherein N<b>2</b> is a number between one and a total size of the first node buffer, means for checking whether the first node buffer contains at least N<b>2</b> unreserved allocation units of space to satisfy the third command, and if N<b>2</b> unreserved allocation units now exist in the first node buffer, then reserving N<b>2</b> allocation units for use by the second process but if N<b>2</b> unreserved allocation units do not now exist then denying the third command for allocation units of space, means for entering a third remote memory access request from the second software process into the first node buffer, means for indicating that an additional one of the allocation units in the first node buffer is in use, means for performing a third remote memory access operation by sending the third remote memory access request over the network to the third node, which causes the second node to communicate data between the third node and the first node, means for removing the third remote memory access request from the first node buffer, means for indicating that one of the allocation units in the first node buffer is no longer in use, means for entering a fourth remote memory access request from the second software process into the first node buffer, means for indicating that an additional one of the allocation units in the first node buffer is in use, means for performing a fourth remote memory access operation by sending the fourth remote memory access request over the network to the second node, which causes the second node to communicate data between the second node and the first node, means for removing the fourth remote memory access request from the first node buffer, means for indicating that one of the allocation units in the first node buffer is no longer in use, and means for receiving, in the first node, a fourth command from a first software process executing in the processor of the first node, to un-reserve N<b>2</b> allocation units of space in the node buffer of the first node, and un-reserving N<b>2</b> allocation units of space in the node buffer of the first node.
0227In some embodiments, the means for entering of the first remote memory access request from the first software process into the first node buffer further includes means for receiving the first remote memory access request into a first remote memory access unit in the first node, wherein the first remote memory access unit enters the first remote memory access request into the first node buffer.
0228Some embodiments of the system further include means for entering a first marker request into the first node buffer, wherein the first marker request sends a notification to the first software process once all prior requests in the first node buffer have been sent.
0229Some embodiments of the system further include means for tracking operation requests that are sent on the network from the first node to other ones of the plurality of nodes.
0230It is to be understood that the above description is intended to be illustrative, and not restrictive. Although numerous characteristics and advantages of various embodiments as described herein have been set forth in the foregoing description, together with details of the structure and function of various embodiments, many other embodiments and changes to details will be apparent to those of skill in the art upon reviewing the above description. The scope of the invention should be, therefore, determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled. In the appended claims, the terms “including” and “in which” are used as the plain-English equivalents of the respective terms “comprising” and “wherein,” respectively. Moreover, the terms “first,” “second,” and “third,” etc., are used merely as labels, and are not intended to impose numerical requirements on their objects.
Contents6
7 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| US2005097300A1 | Cites | United States of America | Applicant |
| US2009063815A1 | Cites | United States of America | Search report |
| US2010262822A1 | Cites | United States of America | Search report |
| US2010275208A1 | Cites | United States of America | Search report |
| US2013054852A1 | Cites | United States of America | Search report |
| US2013185375A1 | Cites | United States of America | Search report |
| US2013185381A1 | Cites | United States of America | Search report |
| US2015331720A1 | Cites | United States of America | Search report |
| US4891749A | Cites | United States of America | Search report |
| US5333297A | Cites | United States of America | Search report |
| US5613071A | Cites | United States of America | Search report |
| US5940282A | Cites | United States of America | Search report |
| US5940828A | Cites | United States of America | Search report |
| US6016510A | Cites | United States of America | Applicant |
| US6101420A | Cites | United States of America | Applicant |
| US6738871B2 | Cites | United States of America | Search report |
| US6751698B1 | Cites | United States of America | Search report |
| US6857004B1 | Cites | United States of America | Applicant |
| US6925547B2 | Cites | United States of America | Search report |
| US6981074B2 | Cites | United States of America | Applicant |
| US7219178B2 | Cites | United States of America | Applicant |
| US7443869B2 | Cites | United States of America | Applicant |
| US7650434B2 | Cites | United States of America | Applicant |
| US7958182B2 | Cites | United States of America | Search report |
| US7958183B2 | Cites | United States of America | Search report |
| US8239866B2 | Cites | United States of America | Search report |
| US8458267B2 | Cites | United States of America | Applicant |
| US8924656B1 | Cites | United States of America | Search report |
| US9058122B1 | Cites | United States of America | Search report |
| US9110860B2 | Cites | United States of America | Applicant |
| US9152603B1 | Cites | United States of America | Search report |
| US9164702B1 | Cites | United States of America | Search report |
| US9229901B1 | Cites | United States of America | Search report |
| US9244880B2 | Cites | United States of America | Search report |
| US9495221B2 | Cites | United States of America | Applicant |
| US20050097300A1 | Cites | United States of America | Applicant |
| US20090063815A1 | Cites | United States of America | Search report |
| US20100262822A1 | Cites | United States of America | Search report |
| US20100275208A1 | Cites | United States of America | Search report |
| US20130054852A1 | Cites | United States of America | Search report |
| US20130185375A1 | Cites | United States of America | Search report |
| US20130185381A1 | Cites | United States of America | Search report |
| US20150331720A1 | Cites | United States of America | Search report |
| Almasi, George, et al., “Optimization of MPI Collective Communication on BlueGene/L Systems”, “ICS '05 Proceedings of the 19th annual international conference on Supercomputing”, Jun. 20-22, 2005, pp. 253-262. | Non-patent | – | Applicant |
| Chen, Dong, et al., “The IBM Blue Gene/Q Interconnection Network and Message Unit”, “SC11”, Nov. 12-18, 2011, pp. 1-10. | Non-patent | – | Applicant |
| Mellanox Technologies, “CORE-Direct—The Most Advanced Technology for MPI/SHMEM Collectives Offoads”, “downloaded from: http://www.mellanox.com/pdf/whitepapers/TB_CORE-Direct.pdf”, May 2010. | Non-patent | – | Applicant |
| Mellanox Technologies, “Fabric Collective Accelerator (FCA)”, “download from web-address: http://www.mellanox.com/related-docs/prod_acceleration_software/FCA.pdf”, 2011. | Non-patent | – | Applicant |
| Shainer, Gilad, et al., “Accelerating High Performance Computing Applications Through MPI Offloading”, “HPC Advisory Council”, 2011, Publisher: downloaded from: http://www.hpcadvisorycouncil.com/pdf/WP_Accelerating_HPC_%20Apps_through_MPI_Offloading.pdf. | Non-patent | – | Applicant |
| Almasi, George, et al., “Optimization of MPI Collective Communication on BlueGene/L Systems”, “ICS '05 Proceedings of the 19th annual international conference on Supercomputing”, Jun. 20-22, 2005, pp. 253-262. | Non-patent | – | Applicant |
| Chen, Dong, et al., “The IBM Blue Gene/Q Interconnection Network and Message Unit”, “SC11”, Nov. 12-18, 2011, pp. 1-10. | Non-patent | – | Applicant |
| Mellanox Technologies, “CORE-Direct—The Most Advanced Technology for MPI/SHMEM Collectives Offoads”, “downloaded from: http://www.mellanox.com/pdf/whitepapers/TB_CORE-Direct.pdf”, May 2010. | Non-patent | – | Applicant |
| Mellanox Technologies, “Fabric Collective Accelerator (FCA)”, “download from web-address: http://www.mellanox.com/related-docs/prod_acceleration_software/FCA.pdf”, 2011. | Non-patent | – | Applicant |
| Shainer, Gilad, et al., “Accelerating High Performance Computing Applications Through MPI Offloading”, “HPC Advisory Council”, 2011, Publisher: downloaded from: http://www.hpcadvisorycouncil.com/pdf/WP_Accelerating_HPC_%20Apps_through_MPI_Offloading.pdf. | Non-patent | – | Applicant |
234 members in 5 offices
Priority claims3
| Document | Office | Kind | Date |
|---|---|---|---|
| 201261724887 | United States of America | P | |
| 201261724891 | United States of America | P | |
| 201313798074 | United States of America | A |
Members234
| Document | Office | Kind | |
|---|---|---|---|
| US2013182077A1 | United States of America | A1 | |
| US2013182079A1 | United States of America | A1 | |
| US2013182897A1 | United States of America | A1 | |
| US2013182902A1 | United States of America | A1 | |
| WO2013109608A2 | World Intellectual Property Organization (WIPO) | A2 | |
| WO2013109609A2 | World Intellectual Property Organization (WIPO) | A2 | |
| WO2013109608A3 | World Intellectual Property Organization (WIPO) | A3 | |
| WO2013109609A3 | World Intellectual Property Organization (WIPO) | A3 | |
| US8638989B2 | United States of America | B2 | |
| US8693731B2 | United States of America | B2 | |
| US2014139641A1 | United States of America | A1 | |
| US2014177913A1 | United States of America | A1 | |
| US2014201666A1 | United States of America | A1 | |
| US2014201674A1 | United States of America | A1 | |
| US2014201683A1 | United States of America | A1 | |
| US2014201684A1 | United States of America | A1 | |
| US2014201689A1 | United States of America | A1 | |
| US2014201690A1 | United States of America | A1 | |
| WO2014113454A1 | World Intellectual Property Organization (WIPO) | A1 | |
| WO2014113507A1 | World Intellectual Property Organization (WIPO) | A1 | |
| US2014285818A1 | United States of America | A1 | |
| US2014304665A1 | United States of America | A1 | |
| US2014307920A1 | United States of America | A1 | |
| US2014320408A1 | United States of America | A1 | |
| DE112013000590T5 | Germany | T5 | |
| CN104145276A | China | A | |
| US2014340311A1 | United States of America | A1 | |
| US2014369558A1 | United States of America | A1 | |
| WO2014200589A2 | World Intellectual Property Organization (WIPO) | A2 | |
| WO2014200589A9 | World Intellectual Property Organization (WIPO) | A9 | |
| WO2014200589A3 | World Intellectual Property Organization (WIPO) | A3 | |
| JP2015510169A | Japan | A | |
| US2015097768A1 | United States of America | A1 | |
| US2015106788A1 | United States of America | A1 | |
| US9070019B2 | United States of America | B2 | |
| US2015242682A1 | United States of America | A1 | |
| US2015243039A1 | United States of America | A1 | |
| US2015253428A1 | United States of America | A1 | |
| US9153028B2 | United States of America | B2 | |
| US2015287204A1 | United States of America | A1 | |
| US9160607B1 | United States of America | B1 | |
| DE112014000441T5 | Germany | T5 | |
| CN105308536A | China | A | |
| US2016077997A1 | United States of America | A1 | |
| US9294551B1 | United States of America | B1 | |
| US2016086046A1 | United States of America | A1 | |
| US2016086055A1 | United States of America | A1 | |
| DE112013000590B4 | Germany | B4 | |
| US9436288B2 | United States of America | B2 | |
| US9436998B2 | United States of America | B2 | |
| US9459697B2 | United States of America | B2 | |
| JP2016186793A | Japan | A | |
| US2016328022A1 | United States of America | A1 | |
| US9495613B2 | United States of America | B2 | |
| US9501152B2 | United States of America | B2 | |
| US2016371853A1 | United States of America | A1 | |
| US2017017306A1 | United States of America | A1 | |
| US9552075B2 | United States of America | B2 | |
| US2017061205A1 | United States of America | A1 | |
| US2017075428A1 | United States of America | A1 | |
| US2017103545A1 | United States of America | A1 | |
| US9626591B2 | United States of America | B2 | |
| US9632572B2 | United States of America | B2 | |
| US9632658B2 | United States of America | B2 | |
| CN104145276B | China | B | |
| US2017131784A1 | United States of America | A1 | |
| US9652668B2 | United States of America | B2 | |
| US9672441B2 | United States of America | B2 | |
| US2017160816A1 | United States of America | A1 | |
| US9679197B1 | United States of America | B1 | |
| US9679215B2 | United States of America | B2 | |
| US9696867B2 | United States of America | B2 | |
| US9697643B2 | United States of America | B2 | |
| US9702977B2 | United States of America | B2 | |
| US9721383B1 | United States of America | B1 | |
| US2017220126A1 | United States of America | A1 | |
| US2017223260A1 | United States of America | A1 | |
| US2017236293A1 | United States of America | A1 | |
| CN107066962A | China | A | |
| US9741136B2 | United States of America | B2 | |
| US9767345B2 | United States of America | B2 | |
| US2017270356A1 | United States of America | A1 | |
| US9778752B2 | United States of America | B2 | |
| US2017285169A1 | United States of America | A1 | |
| US9785543B2 | United States of America | B2 | |
| US2017300209A1 | United States of America | A1 | |
| US2017330374A1 | United States of America | A1 | |
| US9881386B1 | United States of America | B1 | |
| US2018033159A1 | United States of America | A1 | |
| US2018046256A1 | United States of America | A1 | |
| US9916009B2 | United States of America | B2 | |
| US9927522B2 | United States of America | B2 | |
| US9927880B2 | United States of America | B2 | |
| US9934580B2 | United States of America | B2 | |
| US9934609B2 | United States of America | B2 | |
| US9945660B2 | United States of America | B2 | |
| US2018130228A1 | United States of America | A1 | |
| US9996638B1 | United States of America | B1 | |
| US10042430B2 | United States of America | B2 | |
| US10042510B2 | United States of America | B2 |
44 transactions on the USPTO file
Allowed after 1 non-final rejection.
- Non-final rejections
- 1
- Final rejections
- 0
- RCEs
- 0
- Appeals
- 0
Over time
Point at a mark for the transactionTransactions
| Event | Code | |
|---|---|---|
| Payment of Maintenance Fee, 4th Year, Large EntityM1551 | M1551 | |
| Recordation of Patent Grant MailedPGM/ | PGM/ | |
| Patent Issue Date Used in PTA CalculationAllowedPTAC | PTAC | |
| Issue Notification MailedAllowedWPIR | WPIR | |
| Dispatch to FDCD1935 | D1935 | |
| Application Is Considered Ready for IssuePILS | PILS | |
| Issue Fee Payment VerifiedN084 | N084 | |
| Issue Fee Payment ReceivedIFEE | IFEE | |
| Mailing Corrected Notice of AllowabilityMCNOA | MCNOA | |
| Reasons for AllowanceEX.R | EX.R | |
| Corrected Notice of AllowabilityCNOA | CNOA | |
| Interview Summary - Applicant Initiated - TelephonicEXAT | EXAT | |
| Mail Notice of AllowanceAllowedMN/=. | MN/=. | |
| Notice of Allowance Data Verification CompletedAllowedN/=. | N/=. | |
| Reasons for AllowanceEX.R | EX.R | |
| Paralegal or electronic terminal disclaimer approvedP574 | P574 | |
| Date Forwarded to ExaminerFWDX | FWDX | |
| Change in Power of Attorney (May Include Associate POA)PA.. | PA.. | |
| Terminal Disclaimer FiledDIST | DIST | |
| Response after Non-Final ActionA... | A... | |
| Mail Interview Summary - Applicant Initiated - TelephonicMEXAT | MEXAT | |
| Interview Summary - Applicant Initiated - TelephonicEXAT | EXAT | |
| Mail Non-Final RejectionNon-final rejectionMCTNF | MCTNF | |
| Non-Final RejectionNon-final rejectionCTNF | CTNF | |
| Information Disclosure Statement consideredIDSC | IDSC | |
| Case Docketed to Examiner in GAUDOCK | DOCK | |
| Electronic Information Disclosure StatementEIDS. | EIDS. | |
| Information Disclosure Statement (IDS) FiledWIDS | WIDS | |
| Application ready for PDX access by participating foreign officesCCRDY | CCRDY | |
| PG-Pub Issue NotificationPG-ISSUE | PG-ISSUE | |
| Case Docketed to Examiner in GAUDOCK | DOCK | |
| Application Dispatched from OIPEOIPE | OIPE | |
| Sent to Classification ContractorPGPC | PGPC | |
| FITF set to NO - revise initial settingFTFI | FTFI | |
| Application Is Now CompleteCOMP | COMP | |
| Filing Receipt - UpdatedFLRCPT.U | FLRCPT.U | |
| Additional Application Filing FeesADDFLFEE | ADDFLFEE | |
| Filing ReceiptFLRCPT.O | FLRCPT.O | |
| Sequence errorsSQPR | SQPR | |
| Cleared by OIPE CSRL194 | L194 | |
| Patent Term Adjustment - Ready for ExaminationPTA.RFE | PTA.RFE | |
| IFW Scan & PACR Auto Security ReviewSCAN | SCAN | |
| Entity Status Set To Undiscounted (Initial Default Setting or Status Change)BIG. | BIG. | |
| Initial Exam Team nnIEXX | IEXX |
3 legal events, as the office reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | |
|---|---|---|
| Fee payment procedureMAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITYFEPP | FEPP | |
| Maintenance fee paymentMAFP | MAFP | |
| Information on status: patent grantGrantedPATENTED CASESTCF | STCF |
Numbers
- Publication
- 10129329
- Application
- 14881157
Titles
- English
- Apparatus and method for deadlock avoidance
Patent term adjustment
- A delay
- +545 daysthe office missed an examination deadline
- B delay
- +31 dayspendency past three years
- Net adjustment
- 576 days
Classification
- CPC, 13
- H04L67/10
- G06F9/524
- G06F8/458
- H04L43/00
- G06F9/52
- G06F9/54
- G06F15/167
- H04L12/2602
- H04L43/02
- H04L67/568
- H04L45/02
- H04L45/04
- H04L67/2842
- IPC, 9
- G06F15 167
- H04L29 08
- G06F8 41
- G06F9 52
- G06F9 54
- H04L12 26
- H04L12 751
- H04L12 715
- H04L45 02