JPH01267763A - System for transferring data between processors in parallel processors - Google Patents

System for transferring data between processors in parallel processors

Info

Publication number
JPH01267763A
JPH01267763A JP63095566A JP9556688A JPH01267763A JP H01267763 A JPH01267763 A JP H01267763A JP 63095566 A JP63095566 A JP 63095566A JP 9556688 A JP9556688 A JP 9556688A JP H01267763 A JPH01267763 A JP H01267763A
Authority
JP
Japan
Prior art keywords
message
processor
processors
transfer path
switch
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
JP63095566A
Other languages
Japanese (ja)
Other versions
JP2738699B2 (en
Inventor
Teruo Tanaka
輝雄 田中
Naoki Hamanaka
濱中 直樹
Koichiro Omoda
面田 耕一郎
Junji Nakakoshi
中越 順二
Shigeo Nagashima
長島 重夫
Kazuo Oshima
尾島 和郎
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63095566A priority Critical patent/JP2738699B2/en
Publication of JPH01267763A publication Critical patent/JPH01267763A/en
Application granted granted Critical
Publication of JP2738699B2 publication Critical patent/JP2738699B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To execute the efficient data transfer of one to many, namely, a broadcasting by dividing a transferring destination processor number as sending destination information in a message and adding information to indicate whether the message passes through a message transfer path corresponding to each or not. CONSTITUTION:Corresponding to respective switches to compose the transfer path, a sending destination processor address in the message is divided into a limited number of parts, and means to indicate whether the message passes through the corresponding switches or not are provided for respective divided partial processor address. Consequently, since the fact that the message passes trough a data transfer path related to the corresponding processor address can be known, the message can be sent to a sending destination processor without executing a redundant data transfer and making an error at the time of broadcasting. Thus, even in the case of the transfer path between processors in which the transfer path of the message is not uniquely specified, the data transfer between all processors, namely, the broadcasting can be executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複数のプロセッサから構成される並列プロセッ
サにおいて、特に効率のよいプロセッサ間データ転送方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a particularly efficient inter-processor data transfer system in a parallel processor composed of a plurality of processors.

〔従来の技術〕[Conventional technology]

複数のプロセッサから構成される並列プロセッサにおい
て、プロセッサ間データ転送方式として。
As an inter-processor data transfer method in parallel processors consisting of multiple processors.

送り先プロセッサ番号などの送り光情報と転送すべきデ
ータを組み合わせてメツセージを研成し、このメツセー
ジを転送するメツセージ転送方式が知られている。なお
、ここで、転送すべきデータとは、広義のデータを意味
し、メツセージ内の送り光情報以外すべてである(たと
えば、タグ情報データ識別情報などを含む)。
A message transfer method is known in which a message is prepared by combining sending optical information such as a destination processor number and data to be transferred, and the message is transferred. Note that the data to be transferred here means data in a broad sense, and is everything other than the sending light information in the message (including, for example, tag information, identification information, etc.).

メツセージ転送方式の課題として、以下の項目がある。Issues with message forwarding methods include the following.

(1)1台のプロセッサからすべてのプロセッサへ同一
のデータを送る1対複数間のデータ転送機能、いわゆる
放送機能の実現である。放送機能の実現としては、従来
、筑波大学のFAXのようにホスト計算機を介する方法
が知られている。
(1) Realization of a one-to-multiple data transfer function, a so-called broadcasting function, in which the same data is sent from one processor to all processors. Conventionally, the broadcast function has been realized by using a host computer, such as the University of Tsukuba's FAX.

しかし、経路が複数あるネットワークを介してメツセー
ジ転送方式を用いる場合は知られていない。
However, the use of a message transfer method via a network with multiple routes is unknown.

(2)メツセージを効率よく転送するために、その長さ
をできるだけ短くすることである。そのための解決案の
一つとして、メツセージ中の送り先プロセッサ番号をプ
ロセッサ間転送経路中で送り元プロセッサ番号に書きか
えることにより。
(2) In order to transfer messages efficiently, the length should be kept as short as possible. One solution to this problem is to replace the destination processor number in the message with the source processor number in the inter-processor transfer path.

メツセージ中に送り元プロセッサ番号のフィールドを専
用に持つことを不要とする方式が、特開昭58−222
641に開示されている。
A system that eliminates the need to have a dedicated source processor number field in a message was published in Japanese Patent Application Laid-Open No. 58-222.
641.

〔発明が解決しようとするa題〕[Problem a that the invention attempts to solve]

上記2つの課題は、クロスバスイッチネットワークある
いはオメガネットワークなど送り先アドレスの変更が一
意に定まる場合にしか用いることができなかった。
The above two problems could only be used in cases where the change of destination address is uniquely determined, such as in a crossbar switch network or an omega network.

たとえば、第1の課題に対して、第4図のように、4台
のプロセッサ200−1ないし20〇−4と4個のスイ
ッチ201−1ないし201−4から構成されるプロセ
ッサ間転送経路とからなる並列プロセッサを仮定する。
For example, for the first problem, as shown in FIG. Assume a parallel processor consisting of

プロセッサ番号は簡単のために2進表示しである。プロ
セッサ0O(200−1)からすべてのプロセッサにメ
ツセージを転送する。すなわち、放送の場合を考える・
この時、メツセージの構成例を第5図に示す、メッセー
ジ210中、B領域211が1であることは、このメツ
セージが放送モードであることを示している。X領域Y
領域はあわせて、通常の転送(放送モードでない)場合
の送り先プロセッサ番号を示すが、放送モードの場合は
意味を持たない(あるいは、送り元プロセッサ番号を保
持しておく)。第4図において、プロセッサ00 (2
00−1)から送り出されたメツセージはスイッチ0(
201’−1)を介して、効率のよい放送を行うために
、スイッチ1 (201−2)およびスイッチ2 (2
01−3)に送られる。それぞれのスイッチは、プロセ
ッサ01 (200−2)ないしプロセッサ10 (2
00−3)にメツセージを送り、さらに、スイッチ3に
メツセージを送る。このため、スイッチ3 (201−
4)はスイッチ1(200−1)およびスイッチ2 (
200−2)からメツセージを受け、冗長な転送が行わ
れてしまう6さらに、スイッチ3 (200−4)から
他のスイッチに転送する必要があるかどうか判断できな
い。
Processor numbers are expressed in binary for simplicity. Transfer a message from processor 0O (200-1) to all processors. In other words, consider the case of broadcasting.
At this time, an example of the structure of the message is shown in FIG. 5, and the fact that field B 211 in message 210 is 1 indicates that this message is in broadcast mode. X area Y
The area also indicates the destination processor number in the case of normal transfer (not in broadcast mode), but has no meaning in the case of broadcast mode (or the source processor number is retained). In FIG. 4, processor 00 (2
The message sent from switch 0 (00-1) is sent from switch 0 (
In order to perform efficient broadcasting via switch 1 (201'-1) and switch 2 (201'-1),
01-3). Each switch connects processor 01 (200-2) to processor 10 (2
00-3), and further sends a message to switch 3. Therefore, switch 3 (201-
4) is switch 1 (200-1) and switch 2 (
Switch 3 (200-2) receives a message, and redundant forwarding is performed.Furthermore, it cannot be determined whether it is necessary to forward the message from switch 3 (200-4) to another switch.

本発明の第1の目的は、メツセージの転送経路が一意に
定まらないようなプロセッサ間転送経路の場合にも、す
べてのプロセッサ間のデータ転送つまり放送を可能にす
ることである。
A first object of the present invention is to enable data transfer, that is, broadcasting, between all processors even in the case of an inter-processor transfer path in which a message transfer path cannot be uniquely determined.

第2の課題に対しても、たとえば、第4図のような並列
プロセッサを仮定する。プロセッサ0O(200−1)
からプロセッサ11 (200−2)にメツセージを転
送する場合を考える、メッセージはたとえば第6図のよ
うに構成させる、メッセージ中のX領域Y領域はあわせ
て送り先プロセッサ番号をあられし、それぞれ対応する
スイッチの切り換えに用いられる。しかし、このデータ
転送路はループ構造を持つ(たとえばスイッチ40(2
01−1)から他のスイッチを経由してまたスイッチ0
にもどることが可能)ので、ネツワーク上でX領域およ
びY領域を送り元プロセッサ番号に置きかえることがで
きない。
For the second problem, for example, a parallel processor as shown in FIG. 4 is assumed. Processor 0O (200-1)
Let's consider the case where a message is to be transferred from the processor 11 (200-2) to the processor 11 (200-2).The message is structured as shown in FIG. Used for switching. However, this data transfer path has a loop structure (for example, switch 40 (2
01-1) to switch 0 again via another switch.
), therefore, it is not possible to replace the X area and Y area with the source processor number on the network.

本発明の第2の目的は、メツセージ内の送り先プロセッ
サアドレスの変更順序が一意に定まらないようなプロセ
ッサ間転送経路の場合にも、送り先プロセッサアドレス
を送り元プロセッサアドレスにおきかえること、を可能
にすることである。
A second object of the present invention is to make it possible to replace the destination processor address with the source processor address even in the case of an inter-processor transfer path where the change order of destination processor addresses in a message cannot be uniquely determined. That's true.

〔課題を解決するための手段〕[Means to solve the problem]

上記2つの目的は、転送経路を構成する各スイッチに対
応して、メツセージ中の送り先プロセッサアドレスを有
限個に分割して、分割した各々の部分プロセッサアドレ
ス毎に、対応するスイッチを通過したか否かを示す手段
を設けることにより達成される。
The above two objectives are to divide the destination processor address in a message into a finite number of pieces corresponding to each switch that makes up the transfer route, and to check whether each divided partial processor address has passed through the corresponding switch. This is achieved by providing a means to indicate whether the

〔作用〕[Effect]

スイッチを通過したか否かを示す手段を設けることによ
り、第1の目的に対して、メツセージがその対応するプ
ロセッサアドレスに関するデータ転送路を通過している
ことがわかるので、放送時に冗長なデータ転送を行うこ
とがない。また、第2の目的に対して、対応するプロセ
ッサアドレスが送り先プロセッサアドレスか送り元プロ
セッサアドレスかを区別することができる。また、その
対応するプロセッサアドレスに関するデータ転送路を通
過していることがわかるので、誤まることなく、送り先
プロセッサにメツセージを送ることができる。
For the first purpose, by providing a means to indicate whether a message has passed through a switch or not, it is known that a message has passed through a data transfer path related to its corresponding processor address, thereby eliminating redundant data transfer during broadcasting. There is nothing to do. Furthermore, for the second purpose, it is possible to distinguish whether the corresponding processor address is a destination processor address or a source processor address. Furthermore, since it is known that the data transfer path related to the corresponding processor address is being passed, the message can be sent to the destination processor without making a mistake.

〔実施例〕〔Example〕

以下1本発明の1実施例を図面を用いて説明する。第1
図は本発明を用いたメツセージを介して任意のプロセッ
サ間で情報の転送ができる複数台のプロセッサからなる
並列プロセッサの一実施例である。図中、1−1ないし
1−9はそれぞれ独立に命令処理が可能なプロセッサ、
5は、プロセッサ間で転送されるメツセージ、メツセー
ジ中5−1は放送を指定するBフィールド5−2ないし
5〜3はプロセッサアドレスを示すフィールド、ただし
、プロセッサアドレスは上位をX、下位をYと2つのフ
ィールドに分けである、5−4ないし5−5はそれぞれ
プロセッサアドレスの上位(アドレス部Xとする)ない
し下位(アドレス部Yとする)に対応し、メツセージが
対応するクロスバスイッチを通過したか否かを示すビッ
ト、5−6はデータである。
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure shows an embodiment of a parallel processor consisting of a plurality of processors that can transfer information between arbitrary processors via messages using the present invention. In the figure, 1-1 to 1-9 are processors that can each independently process instructions;
5 is a message transferred between processors, and in the message, 5-1 is a B field that specifies broadcasting, and 5-2 or 5-3 are fields that indicate a processor address, where the upper part of the processor address is X and the lower part is Y. Divided into two fields, 5-4 and 5-5 respectively correspond to the upper (assumed as address part Bits 5-6 indicating whether or not are data.

2−1ないし2−9はそれぞれ対応するプロセッサに接
続し、またクロスバスイッチに接続する中継スイッチ、
4−1ないし4−3はプロセッサ部の下位(アドレス部
Y)に対応してスイッチングを行うYクロスバスイッチ
、3−1ないし3−3はプロセッサ部の上位(アドレス
部X)に対応してスイッチングを行うXクロスバスイッ
チを示す。
2-1 to 2-9 are relay switches connected to the corresponding processors and also connected to the crossbar switch;
4-1 to 4-3 are Y crossbar switches that perform switching corresponding to the lower part (address part Y) of the processor part, and 3-1 to 3-3 are switching parts corresponding to the upper part (address part X) of the processor part. This shows an X crossbar switch that performs the following.

本実施例では、まず、プロセッサX a Y hからメ
ツセージを放送する場合について示す。
In this embodiment, first, a case will be described in which a message is broadcast from processor X a Y h.

プロセッサXaYal−1から線QIOを介して、中継
スイッチ2−1に転送するメツセージの構成を第7図に
示す、メツセージ220の中で、Bフィールド221は
このメツセージ転送が放送モードであることを示す、X
およびYフィールドは、放送モードであるので転送先プ
ロセッサアドレスは必要なく、はじめから転送元プロセ
ッサアドレスX a Y aを示している。Xおよびy
フィールド224.225はそれぞれまたXクロスバス
イッチおよびYクロスバスイッチをこのメツセージが通
っていないことを示している。
The structure of a message transferred from processor XaYal-1 to relay switch 2-1 via line QIO is shown in FIG. 7. In message 220, B field 221 indicates that this message transfer is in broadcast mode. ,X
Since the mode is broadcast mode, the transfer destination processor address is not necessary, and the Y field indicates the transfer source processor address X a Y a from the beginning. x and y
Fields 224 and 225 also indicate that this message has not passed through the X and Y crossbar switches, respectively.

中継スイッチ1−1に到着したメツセージは。The message arrived at relay switch 1-1.

効率よく放送を行うために、線Q18を介してXクロス
バスイッチ3−1に、および1iAQ20を介してYク
ロスバスイッチ4−1に送られる。線018上のメツセ
ージを第8図に示す、第7図のメツセージと比べて、X
フィールド234を0から1に変える。これはXクロス
バスイッチ3−1で放送されたメツセージが、その先の
中継スイッチ2−4ないし2−7から、ふたたびXクロ
スバスイッチ1−1に誤ってメツセージを転送すること
を示すためである。一方、線1220上のメツセージを
第9図に示す、第7図のメツセージと比べて。
For efficient broadcasting, it is sent to the X crossbar switch 3-1 via line Q18 and to the Y crossbar switch 4-1 via 1iAQ20. The message on line 018 is shown in FIG. 8, compared with the message in FIG.
Change field 234 from 0 to 1. This is to indicate that the message broadcast by the X crossbar switch 3-1 is erroneously transferred again to the X crossbar switch 1-1 from the relay switches 2-4 to 2-7. On the other hand, the message on line 1220 is shown in FIG. 9, compared to the message of FIG.

Xフィールド244およびyフィールド245が0から
1に変化している。これはYクロスバスイッチ4−1で
放送されたメツセージが、その先の中継スイッチ2−2
ないし2−3から、ふたたびXクロスバスイッチあるい
はYクロスバスイッチに誤ってメツセージを転送するこ
とを示すためである。ここで、Yクロスバスイッチのみ
でなくXクロスバスイッチにもメツセージを転送する必
要がないことに注意すること。
The X field 244 and the Y field 245 change from 0 to 1. This means that the message broadcast by the Y crossbar switch 4-1 is sent to the relay switch 2-2.
This is to indicate that the message is erroneously transferred to the X crossbar switch or the Y crossbar switch again from 2-3. Note here that there is no need to forward messages to the X crossbar switch as well as the Y crossbar switch.

Yクロスバスイッチを通過したメツセージは放送され、
中継スイッチ22および中継スイッチ23に送られる。
Messages that pass through the Y crossbar switch are broadcast,
It is sent to relay switch 22 and relay switch 23.

中継スイッチ22に到着したメツセージは、第9図に示
すように−Xv”jフィールド共に1なので、Xおよび
Yクロスバスイッチどちらにも転送することなく、対応
するプロセッサ1−2にメツセージを送る。同様に、中
継スイッチ2−3も、対応するプロセッサ1−3のみに
メツセージを送る。
As shown in FIG. 9, the message that has arrived at the relay switch 22 has both -Xv''j fields set to 1, so the message is sent to the corresponding processor 1-2 without being forwarded to either the X or Y crossbar switch. Then, the relay switch 2-3 also sends a message only to the corresponding processor 1-3.

一方、Xクロスバスイッチを通過したメツセージは放送
され、中継スイッチ2−4および中継スイッチ2−7に
送られる。中継スイッチ2−4に到着したメツセージは
、第8図に示すように、Xフィールドが1なので、Xク
ロスバスイッチと。
On the other hand, the message that has passed through the X crossbar switch is broadcast and sent to relay switch 2-4 and relay switch 2-7. As shown in FIG. 8, the message arriving at relay switch 2-4 has an X field of 1, so it is called an X crossbar switch.

対応するプロセッサ1−4にメツセージを送る。Send a message to the corresponding processor 1-4.

同様に、中継スイッチ2−7も、Xクロスバスイッチ4
−3と対応するプロセッサ1−7にメツセージを送る。
Similarly, the relay switch 2-7 also has the X crossbar switch 4.
-3 and the corresponding processor 1-7.

さらに、Yクロスバスイッチ4−2.4−3はYクロス
バスイッチ4−1と同時の動作を行い、それらからメツ
セージを放送する中継スイッチ2−5.2−6.2−8
および2−9は、さきほど説明した中継スイッチ2−2
と同様の動作をそれぞれに対応するプロセッサに対して
行う。
Furthermore, Y crossbar switch 4-2.4-3 operates simultaneously with Y crossbar switch 4-1, and relay switch 2-5.2-6.2-8 broadcasts messages from them.
and 2-9 is the relay switch 2-2 explained earlier.
The same operation as above is performed for each corresponding processor.

次に、プロセッサX a Y aからプロセッサX b
 Y bにメツセージを転送する場合について示す。
Next, from processor X a Y a to processor X b
The case where a message is transferred to Yb will be explained.

プロセッサXaYal  1から線Q10を介して。From processor XaYal 1 via line Q10.

中継スイッチ2−1に転送するメツセージの構成を第1
0図に示す、メツセージ250の中で、Bフィールド2
51が0なので、このメツセージが放送でない通常転送
であることを示す、XおよびYフィールドはありせて転
送先プロセッサアドレスX b Y aを示している。
The configuration of the message to be transferred to relay switch 2-1 is
In the message 250 shown in Figure 0, B field 2
51 is 0, indicating that this message is a normal transfer, not a broadcast, and the X and Y fields actually indicate the transfer destination processor address X b Y a.

XおよびXフィールド254.255が0であることは
それぞれまだXクロスバスイッチおよびYクロスバスイ
ッチをこのメツセージが通っていないことを示している
A zero in the X and X fields 254,255 indicates that the message has not yet passed through the X and Y crossbar switches, respectively.

メツセージ5は1210を介して、中継スイッチ2−1
に送られる。
Message 5 is sent to relay switch 2-1 via 1210.
sent to.

中継スイッチ2−1では、プロセッサアドレス上位Xと
下位Yがそれぞれ送り先を示すか送り元を示すか(つま
り、すてにXクロスバスイッチあるいはYクロスバスイ
ッチを通過しているか否かを示すか)を調べ、それをも
とに、メツセージをXクロスバスイッチ、Yクロスバス
イッチあるいはプロセッサに送る。
The relay switch 2-1 determines whether the upper processor address X and lower processor address Y indicate the destination or the source (that is, whether the processor address has passed through the X crossbar switch or the Y crossbar switch). Based on the information, the message is sent to the X crossbar switch, Y crossbar switch, or processor.

第1図では、送り元プロセッサアドレスX a Y a
と送り先プロセッサアドレスX b Y aではプロセ
ッサアドレスの上位Xのみが異なるため、中継スイッチ
では、メツセージ5を線Q12を介して、Xクロスバス
イッチ4−1に転送される。このときのメツセージを第
11図に示すように、Xフィールド264が0から1に
変更される。これはメツセージ260がクロスバスイッ
チXを通過することが決まったことを示す、メツセージ
260はXクロスバスイッチ4−1に入力されるとメツ
セージ内のプロセッサアドレスの上位Xを用いてスイッ
チングされ、線Q16から出力される。このときメツセ
ージは第12図に示すように、プロセッサアドレスの上
位Xフィールド272が送り先プロセッサアドレスXb
から送り元プロセッサアドレスX&に変更される。
In Figure 1, the source processor address X a Y a
Since only the upper X of the processor address differs between the destination processor address XbYa and the destination processor address XbYa, the relay switch transfers the message 5 to the X crossbar switch 4-1 via the line Q12. The message at this time is shown in FIG. 11, where the X field 264 is changed from 0 to 1. This indicates that it has been decided that the message 260 will pass through the crossbar switch X. When the message 260 is input to the X crossbar switch 4-1, it is switched using the upper Output. At this time, the message is as shown in FIG. 12, where the upper X field 272 of the processor address is the destination processor address
to the source processor address X&.

つぎに、メツセージ270は中継スイッチ2−7に入力
される。中継スイッチ2−7では、メツセージ270中
のプロセッサアドレス上位および下位がそれぞれ送り元
プロセッサアドレス上位および送り先プロセッサアドレ
ス下位を示していることがXフィールド272およびY
フィールド273がそれぞれ1およびOであることから
れかる。したがって、メツセージは線Q17を介して送
り先プロセッサX b Y aへ送られる。
Next, message 270 is input to relay switch 2-7. In the relay switch 2-7, the X field 272 and Y field 272 indicate that the upper and lower processor addresses in the message 270 indicate the upper and lower processor addresses of the source and destination processors, respectively.
This is because the fields 273 are 1 and O, respectively. The message is therefore sent via line Q17 to the destination processor X b Y a.

データを受けとったプロセッサX b Y aは届いた
メツセージ中のプロセッサアドレスXフィールドとYフ
ィールド、メツセージの、送り元がプロセッサX a 
Y aであることを知ることができる。
Processor X b Y a that received the data checks the processor address X field and Y field in the received message, and the processor X a that sent the message.
You can know that Y a.

以下、中継スイッチとXクロスバスイッチの詳細につい
て示す。
Details of the relay switch and the X crossbar switch will be shown below.

まず、第2図に、中継スイッチの詳細構成を示す。図中
、40ないし42は入力レジスタ、46および47は第
2図の中継スイッチが接続しているプロセッサのプロセ
ッサアドレスX a Y aの上位X&を保持している
レジスタ、48および49は同じく下位Yaを保持して
いるレジスタ、50ないし53は比較回路、56ないし
59は否定回路。
First, FIG. 2 shows the detailed configuration of the relay switch. In the figure, 40 to 42 are input registers, 46 and 47 are registers that hold the upper X & of the processor address X a Y a of the processor connected to the relay switch in FIG. 2, and 48 and 49 are the registers that hold the lower Y a 50 to 53 are comparison circuits, and 56 to 59 are inverter circuits.

63はスイッチングするときの優先順序決定回路、38
ないし40はセレクタ、41ないし43は出力レジスタ
を示す。
63 is a priority order determining circuit for switching; 38
40 to 40 are selectors, and 41 to 43 are output registers.

本実施例では、中継スイッチ2−1を用いて示す、他の
中継スイッチも同様である。
In this embodiment, the relay switch 2-1 is used, and the same applies to other relay switches.

プロセッサX a Y aから線Qllを介して送られ
てきたメツセージは入力レジスタ40にセットされる、
メッセージ中、送り先プロセッサアドレスの上位Xフィ
ールド40−2はレジスタ46と比較され、一致したか
否かの結果は、線Q71を介して優先順序決定回路63
に送られる。同様に、送り元プロセッサアドレスの下位
Yフィールド40−3はレジスタ48と比較され、一致
したか否かの結果は、線1272を通して、優先順序決
定回路63に送られる。さらに、メツセージを放送する
か否かを示すBフィールド40−1をQ70を通して順
序決定回路63に送る。
Messages sent from processor X a Y a via line Qll are set in input register 40;
During the message, the upper X field 40-2 of the destination processor address is compared with register 46 and the result of a match is sent to priority ordering circuit 63 via line Q71.
sent to. Similarly, the lower Y field 40-3 of the source processor address is compared with register 48, and the result of whether or not they match is sent to priority order determining circuit 63 through line 1272. Further, a B field 40-1 indicating whether or not to broadcast the message is sent to the order determining circuit 63 through Q70.

Xクロスバスイッチからは、Mfl19を介して送られ
てきたメツセージは入力レジスタ19にセットされる、
メッセージ中、プロセッサアドレスの上位Xフィールド
41−2は、ビット41−4が1を示しているように、
送り元プロセッサアドレスの上位を示している6プロセ
ツサアドレスの下位Yフィールド41−3はレジスタ4
7の内容と比較され、さらに、ビット41−5 (すて
にYクロスバスイッチを通過しているか否か、つまり、
プロセッサアドレスの下位Yフィールド41−3が送り
先を意味するか送り元を意味するかを示す)の論理和の
否定をとり、その結果を1Q74を介して優先順序決定
回路63に送る。
The message sent from the X crossbar switch via Mfl19 is set in the input register 19.
In the message, the high-order X field 41-2 of the processor address is as follows: bit 41-4 indicates 1;
The lower Y field 41-3 of the 6 processor addresses indicating the upper order of the source processor address is in register 4.
7, and bits 41-5 (whether or not everything has passed through the Y crossbar switch, that is,
(indicating whether the lower Y field 41-3 of the processor address means the destination or the source) is negated and the result is sent to the priority order determining circuit 63 via 1Q74.

Yクロスバスイッチから線Q21を介して送られてきた
メツセージは人力レジスタ42にセットされる、メッセ
ージ中、プロセッサ番号の下位Yフィールド42−3は
、ビット42−5が1を示しているように、送り元プロ
セッサアドレスの下位を示している。プロセッサアドレ
スの上位Xフィールド42−2はレジスタ49の内容と
比較され、さらに、ビット42−4(すでにXクロスバ
スイッチを通過しているか否か、つまり、プロセッサア
ドレスの上位Xフィールド42−2が送り先を意味する
か送り元を意味するかを示す)の論理和の否定をとり、
その結果をMcQ76を介して優先順序決定回路63に
送る。
The message sent from the Y crossbar switch via line Q21 is set in the manual register 42. In the message, the lower Y field 42-3 of the processor number is as shown by bit 42-5 indicating 1. Shows the lower part of the source processor address. The upper X field 42-2 of the processor address is compared with the contents of the register 49, and the upper X field 42-2 of the processor address (indicates whether it means the source or the source),
The result is sent to the priority order determining circuit 63 via McQ76.

線Q71および線Q76上の制御信号はそれぞれ入力レ
ジスタ4o上のメツセージおよび入力レジスタ42上の
メツセージをXクロスバスイッチに送り込む必要がある
か否かを示す。
Control signals on line Q71 and line Q76 indicate whether the message on input register 4o and the message on input register 42, respectively, need to be routed to the X crossbar switch.

11172および線Q74上の制御信号はそれぞれ入力
レジスタ40上のメツセージおよび入力レジスタ41上
のメツセージをYクロスバスイッチに送り込む必要があ
るか否かを示す。
Control signals on lines 11172 and Q74 indicate whether the messages on input register 40 and input register 41, respectively, need to be routed to the Y crossbar switch.

線Q70.線Q73.線Q75はそれぞれ入力レジスタ
40ないし42の放送を示すBフィールドの内容を送り
込む。
Line Q70. Line Q73. Line Q75 feeds the contents of the B field indicating the broadcast of input registers 40-42, respectively.

Bフィールドが1の場合は、x、yフィールドの情報は
無視される。
If the B field is 1, the information in the x and y fields is ignored.

優先順序回路63は、線Q70ないし、t?、Q76の
制御信号を入力とし、線Q77を介して、セレクタ60
ないしセレクタ62°を切りかえる。
Priority order circuit 63 connects lines Q70 to t? , Q76 as input, and selector 60 through line Q77.
Or change the selector 62°.

優先順序回路63は、通常のクロスバスイッチ内の優先
順序回路と同様である。ただし、入力レジスタから出力
レジスタへの経路に制限がある。
The priority order circuit 63 is similar to the priority order circuit in a normal crossbar switch. However, there are restrictions on the path from the input register to the output register.

優先順序回路63のフローチャートを第13図に示す。A flowchart of the priority order circuit 63 is shown in FIG.

セレクタ60で選択されたメツセージは出力レジスタ4
3にセットされる。このメツセージ中。
The message selected by the selector 60 is sent to the output register 4.
Set to 3. During this message.

プロセッサ番号フィールド43−2ないし43−3は送
り元を示し、線Q11を介してプロセッサX a Y 
aへ送られる。
Processor number fields 43-2 to 43-3 indicate the source and are connected to processor X a Y via line Q11.
Sent to a.

セレクタ61で選択されたメツセージは出力レジスタ4
4にセットされる。このメツセージ中。
The message selected by the selector 61 is sent to the output register 4.
Set to 4. During this message.

ビット42−4は1を示し、メツセージがXクロスバス
イッチを介して1次の中継スイッチに入力されたときに
、プロセッサ番号Xフィールド42−2が送り元プロセ
ッサアドレスであることを示している。
Bit 42-4 indicates 1, indicating that processor number X field 42-2 is the source processor address when the message is input to the primary relay switch via the X crossbar switch.

セレクタ62で選択さ九たメツセージは出力レジスタ4
5にセットされる。このメツセージ中、ビット45−5
は1を示し、メツセージがYクロスバスイッチを介して
1次の中継スイッチに入力されたときに、プロセッサア
ドレスYフィールド45−3が送り元プロセッサアドレ
スであることを示している。
The message selected by the selector 62 is sent to the output register 4.
Set to 5. In this message, bits 45-5
indicates 1, indicating that the processor address Y field 45-3 is the source processor address when the message is input to the primary relay switch via the Y crossbar switch.

線Q10から、放送モード(Bフィールドが1)のメツ
セージを入力した時は、線Q77により、セレクタ61
と62が選択される。この時、冗長な転送を避けるため
に、線Q78.線f179の一方をOに、他の一方を1
にセットする6第3図に、Xクロスバスイッチの詳細構
成を示す6本実施例では、Xクロスバスイッチ3−1に
ついて示す、他のXクロスバスイッチも同様である6図
中、80ないし82は入力レジスタ、86ないし88は
入力レジスタ対応に入力光のプロセッサアドレスの上位
を保持しているレジスタ、92は優先順序決定回路、8
9ないし91はセレクタ、83ないし85は出力レジス
タを示す。
When a message in broadcast mode (B field is 1) is input from line Q10, selector 61 is input from line Q77.
and 62 are selected. At this time, in order to avoid redundant transfers, lines Q78. Set one side of line f179 to O and the other to 1
6 Figure 3 shows the detailed configuration of the X crossbar switch 6 In this embodiment, the X crossbar switch 3-1 is shown, but the same applies to the other X crossbar switches 6 In Figure 3, 80 to 82 are input Registers 86 to 88 hold the higher order of the processor address of the input light corresponding to the input registers; 92 is a priority order determining circuit;
9 to 91 are selectors, and 83 to 85 are output registers.

入力レジスタ80にセットされたメツセージのうち、送
り先プロセッサアドレスの上位Xフィールド80−2は
スイッチング用アドレスとして線Q101を介して優先
順序決定回路92に送られる。
Among the messages set in input register 80, the upper X field 80-2 of the destination processor address is sent to priority order determining circuit 92 via line Q101 as a switching address.

他の入力レジスタ81ないし82にセットされたメツセ
ージも同様に、送り先プロセッサアドレスの上位Xフィ
ールド81−2ないしXフィールド82−2を線Q10
3ないしmQ105を介して優先順序決定回路92に送
る。
Similarly, for messages set in other input registers 81 and 82, the upper X fields 81-2 and 82-2 of the destination processor address are connected to the line Q10.
3 to mQ105 to the priority order determining circuit 92.

さらに、入力レジスタ80ないし82の放送を示すBフ
ィールド80−1ないし82−1の内容を優先順序決定
回路に送る。Bフィールドが1の場合は、Xフィールド
の情報は無視される。
Furthermore, the contents of B fields 80-1 to 82-1 indicating broadcasts in input registers 80 to 82 are sent to the priority order determining circuit. If the B field is 1, the information in the X field is ignored.

優先順序決定回路92は1通常のクロスバスイッチ内の
優先順序決定回路と同様である。
The priority order determining circuit 92 is similar to the priority order determining circuit in a normal crossbar switch.

優先順序決定回路92の動作のフローチャートを第14
図に示す。
The flowchart of the operation of the priority order determining circuit 92 is shown in the fourteenth
As shown in the figure.

入力レジスタ上のメツセージ80ないし82はセレクタ
89ないし91に送られるが、その時、メツセージ中の
プロセッサアドレスの上位Xフィールド80−2ないし
82−2は、それぞれ入力レジスタに対応する転送元プ
ロセッサ番号の上位を保持しているレジスタ86ないし
88におきかえられる。
Messages 80 to 82 on the input registers are sent to selectors 89 to 91, but at this time, the high-order X fields 80-2 to 82-2 of the processor address in the message are the high-order processor numbers of the transfer source processor number corresponding to the input register, respectively. are replaced with registers 86 to 88 that hold .

したがって、出力レジスタ83ないし85上のメツセー
ジはそれぞれプロセッサ番号の上位Xフィールド83−
2ないし85−2が送り元プロセッサアドレスを示して
いることになる。
Therefore, the messages on output registers 83-85 are respectively
2 to 85-2 indicate the source processor address.

YクロスバスイッチもXクロスバスイッチと同様に構成
できる。
The Y crossbar switch can also be configured in the same way as the X crossbar switch.

本実施例では、XクロスバスイッチおよびYクロスバス
イッチを用いて、データ転送路が2つある場合を示した
が、本発明は2つ以上任意のデータ転送路がある場合に
も適用できる。
Although this embodiment shows a case where there are two data transfer paths using an X crossbar switch and a Y crossbar switch, the present invention can also be applied to a case where there are two or more arbitrary data transfer paths.

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

本発明によれば、複数の経路を持つデータ転送路で接続
された複数台のプロセッサで構成された並列プロセッサ
において、データ転送路を通ったか否かを示すビットを
設けであるので、効率のよい1対多数のデータ転送つま
り放送を行うことができる。さらに、メツセージ中のプ
ロセッサアドレスフィールドを複数に分割し、それぞれ
が送り先プロセッサアドレスの一部を示すのか、送り元
プロセッサアドレスの一部を示すのかを区別できるので
、メツセージ内に送り元プロセッサアドレスの情報がほ
しい場合にも、専用のフィールドを持つ必要がなくメッ
セージ長をあまりふやす必要のない。
According to the present invention, in a parallel processor composed of a plurality of processors connected by a data transfer path having a plurality of paths, a bit indicating whether or not the data transfer path has been passed is provided. One-to-many data transfer, that is, broadcasting, can be performed. Furthermore, it is possible to divide the processor address field in a message into multiple parts and distinguish whether each field indicates part of the destination processor address or part of the source processor address, so information about the source processor address can be included in the message. Even if you want a message, there is no need to have a dedicated field and there is no need to increase the message length too much.

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

第1図は本発明が適用される並列プロセッサの一実施例
を示す図、第2図は、中継スイッチの詳細を示す図、第
3図は、Xクロスバスイッチの詳細構成を示す図、第4
図は本発明が適用される並列プロセッサの例を示す図、
第5図から第12図は第1図の装置で転送されるメツセ
ージの例を力す図、第13図は優先順序回路の動作のフ
ローラヤードを示す図、第14図は優先順序決定回路C
動作のフローチャートを示す図である。
FIG. 1 is a diagram showing an embodiment of a parallel processor to which the present invention is applied, FIG. 2 is a diagram showing details of a relay switch, FIG. 3 is a diagram showing a detailed configuration of an X crossbar switch, and FIG.
The figure shows an example of a parallel processor to which the present invention is applied;
5 to 12 are diagrams showing examples of messages transferred by the device shown in FIG. 1, FIG. 13 is a diagram showing the flowchart of the operation of the priority order circuit, and FIG. 14 is a diagram showing the flowchart of the operation of the priority order circuit C.
It is a figure which shows the flowchart of operation|movement.

Claims (1)

【特許請求の範囲】 1、複数のプロセッサと、 転送先プロセッサ番号などの送り先情報と転送すべきデ
ータから構成されるメッセージと、プロセッサ間を結合
する複数の経路を持つメッセージ転送経路と、 前記メッセージを用いてプロセッサ間データ転送を行う
メッセージ転送手段 を設けた並列プロセッサにおいて、 前記メッセージ中の送り先情報としての転送先プロセッ
サ番号を有限個に分割し、その各々に対応するメッセー
ジ転送経路を通過したか否かを示す情報を付加すること
を特徴とする 並列プロセッサのプロセッサ間データ転送方式。 2、特許請求の範囲第1項において、 メッセージ内に、そのメッセージをすべてのプロセッサ
に転送する放送モードを指定する手段を設け、 その放送モードが指定されている場合は、前記メッセー
ジ転送経路を通過したか否かを示す情報を操作し、転送
先プロセッサに複数回メッセージが届かないようにする
ことを特徴とする並列プロセッサのプロセッサ間データ
転送方式。 3、特許請求の範囲第1項において、 各々のメッセージ転送経路内に、対応するメッセージ内
のメッセージ転送経路出力アドレスを、メッセージ転送
経路入力アドレスに置き換える手段を持つことを特徴と
する 並列プロセッサのプロセッサ間データ転送方式。 4、特許請求の範囲第1項において、 並列プロセッサを構成するn台の要素プロセッサをn=
n_1×n_2×・・・×n_nと因数分解し、これら
の因数の各々を一辺の格子点数とするn次元格子空間上
に要素プロセッサを並べ、その各辺をクロスバスイツチ
で結合して、メッセージ転送経路を構成し、各次元のク
ロスバスイツチに対応して、前記メッセージ転送経路を
通過したか否かを示す情報を付加することを特徴とする 並列プロセッサのプロセッサ間データ転送方式。 5、特許請求の範囲第4項において、 メッセージ内に、そのメッセージをすべてのプロセッサ
に転送する放送モードを指定する手段を設け、 その放送モードが指定されている場合は、前記メッセー
ジ転送経路を通過したか否かを示す情報をもとに、まだ
放送されていないk個の方向のクロスバスイツチを判別
し、それらのクロスバスイツチに対して、つぎに示すよ
うに、▲数式、化学式、表等があります▼ ▲数式、化学式、表等があります▼ と前記メッセージ転送路を通過したか否かを示す情報を
書き換え、メッセージを送り出すことにより、転送先プ
ロセッサに複数回メッセージが届かないようにすること
を特徴とする 並列プロセッサのプロセッサ間データ転送方式。 6、特許請求の範囲第4項において、 各々のメッセージ転送経路内に、対応するメッセージ内
のメッセージ転送経路出力アドレスを、メッセージ転送
経路入力アドレスに置き換える手段を持つことを特徴と
する 並列プロセッサのプロセッサ間データ転送方式。
[Claims] 1. A plurality of processors, a message including destination information such as a destination processor number and data to be transferred, and a message transfer path having a plurality of paths connecting the processors; and the message. In a parallel processor equipped with a message transfer means that transfers data between processors using An inter-processor data transfer method for parallel processors, characterized in that information indicating whether or not the data is transferred is added. 2. In claim 1, a message is provided with means for specifying a broadcast mode in which the message is transferred to all processors, and when the broadcast mode is specified, the message transfer path is passed through. An inter-processor data transfer method for parallel processors characterized by manipulating information indicating whether or not a message has been sent to a transfer destination processor multiple times. 3. A parallel processor according to claim 1, characterized in that each message transfer path has means for replacing a message transfer path output address in a corresponding message with a message transfer path input address. data transfer method. 4. In claim 1, n = n element processors constituting a parallel processor.
Factorize into n_1×n_2×...×n_n, arrange element processors on an n-dimensional lattice space where each of these factors is the number of lattice points on one side, connect each side with a crossbar switch, and transfer messages. An inter-processor data transfer method for parallel processors, characterized in that a route is configured and information indicating whether or not the message transfer route has been passed is added corresponding to a crossbar switch of each dimension. 5. In claim 4, a message is provided with means for specifying a broadcast mode in which the message is transferred to all processors, and when the broadcast mode is specified, the message transfer path is passed through. Based on the information indicating whether or not it has been broadcast, the crossbar switches in k directions that have not yet been broadcast are determined, and for those crossbar switches, as shown below, ▲ mathematical formulas, chemical formulas, tables, etc. ▼ ▲ There are mathematical formulas, chemical formulas, tables, etc. ▼ By rewriting the information indicating whether or not the message has passed through the message transfer path and sending the message, it is possible to prevent the message from reaching the transfer destination processor multiple times. A data transfer method between processors of parallel processors. 6. A parallel processor according to claim 4, characterized in that each message transfer path has means for replacing a message transfer path output address in a corresponding message with a message transfer path input address. data transfer method.
JP63095566A 1988-04-20 1988-04-20 Data transfer method between processors of parallel processor and parallel processor Expired - Fee Related JP2738699B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63095566A JP2738699B2 (en) 1988-04-20 1988-04-20 Data transfer method between processors of parallel processor and parallel processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63095566A JP2738699B2 (en) 1988-04-20 1988-04-20 Data transfer method between processors of parallel processor and parallel processor

Publications (2)

Publication Number Publication Date
JPH01267763A true JPH01267763A (en) 1989-10-25
JP2738699B2 JP2738699B2 (en) 1998-04-08

Family

ID=14141142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63095566A Expired - Fee Related JP2738699B2 (en) 1988-04-20 1988-04-20 Data transfer method between processors of parallel processor and parallel processor

Country Status (1)

Country Link
JP (1) JP2738699B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5758053A (en) * 1992-07-22 1998-05-26 Hitachi, Ltd. Fault handling and recovery for system having plural processors
US5826049A (en) * 1991-07-22 1998-10-20 Hitachi, Ltd. Partial broadcast method in parallel computer and a parallel computer suitable therefor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6145647A (en) * 1984-08-09 1986-03-05 Fujitsu Ltd Access system of multiprocessor system
JPS61139868A (en) * 1984-12-13 1986-06-27 Fujitsu Ltd Broadcast bus control system
JPS61264833A (en) * 1985-05-18 1986-11-22 Fujitsu Ltd Data transfer and control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6145647A (en) * 1984-08-09 1986-03-05 Fujitsu Ltd Access system of multiprocessor system
JPS61139868A (en) * 1984-12-13 1986-06-27 Fujitsu Ltd Broadcast bus control system
JPS61264833A (en) * 1985-05-18 1986-11-22 Fujitsu Ltd Data transfer and control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5826049A (en) * 1991-07-22 1998-10-20 Hitachi, Ltd. Partial broadcast method in parallel computer and a parallel computer suitable therefor
US5758053A (en) * 1992-07-22 1998-05-26 Hitachi, Ltd. Fault handling and recovery for system having plural processors

Also Published As

Publication number Publication date
JP2738699B2 (en) 1998-04-08

Similar Documents

Publication Publication Date Title
US5892923A (en) Parallel computer system using properties of messages to route them through an interconnect network and to select virtual channel circuits therewithin
US6807175B1 (en) Distributed multicast routing in packet-based communication network devices
US6334156B1 (en) Node grouping method and data transmitting method in a network
JPS62503207A (en) Packet-switched network with multiple packet destinations
US7774496B2 (en) System and program product for facilitating forwarding of data packets through a node of a data transfer network using multiple types of forwarding tables
JPH09307581A (en) Bridge
JPH08212053A (en) Shift circuit and method for execution of shift and rearrangement of plurality of data bytes
JPH0646414B2 (en) Information processing equipment
US4627048A (en) Routing address bit selection in a packet switching network
JPH01267763A (en) System for transferring data between processors in parallel processors
US5857111A (en) Return address adding mechanism for use in parallel processing system
US20220407822A1 (en) Efficient Parallelized Computation of a BENES Network Configuration
JP2976675B2 (en) Array processor routing method
JP2960454B2 (en) Data transfer device between processors of parallel processor
US20040141506A1 (en) Switching method and apparatus
JP3409862B2 (en) Parallel processor system
AU2017201002A1 (en) Multicast switching system
CN115237374A (en) Chip, method for processing data and computer equipment
JP3609908B2 (en) Computer connection device
JPH07191955A (en) Data-driven information processor
JP4805708B2 (en) Data transfer device
JPS61242436A (en) Data switching device
WO2022248348A1 (en) Communication node for data networks and busses
JPH0877127A (en) Inter-processor data transfer method and parallel computer
Chang Routing algorithm and performance analysis of faulty unique-path multistage interconnection network

Legal Events

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

Free format text: PAYMENT UNTIL: 20080116

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees