JPH06309281A - Inter-processor communication system - Google Patents

Inter-processor communication system

Info

Publication number
JPH06309281A
JPH06309281A JP5091760A JP9176093A JPH06309281A JP H06309281 A JPH06309281 A JP H06309281A JP 5091760 A JP5091760 A JP 5091760A JP 9176093 A JP9176093 A JP 9176093A JP H06309281 A JPH06309281 A JP H06309281A
Authority
JP
Japan
Prior art keywords
processor
buffer
data
processors
communication partner
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
JP5091760A
Other languages
Japanese (ja)
Other versions
JP3033646B2 (en
Inventor
Takeshi Kano
健 加納
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 JP5091760A priority Critical patent/JP3033646B2/en
Publication of JPH06309281A publication Critical patent/JPH06309281A/en
Application granted granted Critical
Publication of JP3033646B2 publication Critical patent/JP3033646B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To provide an inter-processor communication system in which the number of times of inter-processor communication can be sharply decreased, and a parallel processing effect can be improved by preparing transmitting buffers and receiving buffers corresponding to each communicating party processor at each processor, and operating block transfer. CONSTITUTION:This system is equipped with a step 11 in which plural processors prepare the transmitting buffers which temporarily store transmission information to the other processors for each other processor, and prepare the receiving buffers which temporarily store reception information for each other processor, step 14 in which data to be transmitted after a prescribed arithmetic operation is performed and a writing address are integrated as a set, and written and stored in the corresponding transmitting buffers, step 16 in which the information of the transmitting buffers is block-transferred to the corresponding processors after the arithmetic operation is ended, step 17 in which the transferred information is written in the receiving buffers, and step 19 in which the data of the receiving buffer are written in the address of a memory corresponding to the writing address transmitted as the set.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はプロセッサ間通信方式に
関し、特に複数のプロセッサから構成される並列計算機
のプロセッサ間通信方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interprocessor communication system, and more particularly to an interprocessor communication system for a parallel computer composed of a plurality of processors.

【0002】[0002]

【従来の技術】それぞれがメモリを有する複数のプロセ
ッサと、これらプロセッサ間でのデータの転送を行なっ
たり同期を取りあったりするネットワークとから構成さ
れる並列計算機システムは、機能分散、負荷分散による
処理の高速化、信頼性の向上を目的として、マイクロプ
ロセッサの高性能化、メモリの高集積化に伴ない、多用
されるようになってきている。
2. Description of the Related Art A parallel computer system consisting of a plurality of processors each having a memory and a network for transferring and synchronizing data between these processors has a function distribution and load distribution processing. With the aim of speeding up and improving the reliability of the microprocessor, it has been widely used as the performance of microprocessors and the integration of memories have increased.

【0003】このような、所謂疎結合マルチプロセッサ
システムにおけるプロセッサ間通信は、メッセージ通信
の形で行なわれパケット通信方式などが用いられてい
る。
Interprocessor communication in such a so-called loosely coupled multiprocessor system is performed in the form of message communication, and a packet communication system or the like is used.

【0004】そしてこのプロセッサ間通信方式、すなわ
ち、例えばプロセッサPi から他のプロセッサPj への
データの転送は、従来は、プロセッサPi の有するメモ
リで連続するアドレスを有する複数語をプロセッサPj
の有するメモリの連続するアドレスへ転送する場合につ
いては、1回のプロセッサ間通信の起動により、ブロッ
ク転送して行なわれていた。
In the interprocessor communication system, that is, in the transfer of data from the processor Pi to another processor Pj, for example, conventionally, a plurality of words having consecutive addresses in the memory of the processor Pi are processed by the processor Pj.
In the case of transferring to consecutive addresses of the memory of the, the block transfer is performed by starting communication between processors once.

【0005】しかしながら、それ以外の場合、例えば、
プロセッサPi の有するメモリでそれぞれ連続しないア
ドレスを有する複数語の転送、または、プロセッサPj
のメモリのそれぞれ連続しないアドレスに複数語を転送
する場合については、1語ずつ1つのプロセッサ間通信
とし、プロセッサ間通信を複数回起動することにより、
行なわれている。
However, in other cases, for example,
Transfer of a plurality of words each having a non-contiguous address in the memory of the processor Pi, or the processor Pj
In the case of transferring a plurality of words to non-consecutive addresses in the memory of, each word is treated as one inter-processor communication, and inter-processor communication is activated a plurality of times.
Has been done.

【0006】[0006]

【発明が解決しようとする課題】プロセッサ間通信が1
回生ずることにより、送信側での通信パケットの作成オ
ーバヘッドおよび受信側での割り込みによるオーバヘッ
ド等がそれに伴ない必らず発生する。
Interprocessor communication is one
As a result, the communication packet generation overhead on the transmission side and the interruption overhead on the reception side inevitably occur.

【0007】従って、上述の従来のプロセッサ間通信方
式では、それぞれ連続しないアドレスに関する複数語に
ついての転送に際しては、上記のオーバヘッドが転送語
の数に関係した回数だけ発生することとなり、オーバヘ
ッドの増大を招来し、十分な並列処理効果が得られない
という問題点がある。
Therefore, in the above-described conventional inter-processor communication system, when transferring a plurality of words relating to non-consecutive addresses, the above-mentioned overhead occurs only a number of times related to the number of transferred words, which increases the overhead. However, there is a problem that a sufficient parallel processing effect cannot be obtained.

【0008】本発明の目的は、各プロセッサに各通信相
手プロセッサに対応する送信バッフアおよび受信バッフ
アを用意してブロック転送を行なうことにより、プロセ
ッサ間通信回数を大幅に減少でき並列処理効果を向上で
きるプロセッサ間通信方式を提供することにある。
It is an object of the present invention to prepare a transmission buffer and a reception buffer corresponding to each communication partner processor for each processor and perform block transfer, so that the number of communication between processors can be greatly reduced and the parallel processing effect can be improved. It is to provide an inter-processor communication system.

【0009】[0009]

【課題を解決するための手段】第1の発明のプロセッサ
間通信方式は、各々メモリを有する複数のプロセッサか
ら構成される並列計算機のプロセッサ間通信方式におい
て、前記複数のプロセッサはそれぞれ他の通信相手プロ
セッサへ送信する情報を一時格納する送信バッフアを前
記他の通信相手プロセッサ毎に用意しまた前記他の通信
相手プロセッサから受信する情報を一時格納する受信バ
ッフアを前記他の通信相手プロセッサ毎に用意するバッ
フア準備ステップと、前記複数のプロセッサはそれぞれ
所定の演算を行なって前記他の通信相手プロセッサへ送
信するデータとこのデータの前記他の通信相手プロセッ
サにおける書き込みアドレスとを組にして対応する送信
バッフアに書き込み蓄積する送信バッフア書き込みステ
ップと、前記複数のプロセッサはそれぞれ前記所定の演
算終了後前記送信バッフアに書き込み蓄積された情報を
対応する前記他の通信相手プロセッサにブロック転送を
行なうブロック転送ステップと、前記複数のプロセッサ
はそれぞれ前記他の通信相手プロセッサから転送されて
きた情報を前記他の通信相手プロセッサに対応する前記
受信バッフアに書き込む受信バッフア書き込みステップ
と、前記複数のプロセッサは前記受信バッフアのデータ
をこれと組として送られてきた書き込みアドレスに対応
する自プロセッサの前記メモリのアドレスに書き込むメ
モリ書き込みステップとを備えて構成されている。
According to a first aspect of the present invention, there is provided an interprocessor communication system for a parallel computer, which comprises a plurality of processors each having a memory. A transmission buffer for temporarily storing information to be transmitted to the processor is prepared for each of the other communication partner processors, and a reception buffer for temporarily storing information received from the other communication partner processor is prepared for each of the other communication partner processors. The buffer preparation step and the plurality of processors perform a predetermined operation respectively and transmit the data to be transmitted to the other communication partner processor and the write address of this data in the other communication partner processor as a set to the corresponding transmission buffer. A transmission buffer writing step for writing and accumulating; A block transfer step of performing a block transfer of the information written and accumulated in the transmission buffer to the corresponding other communication partner processor after completion of the predetermined calculation; and the plurality of processors respectively from the other communication partner processor. A reception buffer writing step of writing the transferred information to the reception buffer corresponding to the other communication partner processor, and the plurality of processors corresponding to the write address sent with the data of the reception buffer as a set. A memory writing step of writing to an address of the memory of the own processor.

【0010】また、第2の発明のプロセッサ間通信方式
は、第1の発明のプロセッサ間通信方式において、バッ
フア準備ステップでは、各プロセッサ間で通信するデー
タ量が既知の場合にはこの量に対応する送信バッフアお
よび受信バッフアを用意し、既知でない場合には先ずプ
ロセッサ間の1度のブロック転送に対応するデータ量の
送信バッフアおよび受信バッフアを用意し、その後これ
らのバッフアが満杯になる毎に前記1度のブロック転送
に対応するデータ量に相当する領域を動的に確保しこれ
らをリンクで繋いでいく準備することにより構成されて
いる。
The inter-processor communication system of the second invention corresponds to the inter-processor communication system of the first invention when the amount of data communicated between the processors is known in the buffer preparation step. A transmitting buffer and a receiving buffer are prepared. If not known, first prepare a transmitting buffer and a receiving buffer having a data amount corresponding to one block transfer between processors, and thereafter, each time these buffers become full, It is configured by dynamically securing an area corresponding to the amount of data corresponding to one block transfer and preparing to connect them by a link.

【0011】[0011]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0012】図1は本発明のプロセッサ間通信方式の一
実施例を示す流れ図である。
FIG. 1 is a flow chart showing an embodiment of the interprocessor communication system of the present invention.

【0013】図2には本実施例のプロセッサ間通信方式
を行なう並列計算機システムの例が図示してある。この
並列計算機システムは、3台のプロセッサPi 、Pj お
よびPk から構成されており、これらは、ネットワーク
で結合されている。図においては、ネットワークは各プ
ロセッサを線で結ぶことにより略示されている。
FIG. 2 shows an example of a parallel computer system which performs the interprocessor communication system of this embodiment. This parallel computer system is composed of three processors Pi, Pj and Pk, which are connected by a network. In the figure, the network is shown schematically by connecting each processor with a line.

【0014】各プロセッサは同一構成で自プロセッサの
処理に必要なデータを格納するメモリと、処理の結果、
他プロセッサに送信すべきデータを送信先プロセッサ毎
に一時格納する送信バッフアと、他プロセッサでの処理
の結果、他プロセッサから受信した自己の処理に必要と
されるデータを送信元プロセッサ毎に一時格納する受信
バッフアとを備えている。
Each processor has the same structure and stores a memory for storing data necessary for its own processing, and the result of the processing,
A transmission buffer that temporarily stores the data to be transmitted to other processors for each destination processor, and the data required for its own processing that is received from the other processor as a result of the processing by the other processor is temporarily stored for each source processor. It is equipped with a reception buffer.

【0015】プロセッサPi を例にとって説明すれば、
プロセッサPi は自プロセッサの処理に必要なデータを
格納するメモリMi と、処理の結果、プロセッサPi か
らプロセッサPj に送信すべきデータを一時格納する送
信バッフアSij(サフイックスijはプロセッサPi が送
信しプロセッサPj が受信することを示す、以下同じ)
と、プロセッサPi からプロセッサPk に送信すべきデ
ータを一時格納する送信バッフアSikと、プロセッサP
j から受信した自己の処理に必要とされるデータを一時
格納する受信バッフアRjiと、プロセッサPk から受信
した自己の処理に必要とされるデータを一時格納する受
信バッフアRkiとを備えている。
Taking the processor Pi as an example,
The processor Pi stores a memory Mi for storing data necessary for the processing of its own processor, and a transmission buffer Sij for temporarily storing data to be transmitted from the processor Pi to the processor Pj as a result of the processing (suffix ij is transmitted by the processor Pi and the processor Pj Indicates that it will receive the same below)
A transmission buffer Sik for temporarily storing data to be transmitted from the processor Pi to the processor Pk;
It includes a reception buffer Rji for temporarily storing the data received from j for its own processing and a reception buffer Rki for temporarily storing the data received from the processor Pk for its own processing.

【0016】図3から図5にはプロセッサ間通信方式を
実行するにつれてプロセッサ間で授受されるデータがど
のように転送されていくかを模式的に図示してある。
FIGS. 3 to 5 schematically show how the data exchanged between the processors is transferred as the interprocessor communication system is executed.

【0017】図1から図5を参照して本実施例の動作に
ついて説明する。
The operation of this embodiment will be described with reference to FIGS.

【0018】先ず、各プロセッサでは、他の通信相手プ
ロセッサのメモリに書き込むデータを一時格納する送信
バッフアおよび他プロセッサから受信したデータを一時
格納する受信バッフアを通信相手プロセッサ毎に確保す
る(ステップ11)。これは各プロセッサ内の主記憶に
設けてもよいし、また別メモリとして設置してもよい。
First, in each processor, a transmission buffer for temporarily storing data to be written in the memory of another communication partner processor and a reception buffer for temporarily storing data received from another processor are secured for each communication partner processor (step 11). . This may be provided in the main memory in each processor or may be provided as a separate memory.

【0019】確保に当っては、予め各プロセッサから他
のプロセッサへの転送語数が既知の場合には、それに相
当するバッフアを確保し、未知、すなわち、処理しなけ
れば転送語数が解らない場合には、当初、ブロック転送
の1回分のバッフアをそれぞれ確保し以後これが満杯に
なる毎にブロック転送の1回分ずつ領域を動的に確保し
これらをリンクでつないでいく用意を行なう。
In securing, when the number of transfer words from each processor to another processor is known in advance, a buffer corresponding to that is reserved and unknown, that is, when the number of transfer words cannot be known without processing. Prepares a buffer for one block transfer at the beginning, dynamically reserves an area for one block transfer each time the buffer is full, and links these areas with a link.

【0020】図2には、プロセッサPi には送信バッフ
アSijとSik、受信バッフアRjiとRkiが確保され、プ
ロセッサPj には送信バッフアSjiとSjk、受信バッフ
アRijとRkjが確保され、プロセッサPk には送信バッ
フアSkiとSkj、受信バッフアRikとRjkが確保されて
いる状態が図示されている。
In FIG. 2, the transmission buffers Sij and Sik and the reception buffers Rji and Rki are secured in the processor Pi, the transmission buffers Sji and Sjk are secured in the processor Pj, and the reception buffers Rij and Rkj are secured in the processor Pk. The state is shown in which the transmission buffers Ski and Skj and the reception buffers Rik and Rjk are secured.

【0021】次に各プロセッサは所定の演算Aを行なう
(ステップ12)。プロセッサPiについていえば演算
Aに必要なデータは自己所有のメモリMi に格納されて
いるので、これにより所定の演算Aを行ない、演算結果
等で自プロセッサのメモリMi への書き込みが生じたと
きにはメモリMi に書き込み(ステップ13)、他のプ
ロセッサ、例えばプロセッサPj のメモリMj への書き
込みが生じたときには、書き込むべきデータとそれを格
納すべきメモリMj 上のアドレスとを組にしてプロセッ
サPi にあるプロセッサPj への送信データを一時格納
する送信バッフアSijに書き込む(ステップ14)。こ
のようにして演算が終了するまでに他のプロセッサのメ
モリに書き込むべきデータが生ずる度毎に、その対応す
る送信バッフアにこれらのデータとアドレスとの組デー
タを蓄積する(ステップ12、14のループ)。送信バ
ッフアにデータとアドレスとの組データが蓄積されて書
き込まれている状態が各プロセッサについて図3に図示
されている。蓄積データはどのプロセッサから出力され
たデータであるかを明示するために各プロセッサ毎に模
様を異なえて図示してある。
Next, each processor performs a predetermined operation A (step 12). As for the processor Pi, since the data necessary for the operation A is stored in the memory Mi owned by itself, the predetermined operation A is performed by this, and when the operation result or the like is written in the memory Mi, the memory is stored. When writing to Mi (step 13) and writing to the memory Mj of another processor, for example, the processor Pj, the processor in the processor Pi forms a pair with the data to be written and the address on the memory Mj in which the data is to be stored. The transmission data to Pj is written in the transmission buffer Sij for temporary storage (step 14). In this way, each time data to be written to the memory of another processor is generated by the time the operation is completed, the set data of these data and address is stored in the corresponding transmission buffer (loop of steps 12 and 14). ). FIG. 3 shows the state in which the set data of the data and the address is stored and written in the transmission buffer for each processor. The pattern of the accumulated data is illustrated differently for each processor in order to clearly indicate from which processor the accumulated data is output.

【0022】各プロセッサは、自プロセッサでの演算A
が終了次第(ステップ15のYES 枝)、自プロセッサに
あるすべての送信バッフアに蓄積された組データを各送
信バッフアに対応する他プロセッサにブロック転送をす
る(ステップ16)。例えば、プロセッサPi の送信バ
ッフアSijの内容は、プロセッサPi からプロセッサP
j にブロック転送される。
Each processor has its own operation A
As soon as is completed (YES branch of step 15), the set data accumulated in all the transmission buffers in the own processor is block-transferred to another processor corresponding to each transmission buffer (step 16). For example, the contents of the transmission buffer Sij of the processor Pi can be changed from the processor Pi to the processor P.
Block transferred to j.

【0023】その際の送信パケットの一形式が図6に図
示されている。送信パケットは、受信プロセッサ番号を
格納する受信プロセッサ番号格納エリア61と、送信プ
ロセッサ番号を格納する送信プロセッサ番号格納エリア
62と、送信データのデータ長を格納するデータ長格納
エリア63と、データを格納するデータ格納エリア64
とを備えて構成されている。データ格納エリア64に
は、送信すべきデータとそれを格納する送信先のプロセ
ッサにあるメモリ上のアドレスとの組データが1つ以上
収容できるようになっている。
One format of the transmission packet at that time is shown in FIG. The transmission packet stores a reception processor number storage area 61 for storing a reception processor number, a transmission processor number storage area 62 for storing a transmission processor number, a data length storage area 63 for storing a data length of transmission data, and data. Data storage area 64
And is configured. The data storage area 64 can accommodate one or more sets of data to be transmitted and an address on a memory in a destination processor that stores the data.

【0024】送信パケットを受信したプロセッサは、そ
の送信パケットの送信元のプロセッサに対応する受信バ
ッフアに送信パケットの組データを一時格納する(ステ
ップ17)。例えば、プロセッサPi の送信バッフアS
ijの内容は、プロセッサPiからプロセッサPj にブロ
ック転送されるが、プロセッサPj は自プロセッサ内に
あるプロセッサPi に対応する受信バッフアRijに受信
したパケットの内容を一時格納する。
The processor that receives the transmission packet temporarily stores the set data of the transmission packet in the reception buffer corresponding to the processor that is the transmission source of the transmission packet (step 17). For example, the transmission buffer S of the processor Pi
The contents of ij are block-transferred from the processor Pi to the processor Pj, and the processor Pj temporarily stores the contents of the received packet in the reception buffer Rij corresponding to the processor Pi in its own processor.

【0025】各プロセッサの送信バッフアから受信バッ
フアへの組データの転送状況が図4に図示されている。
The transfer status of the set data from the transmission buffer to the reception buffer of each processor is shown in FIG.

【0026】すべてのプロセッサがステップ12の演算
を終了して、かつ、送信バッフアの組データを対応する
プロセッサに転送し、転送されてきた組データを対応す
る受信バッフアに一時格納したならば、一斉に次の動作
に移ることができるように、すべてのプロセッサ間で同
期をとる(ステップ17)。
If all the processors have completed the operation of step 12 and have transferred the set data of the transmission buffer to the corresponding processors and temporarily stored the transferred set data in the corresponding reception buffers, they are all processed simultaneously. All processors are synchronized so that the next operation can be started (step 17).

【0027】次に、各プロセッサは、受信バッフアにあ
るデータとアドレスとの組データを読み出し自プロセッ
サにあるメモリ上の、組データの示すアドレスに組デー
タの示すデータを書き込む(ステップ19)。
Next, each processor reads the set data of the data and the address in the reception buffer and writes the data indicated by the set data to the address indicated by the set data in the memory of its own processor (step 19).

【0028】図5には各プロセッサの受信バッフアから
自メモリにデータを書き込む状況が図示されている。メ
モリM内の領域の模様により、どのプロセッサから送信
されたデータであるかが明示されている。
FIG. 5 shows a situation in which data is written from the reception buffer of each processor to its own memory. The pattern of the area in the memory M clearly indicates from which processor the data is transmitted.

【0029】次に、各プロセッサは、他プロセッサから
送信されてきて自メモリに格納されたデータを使用して
演算Bを遂行する(ステップ20)。
Next, each processor performs operation B using the data transmitted from the other processor and stored in its own memory (step 20).

【0030】本実施例では、演算Bは受信したデータを
使用して行なう演算であって他プロセッサのメモリへの
書き込みがを生じない演算であり、前述の演算Aは他プ
ロセッサのメモリへの書き込みが生じうる演算としてい
る。
In this embodiment, the operation B is an operation that is performed using the received data and does not cause writing to the memory of another processor, and the operation A described above is a writing to the memory of another processor. Is a calculation that can occur.

【0031】この演算Bがすべてのプロセッサで終了し
た時点ですべてのプロセッサ間で同期をとる(ステップ
21)。これは、次の演算A等が始まってまたプロセッ
サ間通信によりあるプロセッサの受信バッフアが乱され
るのを防止するためと、ステップ22でのこの並列計算
機システムの処理終了チェックのためである。
When this operation B is completed in all processors, synchronization is established among all processors (step 21). This is to prevent the reception buffer of a certain processor from being disturbed by the inter-processor communication after the next operation A or the like is started, and to check the processing end of this parallel computer system in step 22.

【0032】ステップ22でこの並列計算機システムの
処理が未終了のときには、再度ステップ12に戻り処理
が終了するまで以上説明した動作を繰り返す。
When the processing of this parallel computer system is not completed in step 22, the process returns to step 12 and the operation described above is repeated until the processing is completed.

【0033】以上説明したように、本実施例のプロセッ
サ間通信方式においては、各プロセッサに各通信相手プ
ロセッサに対応する送信バッフアおよび受信バッフアを
用意してブロック転送を行なうことにより、プロセッサ
間通信回数を大幅に減少でき並列処理効果を向上するこ
とができる。
As described above, in the inter-processor communication system of the present embodiment, each processor is provided with a transmission buffer and a reception buffer corresponding to each communication partner processor, and block transfer is performed. Can be significantly reduced and the parallel processing effect can be improved.

【0034】[0034]

【発明の効果】以上説明したように、本発明のプロセッ
サ間通信方式は、各プロセッサに各通信相手プロセッサ
に対応する送信バッフアおよび受信バッフアを用意して
ブロック転送を行なうことにより、プロセッサ間通信回
数を大幅に減少でき並列処理効果を向上することができ
るという効果を有している。
As described above, according to the interprocessor communication system of the present invention, a transmission buffer and a reception buffer corresponding to each communication partner processor are prepared for each processor and block transfer is performed, so that the number of communication between processors can be increased. It has the effect that it can be greatly reduced and the parallel processing effect can be improved.

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

【図1】本発明のプロセッサ間通信方式の一実施例を示
す流れ図である。
FIG. 1 is a flow chart showing an embodiment of an interprocessor communication system of the present invention.

【図2】送信バッフア、受信バッフアの確保状況を示す
状態模式図である。
FIG. 2 is a state schematic diagram showing a secured state of a transmission buffer and a reception buffer.

【図3】送信バッフアへの書き込み状況を示す状態模式
図である。
FIG. 3 is a state schematic diagram showing a writing state in a transmission buffer.

【図4】送信バッフアから受信バッフアへのブロック転
送状況を示す状態模式図である。
FIG. 4 is a state schematic diagram showing a block transfer state from a transmission buffer to a reception buffer.

【図5】受信バッフアからメモリへデータを移送する状
況を示す状態模式図である。
FIG. 5 is a state schematic diagram showing a situation in which data is transferred from a reception buffer to a memory.

【図6】パケットのデータ格納状態を示すデータフオー
マット図である。
FIG. 6 is a data format diagram showing a data storage state of a packet.

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

11〜22 流れ図のステップ 61 受信プロセッサ番号格納エリア 62 送信プロセッサ番号格納エリア 63 データ長格納エリア 64 データ格納エリア Pi 、Pj 、Pk プロセッサ Mi 、Mj 、Mk メモリ Sij、Sik、Sji、Sjk、Ski、Skj 送信バッフア Rji、Rki、Rij、Rkj、Rik、Rjk 受信バッフア 11 to 22 Steps in Flowchart 61 Received Processor Number Storage Area 62 Transmitted Processor Number Storage Area 63 Data Length Storage Area 64 Data Storage Areas Pi, Pj, Pk Processors Mi, Mj, Mk Memory Sij, Sik, Sji, Sjk, Ski, Skj Transmit buffer Rji, Rki, Rij, Rkj, Rik, Rjk Receive buffer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 各々メモリを有する複数のプロセッサか
ら構成される並列計算機のプロセッサ間通信方式におい
て、前記複数のプロセッサはそれぞれ他の通信相手プロ
セッサへ送信する情報を一時格納する送信バッフアを前
記他の通信相手プロセッサ毎に用意しまた前記他の通信
相手プロセッサから受信する情報を一時格納する受信バ
ッフアを前記他の通信相手プロセッサ毎に用意するバッ
フア準備ステップと、前記複数のプロセッサはそれぞれ
所定の演算を行なって前記他の通信相手プロセッサへ送
信するデータとこのデータの前記他の通信相手プロセッ
サにおける書き込みアドレスとを組にして対応する送信
バッフアに書き込み蓄積する送信バッフア書き込みステ
ップと、前記複数のプロセッサはそれぞれ前記所定の演
算終了後前記送信バッフアに書き込み蓄積された情報を
対応する前記他の通信相手プロセッサにブロック転送を
行なうブロック転送ステップと、前記複数のプロセッサ
はそれぞれ前記他の通信相手プロセッサから転送されて
きた情報を前記他の通信相手プロセッサに対応する前記
受信バッフアに書き込む受信バッフア書き込みステップ
と、前記複数のプロセッサは前記受信バッフアのデータ
をこれと組として送られてきた書き込みアドレスに対応
する自プロセッサの前記メモリのアドレスに書き込むメ
モリ書き込みステップとを含むことを特徴とするプロセ
ッサ間通信方式。
1. In an interprocessor communication system of a parallel computer, which comprises a plurality of processors each having a memory, each of the plurality of processors has a transmission buffer for temporarily storing information to be transmitted to another communication partner processor. A buffer preparation step of preparing for each communication partner processor a reception buffer for temporarily storing information received from the other communication partner processor, and a buffer preparation step of preparing a plurality of processors for each predetermined communication. A transmission buffer writing step of writing and accumulating in a corresponding transmission buffer a set of data to be transmitted to the other communication partner processor and a write address of this data in the other communication partner processor; and the plurality of processors, respectively. After the completion of the predetermined calculation, the transmission A block transfer step of performing block transfer of the information stored and stored in the buffer to the corresponding other communication partner processor; and the plurality of processors respectively transmitting the information transferred from the other communication partner processor to the other communication partner. A reception buffer writing step of writing to the reception buffer corresponding to the processor; and a memory write for the plurality of processors to write the data of the reception buffer to the address of the memory of the own processor corresponding to the write address sent as a set with the reception buffer. An interprocessor communication method comprising the steps of:
【請求項2】 バッフア準備ステップでは、各プロセッ
サ間で通信するデータ量が既知の場合にはこの量に対応
する送信バッフアおよび受信バッフアを用意し、既知で
ない場合には先ずプロセッサ間の1度のブロック転送に
対応するデータ量の送信バッフアおよび受信バッフアを
用意し、その後これらのバッフアが満杯になる毎に前記
1度のブロック転送に対応するデータ量に相当する領域
を動的に確保しこれらをリンクで繋いでいく準備をする
ことを特徴とする請求項1記載のプロセッサ間通信方
式。
2. In the buffer preparation step, if the amount of data to be communicated between the processors is known, a transmission buffer and a reception buffer corresponding to this amount are prepared. A transmission buffer and a reception buffer with a data amount corresponding to the block transfer are prepared, and thereafter, every time these buffers become full, an area corresponding to the data amount corresponding to the one block transfer is dynamically secured and these are allocated. 2. The interprocessor communication system according to claim 1, wherein preparation is made for linking.
JP5091760A 1993-04-20 1993-04-20 Communication method between processors Expired - Lifetime JP3033646B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5091760A JP3033646B2 (en) 1993-04-20 1993-04-20 Communication method between processors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5091760A JP3033646B2 (en) 1993-04-20 1993-04-20 Communication method between processors

Publications (2)

Publication Number Publication Date
JPH06309281A true JPH06309281A (en) 1994-11-04
JP3033646B2 JP3033646B2 (en) 2000-04-17

Family

ID=14035510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5091760A Expired - Lifetime JP3033646B2 (en) 1993-04-20 1993-04-20 Communication method between processors

Country Status (1)

Country Link
JP (1) JP3033646B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008059282A (en) * 2006-08-31 2008-03-13 Olympus Corp Distributed processing system, distributed processing method and program
WO2013027247A1 (en) * 2011-08-25 2013-02-28 富士通株式会社 Information processing device and method for controlling information processing device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63221452A (en) * 1987-03-11 1988-09-14 Toyo Commun Equip Co Ltd Inter-mpu communication method
JPH01191967A (en) * 1988-01-27 1989-08-02 Nec Corp Data communication processing system
JPH03204065A (en) * 1989-12-29 1991-09-05 Nec Corp Data transfer contention evading system in inter-processor communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63221452A (en) * 1987-03-11 1988-09-14 Toyo Commun Equip Co Ltd Inter-mpu communication method
JPH01191967A (en) * 1988-01-27 1989-08-02 Nec Corp Data communication processing system
JPH03204065A (en) * 1989-12-29 1991-09-05 Nec Corp Data transfer contention evading system in inter-processor communication

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008059282A (en) * 2006-08-31 2008-03-13 Olympus Corp Distributed processing system, distributed processing method and program
WO2013027247A1 (en) * 2011-08-25 2013-02-28 富士通株式会社 Information processing device and method for controlling information processing device

Also Published As

Publication number Publication date
JP3033646B2 (en) 2000-04-17

Similar Documents

Publication Publication Date Title
EP0884924B1 (en) ATM Communication apparatus
US5915088A (en) Interprocessor messaging system
JP2003178039A (en) Distributed shared virtual memory and its constituting method
JPH114279A (en) Method and mechanism for transmission between advanced systems
US7069305B2 (en) Computer system and a data transfer method thereof using remote direct memory access
JPH11212939A (en) System for exchanging data between data processor units having processor interconnected by common bus
US5155807A (en) Multi-processor communications channel utilizing random access/sequential access memories
JPH06309281A (en) Inter-processor communication system
JPS5833970B2 (en) Inter-processor communication method
JPS6054549A (en) Data transmitting method and device
CN100356363C (en) Methods and systems for dynamic partition management of shared-interconnect partitions
JP3904498B2 (en) Interprocessor communication system
JP3058010B2 (en) Method and apparatus for communication between processors
JP3799741B2 (en) Bus controller
JP2000138718A (en) Method for transmitting data through plural arranged interfaces in parallel
JPS626361A (en) Inter-processor data transfer system
JPH0621925A (en) Communication control system for multiplex transmission line
JP2971119B2 (en) High-speed data transfer method in multiple processor system
JPH03252848A (en) Variable bus width designation/information reception system for split bus
JPH10143486A (en) Data transmission/reception method in parallel computers
JPH11122275A (en) Serial communication system
JPH10207829A (en) Bus controller
JPH0512744B2 (en)
JPH07143133A (en) Multi-layer protocol processor for common use of memory
JP2008250496A (en) Engine-processor coordination system and method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19960709

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

Free format text: PAYMENT UNTIL: 20080218

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090218

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100218

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100218

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110218

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110218

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120218

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120218

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130218

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20130218

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140218

Year of fee payment: 14