Offloading execution of a multi-task parameter-dependent operation to a network device

Information

  • Patent Grant
  • 11556378
  • Patent Number
    11,556,378
  • Date Filed
    Monday, December 14, 2020
    3 years ago
  • Date Issued
    Tuesday, January 17, 2023
    a year ago
Abstract
A network device includes a network interface, a host interface and processing circuitry. The network interface is configured to connect to a communication network. The host interface is configured to connect to a host including a processor. The processing circuitry is configured to receive from the processor, via the host interface, a notification specifying an operation for execution by the network device, the operation including (i) multiple tasks that are executable by the network device, and (ii) execution dependencies among the tasks in response to the notification, the processing circuitry is configured to determine a schedule for executing the tasks, the schedule complying with the execution dependencies, and to execute the operation by executing the tasks of the operation is accordance with the schedule.
Description
TECHNICAL FIELD

Embodiments described herein relate generally to computer networks, and particularly to methods and systems for offloading execution of multi-task operations to a network device.


BACKGROUND

Operation of computers in advanced computing environments such as High-Performance Computing (HPC), Artificial intelligence (AI) and Machine Learning (ML) often involves fast execution of multi-task operations such as collective operations. A commonly used Application Programming Interface (API) for initiating collective operations in HPC environment is specified by the Message-Passing Interface (MPI) forum in “MPI: A Message-Passing Interface Standard,” version 2.2, Sep. 4, 2009. Version 1.1 of the MPI standard was introduced in June, 1995.


Handling collective operations in HPC and other environments is known in the art. For example, U.S. Pat. No. 8,811,417 describes a Network Interface (NI) that includes a host interface, which is configured to receive from a host processor of a node one or more cross-channel work requests that are derived from an operation to be executed by the node. The NI includes a plurality of work queues for carrying out transport channels to one or more peer nodes over a network. The NI further includes control circuitry, which is configured to accept the cross-channel work requests via the host interface, and to execute the cross-channel work requests using the work queues by controlling an advance of at least a given work queue according to an advancing condition, which depends on a completion status of one or more other work queues, so as to carry out the operation.


SUMMARY

An embodiment that is described herein provides a network device that includes a network interface, a host interface and processing circuitry. The network interface is configured to connect to a communication net. The host interface is configured to connect to a host including a processor. The processing circuitry is configured to receive from the processor, via the host interface, a notification specifying an operation for execution by the network device, the operation including (i) multiple tasks that are executable by the network device, and (ii) execution dependencies among the tasks in response to the notification, the processing circuitry is configured to determine a schedule for executing the tasks, the schedule complying with the execution dependencies, and to execute the operation by executing the tasks of the operation in accordance with the schedule.


In some embodiments, the processing circuitry is configured to generate work re quests based on the tasks, and to execute the work requests in accordance with the schedule. In other embodiments, the processing circuitry is configured to post the work requests on one or more queues, and to execute the posted work requests sequentially within each queue. In yet other embodiments, the processing circuitry is configured to determine the schedule to execute a work request in a first queue conditionally on execution of another work request in another queue.


In an embodiment, the operation includes an operation to be executed collectively by a client process running on the processor of the host and by one or more peer processes running on at least one of (i) the processor of the host and (ii) one or more remote hosts coupled to the communication network. In another embodiment, at least one of the peer processes performs the operation in software. In yet another embodiment, the processing circuitry is configured to notify the host in response to completing execution of all the tasks of the operation. In yet further another embodiment, the notification further specifies one or more parameters on which execution of a given task depends, and the processing circuitry is configured to execute the given task based on the one or more parameters.


In some embodiments, a given execution dependency specifies starting execution of a second task only after execution of a firsts task has completed, and the processing circuitry is configured to determine the schedule to condition starting execution of the second task on completion of execution of the first task. In another embodiment, a given execution dependency specifies completing execution of a second task only after execution of a first task has completed, and the processing circuitry is configured to determine the schedule to condition completing execution of the second task on completion of execution of the first task. In yet. another embodiment, the notification specifies execution of one or more tasks in a loop, over a given number of iterations, and the processing circuitry is configured to determine the schedule responsively to the one or more tasks and to the number of iterations.


In some embodiments, the host interface is configured to connect to a host of a storage device that initiates the notification specifying the operation, and the processing circuitry is configured to execute the operation for the storage device.


There is additionally provided, in accordance with an embodiment that is described herein, a method, including, in a network device that connects to a communication network and to a host, receiving from a processor of the host a notification specifying an operation for execution by the network device, the operation including (i) multiple tasks that are executable by the network device, and execution dependencies among the tasks. In response to the notification, a schedule for executing the tasks is determined, the schedule complying with the execution dependencies. The operation is executed by executing the tasks of the operation in accordance with the schedule.


These and other embodiments will be more fully understood from the following detailed description of the embodiments thereof, taken together with the drawings in which:





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram that schematically illustrates a network adapter in a HPC environment, in accordance with an embodiment that is described herein;



FIGS. 2A and 2B are diagrams that schematically illustrate graphs or example operation templates, in accordance with embodiments that are described herein;



FIGS. 3A and 3B are diagrams that schematically illustrate graphs of templates using different types of dependencies, and corresponding timing diagrams, in accordance with embodiments that are described herein;



FIG. 3C is diagram that schematically illustrates a graph of a template comprising multi-dependency, in accordance with an embodiment that is described herein;



FIG. 4 is diagram that schematically illustrates a graph of a template that contains a loop, and a corresponding timing diagram, in accordance with an embodiment that is described herein;



FIG. 5 is a flow chart that schematically illustrates a method for invocation of an offloaded multi-task operation to a network adapter, in accordance with an embodiment that is described herein;



FIG. 6 is a diagram that schematically illustrates a processing flow in performing an All-Reduce operation based on the recursive-doubling method, in accordance with an embodiment that is described herein; and



FIG. 7 is a flow chart that schematically illustrates a method for producing and storing a template of a multi-task operation, in accordance with an embodiment that is described herein.





DETAILED DESCRIPTION OF EMBODIMENTS
Overview

Embodiments that are described herein provide methods and systems for offloading execution of a multi-task operation to a network device.


In advanced computing environments such as HPC, computational and data transfer operations may be executed collectively by multiple processes running on one or more compute nodes that are interconnected via a suitable fabric network. Execution of a collective operation typically requires data transfer among the processes in the same or different compute nodes, and data manipulation by the processes. A given collective operation thus involves a corresponding communication pattern among the participating processes for data exchange and aggregation.


In the present context, a network device comprises a device that connects to a communication network. An example network device is a network adapter, e.g., a Network Interface Card (NIC).


A collective operation is typically specified by multiple tasks and dependencies among the tasks. In principle, a processor of the host e.g., a host CPU or a Graphics Processing unit (GPU) within the host, could execute a collective operation in software, by translating the operation into corresponding tasks and dependencies, and then executing the tasks in accordance with the dependencies. Translation of an operation into tasks and dependencies, however, imposes a significant burden on the host CPU, especially when the CPU executes this operation frequently. Moreover, the CPU is occupied in orchestrating execution of the tasks and therefore the CPU bandwidth remaining for other processing is reduced.


In the disclosed embodiments, execution of multi-task operations, such as collective operations, is efficiently offloaded to a network adapter. The network adapter may be used for connecting the host to a communication network. Alternatively or additionally, the network adapter provides communication among processes of the same compute node. To efficiently offload execution of multi-task operations to the network adapter, the multi-task operations are specified in templates comprising corresponding tasks and dependencies. Multiple operations that share the same or similar tasks and dependencies may be specified in a common template, wherein the actual operation is selectable using one or more parameters. The network adapter also supports performing multi-task operations whose templates have no parameters. Operations comprising different tasks and/or dependencies are typically specified in different templates.


In some embodiments, the host triggers the network adapter to execute a multi-task operation comprising (i) multiple tasks that are executable by the network adapter, and (ii) execution dependencies among the tasks. In response to the trigger, the network adapter determines a schedule for executing the tasks in compliance with the execution dependencies, and then executes the operation by executing the tasks of the operation in accordance with the schedule. In response to completing execution of all the tasks, the network adapter notifies completion of the entire operation to the host.


In some embodiments, processing circuitry of the network adapter generates Work Requests (WRs) based on the tasks and executes the WRs in accordance with the schedule. The processing circuitry posts the WRs on one or more queues, and executes the posted WR sequentially within each queue, and in parallel among different queues. In some embodiments, to determine a schedule that complies with the dependencies, the network adapter determines the schedule to execute a WR in a one queue conditionally on execution of another WR in another queue. In an embodiment, the operation comprises a collective operation to be executed collectively by a process running on the CPU of the host and one or more peer processes running on at least one of (i) the CPU and (ii) one or more remote hosts coupled to the communication network.


In some embodiments, the host further specifies in triggering the operation, one or more parameters on which execution of a given task depends. In such embodiments, the processing circuitry executes the given task based on the one or more parameters. For example, the given task comprises a data compression task, and a parameter selects a compression method among multiple available compression methods. In other embodiments, the multi-task operation requires no parameters for execution by the network adapter. In an embodiment, a parameter relates to the operation as a whole, and is “translated” into one or more parameters within one or more tasks.


In some embodiments, the schedule for executing the tasks supports various types of execution dependencies. For example, a given execution dependency specifies starting execution of a second task only after execution of a first task has completed, in which case the processing circuitry determines the schedule to condition starting execution of the second task on completion of execution of the first task. As another example, a given execution dependency specifies completing execution of a second task only after execution of a first task has completed. In this embodiment, the processing circuitry determines the schedule to condition completing execution of the second task on completion of execution of the first task.


In some embodiments, the triggered operation specifies execution of one or more tasks in a loop, over a given number of iterations. In such embodiments, the processing circuitry determines the schedule responsively to the one or more tasks and to the number of iterations, so as to execute the loop.


In the disclosed techniques, a network adapter completely relieves the host from the burden involved in executing a multi-task operation. By relieving the host CPU from orchestrating execution of the operation, the host CPU and network adapter may progress asynchronously. In the disclosed embodiments, the host interfaces the network adapter efficiently by providing a template specifying the tasks and dependencies of the operation to be executed. Similar operations may be specified in a common template and selected using one or more parameters. Other templates require no parameters. Templates may be determined and stored, to be invoked multiple times as required. A stored template is reused without duplication thus saving storage space.


System Description


FIG. 1 is block diagram that schematically illustrates a network adapter 24 in a HPC environment 20, in accordance with an embodiment that is described herein.


In the described embodiment a host server 28 is connected to a communication network 30 through a network interface 34. Communication network 30 provides switched connectivity among the nodes that are connected to it, in the present example hosts 28, 36 and 38 and storage system 42. The following schematic description of host 28 typically represents the other hosts as well. Alternatively, in some embodiments, a remote host such as 36 or 38 may not support the disclosed techniques for offloading multi-task operations for execution in the network adapter.


A host processor 44 stores data and instructions in a memory 46, and connects to a Graphic Processing Unit (GPU) 50 using any suitable bus 52, e.g., a Peripheral Component Interconnect (PCI)—Express (PCIe) bus. Host. processor 44 may comprise a Central Processing Unit (CPU). In some embodiments, host processor 44 connects to GPU 50 using the NVLink bus (by Nvidia), for example, when host processor 44 comprises an IBM's Power8 CPU. Host processor 44 runs a HPC application 54 that uses memory 46 as a dynamic memory. In the present example, the HPC application includes collective commands that issue collective operations over communication network 30 by executing code modules of a suitable library such as, for example, an OpenMPI library that implements the MPI specification (not shown). Alternatively, other suitable libraries, such as a library that implements the Shared Memory (SHMEM) specification, can also be used.


Note that the disclosed techniques are not limited to collective operations and are also applicable to other multi-task operations. For example, the network adapter may encrypt data for the local host and store the encrypted data in some local or remote destination address.


In an embodiment, host processor 44, using for example, OpenMPI library code modules, implements the collective operation commands (or other multi-task operations) into operation templates for executing the collective operation commands by network adapter 24. In some embodiments, the implementation of the collective operations API (which are introduced, for example, in the OpenMPI library) are implemented using operation templates. In such embodiments the operation templates are part of the OpenMPI API implementation. The term “operation template” is also referred to herein simply as a “template” for brevity. The host processor may store templates in any suitable storage, e.g., in memory 46 or transfer the templates for storage in the network adapter through a host interface 56. The templates may be stored in any suitable local or remote storage that is accessible to the network adapter. In general, a multi-task operation, e.g., a collective operation may be executed by multiple processes running on processors of the same or different hosts. As such, each host that participates in performing a multi-task operation may run one or more processes for executing a multi-task operation. Processes within the same host, that participate in performing a multi-task operation, may communicate with one another via the network adapter that also serves for communication over the communication network.


As will be described in detail below, a template of an operation specifies tasks and dependencies. The tasks are to be executed in accordance with the dependencies to carry out the underlying operation. Processing circuitry 60 within network adapter 24 receives from host processor 44 requests for activating previously determined templates, and executes the corresponding operations using processing circuitry 60, as explained hereinafter.


Queues 64 comprise various types of queues, such as, for example, InfiniBand™ (IB) Receive Queues (RQs), Send Queues (SQs), and Completion Queues (CQs). In the present context, queues 64 are associated with one or more execution engines 66 that execute WRs posted on the queues. Execution engines 66 may be part of or separate from processing circuitry 60. In response to receiving a request to activate a given template, processing circuitry 60 loads WRs corresponding to the tasks specified in the given template (and possibly one or more control WRs) to selected queues 64, and execution engines 66 execute the posted WRs.


In some embodiments, queues 64 reside in a memory of the host. The network adapter may fetch a queue 64 or part thereof into a cache memory (not shown) in the network adapter, to reduce latency in accessing WRs in the queues.


Execution engines 66 may operate in various ways such as in parallel. In some embodiments, the execution engines may start executing WRs in queues 64 even before the network adapter generates and/or loads all the WRs corresponding to the template into the queues 64. This is important, for example, to reduce latency, and when the storage required for the WRs of the template is larger than the storage space available in queues 64.


The processing circuitry controls execution of WRs of in queues 64 corresponding to the template, based on the dependencies specified in the template. In particular, the processing circuitry conditions the advance of a given WR for example, on progress of WRs execution on other queues, and/or on reception or messages from peer nodes in some RQs through network interface 34. In some embodiments, other suitable conditions for advancing WR execution can be used, e.g., a suitable “wait” condition that is unrelated to WRs in the same or other queues.


In an embodiment, processing circuitry 60 further comprises a computation unit 68, which is configured in some embodiments as a data processing module, and/or an Arithmetic Logic Unit (ALU), for performing calculations that are specified by the WRs. The computation unit may also perform calculations on the parameters of the template. Computation unit 68 can be embedded within the processing circuitry, or it can be implemented separately within the network adapter and controlled by the processing circuitry. In some embodiments, computation unit 68 supports data processing such as data compression/decompression, and/or data encryption/decryption. Alternatively or additionally, other suitable data processing operations can also be used. For example, depending on the underlying processing required, vector and matrix operations can also be used.


Network adapter 24 comprises a memory 72 that is connected to processing circuitry 60 and serves to store code and data that the processing circuitry and the computation unit use.


In the example of FIG. 1, memory 72 stores templates of operations in a template database 76. In such an embodiment, activating a template by the host is very efficient because the activating process (e.g., HPC application 54) provides the network adapter only with a template ID and parameters. This requires sending only a small amount of data over bus 52 during to invocation and therefore enables high invocation rate and requires very little bandwidth. In other embodiments, template database 76, may be stored or distributed across any local or remote storage elements accessible to network adapter 24.


Network interface 34 may comprise one or ports (e.g., IB ports) for connecting to communication network 30.


The disclosed offloading techniques may be applicable to transport technologies other than the IB transport. For example, the operations may be applicable to, RDMA over Converged Ethernet (RoCE), TCP, UDP and any other suitable interfaces.


In some embodiments, GPU 50 efficiently executes a multi-task operation by activating a relevant template for executing the operation by the network adapter, similarly to template activation by the host CPU, as described above.


Storage system 42 may comprise any suitable storage system or device using any suitable storage technology. For example, storage system 42 may comprise a Solid-State Drive (SSD) implemented using Non-Volatile Memory (NVM) devices, e.g., Flash devices. Host processor 44 may communicate with storage system 42 using any suitable storage protocol, e.g., the NVM-Express (NVMe) over TCP (NVMe/TCP).


