JPH09305564A - Inter-arithmetic unit synchronizing system - Google Patents

Inter-arithmetic unit synchronizing system

Info

Publication number
JPH09305564A
JPH09305564A JP8120434A JP12043496A JPH09305564A JP H09305564 A JPH09305564 A JP H09305564A JP 8120434 A JP8120434 A JP 8120434A JP 12043496 A JP12043496 A JP 12043496A JP H09305564 A JPH09305564 A JP H09305564A
Authority
JP
Japan
Prior art keywords
packet
synchronization
value
arithmetic
synchronization packet
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.)
Granted
Application number
JP8120434A
Other languages
Japanese (ja)
Other versions
JP2853655B2 (en
Inventor
Tsutomu Maruyama
勉 丸山
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP8120434A priority Critical patent/JP2853655B2/en
Publication of JPH09305564A publication Critical patent/JPH09305564A/en
Application granted granted Critical
Publication of JP2853655B2 publication Critical patent/JP2853655B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an inter-arithmetic unit synchronizing system by which any arbitrary arithmetic units can be synchronized at high speed among plural arithmetic units connected with a multistage network. SOLUTION: When a synchronizing packet is issued, arithmetic units 11-14 set values at positions corresponding to synchronizing numbers inside tables. Corresponding to this synchronizing packet, synchronizing processing is performed on cross bar switches 16-19 consisting of a multistage network 15, and the synchronizing packet arrives at the arithmetic units related with that synchronizing processing. The cross bar switches 16-19 have tables in a certain size as well. In the case of performing the synchronizing processing among J pieces of ports at a certain switch, each time the synchronizing packet having the same synchronizing number arrives from any one of J pieces of ports, the value of the table at that switch is updated and when the final synchronizing packet arrives and the value of the table is updated, the switch copies out this packet to L pieces of output ports designated inside the packet (arbitrary L pieces of output ports among M pieces of outputs).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は演算装置間同期方式
に係り、特にネットワークで接続された複数個の演算装
置間のうちの任意の演算装置間での同期方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a synchronization system between arithmetic devices, and more particularly to a synchronization system between arbitrary arithmetic devices among a plurality of arithmetic devices connected by a network.

【0002】[0002]

【従来の技術】従来はネットワークで接続されたシステ
ムを構成するすべての演算装置、若しくは、ネットワー
クの形状によって定まる、ある演算装置のグループ間で
の同期処理のみをハードウェアでサポートしていた。
2. Description of the Related Art Conventionally, only the synchronous processing between all the arithmetic units constituting a system connected by a network or a group of certain arithmetic units determined by the shape of the network was supported by hardware.

【0003】例えば、特開平4−236657号公報で
は、複数の演算装置(プロセッサ)をいくつかのサブグ
ループに分割し、それらを木構造状に接続し、サブグル
ープ単位、システム全体での同期をとる手法が記載され
ている。
For example, in Japanese Unexamined Patent Publication No. 4-236657, a plurality of arithmetic units (processors) are divided into a number of subgroups, which are connected in a tree structure, and synchronization is performed in subgroup units and the entire system. The method of taking is described.

【0004】また、特開平2−90357号公報でも、
プロセッサを木構造に接続し、構造に応じた範囲内での
高速な同期を行う手法が記載されている。特開平2−1
10742号公報では、アンドゲートを用いて全プロセ
ッサ間の高速な同期をとる手法が記載されている。
Further, in Japanese Patent Application Laid-Open No. 2-90357,
A method for connecting a processor to a tree structure and performing high-speed synchronization within a range according to the structure is described. JP-A-2-1
Japanese Patent No. 10742 describes a method of using an AND gate to achieve high-speed synchronization among all processors.

【0005】また、特開平1−241662号公報で
は、最上位のプロセッサが特定の同期ポイント識別子付
きの同期ポイント到達信号の出力を検出した場合、同期
ポイント識別子付きの待機解除信号を下位の全プロセッ
サに放送することにより、複数の同期ポイントに対する
プロセッサ間同期を可能とする、放送機能を用いた全プ
ロセッサ間での高速な同期手法が記載されている。更
に、特開昭和62−232065号公報には、プロセッ
サを群にわけ、それらの接続にオープンコレクタを用い
て、群間での同期を行う手法が記載されている。
Further, in Japanese Unexamined Patent Publication No. 1-241662, when the highest-level processor detects the output of a synchronization point arrival signal with a specific synchronization point identifier, the standby release signal with the synchronization point identifier is sent to all lower processors. A high-speed synchronization method among all processors using a broadcasting function is described, which enables inter-processor synchronization with respect to a plurality of synchronization points by broadcasting. Further, Japanese Laid-Open Patent Publication No. 62-232065 describes a method in which processors are divided into groups and an open collector is used to connect them to perform synchronization between the groups.

【0006】[0006]

【発明が解決しようとする課題】しかるに、上記の従来
の演算装置間同期方式はいずれも特定のプロセッサ(演
算装置)間の同期方式であり、任意の演算装置間での同
期を高速に行えないという問題がある。
However, all of the above-mentioned conventional inter-arithmetic-device synchronization methods are synchronization methods between specific processors (arithmetic devices), and synchronization between arbitrary arithmetic devices cannot be performed at high speed. There is a problem.

【0007】本発明は上記の点に鑑みなされたもので、
多段網によって接続された複数の演算装置間のうちの任
意の演算装置間での高速な同期を実現し得る演算装置間
同期方式を提供することを目的とする。
[0007] The present invention has been made in view of the above points,
An object of the present invention is to provide an inter-arithmetic-device synchronization method capable of realizing high-speed synchronization among arbitrary arithmetic devices among a plurality of arithmetic devices connected by a multistage network.

【0008】また、本発明の他の目的は、各演算装置が
高々1回の同期パケットを送信するだけで同期処理が完
了する演算装置間同期方式を提供することにある。
It is another object of the present invention to provide an inter-arithmetic-device synchronization method in which each arithmetic device completes a synchronization process by transmitting a synchronization packet at most once.

【0009】[0009]

【 課題を解決するための手段】本発明は上記の目的を
達成するため、同期番号を持つ同期パケットの送受信手
段と、受信した同期パケットの取捨選択手段を少なくと
も有する複数の演算装置と、それぞれN個の入力ポート
とM個の出力ポートを有するK段のクロスバースイッチ
からなり(N,M,Kは2以上の整数)、初段のクロス
バースイッチの各入力ポートは複数の演算装置に接続さ
れ、最終段のクロスバースイッチは複数の演算装置のう
ち指示された演算装置へパケットを出力する多段網とを
備え、複数の演算装置はK段のクロスバースイッチのど
のクロスバースイッチを経由して伝送するかを指定する
情報を含む同期パケットを発行すると共に、受信した同
期パケットをその値から取捨選択手段により取捨選択
し、多段網内のK段のクロスバースイッチは、それぞれ
テーブルを有し、入力された同期パケットの同期番号の
値からテーブルを参照し、その参照値からテーブルの値
を更新し、更新後の値から入力された同期パケットの廃
棄又は次段への出力を行う構成としたものである。
In order to achieve the above object, the present invention provides a transmitting / receiving unit for a synchronization packet having a synchronization number, a plurality of arithmetic units having at least a selection unit for selecting a received synchronization packet, and N units each. It consists of K stages of crossbar switches having N input ports and M output ports (N, M, and K are integers of 2 or more), and each input port of the first stage crossbar switch is connected to a plurality of arithmetic units. The final stage crossbar switch is provided with a multistage network that outputs packets to a designated arithmetic device among the plurality of arithmetic devices, and the plural arithmetic devices pass through which crossbar switch of the K stage crossbar switch. A synchronization packet including information specifying whether to transmit is issued, and the received synchronization packet is selected from the value by the selection means, and the K-stage of the multistage network is selected. Each crossbar switch has a table, refers to the table from the synchronization number value of the input synchronization packet, updates the table value from the reference value, and discards the synchronization packet input from the updated value. Alternatively, it is configured to output to the next stage.

【0010】本発明では、多段網により接続された複数
の演算装置を結合した並列コンピュータにおいて、多段
網を構成する各クロスバースイッチで同期処理を行う。
各演算装置は、同期処理において、同期パケットを発行
し、同期パケットが受信されることによって同期が成立
したことを知るものとする。
According to the present invention, in a parallel computer in which a plurality of arithmetic units connected by a multi-stage network are connected, each crossbar switch forming the multi-stage network performs a synchronization process.
It is assumed that each arithmetic device issues a synchronization packet in synchronization processing and knows that synchronization has been established by receiving the synchronization packet.

【0011】多段網を構成するクロスバースイッチはN
個の入力ポート、M個の出力ポートを持つ。各同期パケ
ットは、各クロスバースイッチにおいてN個の入力ポー
トのうちのどの入力間で同期処理を行うか、および同期
が成立した場合にM個の出力ポートのうちのどの出力ポ
ートに同期パケットの出力を行うかが指定されている。
また、各同期パケットには同期番号が指定されており、
各クロスバースイッチでは同じ番号を持つパケット間で
のみ同期処理が行われる。このために各クロスバースイ
ッチは同期番号の個数に対応するサイズのテーブルを持
っている。
The crossbar switches that make up the multistage network are N
It has M input ports and M output ports. Each sync packet determines which of the N input ports in each crossbar switch performs the synchronization process, and which of the M output ports outputs the sync packet when the synchronization is established. The output is specified.
Also, a synchronization number is specified for each synchronization packet,
In each crossbar switch, synchronization processing is performed only between packets having the same number. For this reason, each crossbar switch has a table of a size corresponding to the number of synchronization numbers.

【0012】あるスイッチのN個の入力ポートのうちJ
個の入力ポート間で同期処理を行う場合を考える。J個
の入力ポートから到着する同期パケットは同じ同期番号
を持っていなければならない。J個の入力ポートのうち
最初にスイッチに到着したパケットの処理において、あ
とどの入力ポートから同期パケットが到着するかがテー
ブルに設定される。このための情報は同期パケット中に
指定されている。この同期パケットは、このスイッチに
おいて廃棄される。
Of the N input ports of a switch, J
Consider a case in which synchronization processing is performed between the input ports. Sync packets arriving from J input ports must have the same sync number. In the processing of the packet that first arrives at the switch among the J input ports, the table is set to which input port the synchronization packet will arrive from. The information for this is specified in the sync packet. This sync packet is discarded at this switch.

【0013】それ以降、同じ同期番号を持つ同期パケッ
トがJ個の入力ポートのいずれかから到着するごとに、
テーブルの値が変更(更新)される。これらの同期パケ
ットもこのスイッチにおいて廃棄される。最後の同期パ
ケットが到着し、テーブルの値を更新すると、J個の入
力ポートのすべてから同期パケットが到着したことが分
かるので、スイッチは、このパケットをパケット中で指
定されたL個の出力ポート(M出力中の任意のL個)に
複製し出力する。この処理を多段網の各段で繰り返すこ
とによってネットワークによって同期処理が実現され
る。
Thereafter, every time a sync packet having the same sync number arrives from any of the J input ports,
The value in the table is changed (updated). These sync packets are also discarded at this switch. When the last sync packet arrives and the value in the table is updated, it knows that the sync packet has arrived from all J input ports, so the switch sends this packet to the L output ports specified in the packet. Duplicate (output any L in M output) and output. By repeating this process at each stage of the multistage network, the synchronization process is realized by the network.

【0014】同期パケットを発行する演算装置にも同期
番号の個数に対応するサイズのテーブルを持っている。
各演算装置は、同期パケットの発行時に、このテーブル
の同期番号に対応する位置の値をセットする。この同期
パケットによって多段網を構成するスイッチ上で上記の
ように同期処理が行われ、その同期処理に関連する演算
装置に同期パケットが到着する。
The arithmetic unit that issues the synchronization packet also has a table of a size corresponding to the number of synchronization numbers.
Each arithmetic unit sets the value of the position corresponding to the synchronization number in this table when the synchronization packet is issued. The synchronization packet is used to perform the synchronization processing as described above on the switches forming the multistage network, and the synchronization packet arrives at the arithmetic unit associated with the synchronization processing.

【0015】同期パケット中の同期処理の対象となる入
力ポート、同期パケットを複製し出力する出力ポートの
指定によっては、同期処理に参加していない(同期パケ
ットを発行していない)演算装置にも同期パケットが到
着することがある。演算装置は、同期パケットが到着す
ると、テーブルの同期番号に対応する位置の値を参照
し、セットされていれば同期パケットとして受け取りテ
ーブルの値をリセットする。テーブルの値がセットされ
ていない場合は、到着した同期パケットを廃棄する。
Depending on the designation of the input port for the synchronization processing in the synchronization packet and the output port for duplicating and outputting the synchronization packet, the arithmetic units not participating in the synchronization processing (not issuing the synchronization packet) may also be used. Sync packets may arrive. When the synchronization packet arrives, the arithmetic unit refers to the value at the position corresponding to the synchronization number in the table, and if it is set, receives it as a synchronization packet and resets the value in the table. If the table value is not set, the synchronization packet that arrived is discarded.

【0016】このように、本発明では、多段網を構成す
る各クロスバースイッチにおいて、到着した同期パケッ
トの同期番号を指定することで、クロスバースイッチに
おいて同期パケットの待ち合わせ及び複製を行うことが
できる。また、本発明では、各演算装置が自分が発行し
ていない同期番号を持つ同期パケットを取捨選択手段に
より廃棄する。
As described above, according to the present invention, by designating the synchronization number of the arrived synchronization packet in each crossbar switch that constitutes the multistage network, the synchronization packet can be waited for and duplicated in the crossbar switch. . Further, according to the present invention, each arithmetic unit discards the synchronization packet having the synchronization number which is not issued by itself by the discarding means.

【0017】[0017]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0018】図1は、本発明方式の一実施の形態の全体
構成図を示す。4つの演算装置(演算装置11,12,
13,14)が多段網15によって接続されている。多
段網15は、それぞれ入力ポートが2個(N=2)、出
力ポートが2個(M=2)の4つのクロスバースイッチ
16,17,18,19によって2段(K=2)のスイ
ッチ構成とされている。図1において、多段網15から
の出力であるデータ線100,101,102,103
は、それぞれ演算装置11,12,13,14の入力ポ
ート(IN)に接続されているものとする。
FIG. 1 shows an overall configuration diagram of an embodiment of the method of the present invention. Four arithmetic units (arithmetic units 11, 12,
13, 14) are connected by a multistage network 15. The multistage network 15 has two input ports (N = 2) and four output ports (M = 2), four crossbar switches 16, 17, 18, and 19 to form a two-stage (K = 2) switch. It is configured. In FIG. 1, data lines 100, 101, 102, 103 which are outputs from the multistage network 15
Are connected to the input ports (IN) of the arithmetic units 11, 12, 13, and 14, respectively.

【0019】図2は演算装置間で送受信されるパケット
のフォーマットの一例を示す。パケットは、ヘッダー2
1とデータフィールド22とからなり、演算装置間での
データ転送に用いられるものと、演算装置間での同期処
理に用いられるものがあり、図2中の「TYPE」の値
によって区別される。
FIG. 2 shows an example of the format of a packet transmitted / received between arithmetic units. Packet has header 2
1 and a data field 22. One is used for data transfer between arithmetic devices and the other is used for synchronization processing between arithmetic devices, and is distinguished by the value of "TYPE" in FIG.

【0020】ヘッダー21中の値T1,T2,...,
Tnは、多段網15を構成する各クロスバースイッチの
各段でのルーティングに用いられる。例えば、図1にお
ける1段目のスイッチ16,17ではT1の値を用いて
2つの出力ポートO1、O2のうちどちらに出力するか
を決める。2段目のスイッチ18,19は、T2の値を
用いてどちらの出力ポートに出力するかを決める。同様
に、多段網内のk段目のスイッチは、Tkの値を用いて
どの出力ポートに出力するかを決定する。また、各段で
は、複数の出力ポートに同時に出力することが可能であ
り、この指定もT1,T2,...,Tnによって行わ
れる。
The values T1, T2 ,. . . ,
Tn is used for routing at each stage of each crossbar switch that constitutes the multistage network 15. For example, in the switches 16 and 17 of the first stage in FIG. 1, the value of T1 is used to determine which of the two output ports O1 and O2 is to be output. The switches 18 and 19 in the second stage use the value of T2 to determine which output port to output to. Similarly, the k-th switch in the multi-stage network uses the value of Tk to determine which output port to output to. Further, in each stage, it is possible to output to a plurality of output ports simultaneously, and this designation is also made for T1, T2 ,. . . , Tn.

【0021】図2に示すヘッダー21中の「SID」は
同期処理を行う場合の同期番号を指定するフィールドで
ある。同じ同期番号をもつパケット間で同期処理が行わ
れる。ヘッダー21中の値F1,F2,...,Fn
は、各段のスイッチで同期処理を行う場合に、どの入力
ポートから来たパケット間で同期をとるかを指定するの
に用いる。例えば、図1における1段目のスイッチ1
6,17はF1の値を用いて2つの入力ポートIl,I
2から到着するパケット間での同期処理を行うか、行わ
ないかを指定する。
"SID" in the header 21 shown in FIG. 2 is a field for designating a synchronization number when performing a synchronization process. A synchronization process is performed between packets having the same synchronization number. The values F1, F2 ,. . . , Fn
Is used to specify which input port is to be used for synchronization when the synchronization process is performed by the switches in each stage. For example, the first-stage switch 1 in FIG.
6 and 17 use the value of F1 to generate two input ports Il and I
Specifies whether or not to perform synchronization processing between packets arriving from 2.

【0022】図3は図1の演算装置11の一例の構成図
を示す。同図において、演算装置11は、FIFO3
0、31、演算部32、制御装置33及びテーブル34
から構成されている。演算部32は演算を行う部分であ
り、ここからFIFO31に対してパケットの送信が行
われる。パケットは一度FIFO31に入力された後、
ネットワークに出力される。ネットワークから送られて
きたパケットは、FIFO30に受信され、演算部32
に渡される。制御装置33は演算部32と情報を交換し
ながら、送信/受信の制御を行う。テーブル34は、同
期を行う場合に用いる。図1の他の演算装置12〜14
も図3と同様の構成とされている。
FIG. 3 is a block diagram showing an example of the arithmetic unit 11 shown in FIG. In the figure, the arithmetic unit 11 is a FIFO 3
0, 31, arithmetic unit 32, control device 33, and table 34
It is composed of The arithmetic unit 32 is a unit that performs arithmetic operations, and packets are transmitted to the FIFO 31 from here. After the packet is input to FIFO31 once,
Output to network. The packet sent from the network is received by the FIFO 30, and the arithmetic unit 32
Passed to. The controller 33 controls transmission / reception while exchanging information with the arithmetic unit 32. The table 34 is used when performing synchronization. Other arithmetic devices 12 to 14 of FIG.
Also has the same configuration as in FIG.

【0023】図4は図1中のクロスバースイッチ16の
一例の構成図を示す。クロスバースイッチ16は、FI
FO41、42、バッファ43〜46、制御装置47及
びテーブル48から構成されている。クロスバースイッ
チ16に送られてきたパケットは、まず、FIFO41
もしくはFIFO42に入力される。制御装置47は、
FIFO41又は42中のパケットのヘッダーの値T
1,T2,...,Tnを参照して、どの出力ポートO
1,O2にパケットを送出するかを決める。どの出力ポ
ートに送り出すかは制御装置47の出力によりバッファ
43〜46を選択的にオン/オフすることによって行
う。
FIG. 4 is a block diagram showing an example of the crossbar switch 16 shown in FIG. The crossbar switch 16 is FI
The FO 41 and 42, the buffers 43 to 46, the control device 47, and the table 48 are included. The packet sent to the crossbar switch 16 is first sent to the FIFO 41.
Alternatively, it is input to the FIFO 42. The control device 47 is
The value T of the header of the packet in the FIFO 41 or 42
1, T2 ,. . . , Tn, which output port O
1, decides whether to send a packet to O2. The output port to which the data is sent is controlled by selectively turning on / off the buffers 43 to 46 by the output of the control device 47.

【0024】例えば、データ線104からFIFO41
に送られてきたパケットを、出力ポートO2(データ線
107)に出力する場合には、バッファ45をオンし、
かつ、バッファ46をオフとする。また、FIFO41
に送られてきたパケットを両方の出力ポートO1,O2
(データ線106,107)に送り出す場合には、バッ
ファ43及び45の両方をオンにし、バッファ44及び
46をオフにする。テーブル48は、同期処理を行うた
めに用いる。図1の他のクロスバースイッチ17〜19
も図4と全く同じ構成とされている。
For example, from the data line 104 to the FIFO 41
When outputting the packet sent to the output port O2 (data line 107), the buffer 45 is turned on,
At the same time, the buffer 46 is turned off. In addition, the FIFO41
Packets sent to both output ports O1, O2
When sending to (data lines 106 and 107), both buffers 43 and 45 are turned on and buffers 44 and 46 are turned off. The table 48 is used to perform the synchronization processing. Other crossbar switches 17 to 19 in FIG.
Also has exactly the same configuration as in FIG.

【0025】図5は図1中のクロスバースイッチ16の
他の例の構成図を示す。図5において、クロスバースイ
ッチ16はFIFO121〜124と、セレクタ125
及び126と、制御装置127及び128と、テーブル
129及び130とから構成されている。図5におい
て、入力ポートI1から到着したパケットは、まず、F
IFO121,123の両方に入力される。制御装置1
27,128は、パケットのヘッダー中の値(k段目の
スイッチはTkの値)を参照して、パケットの出力先が
出力ポートO1である場合には、FIFO121に到着
したパケットが有効となり、セレタク125によりFI
FO121が選択され出力ポートO1に出力される。F
IFO123に到着したパケットは廃棄される。パケッ
トの出力先が出力ポートO2である場合には、FIFO
121に到着したパケットは廃棄され、FIFO123
に到着したパケットのみが有効となり、セレクタ126
によってFIFO123が選択され出力ポートO2に出
力される。
FIG. 5 is a block diagram of another example of the crossbar switch 16 in FIG. In FIG. 5, the crossbar switch 16 includes FIFOs 121 to 124 and a selector 125.
And 126, control devices 127 and 128, and tables 129 and 130. In FIG. 5, the packet arriving from the input port I1 is first F
It is input to both the IFOs 121 and 123. Control device 1
27 and 128 refer to the value in the header of the packet (the value of Tk for the switch at the kth stage), and when the output destination of the packet is the output port O1, the packet that has arrived at the FIFO 121 becomes valid, FI by Seretaku 125
The FO 121 is selected and output to the output port O1. F
The packet arriving at the IFO 123 is discarded. If the output destination of the packet is the output port O2, the FIFO
The packet arriving at 121 is discarded and the FIFO 123 is
Only the packet that arrives at
The FIFO 123 is selected by and output to the output port O2.

【0026】同様に、入力ポートI2から到着したパケ
ットは、まず、FIFO122,124の両方に入力さ
れる。ついで制御装置127,128は、パケットのヘ
ッダー中の値(k段目のスイッチはTkの値)を参照し
て、パケットの出力先が出力ポートO1である場合に
は、FIFO122に到着したパケットが有効となり、
セレクタ125によって選択され、出力ポートO2に出
力される。FIFO124に到着したパケットは廃棄さ
れる。出力先が出力ポートO2である場合には、FIF
O122に到着したデータは廃棄され、FIFO124
に到着したデータが、セレクタ126で選択され、出力
ポー卜O2に送り出される。テーブル127,128は
同期処理に用いられる。
Similarly, the packet arriving from the input port I2 is first input to both the FIFOs 122 and 124. Then, the control devices 127 and 128 refer to the value in the header of the packet (the value of Tk for the switch at the kth stage), and when the output destination of the packet is the output port O1, the packet that has arrived at the FIFO 122 is It becomes effective,
It is selected by the selector 125 and output to the output port O2. The packet arriving at the FIFO 124 is discarded. If the output destination is the output port O2, the FIF
The data arriving at O122 is discarded, and the FIFO124
The data arriving at is selected by the selector 126 and sent to the output port O2. The tables 127 and 128 are used for synchronization processing.

【0027】次に、データ転送用のパケットがどのよう
に送信されるかについて説明する。図1において、演算
装置11から演算装置13にデータを送信するものとす
る。
Next, how a packet for data transfer is transmitted will be described. In FIG. 1, it is assumed that data is transmitted from the arithmetic unit 11 to the arithmetic unit 13.

【0028】演算装置11から送信されたパケットは、
データ線104によって、クロスバースイッチ16に送
られる。図4に示した例では、パケットは、まずFIF
O41に入力される。制御装置47は、FIFO41中
のパケットのヘッダー中の値T1を参照して、この値に
よって、どの出力ポートO1,O2(データ線106,
107)にパケットを送り出すかを決める。この場合
は、出力ポートO2(データ線107)にパケットを送
り出す。このために制御装置47は、バッファ45をオ
ン状態にし、バッファ43及び46をオフ状態にする。
The packet transmitted from the arithmetic unit 11 is
It is sent to the crossbar switch 16 by the data line 104. In the example shown in FIG. 4, the packet is first sent to the FIF.
Input to O41. The control device 47 refers to the value T1 in the header of the packet in the FIFO 41, and determines which output port O1, O2 (data line 106,
107) decide whether to send the packet. In this case, the packet is sent to the output port O2 (data line 107). For this purpose, the control device 47 turns on the buffer 45 and turns off the buffers 43 and 46.

【0029】一方、クロスバースイッチ16が図5に示
した構成の場合は、まず、パケットは、クロスバースイ
ッチ16中のFIFO121,123に入力される。制
御装置127、128は、ヘッダー中の値T1を参照
し、出力先が出力ポートO2(データ線107)である
ことを知る。制御装置128は、FIFO123に到着
したパケットを、セレクタ126で選択し、出力ポート
O2(データ線107)に送り出す。これに対し、制御
装置127は、FIFO121に到着したパケットを廃
棄する。
On the other hand, when the crossbar switch 16 has the configuration shown in FIG. 5, the packet is first input to the FIFOs 121 and 123 in the crossbar switch 16. The control devices 127 and 128 refer to the value T1 in the header to know that the output destination is the output port O2 (data line 107). The control device 128 selects the packet arriving at the FIFO 123 with the selector 126 and sends it to the output port O2 (data line 107). On the other hand, the control device 127 discards the packet arriving at the FIFO 121.

【0030】クロスバースイッチ19は、クロスバース
イッチ16と同様にしてパケットをデータ線102経由
で、演算装置13に送り届ける。但し、クロスバースイ
ッチ19中の制御装置は、パケットヘッダー中の値T2
を参照して、出力先ポートを決定する。図1の演算装置
13は、パケットを受信すると図3の演算部32に相当
する演算部にパケット中のデータを渡す。
The crossbar switch 19 sends the packet to the arithmetic unit 13 via the data line 102 in the same manner as the crossbar switch 16. However, the control device in the crossbar switch 19 uses the value T2 in the packet header.
To determine the output destination port. When receiving the packet, the arithmetic unit 13 of FIG. 1 transfers the data in the packet to the arithmetic unit corresponding to the arithmetic unit 32 of FIG.

【0031】このようにネットワーク中の初段スイッチ
(図1では、クロスバースイッチ16,17)は、パケ
ットヘッダー中の値T1を参照して、どの出力ポートに
パケットを送り出すかを決定し、2段目(図1では、ク
ロスバースイッチ18,10)は、T2の値を参照し
て、どの出力ポートにパケットを送出するかを決定す
る。ネットワークの段数がより多い場合には、k段目の
スイッチは、パケットヘッダー中の値Tkの値によって
どの出力ポートにパケットを送り出すかを決定する。
As described above, the first-stage switches (crossbar switches 16 and 17 in FIG. 1) in the network refer to the value T1 in the packet header to determine which output port the packet should be sent to, and the second stage switch. The eye (in FIG. 1, the crossbar switches 18 and 10) refers to the value of T2 to determine which output port the packet is to be sent to. When the number of stages of the network is larger, the k-th stage switch determines to which output port the packet is to be sent out by the value of the value Tk in the packet header.

【0032】次に、あるプロセッサから複数のプロセッ
サにデータ転送を行う手順について説明する。図1の演
算装置11から演算装置11,12,13,14に同じ
内容のパケットを送るとする。
Next, a procedure for transferring data from a certain processor to a plurality of processors will be described. It is assumed that the arithmetic unit 11 of FIG. 1 sends packets of the same content to the arithmetic units 11, 12, 13, and 14.

【0033】演算装置11から送り出されたパケット
は、まずクロスバースイッチ16に送られる。図4に示
した例では、このパケットは、まずクロスバースイッチ
16中のFIFO41に入力される。次いで、制御装置
47がFIFO41中のパケットヘッダーの値T1を参
照する。この値から両方の出力ポートに出力しなければ
ならないことが分かるので、ドライバー43,45をオ
ン状態とし、ドライバー44,46をオフ状態とする。
こうして、FIFO41に入力されたデータが出力ポー
トO1(データ線106),出力ポートO2(データ線
107)の両方に出力される。
The packet sent from the arithmetic unit 11 is first sent to the crossbar switch 16. In the example shown in FIG. 4, this packet is first input to the FIFO 41 in the crossbar switch 16. Next, the control device 47 refers to the value T1 of the packet header in the FIFO 41. Since it is understood from this value that the output should be output to both output ports, the drivers 43 and 45 are turned on and the drivers 44 and 46 are turned off.
Thus, the data input to the FIFO 41 is output to both the output port O1 (data line 106) and the output port O2 (data line 107).

【0034】一方、クロスバースイッチ16が図5に示
した例の場合は、演算装置11から送られてきたパケッ
トは、FIFO121と123にそれぞれ入力される。
制御装置127,128はFIFO121と123から
のパケットヘッダー中の値T1を参照する。この値から
両方の出力ポートに出力しなければならないことが分か
るので、制御装置127,128ともパケットを廃棄し
ない。このため、FIFO121に到着したパケット
は、セレクタ125を経由して、出力ポートO1(デー
タ線106)に、FIFO123に到着したパケット
は、セレクタ126を経由して、出力ポートO2(デー
タ線107)に送り出される。
On the other hand, in the case where the crossbar switch 16 is the example shown in FIG. 5, the packets sent from the arithmetic unit 11 are input to the FIFOs 121 and 123, respectively.
The controllers 127 and 128 refer to the value T1 in the packet header from the FIFO 121 and 123. From this value, it can be seen that the packets must be output to both output ports, so neither controller 127, 128 discards the packet. Therefore, the packet arriving at the FIFO 121 goes to the output port O1 (data line 106) via the selector 125, and the packet arriving at the FIFO 123 goes to the output port O2 (data line 107) via the selector 126. Sent out.

【0035】この結果、パケットは、データ線106を
介して図1のクロスバースイッチ18に、データ線10
7を介して図1のクロスバースイッチ19に送られる。
クロスバースイッチ18,19ではクロスバースイッチ
16と同様の処理を行うことにより、パケットは、デー
タ線100,101,102,103を介して演算装置
11,12,13,14に送られる。
As a result, the packet is transmitted to the crossbar switch 18 of FIG.
1 to the crossbar switch 19 of FIG.
The crossbar switches 18 and 19 perform the same processing as that of the crossbar switch 16, so that the packets are sent to the arithmetic units 11, 12, 13, and 14 via the data lines 100, 101, 102, and 103.

【0036】次に、演算装置11,12,13,14間
で同期処理を行う場合について説明する。演算装置1
1,12,13,14は、それぞれ同期パケットを送出
する。パケットが同期パケットであることはパケットヘ
ッダー中のTYPEの値によって示される。各同期パケ
ットには、同期番号として、同一の同期番号SがSID
として、各演算装置11,12,13,14の演算部に
よって割り振られる。
Next, the case where the synchronization processing is performed among the arithmetic units 11, 12, 13, and 14 will be described. Arithmetic unit 1
1, 12, 13, and 14 respectively send a synchronization packet. The fact that the packet is a synchronization packet is indicated by the value of TYPE in the packet header. The same synchronization number S is used as the synchronization number for each synchronization packet.
Are assigned by the arithmetic units of the arithmetic units 11, 12, 13, and 14.

【0037】まず、演算装置11では、この同期パケッ
トを送る際に、制御装置33によって、テーブル34中
の同期番号Sに対応する位置の値がセットされる。テー
ブル34の値は予めリセットされているものとする。同
期パケットを送信しようとした場合に、既にテーブル3
4中の同期番号Sに対応する位置の値がセットされてい
た場合には、制御装置33によって例外処理等の何らか
の処置が行われる。
First, in the arithmetic unit 11, when transmitting this synchronization packet, the control unit 33 sets the value of the position corresponding to the synchronization number S in the table 34. It is assumed that the values in the table 34 have been reset in advance. If you try to send a sync packet,
When the value of the position corresponding to the synchronization number S in 4 is set, the control device 33 takes some action such as exception processing.

【0038】演算装置11が同期パケットを受信する
と、制御装置33はパケットヘッダー中の同期番号Sを
参照し、同期番号Sに対応するテーブル34中の値を参
照する。この値がセットされていた場合には、パケット
受信の処理を行う。テーブル34中の値がセットされて
いなかった場合には、その演算装置は同期パケットを発
行していない(同期処理に参加していない)から制御装
置33は到着した同期パケットを廃棄する。
When the arithmetic unit 11 receives the synchronization packet, the control unit 33 refers to the synchronization number S in the packet header and the value in the table 34 corresponding to the synchronization number S. If this value is set, packet reception processing is performed. When the value in the table 34 is not set, the control device 33 discards the arrived synchronization packet because the arithmetic device has not issued the synchronization packet (not participating in the synchronization processing).

【0039】次に、クロスバースイッチ16で行われる
処理を図4に示した例について説明する。まず、演算装
置11からFIFO41に到着したパケットが制御装置
47によって処理されるものとする。同期パケットがF
IFO41に到着すると、制御装置47はパケットヘッ
ダー中の値F1を参照する。F1にはどの入力ポートか
ら到着する同期パケットと同期処理を行うかが指定され
ている。
Next, the processing performed by the crossbar switch 16 will be described with reference to the example shown in FIG. First, it is assumed that the packet arriving from the arithmetic unit 11 to the FIFO 41 is processed by the control unit 47. Sync packet is F
When arriving at the IFO 41, the controller 47 refers to the value F1 in the packet header. F1 designates from which input port the synchronization packet to arrive and the synchronization process are to be performed.

【0040】どのポートからの同期パケットとも同期処
理を行うよう指定されていない場合には、通常のパケッ
トと同様にパケットヘッダー中の値T1によって指定さ
れた出力ポートに対して出力を行う。同期処理を行うよ
う指定されていた場合には、パケットヘッダー中の同期
番号Sを参照し、テーブル48中の同期番号Sに対応す
る値を参照する。
When it is not designated to perform the synchronization process with the synchronization packet from any port, the output is performed to the output port designated by the value T1 in the packet header, like a normal packet. When it is designated to perform the synchronization process, the synchronization number S in the packet header is referred to, and the value corresponding to the synchronization number S in the table 48 is referred to.

【0041】テーブル48は、入力ポートの数と同じ2
ビット幅であるものとする。この値が”00”ならば制
御装置47は、パケットヘッダー中の値F1によって指
定された入力ポートに対応する位置のビットをセットす
る。但し、自分自身の到着したポート番号に対応するビ
ットはリセットする。この場合には、F1として”1
1”が指定されており、入力ポートI1に到着した同期
パケットの処理なので、テーブル48中の同期番号Sに
対応する2ビットの値の1ビット目をリセットし、値”
01”をテーブル48に書き込む(更新する)。また、
FIFO41に到着したこの同期パケットは、テーブル
48中の同期番号Sに対応する更新前の値が”00”で
あるので廃棄される。
The table 48 has the same number of input ports as 2
It is assumed to be a bit width. If the value is "00", the controller 47 sets the bit at the position corresponding to the input port designated by the value F1 in the packet header. However, the bit corresponding to the port number that arrived by itself is reset. In this case, F1 is "1"
1 "is designated and the process is for a synchronization packet that has arrived at the input port I1, so the first bit of the 2-bit value corresponding to the synchronization number S in the table 48 is reset and the value"
01 ”is written (updated) in the table 48.
This synchronization packet that has arrived at the FIFO 41 is discarded because the value before update corresponding to the synchronization number S in the table 48 is "00".

【0042】一般に入力ポートがL個ある場合には、同
期パケットの到着が待たれる入力ポートに対応する位置
のビットを”1”にセットし、同期処理とは関係のない
ポートに対応する位置のビットを”0”にする。このビ
ットをどうセットするかはパケットヘッダー中のF1の
値によって指定される。
In general, when there are L input ports, the bit at the position corresponding to the input port for which the arrival of the synchronization packet is waited is set to "1", and the position of the port corresponding to the port not related to the synchronization processing is set. Set the bit to "0". How to set this bit is specified by the value of F1 in the packet header.

【0043】また、テーブル48の幅をlogLビット
にすることもできる。この場合には、どの入力ポートか
らの同期パケットの到着が待たれるのかを指定するので
はなく、同期成立に必要なパケットの個数−1をセット
する。この値もパケットヘッダー中の値F1によって指
定される。この場合には、2入力であり、あと1個の同
期パケットの到着が必要であるため、テーブル48のビ
ット幅は1であり、値は”1”がセットされる。
Further, the width of the table 48 can be set to logL bits. In this case, rather than designating from which input port the arrival of the synchronization packet is to be waited for, the number of packets required to establish the synchronization-1 is set. This value is also specified by the value F1 in the packet header. In this case, since the number of inputs is 2, and the arrival of one more synchronization packet is required, the bit width of the table 48 is 1, and the value is set to "1".

【0044】次に、FIFO42に演算装置12からの
同期パケットが到着したとする。制御装置47は、同期
パケットが到着すると、パケットヘッダー中の同期番号
Sを参照し、テーブル48中の同期番号Sに対応する値
を参照する。この値が”00”でない場合には、入力位
置に応じたビットを”0”にリセットする。この場合に
は入力ポートI2からFIFO42に到着した同期パケ
ットの処理であるので、テーブル48中の同期番号Sに
対応する位置の値の、入力位置に応じた2ビット目を”
0”に更新する。
Next, it is assumed that the synchronization packet from the arithmetic unit 12 arrives at the FIFO 42. When the synchronization packet arrives, the control device 47 refers to the synchronization number S in the packet header and the value corresponding to the synchronization number S in the table 48. If this value is not "00", the bit corresponding to the input position is reset to "0". In this case, since it is the processing of the synchronization packet that has arrived at the FIFO 42 from the input port I2, the second bit of the value of the position corresponding to the synchronization number S in the table 48 corresponding to the input position is set to "
Update to 0 ".

【0045】制御装置47はこのテーブル48の更新後
の結果が”00”でなければ、FIFO42に到着した
同期パケットが同期処理する最後の同期パケットでない
ので、その到着同期パケットを廃棄する。テーブル更新
後の結果が”00”となった場合には、FIFO42に
到着したパケットが2個の入力ポートのすべてから同期
パケットが到着したことを示しているので、その同期パ
ケットのパケットヘッダー中の送信先の値T1を参照
し、パケットの出力を行う。
If the updated result of the table 48 is not "00", the control unit 47 discards the arrival synchronization packet because the synchronization packet arriving at the FIFO 42 is not the last synchronization packet to be synchronously processed. If the result after updating the table is "00", it indicates that the packet arriving at the FIFO 42 has arrived from all of the two input ports. A packet is output with reference to the value T1 of the transmission destination.

【0046】この場合には、パケットヘッダー中の値T
1によって出力ポートO1,O2の両方に出力するよう
に指定されているため、バッファ44,46がそれぞれ
オン状態、ドライバー43,245がそれぞれオフ状態
に制御され、出力ポートO1,O2に同期パケットが出
力され、クロスバースイッチ18,19に送られる。
In this case, the value T in the packet header
Since it is designated to output to both the output ports O1 and O2 by 1, the buffers 44 and 46 are controlled to the on state and the drivers 43 and 245 are controlled to the off state, respectively, and the synchronization packet is output to the output ports O1 and O2. It is output and sent to the crossbar switches 18 and 19.

【0047】テーブル48がlogLビット幅の場合
(この場合には1ビット)には、FIFO42に同期パ
ケットが到着すると、制御装置47は、パケットヘッダ
ー中の同期番号Sを参照し、テーブル48中の同期番号
Sに対応する値を”1”減らす。この値が”0”でなけ
ればパケットを廃棄する。この値が”0”となった場合
には、パケットヘッダー中の送信先の値T1を参照し、
上記と同様にパケットヘッダーによって指定された出力
ポートに出力を行う。
When the table 48 has a log L bit width (1 bit in this case), when the synchronization packet arrives at the FIFO 42, the control device 47 refers to the synchronization number S in the packet header and refers to the table 48 in the table 48. The value corresponding to the synchronization number S is reduced by "1". If this value is not "0", the packet is discarded. If this value becomes "0", refer to the value T1 of the destination in the packet header,
Output to the output port specified by the packet header in the same manner as above.

【0048】クロスバースイッチ17においても同じ処
理が行われ、同期パケットがクロスバースイッチ18,
19に送られる。クロスバースイッチ18,19におい
てもクロスバースイッチ16と同じ処理が行われ、デー
タ線100,101,102,103を介して演算装置
11,12,13,14に同期パケットが送られる。
The same processing is performed in the crossbar switch 17, and the synchronization packet is transmitted to the crossbar switch 18,
Sent to 19. The crossbar switches 18 and 19 also perform the same processing as the crossbar switch 16, and the synchronization packet is sent to the arithmetic units 11, 12, 13, and 14 via the data lines 100, 101, 102, and 103.

【0049】次に、図5に示した構成例におけるクロス
バースイッチ16の動作について説明する。まず、演算
装置11からの同期パケットがFIFO121,123
に到着したとする。制御装置127,128は同期パケ
ットが到着したことを知ると、パケットヘッダー中の送
信先T1の値を参照する。この場合には、出力ポートO
1、O2の両方に出力するように指定されているため、
FIFO121,123の両方のデータが制御装置12
7,128によって処理される。各制御装置127,1
28はパケットヘッダー中の同期番号Sを参照し、テー
ブル129,130中の同期番号Sに対応する位置の値
を参照し、図4に示した例と同じ処理をテーブル12
9,130に対して行う。この後、FIFO121,1
23中の同期パケットを廃棄する。
Next, the operation of the crossbar switch 16 in the configuration example shown in FIG. 5 will be described. First, the synchronization packets from the arithmetic unit 11 are transferred to the FIFOs 121 and 123.
Suppose you have arrived at. When the control devices 127 and 128 know that the synchronization packet has arrived, they refer to the value of the transmission destination T1 in the packet header. In this case, output port O
Since it is specified to output to both 1 and O2,
Both data of the FIFOs 121 and 123 are stored in the control device 12.
7,128. Each control device 127, 1
28 refers to the synchronization number S in the packet header, refers to the value of the position corresponding to the synchronization number S in the tables 129 and 130, and performs the same processing as the example shown in FIG.
Perform on 9,130. After this, the FIFO 121,1
The sync packet in 23 is discarded.

【0050】次いで、演算装置12からの同期パケット
がFIFO122,124に到着する。到着した同期パ
ケットのヘッダーの送信先T1が、両方の出力ポートO
1,O2に出力するように指定されているため、演算装
置127,128は、これらのパケットを廃棄せずに、
図4の例で述べたものと同じ処理をテーブルに対して行
う。この結果、制御装置127は、FIFO122に到
着した同期パケットをセレクタ125で選択し、出力ポ
ートO1へ出力する。また、制御装置128は、FIF
O124に到着した同期パケットをセレクタ126で選
択し、出力ポートO2へ出力する。この結果、同期パケ
ットが出力ポートO1,O2両方に対して出力される。
他のクロスバースイッチ17,18,19でも同様の処
理が行われ、演算装置11,12,13,14に同期パ
ケットが送られる。
Then, the synchronization packet from the arithmetic unit 12 arrives at the FIFO 122, 124. The destination T1 of the header of the synchronization packet that arrived is both output ports O
1 and O2 are specified, the arithmetic units 127 and 128 do not discard these packets,
The same processing as that described in the example of FIG. 4 is performed on the table. As a result, the control device 127 selects the synchronization packet arriving at the FIFO 122 with the selector 125 and outputs it to the output port O1. Further, the control device 128 uses the FIF
The selector 126 selects the synchronization packet arriving at O124 and outputs it to the output port O2. As a result, the synchronization packet is output to both output ports O1 and O2.
Similar processing is performed in the other crossbar switches 17, 18, and 19, and the synchronization packet is sent to the arithmetic units 11, 12, 13, and 14.

【0051】演算装置11に到着した同期パケットは、
まず、図3のFIFO30に入力される。制御装置33
は、到着したパケットが同期パケットであると、パケッ
トヘッダー中の同期番号Sを参照し、テーブル34中の
同期番号Sに対応する位置の値を参照する。この値が既
にセットされていた場合には、制御装置33は、同期パ
ケットの到着を演算部32に知らせる。テーブル34中
の値がセットされていなかった場合には、制御装置33
は到着した同期パケットを廃棄する。この場合には、テ
ーブル34中の同期番号Sに対応する位置の値はセット
されているため同期パケットが演算部32に渡される。
これにより演算部32は、同期が成立したことを知る。
The synchronization packet arriving at the arithmetic unit 11 is
First, it is input to the FIFO 30 of FIG. Control device 33
If the arriving packet is a synchronization packet, refers to the synchronization number S in the packet header, and refers to the value of the position corresponding to the synchronization number S in the table 34. If this value has already been set, the control device 33 notifies the arithmetic unit 32 of the arrival of the synchronization packet. If the value in the table 34 is not set, the control device 33
Discards the arrived synchronization packet. In this case, since the value of the position corresponding to the synchronization number S in the table 34 is set, the synchronization packet is passed to the arithmetic unit 32.
Thereby, the calculation unit 32 knows that the synchronization is established.

【0052】他の演算装置12,13,14でも同じ処
理が行われる。
The same processing is performed in the other arithmetic units 12, 13, and 14.

【0053】次に、演算装置11,13,14の間で同
期処理を行う場合について述べる。
Next, the case where the synchronization processing is performed among the arithmetic units 11, 13 and 14 will be described.

【0054】演算装置11から同期番号Sを持つ同期パ
ケットがクロスバースイッチ16に対して送られる。こ
の同期パケットには、パケットヘッダー中の値T1によ
って、出力ポートO1,O2両方への出力が指定されて
いる。また、パケットヘッダー中の値F1では、待ち合
わせが指定されていない。このため、このパケットは、
直ちに複製され、クロスバースイッチ18,19へと送
られる。
The synchronization packet having the synchronization number S is sent from the arithmetic unit 11 to the crossbar switch 16. In this synchronization packet, output to both output ports O1 and O2 is designated by the value T1 in the packet header. Further, the value F1 in the packet header does not specify queuing. So this packet
Immediately copied and sent to the crossbar switches 18 and 19.

【0055】演算装置13,14からは、クロスバース
イッチ17に同期番号Sを持つ同期パケットが送られ上
記の処理が行われる。この結果、同期パケットがクロス
バースイッチ18,19に送られ、クロスバースイッチ
18,19においても上記同期処理と同様の処理が行わ
れる。その結果、演算装置11,12,13,14に対
して同期パケットが送られる。
From the arithmetic units 13 and 14, the synchronization packet having the synchronization number S is sent to the crossbar switch 17, and the above processing is performed. As a result, the synchronization packet is sent to the crossbar switches 18 and 19, and the crossbar switches 18 and 19 also perform the same processing as the above synchronization processing. As a result, the synchronization packet is sent to the arithmetic units 11, 12, 13, and 14.

【0056】演算装置12においては、同期パケットの
送信が行われていないため、テーブル中の同期番号Sに
該当する位置の値がセットされていない。このため、演
算装置12に到着した同期パケットは廃棄される。他の
演算装置11,13,14ではテーブル中の同期番号S
に該当する位置の値がセットされているため同期パケッ
トが受信される。
In the arithmetic unit 12, since the synchronization packet is not transmitted, the value at the position corresponding to the synchronization number S in the table is not set. Therefore, the synchronization packet arriving at the arithmetic unit 12 is discarded. In the other arithmetic units 11, 13, 14 the synchronization number S in the table
Since the value of the position corresponding to is set, the synchronization packet is received.

【0057】次に、演算装置11,12,14間で同期
パケットを発行し、同期が成立したことを演算装置13
に通知する場合について説明する。
Next, the synchronization packet is issued among the arithmetic units 11, 12 and 14, and the fact that the synchronization is established is confirmed by the arithmetic unit 13.
The case of notifying to will be described.

【0058】まず、演算装置11,12から送られた同
期パケットがスイッチ16に到着する。上記の同期処理
と同様にして、パケットの待ち合わせが行われる。待ち
合わせが成立すると同期パケットが出力されるが、上記
の場合は両方の出力ポートO1,O2に対して出力が行
われたのに対して、この場合には出力ポートO2にのみ
出力するようにパケットヘッダー中の値T1で指定され
ている点が異なる。この結果、パケットはクロスバース
イッチ19のみに送られる。
First, the synchronization packet sent from the arithmetic units 11 and 12 arrives at the switch 16. Packet waiting is performed in the same manner as the above-described synchronization processing. When the queuing is established, the synchronous packet is output. In the above case, the output is performed to both output ports O1 and O2. In this case, however, the packet is output only to the output port O2. The difference is that it is specified by the value T1 in the header. As a result, the packet is sent only to the crossbar switch 19.

【0059】演算装置14から同期パケットがクロスバ
ースイッチ17に対して送られる。この同期パケットに
関してはパケットヘッダー中の値T1から出力ポートが
O2であり、F1からクロスバースイッチ17では、同
期処理を行わないよう指定されているため、通常のパケ
ットのように、出力ポートO2にのみ出力され、クロス
バースイッチ19に送られる。
A synchronization packet is sent from the arithmetic unit 14 to the crossbar switch 17. Regarding this synchronous packet, the value T1 in the packet header indicates that the output port is O2, and F1 indicates that the crossbar switch 17 does not perform synchronous processing. Only output and sent to the crossbar switch 19.

【0060】上記のようにして、クロスバースイッチ1
9に同期パケットが送られる。これらの同期パケット
は、ヘッダー中の値F2によって、同期処理を行うこと
が指定されており、また、T2によって、出力先として
は出力ポートO1のみが指定されている。このため、ク
ロスバースイッチ19においてクロスバースイッチ16
と同様の同期処理が行われることにより、同期パケット
がクロスバースイッチ16の出力ポートO1にのみ送ら
れ、データ線102を介して演算装置13に同期パケッ
トが送られる。
As described above, the crossbar switch 1
9, a sync packet is sent. For these synchronization packets, the value F2 in the header specifies that synchronization processing is to be performed, and T2 specifies only the output port O1 as the output destination. Therefore, in the crossbar switch 19, the crossbar switch 16
By performing the same synchronization processing as in (1), the synchronization packet is sent only to the output port O1 of the crossbar switch 16, and the synchronization packet is sent to the arithmetic unit 13 via the data line 102.

【0061】なお、本発明は上記の実施の形態に限定さ
れるものではなく、例えば図1では、2×2のスイッチ
2段(クロスバースイッチ16,17が1段目、クロス
バースイッチ18、19が2段目)からなる多段ネット
ワークを示したが、クロスバースイッチのサイズ、多段
ネットワークの段数が違っても本発明は適用可能であ
る。
The present invention is not limited to the above-described embodiment. For example, in FIG. 1, two stages of 2 × 2 switches (the crossbar switches 16 and 17 are the first stage, the crossbar switch 18 is the 19 shows the multistage network including the second stage), but the present invention can be applied even if the size of the crossbar switch and the number of stages of the multistage network are different.

【0062】また、図2に示したパケットフォーマット
の例では、各段でルーティングに用いる情報が各段毎に
明確に分離されているものを示したが、この情報が分離
されておらず、各段のスイッチで何らかの計算を行っ
て、各段毎のルーティング情報を計算する場合も同様の
処理が可能である。
Further, in the example of the packet format shown in FIG. 2, the information used for routing at each stage is clearly separated for each stage, but this information is not separated for each stage. The same processing can be performed when the routing information for each stage is calculated by performing some calculation with the switches in each stage.

【0063】[0063]

【発明の効果】以上説明したように、本発明によれば、
多段網を構成する各クロスバースイッチにテーブルを設
け、同期番号を指定し、クロスバースイッチにおいて同
期パケットの待ち合わせ及び複製を行うため、同期処理
を高速化できる。
As described above, according to the present invention,
Since a table is provided in each crossbar switch forming the multistage network, a synchronization number is designated, and a synchronization packet is waited for and copied in the crossbar switch, the synchronization processing can be speeded up.

【0064】また、本発明によれば、各演算装置が自分
が発行した同期パケットの同期番号を記録するためのテ
ーブルを設け、自分が発行していない同期番号を持つ同
期パケットを廃棄するようにしたため、任意の演算装置
間での同期処理が実現できる。
Further, according to the present invention, each arithmetic unit is provided with a table for recording the synchronization number of the synchronization packet issued by itself, and discards the synchronization packet having the synchronization number not issued by itself. Therefore, the synchronization processing between arbitrary arithmetic devices can be realized.

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

【図1】本発明方式の一実施の形態の全体構成図であ
る。
FIG. 1 is an overall configuration diagram of an embodiment of a system of the present invention.

【図2】パケットのフォーマットの一例を示す図であ
る。
FIG. 2 is a diagram showing an example of a packet format.

【図3】図1の演算装置の一例の構成図である。FIG. 3 is a configuration diagram of an example of the arithmetic device of FIG.

【図4】図1の多段網を構成するクロスバースイッチの
一例の構成図である。
4 is a configuration diagram of an example of a crossbar switch that constitutes the multistage network of FIG.

【図5】図1の多段網を構成するクロスバースイッチの
他の例の構成図である。
5 is a configuration diagram of another example of the crossbar switch which constitutes the multistage network of FIG. 1. FIG.

【符号の説明】[Explanation of symbols]

11、12、13、14 演算装置 15 多段網 16、17、18、19 クロスバースイッチ 21 ヘッダー 22 データフィールド 30、31、41、42、121、122、123、1
24 FIFO 32 演算部 33、47、127、128 制御装置 34、48、129、130 テーブル 43、44、45、46 バッファ 100、101、102、103、104、105、1
06、107 データ線 125、126 セレクタ
11, 12, 13, 14 Arithmetic device 15 Multistage network 16, 17, 18, 19 Crossbar switch 21 Header 22 Data field 30, 31, 41, 42, 121, 122, 123, 1
24 FIFO 32 operation part 33, 47, 127, 128 control device 34, 48, 129, 130 table 43, 44, 45, 46 buffer 100, 101, 102, 103, 104, 105, 1
06,107 Data line 125,126 Selector

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 同期番号を持つ同期パケットの送受信手
段と、受信した同期パケットの取捨選択手段を少なくと
も有する複数の演算装置と、 それぞれN個の入力ポートとM個の出力ポートを有する
K段のクロスバースイッチからなり(N,M,Kは2以
上の整数)、初段のクロスバースイッチの各入力ポート
は前記複数の演算装置に接続され、最終段のクロスバー
スイッチは前記複数の演算装置のうち指示された演算装
置へパケットを出力する多段網とを備え、前記複数の演
算装置は前記K段のクロスバースイッチのどのクロスバ
ースイッチを経由して伝送するかを指定する情報を含む
同期パケットを発行すると共に、受信した同期パケット
をその値から前記取捨選択手段により取捨選択し、前記
多段網内の前記K段のクロスバースイッチは、それぞれ
テーブルを有し、入力された前記同期パケットの同期番
号の値からテーブルを参照し、その参照値から前記テー
ブルの値を更新し、更新後の値から入力された同期パケ
ットの廃棄又は次段への出力を行うことを特徴とする演
算装置間同期方式。
1. A transmission / reception unit for a synchronization packet having a synchronization number, a plurality of arithmetic units having at least a selection unit for a received synchronization packet, and K stages each having N input ports and M output ports. A crossbar switch (N, M, and K are integers of 2 or more), each input port of the first-stage crossbar switch is connected to the plurality of arithmetic units, and the last-stage crossbar switch is connected to the plurality of arithmetic units. A multi-stage network for outputting a packet to a designated arithmetic unit, the synchronization packet including information designating which crossbar switch of the K-stage crossbar switches is used for transmission. Is issued, the received synchronization packet is selected from the value by the selection means, and the K-stage crossbar switch in the multistage network is Each has a table, refers to the table from the value of the synchronization number of the input synchronization packet, updates the value of the table from the reference value, and discards the synchronization packet input from the updated value or the next stage. A synchronization method between arithmetic units characterized by outputting to
【請求項2】 前記取捨選択手段は、テーブルと、前記
同期パケットの発行に際し該テーブルをセットし、該同
期パケットの受信時は該テーブルの値に応じてその演算
装置に到着した同期パケットを廃棄するかどうかを決定
する制御装置を含むことを特徴とする請求項1記載の演
算装置間同期方式。
2. The sorting means sets a table and the table when the synchronization packet is issued, and discards the synchronization packet that has arrived at the arithmetic unit according to the value of the table when the synchronization packet is received. 2. The inter-arithmetic-device synchronization method according to claim 1, further comprising a control device that determines whether or not to execute.
【請求項3】 前記多段網を構成する前記K段のクロス
バースイッチのそれぞれは、N個の入力ポートを介して
入力されるパケットをそれぞれ記憶するN個のメモリ
と、前記入力ポートの個数に対応したサイズのテーブル
と、前記メモリに記憶されたパケットが同期パケットで
あるときは、該同期パケットの同期番号で前記テーブル
を参照し、その参照値から該テーブルの値を更新し、そ
の更新後のテーブルの値からその同期パケットを廃棄又
は複製出力する制御装置と、該同期パケットの複製出力
時に該制御装置の制御のもとで前記N個のメモリのうち
指示されたメモリから記憶同期パケットを選択出力する
選択回路とからなることを特徴とする請求項1記載の演
算装置間同期方式。
3. Each of the K-stage crossbar switches forming the multi-stage network has N memory for storing a packet input through N input ports and a number of the input ports. When the table of the corresponding size and the packet stored in the memory are synchronous packets, the table is referred to by the synchronous number of the synchronous packet, the value of the table is updated from the reference value, and after the update And a control device that discards or outputs the synchronization packet based on the values in the table, and a storage synchronization packet from the designated memory among the N memories under the control of the control device when the synchronization packet is copied and output. 2. The inter-arithmetic-device synchronization method according to claim 1, further comprising a selection circuit for selectively outputting.
【請求項4】 前記多段網を構成する前記K段のクロス
バースイッチのそれぞれは、N個の入力ポートのうち一
の入力ポートを介して入力されるパケットと他の(N−
1)個の入力ポートを介して入力されるパケットをそれ
ぞれ記憶するN個のメモリと、前記入力ポートの個数に
対応したサイズのテーブルと、前記メモリに記憶された
パケットが同期パケットであるときは、該同期パケット
の同期番号で前記テーブルを参照し、その参照値から該
テーブルの値を更新し、その更新後のテーブルの値から
その同期パケットを廃棄又は複製出力する制御装置と、
該同期パケットの複製出力時に該制御装置の制御のもと
で前記N個のメモリのうち指示されたメモリから記憶同
期パケットを選択出力する選択回路とを、M個の出力ポ
ートに対応してM組設けた構成であることを特徴とする
請求項1記載の演算装置間同期方式。
4. Each of the K-stage crossbar switches forming the multi-stage network includes a packet input via one input port of N input ports and another (N-
1) N memories for respectively storing packets input via the input ports, a table having a size corresponding to the number of the input ports, and when the packets stored in the memory are synchronous packets, A control device for referring to the table with the synchronization number of the synchronization packet, updating the value of the table from the reference value, and discarding or duplicating and outputting the synchronization packet from the updated table value;
A selection circuit for selectively outputting a storage synchronization packet from a designated memory among the N memories under the control of the control device when the synchronization packet is copied and output; 2. The inter-arithmetic-device synchronization method according to claim 1, characterized in that the arithmetic units are provided in pairs.
JP8120434A 1996-05-15 1996-05-15 Synchronization method between processing units Expired - Fee Related JP2853655B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8120434A JP2853655B2 (en) 1996-05-15 1996-05-15 Synchronization method between processing units

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8120434A JP2853655B2 (en) 1996-05-15 1996-05-15 Synchronization method between processing units

Publications (2)

Publication Number Publication Date
JPH09305564A true JPH09305564A (en) 1997-11-28
JP2853655B2 JP2853655B2 (en) 1999-02-03

Family

ID=14786124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8120434A Expired - Fee Related JP2853655B2 (en) 1996-05-15 1996-05-15 Synchronization method between processing units

Country Status (1)

Country Link
JP (1) JP2853655B2 (en)

Also Published As

Publication number Publication date
JP2853655B2 (en) 1999-02-03

Similar Documents

Publication Publication Date Title
US6907041B1 (en) Communications interconnection network with distributed resequencing
EP0698323B1 (en) Multicast virtual circuit switch using cell recycling
KR100334922B1 (en) Efficient output-request packet switch and method
JPH0828742B2 (en) Self-routing packet switching network with packet sequential distribution function
US5497369A (en) Multicast switch circuits
JPH088590B2 (en) Packet switching network with multiple packet destinations
GB2165124A (en) Multiple paths in a self-routing packet and circuit switching network
JP2000151714A (en) Switching device provided with multistage queuing system
JP2008078906A (en) Communication device and communication method
EP0683949B1 (en) A method for handling redundant switching planes in packet switches and a switch for carrying out the method
JP3427926B2 (en) Switching system and switching architecture
US7227861B2 (en) Packet switch device
JP2000503194A (en) Logical Multicast Scheme from Switches Configured for Spatial Multicast
US6337860B1 (en) Redundancy termination
JP2000295279A (en) Packet switch
US6993024B1 (en) System and method for router multicast control
JP2853655B2 (en) Synchronization method between processing units
JP2005045626A (en) Data transfer system and multicast transferring method used in the same
KR100356015B1 (en) Packet switch system structure for reducing to reduce a blocking problem of broadcast packets
JPH02195758A (en) Sequential control method for cell of self-routing switch
JPH08305649A (en) Multi cast method and exchange switch
KR20010064227A (en) Interface method of network processing module in multilayer packet switch system and multilayer packet switch system
JPH03175846A (en) Packet switching system
JP3019573B2 (en) Synchronous method
JPH03162031A (en) Self-routing network

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071120

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081120

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081120

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091120

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091120

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101120

Year of fee payment: 12

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111120

Year of fee payment: 13

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111120

Year of fee payment: 13

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121120

Year of fee payment: 14

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121120

Year of fee payment: 14

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131120

Year of fee payment: 15

LAPS Cancellation because of no payment of annual fees