Streaming system

Information

  • Patent Grant
  • 11277455
  • Patent Number
    11,277,455
  • Date Filed
    Tuesday, June 4, 2019
    5 years ago
  • Date Issued
    Tuesday, March 15, 2022
    2 years ago
Abstract
A method including configuring a transmit process to store information including a queue of packets to be transmitted, the queue defining transmit process packets to be transmitted, each packet associated with a transmission time, and configuring a synchronization process to receive from the transmit process at least some of the information. The synchronization process performs one of: A) accessing a dummy send queue and a completion queue, and transmitting one or more of the transmit process packets in accordance with a completion queue entry in the completion queue, and B) sends a doorbell to transmission hardware at a time when at least one of the transmit process packets is to be transmitted, the synchronization process including a master queue configured to store transmission entries, each transmission entry including a transmit process indicator and an indication of transmit process packets to be transmitted. Related apparatus and methods are also described.
Description
FIELD OF THE INVENTION

The present invention relates to synchronization of input/output between individual processes/threads.


BACKGROUND OF THE INVENTION

When individual processes or threads each perform input/output, but the input/output of the individual processes or threads is related, synchronization of the individual processes or threads may be a challenge.


SUMMARY OF THE INVENTION

The present invention, in certain embodiments thereof, seeks to provide an improved system for synchronization of input/output between individual processes/threads and/or to provide synchronization to a timeline, whether a global timeline, a machine timeline, or a network timeline.


For simplicity of description, either one of the terms “process” and “thread” (in their various grammatical forms) may be used herein to denote either a process or a thread.


There is thus provided in accordance with an exemplary embodiment of the present invention a system including a processor including a transmit process configured to store information including a queue of packets to be transmitted, the queue of packets to be transmitted defining a plurality of transmit process packets to be transmitted, each of the plurality of transmit process packets to be transmitted being associated with a transmission time, and a synchronization process being configured to receive from the transmit process at least a portion of the information, wherein the synchronization process is further configured to perform one of the following: A) to access a dummy send queue and a completion queue, and to transmit one or more of the plurality of transmit process packets to be transmitted in accordance with a completion queue entry in the completion queue, and B) to send a doorbell to transmission hardware at a time when at least one of the plurality of transmit process packets is to be transmitted, the synchronization process including a master queue configured to store a plurality of transmission entries, each transmission entry including a transmit process indicator, and an indication of transmit process packets to be transmitted.


Further in accordance with an exemplary embodiment of the present invention the synchronization process is configured to perform the following: to access a dummy send queue and a completion queue, and to transmit one or more of the plurality of packets to be transmitted in accordance with a completion queue entry in the completion queue.


Still further in accordance with an exemplary embodiment of the present invention the synchronization process is configured to perform the following: to send a doorbell to transmission hardware at a time when at least one of the plurality transmit process packets is to be transmitted, the synchronization process including a master queue configured to store a plurality of transmission entries, each transmission entry including a transmit process indicator, and an indication of transmit process packets to be transmitted.


Additionally in accordance with an exemplary embodiment of the present invention the transmit process includes a plurality of transmit processes, each of the plurality of transmit processes being configured to store information including a queue of packets to be transmitted, each queue of packets to be transmitted defining a plurality of transmit process packets to be transmitted, each of the plurality of transmit process packets to be transmitted being associated with a transmission time.


Moreover in accordance with an exemplary embodiment of the present invention each transmission entry also includes a time for transmission of the transmit process packets to be transmitted.


Further in accordance with an exemplary embodiment of the present invention the packets include video packets, and each transmission entry also includes a number of packets per frame and a number of frames per second.


Still further in accordance with an exemplary embodiment of the present invention the system also includes a co-processor, and the synchronization process is instantiated in the co-processor.


Additionally in accordance with an exemplary embodiment of the present invention the co-processor includes an FTP or PTP client.


Moreover in accordance with an exemplary embodiment of the present invention the co-processor includes a network interface card.


Further in accordance with an exemplary embodiment of the present invention the network interface card includes the transmission hardware.


Still further in accordance with an exemplary embodiment of the present invention the co-processor includes an FPGA.


There is also provided in accordance with another exemplary embodiment of the present invention a method including configuring a transmit process to store information including a queue of packets to be transmitted, the queue of packets to be transmitted defining a plurality of transmit process packets to be transmitted, each of the plurality of transmit process packets to be transmitted being associated with a transmission time, and configuring a synchronization process to receive from the transmit process at least a portion of the information, wherein the transmit process and the synchronization process are included in a processor, and the synchronization process is further configured to perform one of the following: A) to access a dummy send queue and a completion queue, and to transmit one or more of the plurality of transmit process packets to be transmitted in accordance with a completion queue entry in the completion queue, and B) to send a doorbell to transmission hardware at a time when at least one of the plurality of transmit process packets is to be transmitted, the synchronization process including a master queue configured to store a plurality of transmission entries, each transmission entry including a transmit process indicator, and an indication of transmit process packets to be transmitted.


Further in accordance with an exemplary embodiment of the present invention the synchronization process accesses a dummy send queue and a completion queue, and transmits one or more of the plurality of packets to be transmitted in accordance with a completion queue entry in the completion queue.


Still further in accordance with an exemplary embodiment of the present invention the synchronization process performs the following: sends a doorbell to transmission hardware at a time when at least one of the plurality transmit process packets is to be transmitted, the synchronization process including a master queue configured to store a plurality of transmission entries, each transmission entry including a transmit process indicator, and an indication of transmit process packets to be transmitted.


Additionally in accordance with an exemplary embodiment of the present invention the transmit process includes a plurality of transmit processes, each of the plurality of transmit processes storing information including a queue of packets to be transmitted, each queue of packets to be transmitted defining a plurality of transmit process packets to be transmitted, each of the plurality of transmit process packets to be transmitted being associated with a transmission time.


Moreover in accordance with an exemplary embodiment of the present invention each transmission entry also includes a time for transmission of the transmit process packets to be transmitted.


Further in accordance with an exemplary embodiment of the present invention the packets include video packets, and each transmission entry also includes a number of packets per frame and a number of frames per second.


Still further in accordance with an exemplary embodiment of the present invention the synchronization process is instantiated in a co-processor.


Additionally in accordance with an exemplary embodiment of the present invention the co-processor includes a network interface card.


Moreover in accordance with an exemplary embodiment of the present invention the co-processor includes an FPGA.





BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will be understood and appreciated more fully from the following detailed description, taken in conjunction with the drawings in which:



FIG. 1 is a simplified block diagram illustration of a system for synchronization, constructed and operative in accordance with an exemplary embodiment of the present invention;



FIG. 2 is a simplified block diagram illustration of a system for synchronization, constructed and operative in accordance with another exemplary embodiment of the present invention; and



FIG. 3 is a simplified flowchart illustration of an exemplary method of operation of the systems of FIGS. 1 and 2.





DETAILED DESCRIPTION OF EMBODIMENTS

The following is a general description which will assist in understanding exemplary embodiments of the present invention.


Various networking domains require that transmission be synchronized and timing-accurate. One non-limiting example of such a networking domain is video streaming. Specifically, raw video streaming, in which one or more video flows are used, has a requirement of tight timing constraints for each video flow. Another non-limiting example relates to channel arbitration in Time Division Multiple Access (TDMA) systems. More specifically, TDMA can be used in an application and compute cluster to help solve the congestion control problem in the network of the cluster by allocating to each node and each flow a fixed bandwidth in a specific time slot. Thus, the nodes will have to be synchronized in time, and the transmission will have to be timely accurate.


Accurate streaming requires that a specific flow bandwidth will be accurate (that the bandwidth will be as specified). Accurate streaming also requires that specific data (by way of non-limiting example, specific video data) is transmitted at a specific time. In the non-limiting case of video, if a platform runs several video streaming processes or threads, the inventors of the present invention believe that in known systems those processes or threads are each required to synchronize with the correct time and between themselves, in order to be able to transmit specific data in synchronization as accurately as possible.


As used throughout the present specification and claims, the term “synchronization”, in all of its grammatical forms, may refer to one or more of:

    • Synchronization between various processes/threads
    • Synchronization between each process/thread to a machine/global/network time


