JPS62196760A - Data transfer system for parallel computer - Google Patents

Data transfer system for parallel computer

Info

Publication number
JPS62196760A
JPS62196760A JP61037636A JP3763686A JPS62196760A JP S62196760 A JPS62196760 A JP S62196760A JP 61037636 A JP61037636 A JP 61037636A JP 3763686 A JP3763686 A JP 3763686A JP S62196760 A JPS62196760 A JP S62196760A
Authority
JP
Japan
Prior art keywords
processor
data
host computer
register
processors
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61037636A
Other languages
Japanese (ja)
Inventor
Yoshio Ogawa
小川 良夫
Shigeo Shimada
島田 茂夫
Masamitsu Kobayashi
正光 小林
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP61037636A priority Critical patent/JPS62196760A/en
Publication of JPS62196760A publication Critical patent/JPS62196760A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To make switching of a processor of destination of transfer by making a host computer transfer the number of processor of destination of transfer and data to be transferred in a set to all processors and deciding whether each processor takes in data or not. CONSTITUTION:When transferring data, a host computer 1 makes the number of processor of destination of transfer and data to be transferred a set and outputs to all processors 2, 3,...n by the same data transfer line. On the other hand, processors 2, 3,...n compare received number of processor and the content of its own processor number register by a coincidence deciding circuit 24, and store received data in a place of reception indicated by an address register in its own memory only for a conformable processor. The value of an address register 25 is updated to receive next data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ホストコンピュータと該ホストコンピュータ
に接続された複数のプロセッサからなる並列計算機にお
いて、ホストコンピュータから任意のプロセッサに個別
のデータを転送する方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention is a parallel computer consisting of a host computer and a plurality of processors connected to the host computer, in which individual data is transferred from the host computer to any processor. Regarding the method.

〔従来の技術〕[Conventional technology]

第2図は並列計算機の構成図であり、ホストコンピュー
タ1と複数のプロセッサ2,3,4.・・・nは全て同
一のデータ転送線により接続されている。
FIG. 2 is a block diagram of a parallel computer, including a host computer 1 and a plurality of processors 2, 3, 4, . ... n are all connected by the same data transfer line.

従来、このような構成において、ホストコンピュータ1
から各々のプロセッサ2〜nに個別のデータを転送する
方式°として、データ転送設定法と共有メモリ法が知ら
れている。
Conventionally, in such a configuration, the host computer 1
The data transfer setting method and the shared memory method are known as methods for transferring individual data from the processor 2 to each of the processors 2 to n.

データ転送路設定法では、まず、データ転送に先立ち、
ホストコンピュータ1は、転送宛先のプロセッサ(プロ
セッサ2とする)を除く他の全てのプロセッサに対して
ホストコンピュータからのデータの入力を禁止するよう
に指示する(データ転送路の設定)。その後、ホストコ
ンピュータ1はデータを同一のデータ転送線により全て
のプロセッサ2,3.・・・nへ出力する。この時、転
送宛先のプロセッサ2以外ではデータの入力が禁止され
、プロセッサ2のみがホストコンピュータ1からのデー
タを入手できる。
In the data transfer path setting method, first, before data transfer,
The host computer 1 instructs all processors other than the transfer destination processor (referred to as processor 2) to prohibit data input from the host computer (data transfer path setting). Thereafter, the host computer 1 transfers data to all processors 2, 3 . ...Output to n. At this time, data input is prohibited except for the transfer destination processor 2, and only the processor 2 can obtain data from the host computer 1.

次に、共有メモリ法では、第3図に示すように、ホスト
コンピュータ1内に、プロセッサ2,3゜・・・nが有
するメモリ21,31.・・・nlに各々対応させた論
理アドレス空間12,13.・・・、1nを設ける。ホ
ストコンピュータ1がプロセッサ2にデータを転送する
場合、ホストコンピュータ1は、論理アドレス空間のア
ドレスを指定して該アドレス空間12にデータを書込む
動作を実行する。
Next, in the shared memory method, as shown in FIG. 3, memories 21, 31 . . . . logical address spaces 12, 13 . . . corresponding to nl, respectively. ..., 1n are provided. When the host computer 1 transfers data to the processor 2, the host computer 1 specifies an address in the logical address space and executes an operation of writing data into the address space 12.

この論理アドレス空間12のアドレス及びデータが同一
のデータ転送線により全てのプロセッサ2゜3、・・・
nに出力される。この場合、プロセッサ3゜4、・・・
nでは、受信したアドレスが各々メモリ31.41.・
・・nlのアドレス空間以外であるため。
The addresses and data of this logical address space 12 are transferred to all processors 2゜3, . . . by the same data transfer line.
Output to n. In this case, processor 3゜4,...
n, the received addresses are respectively stored in memories 31, 41 .・
...Because it is outside the nl address space.

データの書込みは行われず、プロセッサ2のみが、ホス
トコンピュータ1からのデータをメモリ21の該当アド
レスへ書込むことができる。
No data is written, and only the processor 2 can write data from the host computer 1 to the corresponding address in the memory 21.

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

上記従来技術において、データ転送路設定法では、デー
タ転送に先立ってデータ転送路を設定する必要があり、
しかも、その設定時間は、データ転送を必要とするプロ
セッサの数に比例して増加し、これが大きな無駄時間と
なる欠点を有している。一方、共有メモリ法では、ホス
トコンピュータが論理アドレス空間にデータを書込む動
作を行うと、同時に転送宛先のプロセッサのメモリに同
一データが書き込まれるため、無駄時間の問題は解消さ
れるが、各プロセッサのメモリ容量が増大したり、ある
いはプロセッサの数が増大すると、ホストコンピュータ
内の論理アドレス空間も増大する問題がある。
In the above conventional technology, in the data transfer path setting method, it is necessary to set the data transfer path prior to data transfer.
Moreover, the setting time increases in proportion to the number of processors that require data transfer, which has the disadvantage of resulting in a large amount of wasted time. On the other hand, in the shared memory method, when the host computer writes data to the logical address space, the same data is simultaneously written to the memory of the transfer destination processor, which solves the problem of wasted time. As the memory capacity of the host computer increases or the number of processors increases, the logical address space within the host computer also increases.

本発明は、上記共有メモリ法の問題点を解決するために
なされたものであり、ホストコンピュータに接続される
プロセッサの数や各プロセッサが具備するメモリの容量
が増加しても、ホストコンピュータの論理アドレス空間
が増加しないデータ転送方式を提供することにある。
The present invention has been made to solve the problems of the shared memory method described above, and even if the number of processors connected to the host computer and the memory capacity of each processor increase, the logic of the host computer remains unchanged. The object of the present invention is to provide a data transfer method that does not increase address space.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、ホストコンピュータと該ホストコンピュータ
に接続された複数のプロセッサからなる並列計算機にお
いて、プロセッサの各々に、ホストコンピュータから転
送されるデータを収容するメモリの他に、各プロセッサ
に付けられた固有の番号を記憶する自プロセッサ番号レ
ジスタと、ホストプロセッサから転送されるデータの収
容場所を示スアドレスレジスタとを設ける。
The present invention provides a parallel computer consisting of a host computer and a plurality of processors connected to the host computer, in which each processor has a memory attached to each processor, in addition to a memory for storing data transferred from the host computer. A self-processor number register for storing the number of the host processor and an address register for indicating the storage location of data transferred from the host processor are provided.

〔作 用〕[For production]

ホストコンピュータは、データを転送する際、転送宛先
のプロセッサ番号と転送データを組として同一データ転
送線により全てのプロセッサへ出力する。一方、各プロ
セッサでは、受信したプロセッサ番号と自プロセッサ番
号レジスタの内容とを比較し、一致のとれたプロセッサ
のみ、自メモリにおけるアドレスレジスタが示す収容場
所へ受信したデータを格納し、しかも、次のデータの収
容のためアドレスレジスタの値を更新する。
When transferring data, the host computer outputs the transfer destination processor number and transfer data as a set to all processors via the same data transfer line. On the other hand, each processor compares the received processor number with the contents of its own processor number register, and only the processor with a match stores the received data in the storage location indicated by the address register in its own memory. Update the value of the address register to accommodate the data.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例の構成図を示す。第1図にお
いて、ホストコンピュータ1と複数のプロセッサ2,3
.・・・nは同一の接続線131,132で並列に接続
されている。ホストコンピュータ1はデータ処理を行う
CPUI 11と、論理アドレス空間12.13・・・
in、CPUから出力されるアドレス、データを各々格
納するアドレスレジスタ121、データレジスタ122
から構成される。また、例えばプロセッサ2は、自プロ
セッサ固有の番号を格納する自プロセッサ番号レジスタ
22と、ホストコンピュータ1から出力される転送宛先
のプロセッサ番号を格納する転送宛先プロセッサ番号レ
ジスタ23と、自プロセッサ番号レジスタ22の内容と
転送宛先プロセッサ番号しジスタ23の内容の一致、不
一致を判定する一致回路24と、ホストコンピュータ1
から出力されたデータを収容するメモリ21とその収容
場所を示すアドレスレジスタ25から構成される。他の
プロセッサ2,3.・・・nの構成も、プロセッサ2と
同様である。
FIG. 1 shows a configuration diagram of an embodiment of the present invention. In FIG. 1, a host computer 1 and a plurality of processors 2, 3
.. . . . n are connected in parallel through the same connection wires 131 and 132. The host computer 1 includes a CPU 11 for data processing, and logical address spaces 12, 13, . . .
address register 121 and data register 122 that store addresses and data output from the CPU, respectively.
It consists of For example, the processor 2 also includes a own processor number register 22 that stores a number unique to the own processor, a transfer destination processor number register 23 that stores a transfer destination processor number output from the host computer 1, and an own processor number register 22 that stores a number unique to the own processor. A matching circuit 24 determines whether the contents of the transfer destination processor number and the contents of the register 23 match or do not match, and the host computer 1
It is composed of a memory 21 that stores data output from the memory 21 and an address register 25 that indicates the storage location. Other processors 2, 3 . . . . The configuration of n is also similar to that of processor 2.

ホストコンピュータ1内の論理アドレス空間12.13
.inはプロセッサ2,3.・・・nの各々と1対1に
対応している。たゾし、この論理アドレス空間12,1
3.・・・1nの各々の大きさは、各プロセッサ2,3
.・・・nが具備するメモリ21゜31、・・・nlの
1アドレス分の記憶容量に対応する。例えば、アドレス
空間12の大きさは、メモリ21の1アドレス分の記憶
容量と同等である。
Logical address space in host computer 1 12.13
.. in is processor 2, 3 . . . . There is a one-to-one correspondence with each of n. However, this logical address space 12,1
3. ...1n is the size of each processor 2, 3
.. . . . Corresponds to the memory capacity of one address of the memories 21, 31, . . . nl provided in n. For example, the size of the address space 12 is equivalent to the storage capacity of one address of the memory 21.

したがって、同−論理アドレス空間では、データは次々
に上書きされることになる。これは論理アドレス空間は
仮想空間であるため、何ら支障をきたさない。
Therefore, data will be overwritten one after another in the same logical address space. This does not cause any problem because the logical address space is a virtual space.

以下、ホストコンピュータ1がプロセッサ2ヘデータを
転送する場合について動作を説明する。
The operation when the host computer 1 transfers data to the processor 2 will be described below.

この場合、ホストコンピュータ1のC:PUl 11は
、アドレス出力線112にプロセッサ番号2を、データ
出力線113にデータをそれぞれ出力し、論理アドレス
空間12に対するデータ書込み動作を実行する。同時に
、このときアドレス出力線112のプロセッサ番号2が
アドレスレジスタ121に、データ出力線113のデー
タがデータレ°ジスタ122にそれぞれ格納される。こ
のレジスタ121.122のプロセッサ番号2、データ
が接続線131,132を通して全てのプロセッサ2゜
3、・・・nに送出される。このうちのプロセッサ番号
2が、各プロセッサ2,3・・・nの転送宛先プロセッ
サ番号レジスタi2 (i=2.3.・・・n)に格納
される。
In this case, the C:PUl 11 of the host computer 1 outputs processor number 2 to the address output line 112 and data to the data output line 113, and executes a data write operation to the logical address space 12. At the same time, the processor number 2 on the address output line 112 is stored in the address register 121, and the data on the data output line 113 is stored in the data register 122. Processor number 2 and data in this register 121, 122 are sent to all processors 2.3, . . . n through connection lines 131, 132. Of these, processor number 2 is stored in the transfer destination processor number register i2 (i=2.3...n) of each processor 2, 3...n.

一方、プロセッサ2は、転送宛先プロセッサ番号レジス
タ23に格納された内容と自プロセッサ番号レジスタ2
2の内容を信号線231,221によって一致判定回路
24に与えて比較する0本例の場合、転送宛先プロセッ
サ番号レジスタ23には自プロセッサ番号2が格納され
るため、一致判定回路24では一致が判定される。した
がって、一致判定回路24の出力線241が′″1”と
なり。
On the other hand, the processor 2 uses the contents stored in the transfer destination processor number register 23 and the own processor number register 2.
In this example, the contents of 2 are sent to the match determination circuit 24 via signal lines 231 and 221 for comparison. Since the transfer destination processor number register 23 stores the own processor number 2, the match determination circuit 24 determines that there is a match. It will be judged. Therefore, the output line 241 of the match determination circuit 24 becomes ``1''.

アドレスレジスタ25が動作して、メモリ21における
該アドレスレジスタ25の示すアドレス(収容場所)に
接続線132上のデータが格納される。その後、アドレ
スレジスタ25の値を1だけ増加させる。このアドレス
レジスタ25を1だけ増加させることにより、ホストコ
ンピュータ1が再度プロセッサ2にデータを転送する場
合、次のデータはメモリ21の次のアドレスに収容され
る。
The address register 25 operates, and the data on the connection line 132 is stored in the address (accommodation location) indicated by the address register 25 in the memory 21. Thereafter, the value of the address register 25 is increased by one. By incrementing this address register 25 by 1, when the host computer 1 transfers data to the processor 2 again, the next data will be stored in the next address of the memory 21.

プロセッサ3,4.・・・nも以上と同様な動作をする
が、転送宛先プロセッサ番号レジスタ13(i=3.4
.・・・n)の内容と自プロセッサ番号レジスタ12の
内容が一致しないため、接続線132上のデータは各メ
モリに収容されない。
Processors 3, 4. ... n also operates in the same way as above, but transfer destination processor number register 13 (i = 3.4
.. ...n) and the contents of the own processor number register 12 do not match, the data on the connection line 132 is not stored in each memory.

なお、ホストコンピュータ1がプロセッサ3゜4、・・
・nヘデータを転送する場合は、CPUl11が各々論
理アドレス空間13,14.・・・1nにデータを書き
込む動作を行うことにより実現される。
Note that the host computer 1 has a processor 3゜4,...
- When transferring data to n, the CPU 11 transfers data to the logical address spaces 13, 14 . . . . This is realized by performing an operation of writing data to 1n.

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

以上の説明から明らかなように、本発明によれば、ホス
トコンピュータから各々のプロセッサへデータを個別に
転送する場合、ホストコンピュータは転送宛先プロセッ
サ番号と転送するデータを組として全てのプロセッサに
転送し、各々のプロセッサが上記データを収容するか否
かを判定することにより、転送宛先プロセッサの切換(
転送路設定)を不要とし、ホストコンピュータに接続さ
れるプロセッサ数の増加による上記切換に要する時間の
増加が防止できる。また、ホストコンピュータで必要な
論理アドレス空間は、プロセッサの数×1アドレスで済
ますという大幅な削減を行うことができ、さらにホスト
コンピュータとプロセッサ間の接続線でメモリアドレス
線を不要とする利点がある。
As is clear from the above description, according to the present invention, when data is transferred from the host computer to each processor individually, the host computer transfers the transfer destination processor number and the data to be transferred as a set to all the processors. , the transfer destination processor is switched by determining whether each processor accommodates the above data (
This eliminates the need for transfer path setting), and prevents an increase in the time required for the switching due to an increase in the number of processors connected to the host computer. In addition, the logical address space required by the host computer can be significantly reduced to the number of processors x 1 address, and there is also the advantage of eliminating the need for memory address lines in the connection lines between the host computer and processors. .

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