In some embodiments, storage system 42 comprises a host processor and a network adapter that connects to the host processor using a suitable host interface. The network adapter may connect to a communication network using a network interface. The host processor, network adapter and interfaces may be similar to host processor 44, network adapter 24, network adapter 34 and host interface 56 of FIG. 1. In such embodiments, the host of the storage system may offload execution of multi ask operations to the local network adapter in the form of templates.


The configurations of HPC environment 20, host 28 and network adapter 24 shown in FIG. 1 are example configurations, which are chosen purely for the sake of conceptual clarity. In alternative embodiments, any other suitable HPC environment, host and network adapter configurations can also be used. Elements of network adapter 24 and host 28 that are not mandatory for understanding the disclosed techniques are omitted from the figure for the sake of clarity.


In an example embodiment, network adapter 24 is implemented in a Network Interface Card (NIC). In alternative embodiments network adapter 24 is implemented in a chip-set or a single chip.


Processing circuitry 60 and computation unit 68 are realized in an embodiment in hardware, which may comprise Field-Programmable Gate Arrays (FPGAs) and/or Application-Specific Integrated Circuits (ASICs). Each of host CPU 44 and processing circuitry 60 may also comprise a programmable element. comprising one or more dedicated or general-purpose processors, which run software for carrying out the methods described herein. The software may be downloaded to the processors in electronic form, over a network, for example, or it may, alternatively or additionally, be provided and/or stored on non-transitory tangible media, such as magnetic, optical, or electronic memory. Queues 64 and memory 72 are typically implemented in a random access memory such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), which may be embedded within the processing circuitry or assembled separately in the network adapter. In some embodiments, queues 64 are stored in the host memory and part of them is cached into the network adapter.


Templates of Multi-Task Operations

As noted above, multi-task operations to be executed by network adapter 24 may be specified using templates. A template comprises the tasks of the underlying operation and dependencies according to which the tasks should be executed. The dependencies specify conditions for executing the tasks depending on execution progression of other tasks.


The tasks in the templates are executable by the network adapter, e.g., using computation unit 68. As such, an entire operation may be offloaded to the network adapter. Example tasks that are executable by network adapter 24 comprise, for example, data transfer, memory registration and de-registration, data compression and decompression, data encryption and decryption, or any other suitable task supported by network adapter 24.


In some embodiments, a template specifies resources of the network adapter (e.g., queues 64 and execution engines 66) allocated for executing the tasks in the template. The tasks in the template may be posted (e.g., as work requests) on one or more queues 64, and executed by execution engines 66. Alternatively, the network adapter decides on resource allocation internally. In some embodiments, network adapter 24 determines, based on the dependencies in the template, a schedule for executing the tasks using the allocated resources, so that the schedule complies with the dependencies. The network adapter then executes the operation by executing the tasks of the operation in accordance with the schedule.


A template may be represented by a graph in which vertices (or nodes) represent the tasks, and edges (e.g., arrows) represent the dependencies among the tasks. Example templates and graphs will be described below.



FIGS. 2A and 2B are diagrams that schematically illustrate graphs of example operation templates, in accordance with embodiments that are described herein.


The graph in FIG. 2A corresponds to a template 100 specifying an operation comprising tasks 102 denoted TASK1 and TASK2. An arrow 104 represents a dependency according to which the execution of TASK2 is conditioned on execution progression of TASK1. Dependencies of various types will be described further below.


In some embodiments, the host CPU provides a template to the network adapter, along with one or more parameters that are required for instantiation of the template for execution by the network adapter. By using parametrized templates, a given template can be used flexibly for specifying multiple similar operations. This results in an efficient interface between the host. and network adapter, and reduces storage space required for storing the templates.


The template in FIG. 2 can be instantiated for execution by network adapter 24 based on parameters 108 depicted in dotted lines. In this example, parameters denoted PAPAM1 and PARAM2 respectively specify a data source for TASK1 and a data destination for TASK2.



FIG. 2B depicts a graph of a template 110 specifying an operation comprising tasks 102, denoted TASK3, TASK4 and TASK5. Arrows 104 represent dependencies among the tasks, according to which execution of TASK4 is conditioned on execution progression of TASK3, and execution of TASK5 is conditioned on execution progression of TASK4. In the present example, TASK4 comprises different sub-tasks denoted TASK4_A and TASK4_B, which are selectable using a suitable parameter, as described herein.


The template of FIG. 2B is instantiated for execution by network adapter 24 based on parameters 108 depicted in dotted lines. In this example, parameters denoted PARAM1 and PARAM3 respectively specify a data source for TASK3 and a data destination for TASK5. A parameter denoted PARAM2 selects one of the internal tasks TAKS4_A and TASK4_B of TASK4. Template 110 thus supports an operation comprising TASK3, TASK4_A and TASK_5, and another operation comprising TASK3, TASK4_B and TASK_5.


Depending on the operation, a template may specify various types of dependencies 104 among tasks 102. Different types of dependencies apply different conditions on execution progression of the involved tasks.



FIGS. 3A and 3B are diagrams that schematically illustrate graphs of templates using different types of dependencies, and corresponding timing diagrams, in accordance with embodiments that are described herein.


Template 112 in FIG. 3A comprises three tasks 102 denoted TASK_A, TASK_B and TASK_C. Arrows 114 depicted in a solid line, represent a type of dependency that conditions starting execution of one task on completion execution of another task. In the present example, TASK_B can start execution only after TASK_A completes execution, and TASK_C, can start execution only after TASK_B completes execution.


The timing diagram in the lower part of FIG. 3A depicts execution times of the three tasks. Specifically, horizontal bars 116A, 116B and 116C correspond to respective execution periods of TASK_A, TASK_B and TASK_C. In this example, bar 116B starts after bar 116A ends, and bar 116C starts after bar 116B ends.


Template 120 of FIG. 3B comprises tasks 102 denoted TASK_A, TASK_B and TASK_C. Arrows 122 depicted in a dotted line, represent a type of dependency that conditions the completion execution of one task on the completion of execution of another task. In the present example, TASK_B can complete execution only after TASK_A completes execution, and TASK_C can complete execution only after TASK_B completes execution.


The timing diagram in FIG. 3B depicts execution times of the three tasks. Specifically, horizontal bars 124A, 124B and 124C correspond to execution periods of TASK_A, TASK_B and TASK_C, respectively. Note that in this type of dependency, the start times of the tasks are unconstraint.



FIG. 3C is diagram that schematically illustrates a graph of a template 130 comprising multi-dependency, in accordance with an embodiment that is described herein.


Template 130 comprises four tasks 102 denoted TASK_A . . . TASK_D. As shown in the figure, TASK_C depends on both TASK_A and TASK_B, whereas TASK_D depends only on TASK_B. Specifically, the starting of TASK_C is conditioned on the completion of TAKS_A, and the completion of TASK_C is conditioned on the completion of TASK_B. The starting of TASK_D is conditioned on the completion of TASK_B.


Templates Comprising Loops

In some embodiments, network adapter 24 supports executing an operation specified by a template that contains a loop. A loop comprises one or more tasks that are executed sequentially a predefined number of iterations, e.g., provided as a parameter of the template. Loop representation in a template is much more efficient than unrolling the loop. A loop may be unrolled by generating a sequence of tasks defining a single loop iteration and duplicating the loop iteration in accordance with the number of iterations.



FIG. 4 is diagram that schematically illustrates a graph of a template 140 that contains a loop, and a corresponding timing diagram, in accordance with an embodiment that is described herein.


In the present example, template 140 contains a loop 144 in which tasks 102 denoted A, B, C and D are executed sequentially twice. Alternatively, any other number of iterations can also be used. Template 140 further comprises a task denoted X that network adapter 24 executes before staring loop 144, and tasks denoted Y and Z that the network adapter executes after respective tasks B and C are executed twice. In the present example, the dependencies (114) condition one task on the completion of on one or more other tasks.


The timing diagram in FIG. 4 depicts execution times of the tasks in template 140 during execution of the underlying operation. As shown in the figure, the network adapter starts with execution of task X, followed by execution of the tasks in loop 144 over two iterations. In each iteration the network adapter sequentially executes the tasks A, B, C and D. After the second execution of tasks B and C, the network adapter executes task Y and Z, respectively.


In some embodiments, network adapter 24 supports templates comprising multiple loops. For example, a template may comprise two or more independent loops, each of which comprising dedicated tasks. In this case, the network adapter executes each loop independently from the other loops. As another example, the template may comprise nested loops. For example, an outer loop may contain an inner loop. In this case, the network adapter executes the tasks of the inner loop a predefined number of iterations, within each iteration of the outer loop. The number of iterations may be specified as a parameter of the template.