It is appreciated that sometimes, in a streaming flow, there is more than one streaming requirement. By way of non-limiting example, there are “packet level” requirements, and application level requirements. To be more specific in the context of a particular non-limiting example, in raw video streaming, as described in the SMPTE 2110 standard, the packet level reequipments are on the order of 100s of nanoseconds, and the requirement is between packets within the same flow, while application level requirements, (in this specific non-limiting example: Video Frame, or Video Field) is required to be synchronized to a global/network time.


Synchronization restrictions (as known, in the opinion of the inventors of the present invention, before the present invention) require clock distribution among application threads and some level of intensive polling in software; the intensive polling and clock distribution each result in a dramatic load on the CPU, regardless of the bandwidth transmitted by the flow, since synchronization is required for the first packet of each frame. It is also common that in a given server/platform, there are several processes/threads/CPU cores engaged in video transmission, so that the CPU load for polling to obtain synchronization is correspondingly increased.


In general, synchronization of output between several processes/threads/CPU cores is known from the following patents of Bloch et al, the disclosures of which are hereby incorporated herein by reference:

    • U.S. Pat. No. 8,811,417;
    • U.S. Pat. No. 9,344,490; and
    • U.S. Pat. No. 10,158,702.


Features of exemplary embodiments of the present invention are now briefly described. Herein, when the term “process” in its various grammatical forms is used, it will be appreciated that “thread” or “CPU core” is also intended as a possible alternative.


The following description uses video streaming as one particular, non-limiting detailed example of streaming. It is appreciated, however, that exemplary embodiments of the present invention relate to streaming in general, and are in no way limited to video streaming (see, for example, the above-mentioned example relating to TDMA).


In exemplary embodiments of the present invention, each process running video streaming/synchronized streaming does not itself need to deal with the synchronization. Rather, in each such process, the software creates the video packets, and made those packets ready in a queue for transmission, prior to the intended transmission time.


For each platform (which incorporates a plurality of processes), a single process is, in exemplary embodiments, responsible for synchronizing all streams on that platform (such a process is termed herein a “synchronization process”).


General Explanation of Some Exemplary Embodiments

In some exemplary embodiments, the following is an explanation of how the synchronization process operates.


Accurate packet pacing may be achieved because a network interface card (NIC) is capable of transmitting a specific number of requests in a specific interval of time. A NIC is also capable of performing pacing for non-packet work requests; that is, for work requests that do not generate packets. A null operation (NOP) work request is an example of a non-packet work request which does not perform any activity towards the network medium (such as an Ethernet wire), but rather perform internal operations involving the NIC and associated driver, such as creating a completion queue entry, as is known (by way of non-limiting example) in the art of InfiniBand and of Ethernet. By way of one particular non-limiting example, a NOP work request might take the same time as transmission of 8 bits, and might therefore be used in delay or in rate limiting to specify 8 bits of delay or of rate limiting, it being appreciated that the example of 8 bits is a very particular example which is not meant to be limiting.


A “send enable” work request (which may comprise a work queue element (WQE), as is known in InfiniBand) is posted to a so-called “master” send queue. The posted WQE has a form/contents which indicated that a WQE from a “different” queue (not from the master send queue) should be executed and sent. In the meantime, in the “different” queue, a slave send queue, WQEs are posted indicating that data should be sent. However, continuing with the present example, in the slave queue no doorbell is executed, so the WQEs in the slave queue are not executed and sent at the time that the WQEs are posted; such doorbell/s are generally sent to a network interface controller (NIC) which has access to the queues and to memory pointed to by WQEs. In the meantime a hardware packing mechanism causes doorbells to be generated by the NIC (generally every short and deterministic period of time, such as for example every few nanoseconds); these doorbells are executed in the master queue, causing NOP WQEs (each of which produces a delay as specified above) to be executed; finally, when the “send enable” work request in the master send queue is executed, this causes a doorbell to be issued to the slave queue, and the WQEs therein are then executed, causing data (packets) indicated by the slave queue WQEs to be sent. Thus, the master queue synchronizes send of data based on the WQEs in the slave queue.


The solution described immediately above may create many queues, because there is master queue per slave queue, and hence one master queue per stream of packets to be sent. An alternative solution may be implemented as follows, with all streams for a given bit rate being synchronized to a master queue for that bit rate:


For every specific synchronization interval (that is, for every given time desired between doorbells in a slave queue, the doorbells causing, as described above, data packets to be sent) a reference queue (“master” queue) is established, containing a constant number of NOP work requests followed by a send enable work request. In the particular non-limiting example in which a NOP work request has the same transmission time as 8 bits and therefore represents 8 bits of delay (with the same being true for a send enable work request), then:







(


(

number





of





NOP





plus





Send





Enable





work





requests

)

*
8





bits

)

bitrate





should be exactly equal to the synchronization interval (to an accuracy of the transmission time of 8 bits). If higher accuracy is needed, the bitrate for the “master” queue and the number of NOP work requests could be increased in order to increase accuracy.


After the NOP work requests as described above have been posted, the send enable work request as described above is posted. The send enable work request sends a doorbell to each slave queue, such that each slave queue will send data packets in accordance with the WQEs therein.


Dedicated software (which could alternatively be implemented in firmware, hardware, etc.) indefinitely continues to repost NOP and send enable work requests to the “master” queue, so that the process continues with subsequent synchronization intervals; it being appreciated that if no more data packets are to be sent, the dedicated software may cease to post NOP and send enable work requests in the “master” queue (which ceasing may be based on user intervention).


From the above description it will be appreciated that the software overhead in this alternative solution is per synchronization period, not per transmitted queue, nor per bitrate.


With reference to the above-described embodiments, alternatively the doorbell sent to the slave queue or queues may be sent when a completion queue entry (CQE) is posted to a completion queue, after processing of a send enable WQE.


General Explanation of Other Exemplary Embodiments

In other exemplary embodiments of the present invention, the following is a general explanation of how the synchronization process operates. The synchronization process, in such exemplary embodiments, receives the following information from each process which is running streaming:

    • 1. How many packets per packet transmission burst (N may represent the number of packets per burst).
    • 2. How many packets per second (PPS may represent the number of packets per second)
    • 3. Time of first packet transmission burst (T0 may represent the time to transmit the first packet/s, then Tn, the time to transmit a future packet, is given by Tn=T0+PPS/N).
    • 4. Then kbps, the bit rate in kilobits per second, which may be useful for hardware configuration, is given by kbps=1000*8*PPS*average packet size in bytes


Thus, the synchronization process has all of the information needed to know when each packet should be sent, and can coordinate sending of packets from various processes.


Translating the above terms into terminology which is specific to video (for the particular non-limiting example of video), the information which the synchronization process receives from each process running streaming is:

    • 1. Number of packets per frame
    • 2. Number of frames per second
    • 3. Time of transmission of the first frame


When the time to send a frame from a specific queue arrives, the synchronizing process uses the mechanism called send enable (as described above), allowing one queue to send a doorbell for other queues. Thus, each of the processes/threads will deal with their data, with all the synchronization effort being handled by a single thread, publishing the doorbells for the other processes. Thus, both CPU offload (due to a vastly reduced need for time synchronization) and very accurate streaming are enabled.


A further advantage may be obtained if different processes wish to send data at the same time; the synchronization process may consolidate such multiple send requests into a single, or a smaller number, of send requests.


A still further advantage may be obtained in that, by better synchronization of sent data, better utilization of available send bandwidth may be obtained.


For a general discussion of “send enable”, see the following patents of Bloch et al, the disclosures of which have been incorporated herein by reference:

    • U.S. Pat. No. 8,811,417;
    • U.S. Pat. No. 9,344,490; and
    • U.S. Pat. No. 10,158,702.


In certain exemplary embodiments, the synchronization process may reside on a separate processor or co-processor (such as, for example, the BlueField™ smart network interface card (smart NIC), commercially available from Mellanox Technologies Ltd.); in some cases this may enhance the advantage of having a separate process for synchronization. It is appreciated that any appropriate co-processor may be used; one further non-limiting example of an appropriate co-processor is an appropriate FPGA.


It is appreciated that, when the synchronization process takes place on a processor which is more tightly coupled with a network adapter (one non-limiting example of which is the smart NIC co-processor as in BlueField™, referred to above), this will generally result in a much more accurate streaming model. In certain exemplary embodiments, a further advantage may be obtained when the synchronization requirements with time are done using Precision Time Protocol (PTP) or Network Time Protocol (NTP), as are known in the art. Usually in such systems the NTP/PTP client runs on one process and needs to distribute the accurate NTP/PTP timing signals to all relevant processes. With the suggested architecture, the PTP client does not need to share the timing information with other processes and threads, which means that, compared to other architectures:

    • a very significant amount of work is no longer needed
    • synchronization requirements between the processes and the PTP processes are obviated
    • testing each application against any type of PTP client is not needed (there are many PTP clients in the market, and each one has a different API. This method decouples the PTP client from the application and allow it to remain application agnostic).


      Another advantage is that the PTP client can run on the master process, and also on the co-processer as described above.


Reference is now made to FIG. 1, which is a simplified block diagram illustration of a system for synchronization, constructed and operative in accordance with an exemplary embodiment of the present invention.


The system of FIG. 1, generally designated 100, includes a network interface controller (NIC) 105 (which may comprise any appropriate NIC such as, by way of one particular non-limiting example, a ConnectX-5 NIC, commercially available from Mellanox Technologies Ltd.). The system of FIG. 1 also includes a host 110, which may comprise any appropriate computer; the host/computer may also termed herein a “processor”. A NIC may also be referred to herein as “transmission hardware”.


In a memory (not explicitly shown) of the host 110, three queues are shown:


a dummy send queue 115, comprising a plurality of dummy WQEs 130, and a non-dummy WQE 132;


a completion queue 120, comprising a plurality of dummy completion queue entries (CQE) 135, and a non-dummy CQE 137; and


a software streaming send queue 125, comprising a plurality of data WQEs 140.


For simplicity of depiction, in FIG. 1 each of the dummy WQEs 130, the non-dummy WQE 132, the dummy CQEs 135, the non-dummy CQE 137 and the data WQEs 140 are labeled “packet”.


An exemplary mode of operation of the system of FIG. 1 is now briefly described. It is appreciated that, for sake of simplicity of depiction and description, the exemplary embodiment shown and described with respect to FIG. 1 is consistent with the exemplary embodiment discussed above, in which there is a single master queue per slave queue. It will be appreciated that the depiction and description with respect to FIG. 1 may also be applicable to the exemplary embodiment discussed above, in which there are a plurality of slave queues per master queue, mutatis mutandis.


The dummy send queue 115 is filled (in exemplary embodiments by software running on the host 110) with a plurality of dummy WQEs 130 (in exemplary embodiments, posted by the software running on the host 110), which are used as described above as NOPs for the purpose of achieving synchronization. In the meantime, a plurality of data WQEs 140 are posted in the software streaming send queue 125 (in exemplary embodiments by software running in one or more processes on the host 110). As is known in the art, each of the plurality of data WQEs 140 points to a data packet to be sent (the data packet not shown), in a memory (not explicitly shown) of the host 110.


Each of the dummy WQEs 130 is executed, causing a NOP delay, and creating a dummy CQE 135. Finally, a non-dummy send enable WQE 132 (posted, in exemplary embodiments, to the dummy send queue 115 by the software running on the host 110) is executed, creating a non-dummy send enable CQE 137. When the non-dummy CQE 137 is created, a send enable mechanism is used to send a doorbell to the software streaming send queue 125, causing data packets pointed to by the plurality of data WQEs 140 therein to be sent.


Reference is now made to FIG. 2, which is a simplified block diagram illustration of a system for synchronization, constructed and operative in accordance with another exemplary embodiment of the present invention. The exemplary embodiment of FIG. 2 relates to the above section entitled “General explanation of other exemplary embodiments”.


The system of FIG. 2, generally designated 200, includes a network interface controller (NIC) (not shown for simplicity of depiction and description) which may comprise any appropriate NIC such as, by way of one particular non-limiting example, a ConnectX-5 NIC, commercially available from Mellanox Technologies Ltd. The system of FIG. 2 also includes a host 210, which may comprise any appropriate computer.


In a memory (not explicitly shown) of the host 210, three queues of three processes are shown are shown:


a process X queue 220;


a process Y queue 230;


and a process 0 queue 240.


In terms of the above “General explanation of other exemplary embodiments”, process X and associated process X queue 220 represent a first process and a WQE queue associated therewith, respectively, the process X queue 220 having WQEs 225 pointing to data packets to be sent from process X. Similarly, process Y and associated process Y queue 230 represent a second process and a WQE queue associated therewith, respectively, the process Y queue 230 having WQEs 230 pointing to data packets to be sent from process Y. Process 0 and associated process 0 queue 240 represent a synchronization process.


It is appreciated that further processes and queues beyond the process X queue 220 and the process Y queue 230 may be used; two such queues are shown in FIG. 2 for simplicity of depiction and description.


An exemplary mode of operation of the system of FIG. 2 is now briefly described.


In order to prepare data packets for synchronized transmission, process X posts WQEs 225, pointing to data packets for transmission, to the process X queue 220. Similarly, process Y posts WQEs 230, pointing to data packets for transmission, to the process Y queue 230.


In addition, process Y informs process 0 that 2000 packets per frame are to be transmitted, with packet 1 thereof being transmitted at time 00:08:45, at a frame rate of 100 frames per second. Once the WQEs 225 and been posted and process 0 has been notified, neither process Y nor process 0 needs to spend CPU time on packet transmission, until (or until shortly before) 00:08:45. At or shortly before 00:08:45, and (as depicted in FIG. 2) sends a doorbell to enable transmission of queue Y packets 1-2000.


Similarly (with some details omitted from FIG. 2 for sake of simplicity of depiction), based on notifications received from processes X and Y, process 0 sends doorbells to enable transmission of: queue Y packets 2001-4000 at 00:08:55; and queue X packets 1-2000 at 00:09:45.


As depicted in FIG. 2, the various synchronization actions described above as carried out by process 0 may be handled by synchronization software 250 (which may alternatively be implemented in firmware, hardware, or in any other appropriate way).


Reference is now made to FIG. 3, which is a simplified flowchart illustration of an exemplary method of operation of the systems of FIGS. 1 and 2.


A transmit process is configured in a processor. The transmit process stores information including a queue of packets to be transmitted. The queue of packets to be transmitted defines a plurality of transmit process packets to be transmitted; each of the plurality of transmit process packets to be transmitted is associated with a transmission time (step 410).


A synchronization process is configured in the processor, for receiving from the transmit process at least a portion of the information (step 420).


Either or both of steps 430 and 440 are then executed; generally speaking, step 430 corresponds to the system of FIG. 1, while step 440 corresponds to the system of FIG. 2.


The synchronization process accesses a dummy send queue and a completion queue, and transmits one or more of the plurality of transmit process packets to be transmitted in accordance with a completion queue entry in the completion queue (step 430).


The synchronization process sends a doorbell to transmission hardware at a time when at least one of the plurality of transmit process packets is to be transmitted. The synchronization process includes a master queue configured to store a plurality of transmission entries, and each transmission entries includes: a transmit process indicator; and an indication of transmit process packets to be transmitted (step 440).


It is appreciated that software components of the present invention may, if desired, be implemented in ROM (read only memory) form. The software components may, generally, be implemented in hardware, if desired, using conventional techniques. It is further appreciated that the software components may be instantiated, for example: as a computer program product or on a tangible medium. In some cases, it may be possible to instantiate the software components as a signal interpretable by an appropriate computer, although such an instantiation may be excluded in certain embodiments of the present invention.


It is appreciated that various features of the invention which are, for clarity, described in the contexts of separate embodiments may also be provided in combination in a single embodiment. Conversely, various features of the invention which are, for brevity, described in the context of a single embodiment may also be provided separately or in any suitable subcombination.


It will be appreciated by persons skilled in the art that the present invention is not limited by what has been particularly shown and described hereinabove.

Claims
  • 1. A system comprising: a processor comprising: a transmit process configured to store information comprising a queue of packets to be transmitted, the queue of packets to be transmitted defining a plurality of transmit process packets to be transmitted, each of said plurality of transmit process packets to be transmitted being associated with a transmission time; anda synchronization process being a distinct process from said transmit process and being configured to receive from said transmit process at least a portion of said information,wherein the synchronization process is further configured to hold: a plurality of null operation (NOP) work requests each operative to cause a fixed delay when processed;at least one cross-process send enable work request operative, when processed, to send a doorbell to transmission hardware at a time when at least one of said plurality of transmit process packets is to be transmitted; anda plurality of transmission entries, each transmission entry comprising: a transmit process indicator; and an indication of transmit process packets to be transmitted.
  • 2. The system according to claim 1 and wherein the synchronization process is configured to perform the following: to access a dummy send queue and a completion queue, and to transmit one or more of the plurality of packets to be transmitted in accordance with a completion queue entry in the completion queue.
  • 3. The system according to claim 1 and wherein the transmit process comprises a plurality of transmit processes, each of said plurality of transmit processes being configured to store information comprising a queue of packets to be transmitted, each said queue of packets to be transmitted defining a plurality of transmit process packets to be transmitted, each of said plurality of transmit process packets to be transmitted being associated with a transmission time.
  • 4. The system according to claim 1 and wherein each transmission entry also comprises a time for transmission of said transmit process packets to be transmitted.
  • 5. The system according to claim 4 and wherein the packets comprise video packets, and each transmission entry also comprises a number of packets per frame and a number of frames per second.
  • 6. The system according to claim 1 and also comprising a co-processor, wherein the synchronization process is instantiated in the co-processor.
  • 7. The system according to claim 6 and wherein the co-processor includes an FTP or PTP client.
  • 8. The system according to claim 6 and wherein the co-processor comprises a network interface card.
  • 9. The system according to claim 8 and wherein the network interface card comprises the transmission hardware.
  • 10. The system according to claim 6 and wherein the co-processor comprises an FPGA.
  • 11. A method comprising: configuring a transmit process to store information comprising a queue of packets to be transmitted, the queue of packets to be transmitted defining a plurality of transmit process packets to be transmitted, each of said plurality of transmit process packets to be transmitted being associated with a transmission time; andconfiguring a synchronization process distinct from the transmit process to receive from said transmit process at least a portion of said information,wherein the transmit process and the synchronization process are comprised in a processor, andthe synchronization process is further configured to hold: a plurality of null operation (NOP) work requests each operative to cause a fixed delay when processed;at least one cross-process send enable work request operative, when processed, to send a doorbell to transmission hardware at a time when at least one of said plurality of transmit process packets is to be transmitted; andsend a doorbell to transmission hardware at a time when at least one of said plurality of transmit process packets is to be transmitted, the synchronization process comprising a plurality of transmission entries, each transmission entry comprising: a transmit process indicator; and an indication of transmit process packets to be transmitted.
  • 12. The method according to claim 11 and wherein the synchronization process accesses a dummy send queue and a completion queue, and transmits one or more of the plurality of packets to be transmitted in accordance with a completion queue entry in the completion queue.
  • 13. The method according to claim 11 and wherein the transmit process comprises a plurality of transmit processes, each of said plurality of transmit processes storing information comprising a queue of packets to be transmitted, each said queue of packets to be transmitted defining a plurality of transmit process packets to be transmitted, each of said plurality of transmit process packets to be transmitted being associated with a transmission time.
  • 14. The method according to claim 11 and wherein each transmission entry also comprises a time for transmission of said transmit process packets to be transmitted.
  • 15. The method according to claim 14 and wherein the packets comprise video packets, and each transmission entry also comprises a number of packets per frame and a number of frames per second.
  • 16. The method according to claim 11 and wherein the synchronization process is instantiated in a co-processor.
  • 17. The method according to claim 11 and wherein the co-processor comprises a network interface card.
  • 18. The method according to claim 16 and wherein the co-processor comprises an FPGA.
PRIORITY CLAIM

The present application claims priority from U.S. Provisional Patent Application 62/681,708 of Levi et al, filed 7 Jun. 2018 and entitled Synchronized Streaming; and from U.S. Provisional Patent Application 62/793,401 of Levi et al, filed 17 Jan. 2019 and entitled Aggregated Doorbell Synchronization.

US Referenced Citations (198)
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
6775698 Simone et al. Aug 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
8213315 Crupnicoff et al. Jul 2012 B2
8380880 Gulley et al. Feb 2013 B2
8510366 Anderson et al. Aug 2013 B1
8738891 Karandikar et al. May 2014 B1
8761189 Shachar et al. Jun 2014 B2
8768898 Trimmer et al. Jul 2014 B1
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
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
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
10541938 Timmerman et al. Jan 2020 B1
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
20030018828 Craddock et al. Jan 2003 A1
20030061417 Craddock et al. Mar 2003 A1
20030065856 Kagan et al. Apr 2003 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
20050281287 Ninomi et al. Dec 2005 A1
20060282838 Gupta et al. Dec 2006 A1
20070127396 Jain 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
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
20090247241 Gollnick et al. Oct 2009 A1
20090292905 Faraj Nov 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
20110060891 Jia Mar 2011 A1
20110066649 Berlyant et al. Mar 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
20120216021 Archer et al. Aug 2012 A1
20120254110 Takemoto Oct 2012 A1
20130117548 Grover et al. May 2013 A1
20130159410 Lee et al. Jun 2013 A1
20130318525 Palanisamy et al. Nov 2013 A1
20130336292 Kore et al. Dec 2013 A1
20140033217 Vajda et al. Jan 2014 A1
20140047341 Breternitz et al. Feb 2014 A1
20140095779 Forsyth et al. Apr 2014 A1
20140122831 Uliel et al. May 2014 A1
20140189308 Hughes et al. Jul 2014 A1
20140211804 Makikeni et al. Jul 2014 A1
20140280420 Khan Sep 2014 A1
20140281370 Khan Sep 2014 A1
20140362692 Wu et al. Dec 2014 A1
20140365548 Mortensen Dec 2014 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
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
20150269116 Raikin et al. Sep 2015 A1
20150379022 Puig et al. Dec 2015 A1
20160055225 Xu et al. Feb 2016 A1
20160065659 Bloch Mar 2016 A1
20160105494 Reed et al. Apr 2016 A1
20160112531 Milton et al. Apr 2016 A1
20160117277 Raindel et al. Apr 2016 A1
20160179537 Kunzman et al. Jun 2016 A1
20160219009 French Jul 2016 A1
20160248656 Anand et al. Aug 2016 A1
20160299872 Vaidyanathan et al. Oct 2016 A1
20160342568 Burchard et al. Nov 2016 A1
20160364350 Sanghi 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 Jun 2017 A1
20170187629 Shalev et al. Jun 2017 A1
20170187846 Shalev et al. Jun 2017 A1
20170199844 Burchard et al. Jul 2017 A1
20170255501 Shuler et al. Sep 2017 A1
20180004530 Vorbach Jan 2018 A1
20180046901 Xie et al. Feb 2018 A1
20180047099 Bonig 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
20190065208 Liu et al. Feb 2019 A1
20190068501 Schneider 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
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
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
Non-Patent Literature Citations (41)
Entry
Danalis et al., “PTG: an abstraction for unhindered parallelism”, 2014 Fourth International Workshop on Domai—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.
U.S. Appl. No. 16/357,356 office action dated May 14, 2020.
European Application # 20156490.3 search report dated Jun. 25, 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.
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.
Gainaru et al., “Using InfiniBand Hardware Gather-Scatter Capabilities to Optimize MPI All-to-All”, Proceedings of the 23rd European MPI Users' Group Meeting, pp. 167-179, Sep. 2016.
Pjesivac-Grbovic et al., “Performance Analysis of MPI Collective Operations”, 19th IEEE International Parallel and Distributed Processing Symposium, pp. 1-19, 2015.
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 (Hotl'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.
Infiniband Trade Association, “InfiniBand™ Architecture Specification”, release 1.2.1, pp. 1-1727, Jan. 2008.
Elias et al., U.S. Appl. No. 16/357,356, filed Mar. 19, 2019.
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.
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/750,019 Office Action dated Jun. 15, 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/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.
Related Publications (1)
Number Date Country
20190379714 A1 Dec 2019 US
Provisional Applications (2)
Number Date Country
62793401 Jan 2019 US
62681708 Jun 2018 US