第1図は本発明の一実施例の構成図、第2図は並列計算
機の概略構成図、第3図は従来の並列計算機のデータ転
送方式を説明する図である。 1・・・ホストコンピュータ。 2.3,4.〜n・・・プロセッサ、 12.13.〜n・・・論理アドレス空間、111・・
・CPU、  121・・・アドレスレジスタ、122
・・・データレジスタ、  131,132・・・接続
線、  21,31,41.〜n1・・・メモリ、22
・・・自プロセッサ番号レジスタ、23・・・転送宛先
プロセッサ番号レジスタ、24・・・一致判定回路、 
 25・・・アドレスレジスタ。 第  2  図 第  3  図
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a schematic block diagram of a parallel computer, and FIG. 3 is a diagram illustrating a data transfer method of a conventional parallel computer. 1...Host computer. 2.3,4. ~n...processor, 12.13. ~n...Logical address space, 111...
・CPU, 121...Address register, 122
. . . Data register, 131, 132 . . . Connection line, 21, 31, 41. ~n1...Memory, 22
... Own processor number register, 23... Transfer destination processor number register, 24... Match determination circuit,
25...Address register. Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] (1)ホストコンピュータと該ホストコンピュータに接
続された複数のプロセッサからなる並列計算機において
、プロセッサの各々に固有の番号を付けると共に、ホス
トコンピュータから転送されるデータを収容するメモリ
とその収容場所を示すレジスタを各プロセッサに設け、
ホストコンピュータから或るプロセッサへデータを転送
する場合、ホストコンピュータはデータ転送宛先のプロ
セッサ番号と転送すべきデータを組として全てのプロセ
ッサへ送出し、プロセッサ側では、受信したプロセッサ
番号と自プロセッサに付けられた固有の番号とが一致し
たプロセッサのみが、ホストコンピュータから転送され
たデータを前記メモリにおける前記レジスタが示す該当
収容場所に格納し、且つ、該レジスタの値を更新して次
に転送されるデータの収容場所を示すことを特徴とする
並列計算機のデータ転送方式。
(1) In a parallel computer consisting of a host computer and multiple processors connected to the host computer, each processor is given a unique number, and the memory that stores data transferred from the host computer and its storage location are indicated. A register is provided in each processor,
When transferring data from a host computer to a certain processor, the host computer sends the data transfer destination processor number and the data to be transferred as a pair to all processors, and the processor side assigns the received processor number and its own processor. Only the processor whose unique number matches the one stores the data transferred from the host computer in the corresponding storage location indicated by the register in the memory, updates the value of the register, and transfers the data next time. A data transfer method for a parallel computer characterized by indicating a data storage location.
JP61037636A 1986-02-22 1986-02-22 Data transfer system for parallel computer Pending JPS62196760A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61037636A JPS62196760A (en) 1986-02-22 1986-02-22 Data transfer system for parallel computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61037636A JPS62196760A (en) 1986-02-22 1986-02-22 Data transfer system for parallel computer

Publications (1)

Publication Number Publication Date
JPS62196760A true JPS62196760A (en) 1987-08-31

Family

ID=12503129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61037636A Pending JPS62196760A (en) 1986-02-22 1986-02-22 Data transfer system for parallel computer

Country Status (1)

Country Link
JP (1) JPS62196760A (en)

Similar Documents

Publication Publication Date Title
US4951193A (en) Parallel computer with distributed shared memories and distributed task activating circuits
JPH04306748A (en) Information processor
EP0479702A2 (en) System for transferring data between buses, using direct memory access devices
US4344130A (en) Apparatus to execute DMA transfer between computing devices using a block move instruction
JPS60124754A (en) Buffer storage control system
JPS62196760A (en) Data transfer system for parallel computer
JPH0793266A (en) Multiprocessor and its control method
JPH0427583B2 (en)
JPS5928287A (en) Cache buffer controller
JPS6115245A (en) Memory device
JPH0750466B2 (en) Parallel computer cache memory control system
JPH024021B2 (en)
JPS6143367A (en) Register control system
JPH04195563A (en) Controller for memory system
JPS61237158A (en) Shared memory device
JPH0784963A (en) Semiconductor integrated circuit with cpu
JPH04170651A (en) Extended storage transfer control system
JPH02257356A (en) Data transfer method for multiprocessor system
JPS61288261A (en) Multiprocessor system
JPS60189559A (en) Buffer control device
JPH01296352A (en) Duplex processor
JPH01142849A (en) Subscriber's line signal device
JPH01106154A (en) Control system for coincidence of main memory
JPS6093562A (en) Buffer storage controller
JPS6383854A (en) Data transfer circuit