JPH04167842A - Data transfer interrupt control system - Google Patents

Data transfer interrupt control system

Info

Publication number
JPH04167842A
JPH04167842A JP2294330A JP29433090A JPH04167842A JP H04167842 A JPH04167842 A JP H04167842A JP 2294330 A JP2294330 A JP 2294330A JP 29433090 A JP29433090 A JP 29433090A JP H04167842 A JPH04167842 A JP H04167842A
Authority
JP
Japan
Prior art keywords
data
interrupt
section
cpu
transfer
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
JP2294330A
Other languages
Japanese (ja)
Other versions
JP2542460B2 (en
Inventor
Masayuki Ikeda
正幸 池田
Teruo Uchiumi
内海 照雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2294330A priority Critical patent/JP2542460B2/en
Publication of JPH04167842A publication Critical patent/JPH04167842A/en
Application granted granted Critical
Publication of JP2542460B2 publication Critical patent/JP2542460B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To reduce number of times of interrupt to a CPU in the case of data transfer by providing a CPU, a memory section and a transfer control section in a processing element and providing an arrangement data section and a header section on the memory section. CONSTITUTION:A processing element (PE) 1 having a CPU 10 and a memory section 11 is provided with a transfer control section 12. The control section 12 is provided with an address latch means 12-4, a data number latch means 12-5 and a count means 12-6 counting a data number. Moreover, the control section 12 is provided with a comparator means 12-0 comparing values of the latch means 12-5 and the count means 12-6 and with an interrupt control information latch means 12-l, in which an interrupt signal 1 or a noninterrupt signal 0 is described as interrupt control information. Based on the output of the comparator means 12-0, either the interrupt control information 1 or 0 is sent to the CPU 10. Thus, number of times of interrupt of the PE to the CPU is considerably decreased.

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術(第4図〜第6図) 発明が解決しようとする課題 課題を解決するための手段(第1図〕 作用 実施例(第2図、第3図) 発明の効果 〔概要〕 データ転送割込制御方式に関し、 分散メモリ型並列計算機方式において、プロセッシング
・エレメントのCPUに対する割込回数を大幅に減少さ
せることを目的とし、 プロセッサとメモリを有するプロセッシング・ニレメン
1〜を複数接続する分散メモリ型の並列計算機方式にお
いて、プロセッシング・エレメントに転送制御部を設け
ると共に、この転送制御部に、アドレス保持手段と、デ
ータ数保持手段と、データ数を計数するカウント手段と
、データ数保持手段とカラン1−手段の各個を比較する
比較手段と、割込み制御情報保持手段を設け、この割込
み制御情報として割込み信号あるいは非割込信号のいず
れかを記入し、比較手段の出力にもとづきこの割込み制
御情報をプロセッサに送出するように構成する。
[Detailed Description of the Invention] [Table of Contents] Overview Industrial Application Fields Prior Art (Figures 4 to 6) Problems to be Solved by the Invention Means for Solving the Problems (Figure 1) Working Examples (Figures 2 and 3) Effects of the invention [Summary] Regarding the data transfer interrupt control method, the purpose is to significantly reduce the number of interrupts to the CPU of the processing element in a distributed memory parallel computer system. In a distributed memory type parallel computer system in which a plurality of processing elements 1 to 1 having processors and memories are connected, a processing element is provided with a transfer control section, and this transfer control section is provided with an address holding means, a data number holding means, and the like. , a counting means for counting the number of data, a comparison means for comparing each of the data number holding means and the call-out means, and an interrupt control information holding means, and as the interrupt control information, either an interrupt signal or a non-interrupt signal is provided. This interrupt control information is sent to the processor based on the output of the comparing means.

[産業上の利用分野〕 本発明はデータ転送割込制御方式に係り、特に1つのメ
ツセージを複数のパケットに分散してデータ送信を行う
ようなとき、発信元(SOURCE)のCPUに対する
割込回数を減少してそのオーバヘッドの削減をはかるも
のである。
[Industrial Application Field] The present invention relates to a data transfer interrupt control method, and in particular, when transmitting data by distributing one message into multiple packets, the number of interrupts to the CPU of the source (SOURCE) is controlled. The objective is to reduce the overhead by reducing the

〔従来の技術〕[Conventional technology]

多数のデータを高速で処理するため、プロセッサとメモ
リを有する処理エレメント(しrocessingEl
ement;PE)をネットワークで接続し、プロセッ
サ間でデータの送受信を行う並列接続コンピュータ処理
方式がある。このような並列コンピュータ処理方式によ
り、例えば気象のシミュレーションのような科学計算が
行われている。
In order to process a large amount of data at high speed, a processing element (processing element) having a processor and memory is used.
There is a parallel connection computer processing method in which processors (PE) are connected via a network and data is sent and received between the processors. Scientific calculations such as weather simulations are performed using such parallel computer processing methods.

このとき、演算対象のモデルを格子状に切り、各格子点
の流速、圧力、温度等を与えられた条件の元で計算を行
う。例えば天気予報の場合、格子点を細かくすれば地域
に密着した正確な予測が可能となる。しかし格子点の数
が多い程データ量も大きくなり、第4図に100で示す
共通メモリに全部のデータを格納するとき、共通メモリ
は巨大な容量のものが必要となる。
At this time, the model to be calculated is cut into grids, and calculations are performed under given conditions such as flow velocity, pressure, temperature, etc. at each grid point. For example, in the case of weather forecasting, if the grid points are made finer, it becomes possible to make accurate predictions closely related to the area. However, the larger the number of grid points, the larger the amount of data, and when all the data is stored in the common memory shown at 100 in FIG. 4, the common memory needs to have a huge capacity.

このため、各PE01P E 1−P E nをネット
ワーク101で接続し、各PEにはそれぞれCPU及び
メモリMを設ける。そしてこれらの各PEで各格子点の
演算を遂行する。第4図の例ではPEOが共通メモリ領
域のうち、メモリ領域SOのデータにもとづき演算を行
い、PEIがメモリ領域S1のデータにもとづき演算を
行い、図示省略したPE2がメモリ領域S2のデータに
もとづく演算を行い、PEnがメモリ領域Snのデータ
に基づき演算を行う。そしてこれらの演算結果は各PE
のメモリMに保持されている。なお、共通メモリ100
におけるデータ配列は、矢印に示す如く水平方向順に配
列されているものとする。
For this purpose, each PE01P E 1 -P E n is connected through a network 101, and each PE is provided with a CPU and a memory M, respectively. Each of these PEs performs calculations on each grid point. In the example of FIG. 4, PEO performs calculations based on data in memory area SO among the common memory areas, PEI performs calculations based on data in memory area S1, and PE2 (not shown) performs calculations based on data in memory area S2. PEn performs the calculation based on the data in the memory area Sn. The results of these calculations are then
It is held in the memory M of. Note that the common memory 100
It is assumed that the data array in is arranged in the horizontal direction as shown by the arrow.

ところで科学演算の場合に、例えば行列間の乗算が行わ
れることがある。この場合、PEでは、第4図の共通メ
モリ100に一点鎖線で示す如く、縦方向に配置された
データを必要とする。この縦方向の配置データは、一部
は自己のメモリM内に保持されているが、その他のもの
は他のPEより転送することが必要となる。例えば、第
5図に示す如く、データ配列さね、る場合、PEOでは
一点鎖線で示すSxの範囲のデータを必要とするため、
46〜49.56〜59−のデータをPEIが転送する
ことが必要となり、図示省略したPE2では、86〜8
9.96〜99−のデータを転送することが必要となる
。なお、第5図の数字はアドレスを示す。
By the way, in the case of scientific operations, for example, multiplication between matrices may be performed. In this case, the PE requires data arranged vertically in the common memory 100 in FIG. 4, as shown by the dashed line. Part of this vertical arrangement data is held in its own memory M, but the rest needs to be transferred from other PEs. For example, as shown in FIG. 5, when arranging data, PEO requires data in the range of Sx shown by the dashed line.
It is necessary for PEI to transfer data 46 to 49.56 to 59-, and PE2 (not shown) transfers data 86 to 8.
It is necessary to transfer data from 9.96 to 99-. Note that the numbers in FIG. 5 indicate addresses.

このようなデータ転送のため、PEIでは、先ず46〜
49のデータを順次読み出してパケットを作り、PEO
に送出し、次に56〜59のデータを順次読み出してパ
ケットを作りPEOに送出し、このようなことを所要の
全データを送出するまで続けている。同様Gこ図示省略
したPE2でも同様なことを行っている。このデータ転
送のため、各PEには、図示省略した転送制御部が設け
られている。
For this kind of data transfer, PEI first uses 46 to
49 data is read out sequentially to create a packet and PEO
Next, the data 56 to 59 are sequentially read out to form a packet and sent to the PEO, and this process continues until all the required data is sent out. Similarly, PE2 (not shown) also does the same thing. For this data transfer, each PE is provided with a transfer control section (not shown).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、このような分散型メモリの並列計算機システ
ムでは、各PEでは、この送出用のパケットの転送毎に
発信元のCPUに割込みを起こして転送終了通知を行っ
ていた。このため、第5図に示す如き場合、PEIでは
、PEOに対しく46〜49)、 (56〜59)、 
(66〜69)、(76〜79)のそれぞれのデータ転
送毎にそれぞれCPUに対し割込みを行っていた。PE
Iは他のPEに対しても、同様にデータ転送を行うので
、例えば第6図に示す如く、1つのメツセージ毎に、4
回の割込を行うことになり、データ転送のための割込回
数が非常に大となり、CPUのオーバヘットが大きくな
り、データ処理能力が小さくなり、高速のデータ処理が
行えなくなるという問題がある。
By the way, in such a distributed memory parallel computer system, each PE generates an interrupt to the sender's CPU every time this sending packet is transferred to notify the end of the transfer. Therefore, in the case shown in Figure 5, PEI has 46-49), (56-59),
An interrupt was made to the CPU for each data transfer (66-69) and (76-79). P.E.
Since I also transfers data to other PEs in the same way, for example, as shown in FIG.
This results in a very large number of interrupts for data transfer, which increases CPU overhead, reduces data processing capacity, and makes it impossible to perform high-speed data processing.

したがって本発明の目的は、このような問題点を改善す
るため、データ転送の際のCPUに対する割込回数を減
少したデータ転送割込制御方式を提供することである。
Therefore, an object of the present invention is to provide a data transfer interrupt control method that reduces the number of interrupts to the CPU during data transfer, in order to improve these problems.

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

前記目的を達成するため、本発明では、第1図に示す如
く、PEIに代表的に示す如く、PEにCPU10、メ
モリ部12−、転送制御部12を設けるとともに、メモ
リ部12−に配列データ部12−−0とヘッダ部12−
−1を設ける。配列データ部12−−0は、前記第4図
に示す巨大な共通メモリ100の分散された領域、例え
ばメモリ領域S1の部分のデータつまり要素を格納する
ものである。
In order to achieve the above object, in the present invention, as shown in FIG. 1, the PE is provided with a CPU 10, a memory section 12-, and a transfer control section 12 as typically shown in the PEI, and array data is stored in the memory section 12-. Section 12--0 and header section 12--
-1 is provided. The array data section 12--0 stores data or elements of a distributed area of the huge common memory 100 shown in FIG. 4, for example, the memory area S1.

転送制御部12には、比較器12−0、レジスタ12−
1〜12−6、+1加算器12−7.12〜8等が設け
られている。おな13はドライバである。
The transfer control unit 12 includes a comparator 12-0 and a register 12-0.
1 to 12-6, +1 adders 12-7, 12 to 8, etc. are provided. Ona 13 is a driver.

〔作用〕[Effect]

いま、PEIよりPEOに対し、第5図に示す如く、ア
ドレス46〜49.56〜59.66〜69.76〜7
9の各要素を送出する場合について説明する。
Now, as shown in Figure 5, the PEI sends the address 46~49.56~59.66~69.76~7 to the PEO.
The case where each element of 9 is sent will be explained.

PEIのCPUl0は、メモリ部12−のヘッダ部12
−−1にこの場合4個のヘッダを作成し、ヘッダ1には
送信先PE (DEST  PE)としてPEOを記入
し、レングス(LENGTH)として4を記入し、ソー
ス側続出アドレス(SRCADR)として46を記入し
、送信先の配列データ部の記入先アドレス(予め定めら
れているもの)即ち送信先アドレス(DES  ADR
)を記入し、割込み制御情報(SRUPT)として「0
」を記入する。ヘッダ2はソース側続出アドレス(SR
CADR)として56が記入され、ヘッダ1とは別の送
信先アドレス(DEST  ADR)が記入される外は
ヘッダ1と同様である。ヘッダ3も(SRCADR)及
び(DEST  ADR)を除きヘッダI、2と同様で
ある。しかしヘッダ4はヘッダ1.2.3と(SR(、
ADR)及び(DEST  ADR)が異なるのみなら
ず、割込み制御情報(SRUPT)として「1」が記入
される。
The PEI CPU10 is the header part 12 of the memory part 12-
--1 in this case, create 4 headers, write PEO as the destination PE (DEST PE) in header 1, write 4 as the length (LENGTH), and write 46 as the source side continuous address (SRCADR). Enter the destination address (predetermined) in the destination array data section, that is, the destination address
) and enter “0” as the interrupt control information (SRUPT).
”. Header 2 is the source side successive address (SR
It is the same as header 1 except that 56 is entered as the header CADR) and a destination address (DEST ADR) different from header 1 is entered. Header 3 is also similar to headers I and 2 except for (SRCADR) and (DEST ADR). However, header 4 is similar to header 1.2.3 (SR(,
ADR) and (DEST ADR) are not only different, but also "1" is written as interrupt control information (SRUPT).

CPUl0が転送制御部12に送出アドレスを通知して
起動をかけると、転送制御部12はレジスタ12−4に
記入された読出しアドレスによりメモリ部12−よりヘ
ッダ部12−−1を読出し、レジスタ12−3にソース
側続出アドレス(46)をセットし、レジスタ12−5
にレングス(4)をセットし、レジスタ12−1に割込
み制御情報「0」をセットし、カウンタ12−6を初期
化して(0)とする。そしてレジスタ12−2にはセレ
クタSELよりレジスタ12−3の値即ち(46)をセ
ットする。
When the CPU10 notifies the transfer control unit 12 of the sending address and activates it, the transfer control unit 12 reads the header part 12--1 from the memory unit 12-1 according to the read address written in the register 12-4, and Set the source side continuation address (46) to -3 and register 12-5.
The length (4) is set in the register 12-1, interrupt control information "0" is set in the register 12-1, and the counter 12-6 is initialized to (0). Then, the value of the register 12-3, ie (46), is set in the register 12-2 by the selector SEL.

これによりメモリ部12−のアドレス46の要素が読出
される。次に+1加算器12−7によりカウンタ12−
6が+1されて(1)となり、ト1加算器12−8によ
りレジスタ12−3の(46)が+1されて(47)と
なり、アドレス(47)の要素が読出される。、このよ
うなことが繰返されアドレス(48)、(49)の要素
が順次読出される。そしてアドレス(49)の要素が読
出されたとき、カウンタ12−6の値は(4)となり、
レジスタ12−5にセントされた値と一致するので、比
較器12−0は一致信号を出力し、ゲートGをオンする
が、レジスタ12−1にセントされた割込み制御情報が
「0」であるためCPU10に対しては割込み制御信号
を送出しない。
As a result, the element at address 46 of memory section 12- is read out. Next, the +1 adder 12-7 adds the counter 12-
6 is incremented by 1 to become (1), and (46) of register 12-3 is incremented by 1 to become (47) by adder 12-8, and the element at address (47) is read out. , these operations are repeated, and the elements at addresses (48) and (49) are read out in sequence. When the element at address (49) is read, the value of counter 12-6 becomes (4),
Since the value matches the value written to register 12-5, comparator 12-0 outputs a match signal and turns on gate G, but the interrupt control information written to register 12-1 is "0". Therefore, no interrupt control signal is sent to the CPU 10.

転送制御部12は、前記比較器12−0から出力された
一致信号により、アドレス(46)〜(49)から読出
した要素をボディとする、第1図(B)に示すパケット
を作成し、通信ネットワークCに送出し、PEOに転送
制御する。そして再びヘッダ部12−−1をよみ、次の
ヘッダの有無をみて、ヘッダ2にもとづき同様の制御が
行われ、アドレス(56)〜(59)の要素がPEOに
転送される。
Based on the match signal output from the comparator 12-0, the transfer control unit 12 creates a packet shown in FIG. 1(B) whose body is the element read from addresses (46) to (49), It is sent to communication network C and the transfer is controlled to PEO. Then, the header section 12--1 is read again, the presence or absence of the next header is checked, and the same control is performed based on header 2, and the elements at addresses (56) to (59) are transferred to the PEO.

ヘッダ3についても同様な制御が行われ、アドレス(6
6)〜(69)の要素がPl−,0に転送される。そし
てヘッダ4についても同様な制御が行われ、アドレス(
76)〜(79)の要素がPEOに転送される。しかし
このヘッダ4においては、第1図(C)に示す如く、レ
ジスタ12−1に割込み制御情報「1」が記入されてい
るので、CPUl0に対しこれが通知され、CPUl0
に割込み制御が行われることになる。
Similar control is performed for header 3, and address (6
Elements 6) to (69) are transferred to Pl-,0. Similar control is performed for header 4, and address (
Elements 76) to (79) are transferred to the PEO. However, in this header 4, as shown in FIG. 1(C), interrupt control information "1" is written in the register 12-1, so this is notified to CPUl0, and CPUl0
Interrupt control will be performed.

このようにして、従来は・ヘッダ単位に行われたCPU
の割込み回数を、本発明では大幅に減少することができ
る。
In this way, in the past, the CPU
According to the present invention, the number of interruptions can be significantly reduced.

〔実施例〕〔Example〕

本発明の一実施例を第2図及び第3図に基づき説明する
An embodiment of the present invention will be described based on FIGS. 2 and 3.

第2図は本発明の一実施例構成図、第3図はその動作説
明図である。
FIG. 2 is a configuration diagram of an embodiment of the present invention, and FIG. 3 is an explanatory diagram of its operation.

第2図において、第1図と同一記号は同一部分を示す。In FIG. 2, the same symbols as in FIG. 1 indicate the same parts.

PEOはPEIと同様に構成され、CPUl0′、メモ
リ部12−′、受信制御部14、レシーバ15を具備す
る。第2図ではPEIからPEOに要素を転送する場合
を示すために他の構成については図示省略しているが、
PEOにはPEIに図示したものと同様に、転送制御部
、ドライ八等が設けられており、またPEIにはこれま
たPEOと同様に、受信制御部、レジー=バ等が設けら
れている。
The PEO is configured similarly to the PEI, and includes a CPU 10', a memory section 12-', a reception control section 14, and a receiver 15. In FIG. 2, other configurations are omitted to show the case where elements are transferred from PEI to PEO.
The PEO is provided with a transfer control section, a driver, etc., similar to what is shown in the PEI, and the PEI is also provided with a reception control section, a receiver, etc., similarly to the PEO.

メモリ部12−″には、配列データ部12−0’、ヘッ
ダ部12−−1’が設けられている。
The memory section 12-'' is provided with an array data section 12-0' and a header section 12-1'.

受信制御部14には、比較器14−0、レジスタ14−
1〜14−6、七1加算器14−7.14−8等が設け
られている。
The reception control unit 14 includes a comparator 14-0 and a register 14-0.
1 to 14-6, 71 adders 14-7, 14-8, etc. are provided.

データ転送のため、転送制御部12の起動に先立ち、P
EIのCPUl0は、例えば、第1図(C)に示す如き
ヘッドを作成する。PEIからPEOに対して第5図に
示すメモリ領域S1の一点鎖線部分(46〜49.56
〜59.66〜69.76〜79)を送る場合には前記
の如きヘッダ1〜ヘツダ4をヘッダ部12−に作成し、
ヘッダ4の割込制御情報を「1」にし他のヘッダ1〜3
では「0」にする。
In order to transfer data, P
The CPU 10 of the EI creates, for example, a head as shown in FIG. 1(C). From PEI to PEO, the dot-dashed line portion (46 to 49.56) of the memory area S1 shown in FIG.
~59.66~69.76~79), create header 1~header 4 as described above in the header section 12-,
Set the interrupt control information of header 4 to "1" and set other headers 1 to 3.
Now set it to "0".

PEIからPEOに対し、他に送出すべき要素があると
き、あるいはPEIから他のPP、に対し送出すべき要
素があるときは、これに対応した、例えばヘッダ5.6
−を作成しておく。
When there are other elements to be sent from PEI to PEO, or when there are elements to be sent from PEI to another PP, the corresponding header 5.6, for example.
-Create.

このようにして所要のヘッダを作成したのち、CPUl
0はメモリ部12−の読出し先アドレスを通知して、転
送制御部12を起動する。これにより、第3図に示す如
き下記の動作が行われる。
After creating the required header in this way, the CPU
0 notifies the read destination address of the memory section 12- and activates the transfer control section 12. As a result, the following operation as shown in FIG. 3 is performed.

■ 転送制御部12では、カウンタ12−6をゼロにし
て初期化する。またレジスタI2−4にセツトされた前
記読出先アドレスをセレクタSELを介してレジスタ1
2−2に出力し、これにもとづきへンダ部12−−0を
読み出す。これより、ソース側読出アドレス(SRCA
DR)をレジスタ12−3にセットし、転送データ数(
LENGTH)をレジスタ12−5にセットし、割込み
制御情報(SRUPT)をレジスタ12−1にセットす
る。そしてこのヘッダ部12−−1の各データをネット
ワークCに送出し、この外に発信元PE番号(PEI)
、その他の情報として要素間距離等をもネットワークC
に送出し、第1図(B)に示すヘッダ情報を送出し、パ
ケットのヘッダを作成させる。
(2) The transfer control unit 12 initializes the counter 12-6 to zero. Further, the read destination address set in register I2-4 is transferred to register 1 via selector SEL.
2-2, and based on this, the hander section 12--0 is read out. From this, the source side read address (SRCA
DR) in register 12-3, and transfer data number (
LENGTH) is set in register 12-5, and interrupt control information (SRUPT) is set in register 12-1. Then, each data in the header section 12--1 is sent to the network C, and the originating PE number (PEI) is also sent to the network C.
, other information such as distance between elements is also included in network C.
The header information shown in FIG. 1(B) is sent to create a packet header.

■ 転送制御部12では、レジスタ12−4のソース側
読出しアドレス(SRCADR)をレジスタ12−2に
セットし、これによりメモリ部12−をアクセスし、初
めの要素を取り出し、これをネットワークに送出し、パ
ケットのボディ部の要素とする。
■ The transfer control unit 12 sets the source side read address (SRCADR) of the register 12-4 in the register 12-2, accesses the memory unit 12-, takes out the first element, and sends it to the network. , is an element of the body of the packet.

■ そして+1加算器12−8によりレジスタ12−3
のソース側読出しアドレスを+1し、また+1加算器1
2−7によりカウンタ12−6を+1す2゜このレジス
タ12−3の+1されたアドレスによりメモリ部12−
をアクセスし、ボディ部の2番目の要素を取り出し、こ
の要素をネットワークに送出しパケットのボディ部に記
入する。
■ And register 12-3 by +1 adder 12-8
+1 to the source side read address of +1 adder 1
2-7 increases the counter 12-6 by 1.2゜The address incremented by 1 in this register 12-3 causes the memory section 12-6 to be increased by 1.
, extracts the second element of the body, sends this element to the network, and writes it into the body of the packet.

このようなことをカウンタ12−6の値とレジスタ12
−5にセントされた転送データ数が不一致のとき繰返し
て行う。
The value of counter 12-6 and register 12
This process is repeated when the number of transferred data marked -5 does not match.

■ そして、例えば要素が4個読み出されるとき、カウ
ンタ12−6とレジスタ12−5の値とが一致したこと
を比較器12−0が検出し、ゲートGがオンになり、レ
ジスタ12−1にセットされた割込み制御情報がこのと
き[OJであるため、CPUl0に対して割込み制御信
号を送出せず転送制御部12は次のヘッダがあるのでこ
れを読込む。
■ For example, when four elements are read out, the comparator 12-0 detects that the values of the counter 12-6 and the register 12-5 match, the gate G is turned on, and the value of the register 12-1 is read out. Since the set interrupt control information is [OJ at this time, the interrupt control signal is not sent to the CPU10, and the transfer control unit 12 reads the next header since it exists.

なお、前記比較器12−0から一致信号が検出されたと
き、それまで読み出された要素によりボディ部が完成さ
れるので、このパケットが送出されて、PEOに受信さ
れる。
Note that when a match signal is detected from the comparator 12-0, the body portion is completed by the elements read so far, so this packet is sent out and received by the PEO.

■ このようなことがヘッダ1.2.3について行われ
たあと、ヘッダ4についても行われる。そして比較器1
2−0から一致信号が出力され、ゲートGがオンになっ
たとき、今度はレジスタ12−1にrljが記入されて
いるので、転送制御部12はCPUl0に対して割込み
信号を送出しCPUl0はこれにもとづき割込み処理が
行われる。
(2) After this is done for header 1.2.3, it is also done for header 4. and comparator 1
When a match signal is output from 2-0 and gate G is turned on, rlj is written in register 12-1, so transfer control unit 12 sends an interrupt signal to CPU10, and CPU10 Based on this, interrupt processing is performed.

それから転送制御部12は、第1図(C)に示す如く、
さらにヘッダ5があればこれにもとづくCPUを行うが
、ヘッダがなければ転送動作は終了する。
Then, the transfer control unit 12, as shown in FIG. 1(C),
Further, if there is a header 5, the CPU executes the CPU based on this, but if there is no header, the transfer operation ends.

一方、PEOでは、前記パケットを受信したとき、その
ヘッダが解読されて、メモリ12−′のヘッダ部12−
1’に、送信先PE番号(DBSPE)、転送データ数
(LENGTH) 、ソース側続出アドレス(SRCA
DR) 、送信先アドレス(DBST  ADR) 、
割込み制御情報(SRUPT)等を記入し、受信制御1
4に続出アドレスを通知して起動をかける。
On the other hand, when the PEO receives the packet, its header is decoded and the header section 12-' of the memory 12-' is
1', the destination PE number (DBSPE), the number of transferred data (LENGTH), and the source side continuous address (SRCA).
DR), destination address (DBST ADR),
Fill in the interrupt control information (SRUPT), etc., and perform reception control 1.
Notify 4 of the successive addresses and activate it.

このとき続出アドレスはレジスタ14−4にセツトされ
、セレクタSELを経由してレジスタI4−2にセット
されるので、転送制御部12はこれによりヘッダ部12
−−1’を読み出し、レジスタ14−3に送信先アドレ
ス(DEST  ADR)をセントし、レジスタ14−
5に転送データ数(LENGTH)をセントし、レジス
タ14−1に割込み制御情報(SRUPT)をセットし
、カウンタ14−6を初期化して「0」とする。そして
レジスタ14−2に今度はセレクタSELを経由してレ
ジスタ14−3にセットされた送信先アドレス(DES
T  ADR)をセットする。
At this time, the successive address is set in the register 14-4, and is set in the register I4-2 via the selector SEL, so that the transfer control unit 12 can transfer the address to the header part 12.
--1' is read, the destination address (DEST ADR) is written to register 14-3, and register 14-3 is read.
5, the number of transferred data (LENGTH) is set in register 14-1, interrupt control information (SRUPT) is set in register 14-1, and counter 14-6 is initialized to "0". Then, the destination address (DES) set in register 14-3 via selector SEL is stored in register 14-2.
TADR).

この送信先アドレス(DEST  ADR)に初めのパ
ケットにより転送された第1の要素が書込まれ、同時に
+1加算器】4−7にまりカウンタ14−6が+1され
、七l加算器14−8によりレジスタ14−3のアドレ
スが+1されるので、転送された2番目の要素が書込ま
れる。
The first element transferred by the first packet is written to this destination address (DEST ADR), and at the same time, the counter 14-6 is incremented by 1, and the counter 14-6 is incremented by 1, and the counter 14-6 is incremented by 1. Since the address of register 14-3 is incremented by 1, the second transferred element is written.

このようにして4番目の要素がメモリ部12−′(送信
先アドレスは通常配列データ部1f−0’を示している
ので配列データ部12−−0’に書込まれる)に格納さ
れたとき、比較器14−0から一致信号が出力され、ゲ
ートGがオンとなり、レジスタ14−1にセットされた
割込み制御情報がこのとき「0」であるためCPUl0
’に対して割込み制御信号を送出しない。
When the fourth element is stored in the memory section 12-' in this way (the destination address normally indicates the array data section 1f-0', it is written to the array data section 12--0'). , a match signal is output from the comparator 14-0, the gate G is turned on, and since the interrupt control information set in the register 14-1 is "0" at this time, the CPU 10
'Do not send interrupt control signals to '.

このようにして受信制御部I4が1番目〜3番のパケッ
トにより転送された各要素を書込み処理し、4番目のパ
ケットの各要素の書込み処理を行ったとき、今度はレジ
スタI 4−1 lこ[1]が記入されているので、C
PUl0’には割込み制御信号が送出され、CPUI 
O’は割込み処理を行うことになる。
In this way, when the reception control unit I4 writes each element transferred by the first to third packets and writes each element of the fourth packet, this time the register I4-1 l Since this [1] is entered, C
An interrupt control signal is sent to PUl0', and the CPUI
O' will perform interrupt processing.

前記の説明では、第5図に例示するように、4回のデー
タ転送により、1つのまとまったデータづまり1メツセ
ージが転送されるので、この1メツセージの終りに割込
みが発生するようになる。
In the above description, as illustrated in FIG. 5, one group of data, one message, is transferred by four data transfers, and an interrupt occurs at the end of this one message.

また前記説明では、理解を容易にするため、第5図に示
す如きアドレス構成の2次元メモリの例について説明し
たが、本発明は勿論これのみに限定されるものではない
Furthermore, in the above description, in order to facilitate understanding, an example of a two-dimensional memory having an address structure as shown in FIG. 5 has been described, but the present invention is of course not limited to this.

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

本発明によればCPUへの割込み回数を大幅に減少する
ことができるので、分散メモリ型の並列計算機システム
において、転送パケン1−の転送終了時に発信元CPU
に対する割込みを大幅に減少することができるので、C
PUに対するオーハ−ヘンドの削減をはかり、データ処
理能力を向上さセることができる。
According to the present invention, the number of interrupts to the CPU can be significantly reduced, so that in a distributed memory parallel computer system, when the transfer of transfer packet 1- is completed, the source CPU
C
It is possible to reduce over-hand on the PU and improve data processing capacity.

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

第1図は本発明の原理図、 第2図は本発明の一実施例構成図 第3図は本発明の動作説明図、 第4図は分散メモリ型並列計算機ソステム説明図、 第5図は2次元配列メモリ説明図 第6図はヘッダ状態説明図である。 10−CP IJ 12−− メモリ部 12−転送制御部 13− ドライバ Figure 1 is a diagram of the principle of the present invention. Figure 2 is a configuration diagram of an embodiment of the present invention. FIG. 3 is an explanatory diagram of the operation of the present invention, Figure 4 is an explanatory diagram of a distributed memory parallel computer system. Figure 5 is an explanatory diagram of two-dimensional array memory. FIG. 6 is an explanatory diagram of the header state. 10-CP IJ 12--Memory section 12-Transfer control unit 13- Driver

Claims (1)

【特許請求の範囲】  プロセッサとメモリを有するプロセッシング・エレメ
ントを複数接続する分散メモリ型の並列計算機方式にお
いて、 プロセッシング・エレメントに転送制御部(12)を設
けると共に、 この転送制御部(12)に、 アドレス保持手段(12−3)と、 データ数保持手段(12−5)と、 データ数を計数するカウント手段(12−6)と、 データ数保持手段(12−5)とカウント手段(12−
6)の各値を比較する比較手段(12−0)と、 割込み制御情報保持手段(12−1)を設け、この割込
み制御情報として割込み信号あるいは非割込信号のいず
れかを記入し、比較手段(12−0)の出力にもとづき
この割込み制御情報をプロセッサに送出するように構成
したことを特徴とするデータ転送割込制御方式。
[Claims] In a distributed memory type parallel computer system in which a plurality of processing elements having processors and memories are connected, a transfer control unit (12) is provided in the processing element, and the transfer control unit (12) includes: address holding means (12-3); data number holding means (12-5); counting means (12-6) for counting the number of data; data number holding means (12-5) and counting means (12-5);
A comparison means (12-0) for comparing each value of 6) and an interrupt control information holding means (12-1) are provided, and either an interrupt signal or a non-interrupt signal is entered as this interrupt control information, and the comparison is performed. A data transfer interrupt control system characterized in that the interrupt control information is sent to a processor based on the output of the means (12-0).
JP2294330A 1990-10-31 1990-10-31 Data transfer interrupt control method Expired - Fee Related JP2542460B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2294330A JP2542460B2 (en) 1990-10-31 1990-10-31 Data transfer interrupt control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2294330A JP2542460B2 (en) 1990-10-31 1990-10-31 Data transfer interrupt control method

Publications (2)

Publication Number Publication Date
JPH04167842A true JPH04167842A (en) 1992-06-15
JP2542460B2 JP2542460B2 (en) 1996-10-09

Family

ID=17806307

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2294330A Expired - Fee Related JP2542460B2 (en) 1990-10-31 1990-10-31 Data transfer interrupt control method

Country Status (1)

Country Link
JP (1) JP2542460B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5652905A (en) * 1992-12-18 1997-07-29 Fujitsu Limited Data processing unit
CN112835847A (en) * 2021-02-05 2021-05-25 中国电子科技集团公司第五十八研究所 Distributed interrupt transmission method and system for interconnected bare core

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01309445A (en) * 1988-06-07 1989-12-13 Fujitsu Ltd Data transfer system
JPH02224542A (en) * 1989-02-27 1990-09-06 Nec Corp Communication controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01309445A (en) * 1988-06-07 1989-12-13 Fujitsu Ltd Data transfer system
JPH02224542A (en) * 1989-02-27 1990-09-06 Nec Corp Communication controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5652905A (en) * 1992-12-18 1997-07-29 Fujitsu Limited Data processing unit
US5664104A (en) * 1992-12-18 1997-09-02 Fujitsu Limited Transfer processor including a plurality of failure display units wherein a transfer process is prohibited if failure is indicated in a failure display unit
CN112835847A (en) * 2021-02-05 2021-05-25 中国电子科技集团公司第五十八研究所 Distributed interrupt transmission method and system for interconnected bare core

Also Published As

Publication number Publication date
JP2542460B2 (en) 1996-10-09

Similar Documents

Publication Publication Date Title
US7788334B2 (en) Multiple node remote messaging
US7886084B2 (en) Optimized collectives using a DMA on a parallel computer
CA2170458C (en) Multi-cluster computer system
JP2642049B2 (en) Method and apparatus for transferring information with arbitrarily changing data stride
US20090003344A1 (en) Asyncronous broadcast for ordered delivery between compute nodes in a parallel computing system where packet header space is limited
US9225545B2 (en) Determining a path for network traffic between nodes in a parallel computer
Grossman et al. Filtering, reductions and synchronization in the Anton 2 network
EP3729261B1 (en) A centralized-distributed mixed organization of shared memory for neural network processing
Dror et al. Exploiting 162-nanosecond end-to-end communication latency on Anton
JP2776390B2 (en) Transmission and reception bus interface
US8589584B2 (en) Pipelining protocols in misaligned buffer cases
JPH04167842A (en) Data transfer interrupt control system
JP2632074B2 (en) Data flow type information processing device
Jagadish et al. An efficient scheme for interprocessor communication using dual-ported RAMs
US20160085706A1 (en) Methods And Systems For Controlling Ordered Write Transactions To Multiple Devices Using Switch Point Networks
US11637682B2 (en) Extended sync network
US20220326988A1 (en) Explicit scheduling of on-chip operations
JPH0520284A (en) Parallel processor system
JP3684579B2 (en) Processor element of distributed parallel computer
JPH04167191A (en) Fast data transfer system in decentralized memory type parallel computer
US11928523B2 (en) Synchronisation for a multi-tile processing unit
US11907772B2 (en) Tracing synchronization activity of a processing unit
JPH04167163A (en) Detection system for end of data transfer
US11675686B2 (en) Tracing activity from multiple components of a device
Cull et al. The Möbus Cubes: Improved Cubelike Networks for Parallel Computation.

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees