JPH0398152A - Data communication system using broadcast and barrier - Google Patents

Data communication system using broadcast and barrier

Info

Publication number
JPH0398152A
JPH0398152A JP1235260A JP23526089A JPH0398152A JP H0398152 A JPH0398152 A JP H0398152A JP 1235260 A JP1235260 A JP 1235260A JP 23526089 A JP23526089 A JP 23526089A JP H0398152 A JPH0398152 A JP H0398152A
Authority
JP
Japan
Prior art keywords
barrier
pes
broadcast
steps
butterfly
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1235260A
Other languages
Japanese (ja)
Inventor
Hidetoshi Iwashita
英俊 岩下
Makoto Okada
信 岡田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1235260A priority Critical patent/JPH0398152A/en
Publication of JPH0398152A publication Critical patent/JPH0398152A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To perform the broadcast and barrier operation in a quick and stable way and with small numbers of steps and packets by performing an informing operation in three steps, i.e., the broadcast, the butterfly barrier, and the end information. CONSTITUTION:The broadcast 1 is carried out in a tree shape between a processor PE and all other PEs, and the butterfly barrier 2 is carried out mutually between the PEs that received the broadcast 1 lastly. Then the PE that joined the barrier 2 gives the end information 3 to all PE which did not join the barrier 2. That is, the information is carried out in three steps, i.e., the broadcast 1, the barrier 2, and the information 3. Thus the broadcast 1 and the barrier 2 can be performed in a quick and stable way and with small numbers of steps and packets.

Description

【発明の詳細な説明】 (概要〕 あるPRから他の全てのPHに通信した後、全PE間で
相互に通信するデータ通信方式に関し、ブロードキャス
ト、バタフライバリア、および終了通知という3段階に
より、ブロードキャストおよびバリアを少ないステップ
数かつ少ないパケット数で高速・安定に実現することを
目的とし、あるPEから他の全てのPHにツリー状に通
信するブロードキャストを行い、これらブロードキャス
トを最後に受けたPE間で相互に通信するバタフライバ
リアを行い、このバタフライバリ7に参加したPEから
参加しない全PEに通信する終了通知を行うという、3
段階によってブロードキャストおよびバリアを行うよう
に構戒する。
Detailed Description of the Invention (Summary) Regarding a data communication method in which all PEs communicate with each other after communicating from one PR to all other PHs, [Broadcast With the aim of realizing high-speed and stable barrier communication with a small number of steps and a small number of packets, one PE broadcasts communication in a tree shape to all other PHs, and the PE that last received these broadcasts 3. Perform a butterfly barrier to communicate with each other, and send a termination notification to all PEs that do not participate from the PE that participated in this butterfly barrier 7.
Be prepared to broadcast and barrier depending on the stage.

〔産業上の利用分野〕[Industrial application field]

本発明は、あるPEから他の全てのPEに通信した後、
全PE間で相互に通信するデータ通信方式に関するもの
である。?![数PEが並列動作によって処理を実行し
ているとき、あるIPEが何らかの情報を他の全てのP
Hに伝達し(ブロードキャストし)、伝達が完了したこ
とを全PEが互いに知らせ合う(バリア)という一連の
データ通信をステップ数少なくかつ通信量少なく高速に
行うことが望まれている。
The present invention provides that after communicating from one PE to all other PEs,
This relates to a data communication method for mutual communication among all PEs. ? ! [When several PEs are executing processing in parallel, one IPE transmits some information to all other PEs.
It is desired to perform a series of data communications at high speed with fewer steps and less amount of communication, in which data is transmitted to H (broadcast) and all PEs notify each other that the transmission has been completed (barrier).

〔従来の技術と発明が解決しようとする課題〕従来、ブ
ロードキャストと、パリアとは別個の処理として扱われ
ていた.ブロードキャストの効率的な方法として、第5
図(イ)に示すツリー状のブロードキャストが知られて
いる。ここで、1lがPEを表し、l2がPE間の通信
を表す。PEOが発起PEである。ステップ1、2、3
は、時間の経過を示す.このツリー状のブロードキャス
トによるステソブ数ばlogn、パケソト数は(n−1
)となる.尚、logの底は2 (以下も同じ〉である
. バリアの効率的な方法として、第5図(ロ)に示すバタ
フライ・バリアが考えられる。これは、全ての例えばP
EOないし7が参加し、ステップ1で下位lビソトのみ
が異なるPE間(000と001,010と011、1
00と101、1lOと11l)で相互に通信し、ステ
ソブ2で下位2ビノトのみが異なるPE間で相互に通知
し、ステップ3で下位3ビソトのみが異なるPE間で相
互に通信するようにしたものである。この方法によるス
テップ数はIogn,パケット数は(n −1}となる
. 以上のブロードキャストおよびバリアを組み合わせると
、第5図(ハ)に示すようなブロードキャスト・バリア
となる。nが2の巾数のとき、ステップ数は21ogn
、パケット数はnlogn+(n−1)となる。
[Problems to be solved by conventional technology and the invention] Conventionally, broadcasting and pariah processing were treated as separate processes. As an efficient method of broadcasting, the fifth
A tree-like broadcast shown in Figure (A) is known. Here, 11 represents a PE, and 12 represents communication between PEs. The PEO is the originating PE. Steps 1, 2, 3
indicates the passage of time. The number of Stesob by this tree-like broadcast is log and the number of Pakeso is (n-1
). The base of log is 2 (the same applies hereafter). As an efficient barrier method, the butterfly barrier shown in Figure 5 (b) can be considered.
EO to 7 participate, and in step 1, the PEs that differ only in the lower l bisotto (000 and 001, 010 and 011, 1
00 and 101, 1lO and 11l), and in step 2, PEs with different lower two bits communicated with each other, and in step 3, PEs with different lower three bits communicated with each other. It is something. The number of steps in this method is Iogn, and the number of packets is (n - 1). Combining the above broadcast and barrier results in a broadcast barrier as shown in Figure 5 (C). Where n is the width number of 2. When , the number of steps is 21ogn
, the number of packets is nlogn+(n-1).

このブロードキャスト・バリアによる方法は、ステソブ
数は少ないが、バリア時に全PE間で相互に通信を行う
ためにパケット数が多くなってしまうと共に、非同期通
信のときあるいは同!IlliI1信であっても何等か
の原因でPE間の通信に遅れが発生すると、第5図(ハ
〉に示すようにパケソトが判然と流れず、タイξングが
ずれてパケソトが相互に妨げ合い、通信が待たされてし
まう事態が発生し、時として効率が大幅に低下してしま
うという問題がある. 本発明は、ブロードキャスト、バタフライバリア、およ
び終了通知という3段階により、ブロードキャストおよ
びバリアを少ないステンプ数かつ少ないバケノト数で高
速・安定に実現することを目的としている。
This method using a broadcast barrier has a small number of packets, but the number of packets increases because all PEs communicate with each other at the time of the barrier. If there is a delay in communication between PEs for some reason, even if it is an IlliI1 signal, the packets will not flow clearly as shown in Figure 5 (C), and the timing will shift and the packets will interfere with each other. However, there is a problem in that the communication is forced to wait, which sometimes causes a significant drop in efficiency.The present invention uses three steps, broadcast, butterfly barrier, and termination notification, to reduce the number of steps required for broadcast and barrier. The aim is to achieve high speed and stability with a small number of buckets.

〔課題を解決する手段〕[Means to solve problems]

第1図を参照して課題を解決する手段を説明する。 Means for solving the problem will be explained with reference to FIG.

第1図において、ブロードキャスト1ば、あるPEから
他の全てのPEにツリー状に通知(放送)することであ
る。
In FIG. 1, broadcast 1 means notification (broadcast) from a certain PE to all other PEs in a tree shape.

バタフライ・バリア2は、ブロードキャスト1を最後に
受けたPE間で相互に通信を行うことである。
Butterfly barrier 2 is for mutual communication between PEs that last received broadcast 1.

終了通知3は、バクフライ・バリアに参加したPEから
参加しない全PEに通知することである.〔作用〕 本発明は、第1図に示すように、あるPRから他の全て
のPHにツリー状にブロードキャスト1を行い、ブロー
ドキャストlを最後に受けたPE間で相互にバタフライ
・バリア2を行い、バタフライ・バリア2に参加したP
Eから参加しない全PEに終了通知3を行うようにして
いる。
Termination notification 3 is to notify all PEs that do not participate from the PE that participated in the Backfly Barrier. [Operation] As shown in FIG. 1, the present invention performs broadcast 1 from one PR to all other PHs in a tree shape, and mutually performs butterfly barrier 2 between the PEs that last received the broadcast 1. , P who participated in Butterfly Barrier 2
E sends termination notification 3 to all PEs that will not participate.

従って、ブロードキャスト1、バタフライ・バリア2お
よび終了通知3の3段階によって通知を行うことにより
、ブロードキャストおよびバリアを少ないステソブ数か
つ少ないパケソト数で高速・安定に行うことが可能とな
る。
Therefore, by performing notification in three stages: broadcast 1, butterfly barrier 2, and end notification 3, it is possible to perform broadcast and barrier at high speed and stably with a small number of broadcasts and a small number of packets.

〔実施例〕〔Example〕

次に、第1図から第4図を用いて本発明の1実施例の構
成および動作を順次詳細に説明する。
Next, the configuration and operation of one embodiment of the present invention will be explained in detail using FIGS. 1 to 4.

第l図fatは、PE数nが2の巾乗の場合(n=2“
 (=2、4、8、16・・・)の場合}のうちの8台
のときのl実施例構成図を示す。ここで、PEOからP
ETに3ビソトの値として000ないしlllを割り当
てる.また、k=3である.(11  ブロードキャス
ト1: ■ PIEOが第kビソトを反転したPEへ通知:例え
ばPEO (000)が第kビソト=第3ピントを反転
した100のPE4に通知する.■ PEOおよび■の
受信PEが、それぞれ第(k−1)ビットを反転したP
Eへ通知:例えばPEO (000)が第(3−1)ビ
ソト=第2ビノトを反転したOlOのPE2、および■
の受イεしたPE4  (100)の第2ビットを反転
した110のPE6に通知する. ■ PEO、■、■の受信PEが、それぞれ第(K−2
)ビノトを反転したPHに通知:例えばPEO (00
0)が第(3 − 2)ビソト=第1ビットを反転した
001のPEI、■の受信したPE4  (100)の
第1ビットを反転した101のPE5に通知、および■
の受信したPR6 (110)の第1ピットを反転した
111のPETに通知する. ■ 同様に第lビソトまで繰り返し通知:ここでは、■
で既に第1ピントまで通知したので、終了する. 以上の処理によって、発起PEであるPEO(0 0 
0)から他の全てのPEI (001)ないしPE7 
(1 1 1)に通知(ブロードキャストl)されたこ
ととなる. (2)  バタフライバリア2: 全ての奇数PEで以下の動作を行う。
Figure I fat is when the number of PEs n is a power of 2 (n=2"
(=2, 4, 8, 16...)} A configuration diagram of an embodiment when there are 8 units is shown. Here, from PEO to P
Assign 000 to lll as a 3-bit value to ET. Also, k=3. (11 Broadcast 1: ■ PIEO notifies the PE that inverted the k-th bisoto: For example, PEO (000) notifies the 100 PE4 that inverted the k-th bisoto = 3rd focus. ■ PEO and the receiving PE of ■, P with the (k-1)th bit inverted, respectively
Notify E: For example, PEO (000) is the (3-1)th bisoto = PE2 of OlO where the second binoto is reversed, and ■
PE4 that received ε notifies PE6 of 110 that inverts the second bit of (100). ■ The receiving PEs of PEO, ■, and ■ are respectively
) Notify the PH who reversed the binoto: For example, PEO (00
0) is the (3-2)th bit = PEI of 001 with the first bit inverted, PE4 received in ■ Notifies PE5 of 101 with the first bit of (100) inverted, and ■
The received first pit of PR6 (110) is notified to the inverted PET of 111. ■Similarly, repeat notifications up to the first bisoto: Here, ■
Since we have already notified the first focus, we will end the process. Through the above processing, the initiating PE, PEO (0 0
0) to all other PEI (001) to PE7
This means that the notification (broadcast l) was made on (1 1 1). (2) Butterfly Barrier 2: All odd-numbered PEs perform the following actions.

■ 第2ビットのみが異なるPEに対して送信し、その
PEからの送信を待つ:例えば001と011101と
1土1のPE間で送信を相互に行う. ■ 第3ビットのみが異なる異なるPEに対して送信し
、そのPEからの送信を待つ:例えば001と101、
011とittのPE間で送信を相互に行う. ■ 同様に第4ビソト、第5ビット・・・のみが異なる
PHに対して送信し、そのPRからの送信を待つ:第1
図(a)では既に■で終了している.以上の処理によっ
て、ブロードキャストlの最終PEである奇数PEにつ
いて、相互に全ての間で通知(バリア〉することとなる
. (3)終了通知: 全ての奇数PEから全ての偶数PEに通知する。これに
より、{2)のバタフライバリア2に参加しなかったP
Eに対して、参加したPRから通知することとなる。
■ Transmit to a PE that differs only in the second bit and wait for transmission from that PE: For example, PEs 001, 011101, and 1 Sat 1 transmit to each other. ■ Send to a different PE that differs only in the third bit, and wait for the transmission from that PE: For example, 001 and 101,
PEs 011 and itt transmit data to each other. ■Similarly, only the 4th bit, 5th bit... transmit to a different PH and wait for transmission from that PR: 1st
In figure (a), it has already ended with ■. Through the above processing, the odd PE that is the final PE of broadcast 1 is notified (barrier) between all of them. (3) End notification: All odd PEs notify all even PEs. As a result, P who did not participate in {2) Butterfly Barrier 2
E will be notified by the participating PR.

以上の処理によって、2の巾乗個のPEに対してブロー
ドキャストl、バタフライバリア2、および終了通知3
が行われる.このときのステップ数、通信数(パケット
数)を第4図タイプaとして示す。例えばPEが8個の
場合、ブロードキャストl、バタフライバリ72、終了
通知3のステンプ数は■に示すように、3、2、1とな
り合計6ステップとなり、通信数(パケソト数)は7、
8、4となり合計19となる。これに比較して、従来の
第5図(ハ)はステップ数の合計6、通信数の合計31
となり、本実施例によれば通信数が大幅に削減されてい
る。
Through the above processing, broadcast l, butterfly barrier 2, and termination notification 3 are sent to the power of 2 PEs.
will be held. The number of steps and number of communications (number of packets) at this time are shown as type a in FIG. For example, if there are 8 PEs, the number of steps for Broadcast 1, Butterfly Bali 72, and Termination Notification 3 will be 3, 2, and 1, as shown in ■, for a total of 6 steps, and the number of communications (Pakesoto number) will be 7,
8, 4 for a total of 19. In comparison, in the conventional Figure 5 (c), the total number of steps is 6 and the total number of communications is 31.
Therefore, according to this embodiment, the number of communications is significantly reduced.

尚、バタフライバリア2に参加するPE台数はここで、
nは全PE台数、f( os le/コ,,は最小の整
数(小数点以下切り上げ)、logは2を底とする.こ
れを具体的に表すと、 n=2、3のとき:バリアPE数b=1n=4〜6のと
き:バリアPE数b=2n=7〜12のとき:バリアP
E数b=4n=13〜24のとき:バリアPE数b=B
n=25 〜4Bのとき:バリアPE数b−16などと
なる. この結果、バタフライバリア2に要する通信数は、bl
ogbとなる。
The number of PEs participating in Butterfly Barrier 2 is here.
n is the total number of PEs, f(os le/ko,, is the smallest integer (rounded up to the nearest whole number), and log is the base 2. To express this specifically, when n = 2, 3: Barrier PE When the number b=1n=4 to 6: Barrier PE When the number b=2n=7 to 12: Barrier P
When E number b=4n=13 to 24: Barrier PE number b=B
When n=25 to 4B: The number of barrier PEs is b-16, etc. As a result, the number of communications required for butterfly barrier 2 is bl
It becomes ogb.

第1図(blは、28〈n≦(3/2)2’の場合のう
ちのPRが11台のときの1実施例楕戒図を示す.ここ
で、発起PEをPEOとし、他のPEのうちの(2”−
1)台を1ないし(2’−1)の2進数で表す。残りの
(n−2”)を端数PEと呼ぶ.例えばPEがl1台の
場合は、図示PEOからPEIOに4ビットの値として
0000ないし10lOを割り当てる.また、k=3で
あり、PE8ないしPEIOは端数PEである。
Figure 1 (bl shows an elliptical diagram of one embodiment when there are 11 PRs in the case of 28<n≦(3/2)2'.Here, the initiating PE is PEO, and the other (2”- of PE
1) Represent the machine as a binary number from 1 to (2'-1). The remaining (n-2") is called the fractional PE. For example, if there are l1 PEs, 0000 to 10lO are assigned as 4-bit values from the illustrated PEO to PEIO. Also, k = 3, and PE8 to PEIO are assigned as 4-bit values. is the fraction PE.

(11  ブロードキャスト1: ■ 既述した第1図(a)の■ないし■と同じ.■ 奇
数PEから端数PRへ通知.端数1’Eが奇数PE数よ
りも少ない場合、余った奇数PEはなにもしない(端数
PE数が必ず奇数PE以下である。以下、端数PEへ送
信した奇数PRを端数対応PEと呼ぶ)。
(11 Broadcast 1: ■ Same as ■ or ■ in Figure 1 (a) already described. ■ Notification from odd number PE to fraction PR. If fraction 1'E is less than the number of odd PEs, the remaining odd PEs are (The number of fractional PEs is always less than or equal to odd PEs.Hereinafter, the odd PR sent to the fractional PEs will be referred to as fractional PEs.)

(2)  バクフライバリア2: 全ての端数PHの番号を仮に対応する端数対応PEの番
号とし、端数対応PE以外の奇数PEとともに、既述し
た第1図!alの(2)と同じ処理を行う。
(2) Backfly Barrier 2: Let's assume that all the fractional PH numbers are the numbers of the corresponding fractional PEs, and add them together with the odd PEs other than the fractional PEs as shown in Figure 1! Perform the same process as (2) in al.

(3》  終了通知3; (2)に参加した全てのPEから参加しない他の全ての
PEに通知する. 第1図(Clは、(3/4)2” <n≦21の場合の
うちのPRが7台のときのl実施例構或図を示す.ここ
で、発起PEをPEGとし、他のPEをエないし(2”
−1)の2進数で表す。ただし、1、5、9、・・・ 
(2”−1)のうちの任意の(2’−n)個は欠番とす
る.例えばPEが7台の場合は、図示PEOからPE7
に2ビソトの値として000ないし111を割り当てる
(但しPE5を欠番とする)。また、k=3である。
(3) Termination notification 3; All PEs that participated in (2) notify all other PEs that do not participate. An example configuration diagram is shown when there are 7 PRs.Here, the initiating PE is PEG, and the other PEs are
-1) expressed as a binary number. However, 1, 5, 9,...
Any (2'-n) of (2''-1) is a missing number.For example, if there are 7 PEs, from the PEO shown in the figure to PE7
Assign 000 to 111 as a 2-bit value (however, PE5 is left as a missing number). Further, k=3.

(1)  ブロードキャスト1: ■ 既述した第1図(alの■ないし■と同じ(但し■
で送信先が欠番となったPE(以下欠番対応PEと呼ぶ
)はなにもしない)。
(1) Broadcast 1: ■ Same as ■ or ■ in Figure 1 (al) described above (however, ■
The PE whose transmission destination becomes an unused number (hereinafter referred to as an unused number-capable PE) does nothing.

(2)バタフライバリア2: 全ての欠番対応PEの番号を仮に対応する欠番とし、全
ての奇数PEとともに、既述した第1図(alの(2)
と同じ処理を行う(但し、■に限り、欠番対応PEは送
信する必要がない)。
(2) Butterfly Barrier 2: Temporarily change the numbers of all PEs corresponding to missing numbers to the corresponding missing numbers, and apply the same numbers as those of all odd PEs to the
The same processing as (1) is performed (however, only in case (2), there is no need to send the missing number corresponding PE).

(3)終了通知3: (2)に参加した全てのPEから参加しない他の全ての
PR(欠番対応PE以外の偶数PE)に通知する. 以上の第1図(al、(bl、(C)についてそのステ
ンブ数および通ずε量を計算によって求めると、第4図
PE台数に対応づけて表に示すようになる.第2図は、
本発明のシステム構成図を示す.第2図において、PB
4は、プロセッサであって、第1図におけるPEOない
しPR7などに対応するものである. 通信網5は、PE間で相互に通信する通信網であって、
第l図に示すようにブローキャスト1、バタフライバリ
ア2、および終了通知3などを行うものである。
(3) Termination notification 3: All PEs that participated in (2) notify all other PRs (even-numbered PEs other than PEs corresponding to missing numbers) that do not participate. When the number of stems and the amount of through ε for the above figures (al, (bl, and C) in Figure 1 are calculated, they are shown in the table in correspondence with the number of PE units in Figure 4. Figure 2 shows the following:
A system configuration diagram of the present invention is shown. In Figure 2, PB
4 is a processor, which corresponds to PEO to PR7 in FIG. The communication network 5 is a communication network through which PEs communicate with each other,
As shown in FIG. 1, broadcast 1, butterfly barrier 2, termination notification 3, etc. are performed.

第3図は、本発明の具体例説明図を示す。これは、並列
実行中のジョブを中止する場合のものである。6台のP
EOないしPE5が並列実行中に、あるPE例えばPE
Oがシステムの異常を発見し、緊急に6台の当該ジョブ
に関する処理を中止し、当該ジョブに関するパケットを
キャンセルしなければならない場合を考える.図中の■
は各PE内の初期化で、実行中であったジョブのパケッ
トをキャンセルを含む。ブロードキャスト1は、この初
期化が終了したことの通知を兼ねている.通信■は、受
信側PRのCPLIに割り込みを行い、ブロードキャス
ト・バリアの処理に取りかかるように伝える.■は、通
信■をスピンウェイトしている期間を示す。いずれのP
Rも、ブロードキャスト・バリアが終了した時には、他
の全てのPEが少なくともブロードキャストを終了して
いる。即ち、いずれのPEもブロードキャスト・バリ7
の実行後は、他のPEからブロードキャスト・バリア以
前のジョブに関する通信は来ないと保証される. 第4図は、本発明によるステソブ数/通信数例を示す.
左側が本発明によるステップ数/通信数を示し、右側が
従来法の第5図(ハ)によるステップ数/通信数を参考
のために記載する.これらステップ数/通信数から判明
、例えば■に示す8PEのときに、本発明によれば、ブ
ロードキャスト・バリアに必要なステンプ数/通信数が
6/19であるのに、従来法はステノプ数/ilm信数
が6/31となり、特に通信数が削減されることが判明
する。また、バタフライバリア2のときの相互の通信が
削減されており通信の位相遅れによって他の通信と衝突
することが少なくなり安定に動作することが可能となる
FIG. 3 shows a diagram illustrating a specific example of the present invention. This is for canceling jobs that are being executed in parallel. 6 P
While EO to PE5 are executing in parallel, a certain PE, for example,
Let us consider a case where O discovers a system error and must urgently stop the processing of the six machines and cancel the packets related to the job. ■ in the diagram
is initialization within each PE, including canceling the packet of the job that is being executed. Broadcast 1 also serves as a notification that this initialization has been completed. Communication ■ interrupts the CPLI of the receiving PR and tells it to start processing the broadcast barrier. (2) indicates a period during which communication (2) is spin-waited. Which P
R also has all other PEs at least finished broadcasting when the broadcast barrier ends. That is, any PE has broadcast burr 7.
After the execution of , it is guaranteed that no communication regarding the job before the broadcast barrier will be received from other PEs. FIG. 4 shows an example of the number of STEPs/communications according to the present invention.
The number of steps/number of communications according to the present invention is shown on the left, and the number of steps/number of communications according to the conventional method shown in FIG. 5 (c) is shown on the right for reference. It is clear from these number of steps/number of communications, for example, when there are 8 PEs shown in The number of ilm communications is 6/31, and it is clear that the number of communications is particularly reduced. In addition, mutual communication during the butterfly barrier 2 is reduced, and collisions with other communications due to communication phase delays are reduced, making it possible to operate stably.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、ブロードキャス
トl1バタフライ・バリア2および終了通知3の3段階
によって通知を行う構成を採用しているため、ブロード
キャストおよびバリアを少ないステップ数かつ少ないパ
ケット数で高速・安定に行うことができる.
As explained above, according to the present invention, a configuration is adopted in which notification is performed in three stages: broadcast l1 butterfly barrier 2 and end notification 3, so broadcast and barrier can be performed at high speed with a small number of steps and a small number of packets.・Can be performed stably.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の1実施例構成図、第2図は本発明のシ
ステム構成図、第3図は本発明の具体例説明図、第4図
は本発明によるステップ数/通信数例、第5図は従来技
術の説明図を示す.図中、lはブロードキャスト、2は
バタフライバリア、3は終了通知、4はPE(ブロセン
サ)、5は通信網を表す. ^、 1繭F−C’J  閂 寸 い ψ t〈
FIG. 1 is a configuration diagram of an embodiment of the present invention, FIG. 2 is a system configuration diagram of the present invention, FIG. 3 is an explanatory diagram of a specific example of the present invention, and FIG. 4 is an example of the number of steps/communications according to the present invention. Figure 5 shows an explanatory diagram of the conventional technology. In the figure, l represents a broadcast, 2 represents a butterfly barrier, 3 represents an end notification, 4 represents a PE (bro sensor), and 5 represents a communication network. ^, 1 cocoon F-C'J bar size ψ t〈

Claims (1)

【特許請求の範囲】 あるPEから他の全てのPEに通信した後、全PE間で
相互に通信するデータ通信方式において、あるPEから
他の全てのPEにツリー状に通信するブロードキャスト
(1)を行い、 これらブロードキャスト(1)を最後に受けたPE間で
相互に通信するバタフライバリア(2)を行い、このバ
タフライバリア(2)に参加したPEから参加しない全
PEに通信する終了通知(3)を行うという、3段階に
よってブロードキャストおよびバリアを行うように構成
したことを特徴とするブロードキャスト・バリアによる
データ通信方式。
[Claims] In a data communication method in which a PE communicates with all other PEs and then all PEs communicate with each other, a broadcast (1) in which a PE communicates in a tree shape with all other PEs. A butterfly barrier (2) is performed in which the PEs that last received these broadcasts (1) communicate with each other, and a termination notification (3) is sent from the PE that participated in this butterfly barrier (2) to all PEs that do not participate. ) A data communication system using a broadcast barrier, characterized in that the broadcast and barrier are performed in three stages.
JP1235260A 1989-09-11 1989-09-11 Data communication system using broadcast and barrier Pending JPH0398152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1235260A JPH0398152A (en) 1989-09-11 1989-09-11 Data communication system using broadcast and barrier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1235260A JPH0398152A (en) 1989-09-11 1989-09-11 Data communication system using broadcast and barrier

Publications (1)

Publication Number Publication Date
JPH0398152A true JPH0398152A (en) 1991-04-23

Family

ID=16983451

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1235260A Pending JPH0398152A (en) 1989-09-11 1989-09-11 Data communication system using broadcast and barrier

Country Status (1)

Country Link
JP (1) JPH0398152A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2189903A2 (en) 2008-11-19 2010-05-26 Fujitsu Limited Barrier synchronization apparatus, barrier synchronization system, and barrier synchronization method
EP2428893A2 (en) 2010-09-08 2012-03-14 Fujitsu Limited A reduction operation device, a processor, and a computer system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2189903A2 (en) 2008-11-19 2010-05-26 Fujitsu Limited Barrier synchronization apparatus, barrier synchronization system, and barrier synchronization method
US8654798B2 (en) 2008-11-19 2014-02-18 Fujitsu Limited Barrier synchronization apparatus, barrier synchronization system, and barrier synchronization method
EP2428893A2 (en) 2010-09-08 2012-03-14 Fujitsu Limited A reduction operation device, a processor, and a computer system
US9619300B2 (en) 2010-09-08 2017-04-11 Fujitsu Limited Reduction operation device, a processor, and a computer system

Similar Documents

Publication Publication Date Title
JP2601591B2 (en) Parallel computer and all-to-all communication method
WO1990000842A1 (en) Adaptive routing system
Fraigniaud et al. Minimum linear gossip graphs and maximal linear (Δ, k)‐gossip graphs
JPH0398152A (en) Data communication system using broadcast and barrier
US20180324110A1 (en) Dedicated ssr pipeline stage of router for express traversal (extra) noc
CN105991473A (en) Data stream forwarding method and data stream forwarding device
US8572276B2 (en) Pipelining protocols in misaligned buffer cases
WO2017107413A1 (en) Fractal-tree communication structure and method, control device and intelligent chip
Gąsieniec et al. Time efficient gossiping in known radio networks
CN1770736A (en) Allocating bridge priorities in bridged network
JP5212743B2 (en) Communication method
Sharma et al. An optimal distributed depth-first-search algorithm
JP3703304B2 (en) Data transfer method between nodes and data transfer method between computers
US7162034B1 (en) Method and apparatus for multi-session time-slot multiplexing
JPS62239737A (en) Transmission error detection system
Gargano et al. Efficient communication in unknown networks
US11789792B1 (en) Message passing interface (MPI) collectives using multi-allgather
CN114385138B (en) Flow joint assembly method and device for running ETL (extract transform load) by Flink framework
Bhatt et al. Distributed Independent Sets in Interval and Segment Intersection Graphs
JPH03149933A (en) Data communication system by broadcast barrier
CN101267395A (en) Data transmission method and device
CN100504836C (en) Method for processing each unit according to rapid expanded tree protocol in stack type network device
Surma et al. Efficient communication scheduling with re-routing based on collision graphs,"
Lau et al. Optimal gossiping in paths and cycles
JPWO2005003995A1 (en) Data arrangement method and apparatus