In an example embodiment, the tasks of a loop are posted as WRs on a common queue (64). In this embodiment, the template may specify the first and last entries in the queue corresponding to the first and last tasks to be repeated, and the number of iterations. In some embodiments, a template comprises a loop that comprise WRs posted on different queues (64), and the loop is controlled using appropriate control WRs.


In some embodiments, one or more tasks of the loop are omitted from the last iteration. For example, the loop repeats the sequence A, B and C over multiple iterations, and in last iteration executes only the tasks A and B, while omitting task C.


Template Instantiation

In some embodiments, the network adapter receives from the host a template ID via which it can access the template content in memory. The template may be stored in a template database (e.g., 76 in a memory 72 of the network adapter), for example, or in an external memory (e.g., memory 46 in the host) accessible to the network adapter. In general, the template database may be stored or distributed among any local and/or remote memory that is accessible to the network adapter. In some embodiments, to increase performance, the templates are stored in a memory of the network adapter. When the templates require a storage space larger than available in the network adapter, the templates may be stored in a memory of the host (e.g., 46) and cached into network adapter 24 as required.


As noted above, a single template may be shared among multiple similar operations. The similar operations may comprise the same tasks, with at least one of the tasks being configurable using a parameter.


In the present context, the term “instantiation” means preparing for executing the underlying operation in the network adapter, for example, using parameters accompanying the template, if any.


In some embodiments, the template specifies tasks in a WR formatting, wherein one or more of the WRs are modifiable. In such embodiments, the network adapter instantiates the template for execution, by modifying relevant WRs based on the parameters received with the template. The network adapter may modify a WR before posting it to a queue. Alternatively, the network adapter posts the WR to a queue and modifies the WR before executing it. In some embodiments, a template has no parameters, and is therefore specified in unmodifiable WRs. A template having no parameters is also instantiated for execution by the network adapter.


Sharable Templates

In some embodiments, e.g., for security reasons, a given template is restricted for execution by an authorized process. For example, the template is private for execution only by the process that has created it. In alternative embodiments, a template may be shared among multiple processes (based on template IDs or using any other suitable sharing mechanism). Further alternatively, a template may be stored in the network adapter, to be available for activation by all processes running on the host CPU (or GPU).


A Method for Execution of a Multi-Task Operation in a Network Adapter


FIG. 5 is a flow chart that schematically illustrates a method for invocation of an offloaded multi-task operation to a network adapter, in accordance with an embodiment that is described herein.


The method will be described as executed by various elements of network adapter 24, including processing circuitry 60.


The method begins with processing circuitry 60 receiving from host 28 via host interface 56, a notification for executing a multi-task operation, at a notification reception step 200. The notification is indicative of a template comprising tasks and dependencies specifying the required operation. For example, the notification may comprise a pointer or an index of the template in the template database. In some embodiments, the same template corresponds to multiple similar operations, in which case the notification further comprises one or more parameters that are required for the instantiation of a particular operation in the network adapter, as described above.


Based on the notification, the processing circuity executes the underlying multi-task operation by performing steps 204, 208 and 212 below in parallel.


At a WR generation step 204, the processing circuity generates WRs and a schedule for executing the WRs. In some embodiments, the processing circuitry generates the WRs based on the tasks in the template. For example, the processing circuitry generates for each task in the template a corresponding WR (or multiple WRs). In some embodiments, the processing circuitry generates one or more WRs that do not correspond to any of the tasks in the template. Such WRs may be used, for example, for controlling execution of the tasks specified in the template. The processing circuitry generates the schedule for executing the tasks so that the schedule complies with the dependencies specified in the template.


In some embodiments, the template specifies the tasks in a WR formatting. In such embodiments, the processing circuitry modifies at least one of the WRs based on parameters provided in the notification. In other embodiments, the processing circuitry does not modify any of the WRs, e.g., when the template has no parameters.


Note that the dependencies in the template refer to execution conditions among the tasks of the operation. The dependencies are thus unrelated to any resources in the network adapter that may be allocated for executing the operation. The schedule, on the other hand, is determined based on the dependencies, as well as on the resources in the network adapter allocated for the tasks. In some embodiments, the schedule may depend on one or more parameters specified in the notification. This provides the processing circuitry with flexibility to apply different schedules for the same template.


At a posting step 208, the processing circuitry posts the WRs of step 204 on one or more queues 64. In one embodiment, the processing circuitry distributes the WRs among queues 64 based on information provided in the notification of the template. In another embodiment, the processing circuitry determines, on the fly, a scheme for distributing the WRs among queues 64, based, for example, on current resources availability (e.g., queues 64 and/or execution engines 66).


At an operation execution step 212, the processing circuitry executes the operation, by executing the WRs posted in queues 64, in accordance with the schedule. At a completion step 216, the processing circuitry notifies the host that execution of the operation has completed. For example, the processing circuitry places a completion element on a relevant completion queue polled by the host, or by generating an interrupt to the process in the host (e.g., HPC application 54) that initiated the operation. Following step 216 the method terminates.


For efficient execution, the network adapter may perform two or more of steps 204, 208 and 212 in parallel. In an example embodiment, for a template of a high complexity multi-task operation, the network adapter generates some WRs of the template and starts posting and executing these WRs even before generation of all the WRs has completed. This approach is also useful when only a partial subset of the WR can be posted on the queues concurrently, e.g., due to limited storage space availability.


Storage Operation Executed by a Network Adapter

In host 28, a write operation to a remote storage system such as storage system 42 may be specified by a template comprising the following tasks, each of which is executable by network adapter 24:


Task1—Memory registration in local host (e.g., memory 46).


Task2: Data compression—compress the data to be written.


Task3: Data encryption—encrypt the compressed data.


Task4: Data write—send the encrypted data for storage in remote storage system (42).


Task5: memory de-registration (e.g., memory 46).


In the present example, the template further comprises dependencies among Task1 . . . Task5, requiring that each of the tasks may start execution only after the previous task in order has completed. In the present example, the instantiation of the template in network adapter 24 depends on the following parameters:


Param1: Source buffer—the address in the local host memory (e.g., 46) in which the data to be written is stored.


Param2: Compression parameters, e.g., the compression method to use.


Param3: Encryption parameters, e.g., the encryption method to use.


Param4: Destination buffer—the address in the storage system in which the data is to be stored.


Param5: The queues (64) on which to post the WRs corresponding to the tasks (and possibly also control WRs).


Some of the parameters above, such as the compression and encryption methods may have default values to be used when not provided explicitly. As noted above, the network adapter receives the template and parameters from the host (e.g., from CPU 44 or GPU 50) and posts WRs corresponding to the tasks on selected queues 64. To derive a schedule that complies with the dependencies, the network adapter may also post control WRs, e.g., a WR that causes execution in one queue to suspend until a selected WR completes execution in another queue.


Note that it is generally assumed that queue(s) serving for communication between the host and the remote storage have established connection with their peers before executing the template of the write operation.


In the present example, the network adapter distributes the WRs among three queues 64 denoted Q0, Q1 and Q2. Specifically, Q0 is assigned to memory registration and de-registration operations, Q1 is assigned to compression and encryption operations, and Q2 is assigned to communication with remote storage system 42. In this example, the WRs in each queue 64 are executed by a dedicated execution engine. This, however, is not mandatory, and other suitable allocations of processing engines to queues can also be used. Table 1 summarizes the assignment of WRs to queues 64 in the present example. In the table, the symbol “WR_ij” denotes the jth WR in the ith queue, Qi.









TABLE 1







A write storage operation translated into WRs in three queues.









Q0
Q1
Q2















WR_00
Register
WR_10
Wait for
WR_20
Wait for



memory

WR_00

WR_12


WR_01
Wait for
WR_11
Compress
WR_21
Send



WR_21



data


WR_02
De-
WR_12
Encrypt





register







memory









In executing the write operation, network adapter 24 executes the WRs posted on Q0, Q1 and Q2 in parallel, and sequentially within each of Q0, Q1 and Q2. In accordance with Table 1, the network adapter starts with executing WR_00 in Q0, while Q1 and Q2 are forced to suspend execution due to the respective wait requests WR_10 and WR_20. After memory registration is done, Q0 executes WR_01 that causes Q0 to wait for WR_12 in Q2. In parallel, Q1 starts executing compression (WR_11) followed by encryption (WR_12). After Q1 concludes executing WR_12, Q2 can start executing W_21 for sending the encrypted data to the storage system over communication network 30. When WR_21 completes, Q0 is released to de-register the memory by executing WR_02. The entire execution flow (omitting the wait WRs) can be summarized as follows: WR_00→WR_11→WR_12→WR_21→WR_02.


By executing the entire operation by the network adapter, the host CPU (or GPU) is freed for other processing, and the operation may be invoked by the host CPU (or GPU) at high rates.


An All-Reduce Operation Executed by a Network Adapter

The Recursive-doubling algorithm is a method commonly used in parallel computations. The Recursive-doubling algorithm is described, for example, by Peter M. Kogge and Harold S. Stone, in a paper titled “A Parallel Algorithm for the Efficient Solution of a General Class of Recurrence Equations,” IEEE Transactions on Computers, volume C-22, issue 8, August 1973, pages 786-793. An example usage of the Recursive-doubling algorithm is described, for example, by Harold S. Stone, in a paper titled “An Efficient Parallel Algorithm for the Solution of a Tridiagonal Linear System of Equations,” Journal of the Association for Computing Machinery, volume 20, number 1, January 1973.


Next is described a method for performing an “All-Reduce” collective operation, by network adapter 24, based on the Recursive-doubling method.


The method performs a distributed computation across multiple compute nodes, each of which executes parts of the computation. The sequence of tasks to be executed in each compute node can be formalized as a multi-task operation as described herein.



FIG. 6 is a diagram that schematically illustrates a processing flow in performing an All-Reduce operation based on the recursive-doubling method, in accordance with an embodiment that is described herein.


In the example of FIG. 6, eight processes 180, denoted P0 . . . P7, collectively perform the All-Reduce computation, and the result is shared among all the processes.


Let D(k,i) denote the data available locally in process Pi i=0 . . . 7, at step k=0 . . . 3. At an initialization step k=0, each process Pi holds data D(0,i), to be included in the computation. At each of steps k=0 . . . 2, a process Pi sends its data D(k,i) to a pear process Pj, and receives data D(k,j) from the peer process Pj. Each of processes Pi and Pj then reduces D(k,i) and D(k,j) into a local result that serves as the local data D(k+1,i) and D(k+1,j) for the next step (k+1). At step k=3, each process Pi has local data D(2,i) and received data D(2,j) from a peer process Pj. Process Pi then locally calculates the reduced result, which is common among all processes P0 . . . P7.


In the recursive calculation above, at each step k, the processes are paired differently so as to carry out the distributed calculation. For example, at steps k=0 . . . 2, P0 exchanges data with P1, P2 and P4, respectively, and at step k=3, P0 calculates the result based on its local data D(2,0) and data D(2,4) received from process P4.


The number of recursive rounds in the method above is given by Ceiling[log 2(P)], P being the number of processes, e.g., P=8 in the present example.


The method of FIG. 6 can be described for cases in which P is a power of 2, as a pseudocode for the ith process Pi as follows:


Input: data x:=D(0,i) at process Pi.


Output: Reduced data (common to all the processes).


x:=D(0,i)


for 0≤k<log 2(P) do

    • j:=i XOR 2k
    • Send x to Pj (skip for k==3)
    • Receive x′ from Pj
    • x:=reduce(x,x′)


endfor


Note that the pseudocode above is suitable for a number of processes P that is a power of 2. When this condition is not met, additional steps (e.g., at the beginning and end of the method) are required to complete the All-Reduce collective operation.


In an embodiment, the All-Reduce operation described above may be executed by network adapter 24 using a template comprising suitable tasks and dependencies. Table 2 depicts decomposition the operation into tasks (WRs) posted on three queues 64 denoted Q0, Q1 and Q2.









TABLE 2







An All-Reduce operation translated into WRs in three queues.









Q0
Q1
Q2


Peer j = (i XOR 20)
Peer j = (i XOR 21)
Peer j = (i XOR 22)















WR_00
Register
WR_10
Wait for
WR_20
Wait for



memory

WR_03

WR_13


WR_01
Send to
WR_11
Send to
WR_21
Send to



Pj

Pj

Pj


WR_02
Receive
WR_12
Receive
WR_22
Receive



from Pj

from Pj

from Pj


WR_03
Reduce
WR_13
Reduce
WR_23
Reduce


WR_04
Wait for







WR_23






WR_05
De-







register







memory









The parameters required for instantiation of the template are given by:


1. Source buffer address (the address of the memory where the input data resides).


2. The address of the destination processes Pj (j≠i).


3. The queues (64) on which to execute the WRs of the template.


Offloading the operations to the network adapter significantly reduces the overall execution latency of the operation, compared to implementation in software by the host CPU. The improvement is especially significant when the collective operation executed in each Pi above is dominated by communicating many small messages.


As shown in Table 2, WR_01, WR_02 and WR_03 in Q0, correspond to send, receive, and reduce tasks, respectively. Similarly, WR_11, WR_12 and WR_13 in Q1, and WR_21, WR_22 and WR_23 in Q2 correspond to send, receive, and seduce tasks. The cases only differ in the destination process in the send tasks and the source process in the receive task. In an embodiment, the All-Reduce operation described above can be specified in a template that contains a loop over the send, receive and reduce tasks. In an example embodiment, the network adapter executes the All-Reduce operation using a single queue Q0 as depicted in Table 3.









TABLE 3







All-Reduce operation in a single queue with a loop.











Queue entry of Q0
Loop
Task







0
No
WR_0 - Register memory



1
Yes
WR_1 - Send to Pj



2
Yes
WR_2 - receive from Pj



3
Yes
WR_3 - reduce



4
No
WR_4 - De-register memory










In Table 3, the loop contains the tasks in entries 1, 2 and 3. The network adapter starts with executing the register memory task, then loops three times over the send, receive and reduce tasks, and then executes the de-register memory task. In each of the loop iterations, the network adapter selects the relevant process to be paired.


Template Generation Considerations

Templates specifying multi-task operations may be produced in various ways. For example, the templates can be determined manually, and provided to the host and/or to the network adapter via any suitable interfaces. Alternatively, the templates of multi-task operations may be determined automatically using a suitable software program. The software program may run on an external computer to produce the templates, which are then downloaded to the host or to the network adapter. Note that the templates may be generated at one time and loaded into a memory of the host, network adapter or any other suitable storage element, at another time. In some embodiments, host 28 runs a software program to produce the templates and downloads the produced templates to the network adapter via host interface 56.



FIG. 7 is a flow chart that schematically illustrates a method for producing and storing a template of a multi-task operation, in accordance with an embodiment that is described herein.


The method will be described as executed by host processor 44.


The method begins, at a template reception step 250, with host processor 44 receiving a definition of a template of a multi-task operation. The host processor may receive the template definition from a user, e.g., by running a program that provides a suitable man-machine interface. Alternatively, the host processor may receive the template definition using any other suitable method, e.g., reading the template definition from an external storage or receiving the template definition over the communication network, for example. The host processor typically stores the elements of the template, temporarily, in a suitable data structure, e.g., in memory 46.


In some embodiments, the template definition comprises definitions of (i) the tasks of the multi-task operation, (ii) dependencies among the tasks, and (iii) parameters (if any) required for executing the operation by the network adapter. The tasks may be specified in the form of work requests executable by the network adapter.


At a template storage step 254, the host processor sends the received template for storage, e.g., in a template database 76 of the network adapter. Alternatively, the host processor stores the template in memory 46 or in any other suitable memory, as described above.


The embodiments described above are given by way of example, and other suitable embodiments can also be used. For example, in some of the embodiments described above, a multi-task operation specifies tasks and dependencies to be executed by a single: process running on the: host. In general, however, a multi-task operation may be executed collectively by a process running on the host and other processes running locally on the host or remotely on remote hosts.


Although the embodiments described herein mainly address offloading execution of multi-task operations to a network device of a network node, the methods and systems described herein can also be used in other applications, such as in any entity that executes multi-task operations and that comprises a network adapter or another processor configured to offload the multi task operations using templates.


It will be appreciated that the embodiments described above are cited by way of example, and that the following claims are not limited to what has been particularly shown and described hereinabove. Rather, the scope includes both combinations and sub-combinations of the various features described hereinabove, as well as variations and modifications thereof which would occur to persons skilled in the art upon reading the foregoing description and which are not disclosed in the prior art. Documents incorporated by reference in the present patent application are to be considered an integral part of the application except that to the extent any terms are defined in these incorporated documents in a manner that conflicts with the definitions made explicitly or implicitly in the present specification, only the definitions in the present specification should be considered.

Claims
  • 1. A network device, comprising: a network interface configured to connect to a communication network;a host interface, configured to connect to a host comprising a processor; andprocessing circuitry, configured to: receive from the processor, via the host interface, a notification specifying an operation for execution by the network device, the operation comprising (i) multiple tasks that are executable by the network device, and (ii) execution dependencies among the tasks;in response to the notification, determine a schedule for executing the tasks, the schedule complying with the execution dependencies; andexecute the operation by executing the tasks of the operation in accordance with the schedule.
  • 2. The network device according to claim 1, wherein the processing circuitry configured to generate work requests based on the tasks, and to execute the work requests in accordance with the schedule.
  • 3. The network device according to claim 2, wherein the processing circuitry is configured to post the work requests on one or more queues, and to execute the posted work requests sequentially within each queue.
  • 4. The network device according to claim 2, wherein the processing circuitry is configured to determine the schedule to execute a work request in a first queue conditionally on execution of another work request in another queue.
  • 5. The network device according to claim 2, wherein the operation comprises an operation to be executed collectively by a client process running on the processor of the host and by one or more peer processes running on at least one of (i) the processor of the host and (ii) one or more remote hosts coupled to the communication network.
  • 6. The network device according to claim 5, wherein at least one of the peer processes performs the operation in software.
  • 7. The network device according to claim 1, wherein the processing circuitry is configured to notify the host in response to completing execution of all the tasks of the operation.
  • 8. The network device according to claim 1, wherein the notification further specifies one or more parameters on which execution of a given task depends, and wherein the processing circuitry is configured to execute the given task based on the one or more parameters.
  • 9. The network device according to claim 1, wherein a given execution dependency specifies starting execution of a second task only after execution of a first task has completed, and wherein the processing circuitry is configured to determine the schedule to condition starting execution of the second task on completion of execution of the first task.
  • 10. The network device according to claim 1, wherein a given execution dependency specifies completing execution of a second task only after execution of a first task has completed, and wherein the processing circuitry is configured to determine the schedule to condition completing execution of the second task on completion of execution of the first task.
  • 11. The network device according to claim 1, wherein the notification specifies execution of one or more tasks in a loop, over a given number of iterations, and wherein the processing circuitry is configured to determine the schedule responsively to the one or more tasks and to the number of iterations.
  • 12. The network device according to claim 1, wherein the host interface is configured to connect to a host of a storage device that initiates the notification specifying the operation, and wherein the processing circuitry is configured to execute the operation for the storage device.
  • 13. A method, comprising: in a network device that connects to a communication network and to a host, receiving from a processor of the host a notification specifying an operation for execution by the network device, the operation comprising (i) multiple tasks that are executable by the network device, and (ii) execution dependencies among the tasks;in response to the notification, determining a schedule for executing the tasks, the schedule complying with the execution dependencies; andexecuting the operation by executing the tasks of the operation in accordance with the schedule.
  • 14. The method according to claim 13, and comprising generating work requests based on the tasks, and executing the work requests in accordance with the schedule.
  • 15. The method according to claim 14, wherein generating the work requests comprises posting the work requests on one or more queues, and wherein executing the work requests comprises executing the posted work requests sequentially within each queue.
  • 16. The method according to claim 14, wherein determining the schedule comprises determining the schedule to execute a work request in a first queue conditionally on execution of another work request in another queue.
  • 17. The method according to claim 14, wherein the operation comprises an operation to be by a client process running on the processor of the host and by one or more peer processes running on at least one of (i) the processor of the host and (ii) one or more remote hosts coupled to the communication network.
  • 18. The method according to claim 16, wherein at least one of the peer processes performs the operation in software.
  • 19. The method according to claim 13, and comprising notifying the host in response to completing execution of all the tasks of the operation.
  • 20. The method according to claim 13, wherein the notification further specifies one or more parameters on which execution of a given task depends, and wherein executing the tasks comprises executing the given task based on the one or more parameters.
  • 21. The method according to claim 13, wherein a given execution dependency specifies starting execution of a second task only after execution of a first task has completed, and wherein determining the schedule comprises determining the schedule to condition starting execution of the second task on completion of execution of the first task.
  • 22. The method according to claim 13, wherein a given execution dependency specifies completing execution of a second task only after execution of a first task has completed, and wherein determining the schedule comprises determining the schedule to condition completing execution of the second task on completion of execution of the first task.
  • 23. The method according to claim 13, wherein the notification specifies execution of one or more tasks in a loop, over a given number of iterations, and wherein determining the schedule comprises determining the schedule responsively to the one or more tasks and to the number of iterations.
  • 24. The method according to claim 13, wherein the host interface connects to a host of a storage device that initiates the notification specifying the operation, and wherein executing the operation comprises executing the operation for the storage device.
US Referenced Citations (244)
Number Name Date Kind
4933969 Marshall et al. Jun 1990 A
5068877 Near et al. Nov 1991 A
5325500 Bell et al. Jun 1994 A
5353412 Douglas et al. Oct 1994 A
5404565 Gould et al. Apr 1995 A
5606703 Brady et al. Feb 1997 A
5944779 Blum Aug 1999 A
6041049 Brady Mar 2000 A
6370502 Wu et al. Apr 2002 B1
6483804 Muller et al. Nov 2002 B1
6507562 Kadansky et al. Jan 2003 B1
6728862 Wilson Apr 2004 B1
6857004 Howard et al. Feb 2005 B1
6937576 Di Benedetto et al. Aug 2005 B1
7102998 Golestani Sep 2006 B1
7124180 Ranous Oct 2006 B1
7164422 Wholey, III et al. Jan 2007 B1
7171484 Krause et al. Jan 2007 B1
7313582 Bhanot et al. Dec 2007 B2
7327693 Rivers et al. Feb 2008 B1
7336646 Muller Feb 2008 B2
7346698 Hannaway Mar 2008 B2
7555549 Campbell et al. Jun 2009 B1
7613774 Caronni et al. Nov 2009 B1
7636424 Halikhedkar et al. Dec 2009 B1
7636699 Stanfill Dec 2009 B2
7738443 Kumar Jun 2010 B2
7760743 Shokri Jul 2010 B2
8213315 Crupnicoff et al. Jul 2012 B2
8255475 Kagan et al. Aug 2012 B2
8380880 Gulley et al. Feb 2013 B2
8510366 Anderson et al. Aug 2013 B1
8645663 Kagan et al. Feb 2014 B2
8738891 Karandikar et al. May 2014 B1
8761189 Shachar et al. Jun 2014 B2
8768898 Trimmer et al. Jul 2014 B1
8775698 Archer et al. Jul 2014 B2
8811417 Bloch et al. Aug 2014 B2
9110860 Shahar Aug 2015 B2
9189447 Faraj Nov 2015 B2
9294551 Froese et al. Mar 2016 B1
9344490 Bloch et al. May 2016 B2
9456060 Pope et al. Sep 2016 B2
9563426 Bent et al. Feb 2017 B1
9626329 Howard Apr 2017 B2
9756154 Jiang Sep 2017 B1
10015106 Florissi et al. Jul 2018 B1
10158702 Bloch et al. Dec 2018 B2
10284383 Bloch et al. May 2019 B2
10296351 Kohn et al. May 2019 B1
10305980 Gonzalez et al. May 2019 B1
10318306 Kohn et al. Jun 2019 B1
10425350 Florissi Sep 2019 B1
10521283 Shuler et al. Dec 2019 B2
10528518 Graham et al. Jan 2020 B2
10541938 Timmerman et al. Jan 2020 B1
10547553 Shattah et al. Jan 2020 B2
10621489 Appuswamy et al. Apr 2020 B2
20020010844 Noel et al. Jan 2002 A1
20020035625 Tanaka Mar 2002 A1
20020150094 Cheng et al. Oct 2002 A1
20020150106 Kagan et al. Oct 2002 A1
20020152315 Kagan et al. Oct 2002 A1
20020152327 Kagan et al. Oct 2002 A1
20020152328 Kagan et al. Oct 2002 A1
20020165897 Kagan et al. Nov 2002 A1
20030018828 Craddock et al. Jan 2003 A1
20030061417 Craddock et al. Mar 2003 A1
20030065856 Kagan et al. Apr 2003 A1
20030120835 Kale et al. Jun 2003 A1
20040030745 Boucher et al. Feb 2004 A1
20040062258 Grow et al. Apr 2004 A1
20040078493 Blumrich et al. Apr 2004 A1
20040120331 Rhine et al. Jun 2004 A1
20040123071 Stefan et al. Jun 2004 A1
20040252685 Kagan et al. Dec 2004 A1
20040260683 Chan et al. Dec 2004 A1
20050097300 Gildea et al. May 2005 A1
20050122329 Janus Jun 2005 A1
20050129039 Biran et al. Jun 2005 A1
20050131865 Jones et al. Jun 2005 A1
20050223118 Tucker et al. Oct 2005 A1
20050281287 Ninomi et al. Dec 2005 A1
20060282838 Gupta et al. Dec 2006 A1
20070127396 Jain et al. Jun 2007 A1
20070127525 Sarangam et al. Jun 2007 A1
20070162236 Lamblin et al. Jul 2007 A1
20080104218 Liang et al. May 2008 A1
20080126564 Wilkinson May 2008 A1
20080168471 Benner et al. Jul 2008 A1
20080181260 Vonog et al. Jul 2008 A1
20080192750 Ko et al. Aug 2008 A1
20080219159 Chateau et al. Sep 2008 A1
20080244220 Lin et al. Oct 2008 A1
20080263329 Archer et al. Oct 2008 A1
20080288949 Bohra et al. Nov 2008 A1
20080298380 Rittmeyer et al. Dec 2008 A1
20080307082 Cai et al. Dec 2008 A1
20090037377 Archer et al. Feb 2009 A1
20090063816 Arimilli et al. Mar 2009 A1
20090063817 Arimilli et al. Mar 2009 A1
20090063891 Arimilli et al. Mar 2009 A1
20090182814 Tapolcai et al. Jul 2009 A1
20090240838 Berg et al. Sep 2009 A1
20090247241 Gollnick et al. Oct 2009 A1
20090292905 Faraj Nov 2009 A1
20090296699 Hefty Dec 2009 A1
20090327444 Archer et al. Dec 2009 A1
20100017420 Archer et al. Jan 2010 A1
20100049836 Kramer Feb 2010 A1
20100074098 Zeng et al. Mar 2010 A1
20100095086 Eichenberger et al. Apr 2010 A1
20100185719 Howard Jul 2010 A1
20100241828 Yu et al. Sep 2010 A1
20100274876 Kagan et al. Oct 2010 A1
20100329275 Johnsen et al. Dec 2010 A1
20110060891 Jia Mar 2011 A1
20110066649 Berlyant et al. Mar 2011 A1
20110093258 Xu et al. Apr 2011 A1
20110119673 Bloch et al. May 2011 A1
20110173413 Chen et al. Jul 2011 A1
20110219208 Asaad Sep 2011 A1
20110238956 Arimilli et al. Sep 2011 A1
20110258245 Blocksome et al. Oct 2011 A1
20110276789 Chambers et al. Nov 2011 A1
20120063436 Thubert et al. Mar 2012 A1
20120117331 Krause et al. May 2012 A1
20120131309 Johnson May 2012 A1
20120254110 Takemoto Oct 2012 A1
20130117548 Grover et al. May 2013 A1
20130159410 Lee et al. Jun 2013 A1
20130159568 Shahar et al. Jun 2013 A1
20130215904 Zhou et al. Aug 2013 A1
20130312011 Kumar et al. Nov 2013 A1
20130318525 Palanisamy et al. Nov 2013 A1
20130336292 Kore et al. Dec 2013 A1
20140019574 Cardona et al. Jan 2014 A1
20140033217 Vajda et al. Jan 2014 A1
20140040542 Kim et al. Feb 2014 A1
20140047341 Breternitz et al. Feb 2014 A1
20140095779 Forsyth et al. Apr 2014 A1
20140122831 Uliel et al. May 2014 A1
20140136811 Fleischer et al. May 2014 A1
20140189308 Hughes et al. Jul 2014 A1
20140211804 Makikeni et al. Jul 2014 A1
20140258438 Ayoub Sep 2014 A1
20140280420 Khan Sep 2014 A1
20140281370 Khan Sep 2014 A1
20140362692 Wu et al. Dec 2014 A1
20140365548 Mortensen Dec 2014 A1
20150074373 Sperber et al. Mar 2015 A1
20150106578 Warfield et al. Apr 2015 A1
20150143076 Khan May 2015 A1
20150143077 Khan May 2015 A1
20150143078 Khan et al. May 2015 A1
20150143079 Khan May 2015 A1
20150143085 Khan May 2015 A1
20150143086 Khan May 2015 A1
20150154058 Miwa et al. Jun 2015 A1
20150178211 Hiramoto et al. Jun 2015 A1
20150180785 Annamraju Jun 2015 A1
20150188987 Reed et al. Jul 2015 A1
20150193271 Archer et al. Jul 2015 A1
20150212972 Boettcher et al. Jul 2015 A1
20150261720 Kagan et al. Sep 2015 A1
20150269116 Raikin et al. Sep 2015 A1
20150278347 Meyer et al. Oct 2015 A1
20150347012 Dewitt et al. Dec 2015 A1
20150365494 Cardona et al. Dec 2015 A1
20150379022 Puig et al. Dec 2015 A1
20160055225 Xu et al. Feb 2016 A1
20160092362 Barron et al. Mar 2016 A1
20160105494 Reed et al. Apr 2016 A1
20160112531 Milton et al. Apr 2016 A1
20160117277 Raindel et al. Apr 2016 A1
20160119244 Wang et al. Apr 2016 A1
20160179537 Kunzman et al. Jun 2016 A1
20160219009 French Jul 2016 A1
20160248656 Anand et al. Aug 2016 A1
20160283422 Crupnicoff et al. Sep 2016 A1
20160299872 Vaidyanathan et al. Oct 2016 A1
20160342568 Burchard et al. Nov 2016 A1
20160352598 Reinhardt et al. Dec 2016 A1
20160364350 Sanghi et al. Dec 2016 A1
20170063613 Bloch et al. Mar 2017 A1
20170093715 McGhee et al. Mar 2017 A1
20170116154 Palmer et al. Apr 2017 A1
20170187496 Shalev et al. Jun 2017 A1
20170187589 Pope et al. Jun 2017 A1
20170187629 Shalev et al. Jun 2017 A1
20170187846 Shalev et al. Jun 2017 A1
20170192782 Valentine et al. Jul 2017 A1
20170199844 Burchard et al. Jul 2017 A1
20170262517 Horowitz et al. Sep 2017 A1
20170308329 A et al. Oct 2017 A1
20170344589 Kafai et al. Nov 2017 A1
20180004530 Vorbach Jan 2018 A1
20180046901 Xie et al. Feb 2018 A1
20180047099 Bonig et al. Feb 2018 A1
20180089278 Bhattacharjee et al. Mar 2018 A1
20180091442 Chen et al. Mar 2018 A1
20180097721 Matsui et al. Apr 2018 A1
20180173673 Daglis et al. Jun 2018 A1
20180262551 Demeyer et al. Sep 2018 A1
20180285316 Thorson et al. Oct 2018 A1
20180287928 Levi et al. Oct 2018 A1
20180302324 Kasuya Oct 2018 A1
20180321912 Li et al. Nov 2018 A1
20180321938 Boswell et al. Nov 2018 A1
20180367465 Levi Dec 2018 A1
20180375781 Chen et al. Dec 2018 A1
20190018805 Benisty Jan 2019 A1
20190026250 Das Sarma et al. Jan 2019 A1
20190044889 Serres et al. Feb 2019 A1
20190065208 Liu et al. Feb 2019 A1
20190068501 Schneder et al. Feb 2019 A1
20190102179 Fleming et al. Apr 2019 A1
20190102338 Tang et al. Apr 2019 A1
20190102640 Balasubramanian Apr 2019 A1
20190114533 Ng et al. Apr 2019 A1
20190121388 Knowles et al. Apr 2019 A1
20190138638 Pal et al. May 2019 A1
20190147092 Pal et al. May 2019 A1
20190149486 Bohrer et al. May 2019 A1
20190149488 Bansal et al. May 2019 A1
20190171612 Shahar et al. Jun 2019 A1
20190235866 Das Sarma et al. Aug 2019 A1
20190303168 Fleming, Jr. et al. Oct 2019 A1
20190303263 Fleming, Jr. et al. Oct 2019 A1
20190324431 Cella et al. Oct 2019 A1
20190339688 Cella et al. Nov 2019 A1
20190347099 Eapen et al. Nov 2019 A1
20190369994 Parandeh Afshar et al. Dec 2019 A1
20190377580 Vorbach Dec 2019 A1
20190379714 Levi et al. Dec 2019 A1
20200005859 Chen et al. Jan 2020 A1
20200034145 Bainville et al. Jan 2020 A1
20200057748 Danilak Feb 2020 A1
20200103894 Cella et al. Apr 2020 A1
20200106828 Elias et al. Apr 2020 A1
20200137013 Jin et al. Apr 2020 A1
20200265043 Graham et al. Aug 2020 A1
20200274733 Graham et al. Aug 2020 A1
20210203621 Ylisirnio et al. Jul 2021 A1
Non-Patent Literature Citations (47)
Entry
U.S. Appl. No. 16/782,118 Office Action dated Nov. 8, 2021.
“Message Passing Interface (MPI): History and Evolution,” Virtual Workshop, Cornell University Center for Advanced Computing, NY, USA, pp. 1-2, year 2021, as downloaded from https://cvw.cac.cornell.edu/mpi/history.
Pacheco, “A User's Guide to MPI,” Department of Mathematics, University of San Francisco, CA, USA, pp. 1-51, Mar. 30, 1998.
Wikipedia, “Message Passing Interface,” pp. 1-16, last edited Nov. 7, 2021, as downloaded from https://en.wikipedia.org/wiki/Message_Passing_Interface.
EP Application # 21183290.2 Search Report dated Dec. 8, 2021.
U.S. Appl. No. 16/782,118 Office Action dated Jun. 15, 2022.
U.S. Appl. No. 17/147,487 Office Action dated Jun. 30, 2022.
U.S. Appl. No. 16/782,118 Office Action dated Sep. 7, 2022.
Mellanox Technologies, “InfiniScale IV: 36-port 40GB/s Infiniband Switch Device”, pp. 1-2, year 2009.
Mellanox Technologies Inc., “Scaling 10Gb/s Clustering at Wire-Speed”, pp. 1-8, year 2006.
IEEE 802.1D Standard “IEEE Standard for Local and Metropolitan Area Networks—Media Access Control (MAC) Bridges”, IEEE Computer Society, pp. 1-281, Jun. 9, 2004.
IEEE 802.1AX Standard “IEEE Standard for Local and Metropolitan Area Networks—Link Aggregation”, IEEE Computer Society, pp. 1-163, Nov. 3, 2008.
Turner et al., “Multirate Clos Networks”, IEEE Communications Magazine, pp. 1-11, Oct. 2003.
Thayer School of Engineering, “An Slightly Edited Local Copy of Elements of Lectures 4 and 5”, Dartmouth College, pp. 1-5, Jan. 15, 1998 http://people.seas.harvard.edu/˜jones/cscie129/nu_lectures/lecture11/switching/clos_network/clos_network.html.
“MPI: A Message-Passing Interface Standard,” Message Passing Interface Forum, version 3.1, pp. 1-868, Jun. 4, 2015.
Coti et al., “MPI Applications on Grids: a Topology Aware Approach,” Proceedings of the 15th International European Conference on Parallel and Distributed Computing (EuroPar'09), pp. 1-12, Aug. 2009.
Petrini et al., “The Quadrics Network (QsNet): High-Performance Clustering Technology,” Proceedings of the 9th IEEE Symposium on Hot Interconnects (HotI'01), pp. 1-6, Aug. 2001.
Sancho et al., “Efficient Offloading of Collective Communications in Large-Scale Systems,” Proceedings of the 2007 IEEE International Conference on Cluster Computing, pp. 1-10, Sep. 17-20, 2007.
Graham et al., U.S. Appl. No. 17/147,487, filed Jan. 13, 2021.
InfiniBand Architecture Specification, vol. 1, Release 1.2.1, pp. 1-1727, Nov. 2007.
Deming, “Infiniband Architectural Overview”, Storage Developer Conference, pp. 1-70, year 2013.
Fugger et al., “Reconciling fault-tolerant distributed computing and systems-on-chip”, Distributed Computing, vol. 24, Issue 6, pp. 323-355, Jan. 2012.
Wikipedia, “System on a chip”, pp. 1-4, Jul. 6, 2018.
Villavieja et al., “On-chip Distributed Shared Memory”, Computer Architecture Department, pp. 1-10, Feb. 3, 2011.
Ben-Moshe et al., U.S. Appl. No. 16/750,019, filed Jan. 23, 2020.
Bruck et al., “Efficient Algorithms for All-to-All Communications in Multiport Message-Passing Systems”, IEEE Transactions on Parallel and Distributed Systems, vol. 8, No. 11, pp. 1143-1156, Nov. 1997.
Gainaru et al., “Using InfiniBand Hardware Gather-Scatter Capabilities to Optimize MPI All-to-All”, EuroMPI '16, Edinburgh, United Kingdom, pp. 1-13, year 2016.
Pjesivac-Grbovic et al., “Performance analysis of MPI collective operations”, Cluster Computing, pp. 1-25, 2007.
Bruck et al., “Efficient Algorithms for All-to-All Communications in Multiport Message-Passing Systems”, Proceedings of the sixth annual ACM symposium on Parallel algorithms and architectures, pp. 298-309, Aug. 1, 1994.
Chiang et al., “Toward supporting data parallel programming on clusters of symmetric multiprocessors”, Proceedings International Conference on Parallel and Distributed Systems, pp. 607-614, Dec. 14, 1998.
Danalis et al., “PTG: an abstraction for unhindered parallelism”, 2014 Fourth International Workshop on Domain-Specific Languages and High-Level Frameworks for High Performance Computing, pp. 1-10, Nov. 17, 2014.
Cosnard et al., “Symbolic Scheduling of Parameterized Task Graphs on Parallel Machines,” Combinatorial Optimization book series (COOP, vol. 7), pp. 217-243, year 2000.
Jeannot et al., “Automatic Multithreaded Parallel Program Generation for Message Passing Multiprocessors using paramerized Task Graphs”, World Scientific, pp. 1-8, Jul. 23, 2001.
Stone, “An Efficient Parallel Algorithm for the Solution of a Tridiagonal Linear System of Equations,” Journal of the Association for Computing Machinery, vol. 10, No. 1, pp. 27-38, Jan. 1973.
Kogge et al., “A Parallel Algorithm for the Efficient Solution of a General Class of Recurrence Equations,” IEEE Transactions on Computers, vol. C-22, No. 8, pp. 786-793, Aug. 1973.
Hoefler et al., “Message Progression in Parallel Computing—To Thread or not to Thread?”, 2008 IEEE International Conference on Cluster Computing, pp. 1-10, Tsukuba, Japan, Sep. 29-Oct. 1, 2008.
Wikipedia, “Loop unrolling,” pp. 1-9, last edited Sep. 9, 2020 downloaded from https://en.wikipedia.org/wiki/Loop_unrolling.
Chapman et al., “Introducing OpenSHMEM: SHMEM for the PGAS Community,” Proceedings of the Forth Conferene on Partitioned Global Address Space Programming Model, pp. 1-4, Oct. 2010.
Priest et al., “You've Got Mail (YGM): Building Missing Asynchronous Communication Primitives”, IEEE International Parallel and Distributed Processing Symposium Workshops, pp. 221-230, year 2019.
Wikipedia, “Nagle's algorithm”, pp. 1-4, Dec. 12, 2019.
U.S. Appl. No. 16/430,457 Office Action dated Jul. 9, 2021.
Yang et al., “SwitchAgg: A Further Step Toward In-Network Computing,” 2019 IEEE International Conference on Parallel & Distributed Processing with Applications, Big Data & Cloud Computing, Sustainable Computing & Communications, Social Computing & Networking, pp. 36-45, Dec. 2019.
EP Application # 20216972 Search Report dated Jun. 11, 2021.
U.S. Appl. No. 16/782,118 Office Action dated Jun. 3, 2021.
U.S. Appl. No. 16/789,458 Office Action dated Jun. 10, 2021.
U.S. Appl. No. 16/750,019 Office Action dated Jun. 15, 2021.
U.S. Appl. No. 17/147,487 Office Action dated Nov. 29, 2022.
Related Publications (1)
Number Date Country
20220188147 A1 Jun 2022 US