JPH1083379A - Parallel computer system - Google Patents

Parallel computer system

Info

Publication number
JPH1083379A
JPH1083379A JP8237436A JP23743696A JPH1083379A JP H1083379 A JPH1083379 A JP H1083379A JP 8237436 A JP8237436 A JP 8237436A JP 23743696 A JP23743696 A JP 23743696A JP H1083379 A JPH1083379 A JP H1083379A
Authority
JP
Japan
Prior art keywords
computer
job
barrier synchronization
progress information
broadcast
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
JP8237436A
Other languages
Japanese (ja)
Other versions
JP3429631B2 (en
Inventor
Kenichi Ishizaka
賢一 石坂
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 JP23743696A priority Critical patent/JP3429631B2/en
Publication of JPH1083379A publication Critical patent/JPH1083379A/en
Application granted granted Critical
Publication of JP3429631B2 publication Critical patent/JP3429631B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform barrier synchronous control with a small hardware quantity by controlling barrier synchronism between a process which operates on a local computer and a process which operate on another computer according to a broadcasted job identifier. SOLUTION: A broadcasting means 11 of each computer 1 broadcasts process progress information on the process operating on the computer 1 itself and the identifier of its job to all computers 1 through a communication mechanism 2. A judging means 13a of each computer 1 judges whether or not the broadcasted job identifier is the same as the job that the process operating on the computer 1 belongs to and once it is judged that the broadcasted job identifier is the same with the job, a counting means 13b counts up a count value according to the broadcasted process progress information. Then a determination means 13c judges whether or not the count value reaches a prescribed to judge whether or not a barrier synchronism point is reached, and decides whether or not the process operating on the computer 1 is advanced to a next step.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数の計算機とそ
れらを接続する通信機構とから構成され、1つのジョブ
を複数のプロセスに分割して計算機に割り付ける構成を
採って、各計算機が他計算機で動作するプロセスと同期
をとりつつ割り付けられるプロセスを実行する並列計算
機システムに関し、特に、少ないハードウェア量でもっ
て、その同期処理を実行できるようにする並列計算機シ
ステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention comprises a plurality of computers and a communication mechanism for connecting the computers, and employs a configuration in which one job is divided into a plurality of processes and assigned to the computers. In particular, the present invention relates to a parallel computer system that executes processes allocated in synchronization with a process running on a parallel computer, and more particularly to a parallel computer system that can execute the synchronization process with a small amount of hardware.

【0002】並列計算機システムでは、1つのジョブを
複数のプロセスに分割して複数の計算機で並列に処理す
ることで、そのジョブを高速に実行する構成を採ってい
る。この並列処理を実行する場合、各計算機は、他の計
算機で処理されるプロセスがある所まで処理されたこと
を条件にして、次のステップに進むように制御するバリ
ア同期制御を実行する。
A parallel computer system employs a configuration in which one job is divided into a plurality of processes and processed in parallel by a plurality of computers to execute the job at high speed. When executing this parallel processing, each computer executes barrier synchronization control for controlling to proceed to the next step on condition that the process to be processed by another computer has been processed to a certain point.

【0003】多数の並列ジョブを同時にあるいは時分割
に動作させるためには、各ジョブ内のプロセス間で同期
を同時に処理するための機構が必要となり、一般に大量
のハードウェアが必要となる。これから、このバリア同
期制御は、少ないハードウェア量で実現できるようにし
ていく必要がある。
In order to operate a large number of parallel jobs simultaneously or in a time-division manner, a mechanism for simultaneously processing synchronization between processes in each job is required, and a large amount of hardware is generally required. Therefore, it is necessary to realize the barrier synchronization control with a small amount of hardware.

【0004】[0004]

【従来の技術】本発明者は、特開平7-262142 号で、並
列計算機システムのバリア同期制御について新たな発明
を開示した。
2. Description of the Related Art The present inventor has disclosed a new invention concerning barrier synchronization control of a parallel computer system in Japanese Patent Application Laid-Open No. Hei 7-262142.

【0005】この特開平7-262142 号で説明したよう
に、並列計算機システムで最大n個のプログラムが並列
に実行可能であり、各計算機にそれらのプログラムの全
てが自由に割り付けられる可能性があるとすると、各計
算機におけるプログラムの実行状態は、実行状態が例え
ば実行中/実行終了で示される場合には、nビットで表
すことができる。
As described in Japanese Patent Application Laid-Open No. Hei 7-262142, a maximum of n programs can be executed in parallel in a parallel computer system, and all the programs may be freely allocated to each computer. Then, the execution state of the program in each computer can be represented by n bits when the execution state is indicated by, for example, “in execution / end of execution”.

【0006】これから、並列計算機システムを構成する
計算機の台数がm台であるとすると、並列計算機システ
ムにおけるプログラムの実行状態は、n×mビットで表
されことになる。従って、この実行状態の目標状態につ
いても、n×mビットで表されことになるが、各計算機
で最大n個のプログラムが実行される可能性があること
から、各計算機では、目標状態を管理するn×mビット
の大きさを持つレジスタをn個備えなくてはならないこ
とになる。
[0006] Assuming that the number of computers constituting the parallel computer system is m, the execution state of the program in the parallel computer system is represented by nxm bits. Accordingly, the target state of this execution state is also represented by n × m bits, but since each computer may execute at most n programs, each computer manages the target state. That is, it is necessary to provide n registers having a size of n × m bits.

【0007】[0007]

【発明が解決しようとする課題】このように、従来の並
列計算機システムでは、バリア同期制御を実行するため
に、各計算機は、通信機構を介して通知される現在のプ
ログラムの実行状態を管理するn×mビットの大きさを
持つステータスレジスタの他に、その実行状態の目標状
態を管理するn×mビットの大きさを持つn個のマスク
レジスタを持つ構成を採っている。
As described above, in the conventional parallel computer system, in order to execute the barrier synchronization control, each computer manages the current execution state of the program notified via the communication mechanism. In addition to a status register having a size of n × m bits, a configuration having n mask registers having a size of n × m bits for managing a target state of the execution state is adopted.

【0008】これから、従来技術に従っていると、バリ
ア同期制御を実行するために、n×n×mビットという
大きなハードウェア量のマスクレジスタを用意しなけれ
ばならないという問題点があった。
Therefore, according to the prior art, there is a problem that a mask register having a large hardware amount of n.times.n.times.m bits must be prepared in order to execute the barrier synchronization control.

【0009】この問題点に対して、各計算機に割り付け
るプロセスの割り付け方法を制限して、このハードウェ
ア量を削減するという構成を採ることも可能だが、汎用
的な並列計算機システムとしては、多数の並列ジョブが
同時に走行できなくなり不利である。
To address this problem, it is possible to adopt a configuration in which the amount of hardware is reduced by limiting the method of allocating processes to be allocated to each computer. This is disadvantageous because parallel jobs cannot run at the same time.

【0010】本発明はかかる事情に鑑みてなされたもの
であって、少ないハードウェア量でもって、バリア同期
制御を実行できるようにする新たな並列計算機システム
の提供を目的する。
The present invention has been made in view of the above circumstances, and has as its object to provide a new parallel computer system capable of executing barrier synchronization control with a small amount of hardware.

【0011】[0011]

【課題を解決するための手段】図1及び図2に本発明の
原理構成を図示する。図中、1は本発明の並列計算機シ
ステムを構成する複数の計算機、2は計算機1を接続す
る通信機構である。
FIG. 1 and FIG. 2 show the principle configuration of the present invention. In the figure, reference numeral 1 denotes a plurality of computers constituting the parallel computer system of the present invention, and 2 denotes a communication mechanism for connecting the computers 1.

【0012】本発明の並列計算機システムでは、1つの
ジョブを複数のプロセスに分割して計算機1に割り付け
る構成を採って、各計算機1が、自計算機1で動作する
1つ又は複数のプロセスの処理進行情報を通信機構2を
介して全計算機1に放送していくとともに、通信機構2
を介して放送される処理進行情報に従って他計算機1で
動作するプロセスと同期をとりつつ割り付けられるプロ
セスを実行する。
The parallel computer system of the present invention adopts a configuration in which one job is divided into a plurality of processes and assigned to the computer 1, and each computer 1 processes one or a plurality of processes operating on its own computer 1. The progress information is broadcast to all the computers 1 via the communication mechanism 2 and the communication mechanism 2
In accordance with the processing progress information broadcasted via the PC, a process that is allocated is executed while synchronizing with a process that operates on the other computer 1.

【0013】図1に原理構成を図示する本発明の計算機
1は、管理手段10と、放送手段11と、付加手段12
と、制御手段13と、受信手段14と、指示手段15
と、読込手段16と、割込手段17とを備える。
The computer 1 of the present invention, whose principle configuration is shown in FIG. 1, comprises a management means 10, a broadcasting means 11, and an addition means 12
, Control means 13, receiving means 14, and instruction means 15
, Reading means 16 and interrupt means 17.

【0014】この管理手段10は、自計算機1で動作す
るプロセスの処理進行情報と、そのプロセスの属するジ
ョブの識別子とを管理する。放送手段11は、自計算機
1で動作するプロセスの処理進行情報と、そのプロセス
の属するジョブの識別子とを放送したり、処理用データ
とジョブ識別子とを放送したり、割り込み通知とジョブ
識別子とを放送する。付加手段12は、放送手段11の
放送する放送情報に対してその情報の種別を示すオペコ
ードを付加する。
The management means 10 manages processing progress information of a process operating on the computer 1 and an identifier of a job to which the process belongs. The broadcasting unit 11 broadcasts processing progress information of a process operating on the computer 1 and an identifier of a job to which the process belongs, broadcasts processing data and a job identifier, and transmits an interrupt notification and a job identifier. To broadcast. The adding unit 12 adds an operation code indicating the type of the information to the broadcast information broadcast by the broadcasting unit 11.

【0015】制御手段13は、ジョブ識別子に対応付け
て用意されて、放送されるジョブ識別子に従って、自計
算機1で動作するプロセスと他計算機1で動作するプロ
セスとの間のバリア同期を制御するものであって、判断
手段13a/計数手段13b/決定手段13cを備え
る。受信手段14は、通信機構2を介して放送される情
報を受信する。指示手段15は、受信手段14の受信し
た情報の持つオペコードを解読する。
The control means 13 is prepared in association with the job identifier, and controls the barrier synchronization between the process operating on the own computer 1 and the process operating on the other computer 1 according to the broadcast job identifier. And a determining means 13a / counting means 13b / deciding means 13c. The receiving unit 14 receives information broadcast via the communication mechanism 2. The instruction unit 15 decodes the operation code of the information received by the reception unit 14.

【0016】読込手段16は、指示手段15の指示に応
答して、例えば、放送されるジョブ識別子が自計算機1
で動作するプロセスの属するジョブと同一であることを
条件にして、受信手段14の受信する処理用データを読
み込む。割込手段17は、指示手段15の指示に応答し
て、例えば、放送されるジョブ識別子が自計算機1で動
作するプロセスの属するジョブと同一であることを条件
にして、受信手段14の受信する割り込み通知に応答し
てCPUに対して割り込みを発生する。
The reading means 16 responds to the instruction from the instruction means 15 and, for example, when the broadcast job identifier is
The processing data received by the receiving unit 14 is read on the condition that the job is the same as the job to which the process that operates in (1) belongs. In response to the instruction from the instruction unit 15, the interruption unit 17 receives the job by the reception unit 14, for example, on condition that the job identifier to be broadcasted is the same as the job to which the process operating on the computer 1 belongs. An interrupt is generated for the CPU in response to the interrupt notification.

【0017】このように構成される図1に図示する本発
明の並列計算機システムを構成する計算機1では、各計
算機1の放送手段11は、自計算機1で動作するプロセ
スの処理進行情報と、そのプロセスの属するジョブの識
別子とを通信機構2を介して全計算機1に放送する。
In the computer 1 constituting the parallel computer system according to the present invention shown in FIG. 1, the broadcasting means 11 of each computer 1 processes processing information of a process operating on its own computer 1 and its progress information. The job identifier to which the process belongs is broadcast to all the computers 1 via the communication mechanism 2.

【0018】この放送を受けて、各計算機1の判断手段
13aは、放送されるジョブ識別子が自計算機1で動作
するプロセスの属するジョブと同一であるのか否かを判
断し、この判断結果を受けて、計数手段13bは、放送
されるジョブ識別子が自計算機1で動作するプロセスの
属するジョブと同一であることが判断されると、放送さ
れる処理進行情報に従って計数値をカウントアップす
る。そして、この計数処理を受けて、決定手段13c
は、計数手段13bの計数値が規定値(プロセス数)に
到達したのか否かを判断することで、バリア同期点に到
達したのか否かを判断して、自計算機1で動作するプロ
セスを次のステップに進めるのか否かを決定する。
In response to the broadcast, the determination means 13a of each computer 1 determines whether or not the broadcast job identifier is the same as the job to which the process running on the computer 1 belongs, and receives the determination result. When it is determined that the broadcast job identifier is the same as the job to which the process operating on the computer 1 belongs, the counting unit 13b counts up the count value according to the broadcast processing progress information. Then, in response to the counting process, the determining means 13c
Determines whether or not the count value of the counting means 13b has reached a specified value (the number of processes) to determine whether or not the barrier synchronization point has been reached. It is determined whether or not to proceed to the step.

【0019】この構成を採るときにあって、放送手段1
1は、プロセスの処理進行情報に代えて、処理用データ
や割り込み通知を放送することがあり、このときには、
付加手段12は、放送される情報にオペコードを付加し
ていくので、指示手段15は、放送されるこのオペコー
ドを受けて、読込手段16を起動していくことで処理用
データの読み込みを実行したり、割込手段17を起動し
ていくことでCPUへの割り込みを実行する。
At the time of adopting this configuration, the broadcasting means 1
1 may broadcast processing data or an interrupt notification in place of the processing progress information of the process.
Since the adding unit 12 adds the operation code to the broadcast information, the instruction unit 15 receives the operation code to be broadcast and activates the reading unit 16 to read the processing data. Or by activating the interrupt means 17 to execute an interrupt to the CPU.

【0020】このようにして、図1に原理構成を図示す
る本発明の計算機1では、例えば、1つのジョブを8個
のプロセスに分割して計算機1で並列処理するときに、
そのプロセスの処理進行情報をジョブ識別子とともに放
送する構成を採って、そのジョブについての8個のバリ
ア同期点到達の処理進行情報が放送されたのか否かを検
出することで、バリア同期制御を実行する構成を採るこ
とから、少ないハードウェア量でもってバリア同期制御
を実行できるようになる。
Thus, in the computer 1 of the present invention whose principle configuration is shown in FIG. 1, for example, when one job is divided into eight processes and the computer 1 performs parallel processing,
The configuration is adopted in which the processing progress information of the process is broadcast together with the job identifier, and the barrier synchronization control is executed by detecting whether or not the processing progress information of reaching the eight barrier synchronization points for the job has been broadcast. With this configuration, barrier synchronization control can be performed with a small amount of hardware.

【0021】そして、このバリア同期制御を実行しつ
つ、他の計算機1に処理用データを書き込んだり、他の
計算機1に割り込みを通知できるようになる。一方、図
2に原理構成を図示する本発明の計算機1は、管理手段
20と、放送手段21と、付加手段22と、書込手段2
3と、決定手段24と、受信手段25と、指示手段26
と、読込手段27と、割込手段28とを備える。
Then, while executing the barrier synchronization control, it becomes possible to write processing data to another computer 1 or to notify another computer 1 of an interrupt. On the other hand, the computer 1 of the present invention whose principle configuration is shown in FIG. 2 includes a management unit 20, a broadcasting unit 21, an adding unit 22, and a writing unit 2
3, determining means 24, receiving means 25, and instructing means 26
, Reading means 27, and interrupt means 28.

【0022】この管理手段20は、自計算機1で動作す
るプロセスに対応付けて用意され、そのプロセスのジョ
ブ内の展開位置を示すジョブ内番号とそのジョブの識別
子とを管理するとともに、少なくともそのジョブの持つ
プロセスの数分のビット域を有して、そのビット域にプ
ロセスの処理進行情報を示すビット値を格納する第1の
レジスタ手段20aと、第1のレジスタ手段20aに対
応付けて備えられて、ビット域にプロセスの存在の有無
を示すビット値を格納する第2のレジスタ手段20bと
を備える。
The management means 20 is prepared in association with a process operating on the computer 1, and manages an in-job number indicating a development position of the process in a job and an identifier of the job. And a first register 20a for storing a bit value indicating the process progress information of the process in the bit area and a first register 20a. And a second register means 20b for storing a bit value indicating the presence or absence of a process in a bit area.

【0023】放送手段21は、自計算機1で動作するプ
ロセスの処理進行情報と、そのプロセスの属するジョブ
の識別子と、そのプロセスのジョブ内番号とを放送した
り、処理用データとジョブ識別子とを放送したり、割り
込み通知とジョブ識別子とを放送する。付加手段22
は、放送手段21の放送する放送情報に対してその情報
の種別を示すオペコードを付加する。
The broadcasting means 21 broadcasts the processing progress information of the process operating on the computer 1, the identifier of the job to which the process belongs, and the job number of the process, and transmits the processing data and the job identifier. Broadcast or broadcast an interrupt notification and job identifier. Addition means 22
Adds an operation code indicating the type of information to the broadcast information broadcast by the broadcasting means 21.

【0024】書込手段23は、放送されるジョブ識別子
及びジョブ内番号の指す第1のレジスタ手段20aのビ
ット域に、放送される処理進行情報を書き込む。決定手
段24は、第1のレジスタ手段20aの格納データと、
対となる第2のレジスタ手段20bの格納データとを比
較することで、自計算機1で動作するプロセスを次のス
テップに進めるのか否かを決定する。
The writing means 23 writes the processing progress information to be broadcast in the bit area of the first register means 20a indicated by the broadcast job identifier and the job number. The deciding means 24 includes data stored in the first register means 20a,
By comparing the data stored in the second register unit 20b with the pair, it is determined whether or not to proceed to the next step in the process operating on the own computer 1.

【0025】受信手段25は、通信機構2を介して放送
される情報を受信する。指示手段26は、受信手段25
の受信した情報の持つオペコードを解読する。読込手段
27は、指示手段26の指示に応答して、例えば、放送
されるジョブ識別子が自計算機1で動作するプロセスの
属するジョブと同一であることを条件にして、受信手段
25の受信する処理用データを読み込む。割込手段28
は、指示手段26の指示に応答して、例えば、放送され
るジョブ識別子が自計算機1で動作するプロセスの属す
るジョブと同一であることを条件にして、受信手段25
の受信する割り込み通知に応答してCPUに対して割り
込みを発生する。
The receiving means 25 receives information broadcast via the communication mechanism 2. The instructing means 26 is
Decrypts the operation code of the received information. The reading unit 27 responds to the instruction of the instruction unit 26, for example, on the condition that the job identifier to be broadcasted is the same as the job to which the process operating on the computer 1 belongs, Read the data for use. Interruption means 28
In response to the instruction from the instruction unit 26, for example, on the condition that the broadcast job identifier is the same as the job to which the process operating on the computer 1 belongs,
In response to the interrupt notification received by the CPU.

【0026】このように構成される図2に図示する本発
明の並列計算機システムを構成する計算機1では、各計
算機1の放送手段21は、自計算機1で動作するプロセ
スの進行情報と、そのプロセスの持つジョブ内番号及び
ジョブ識別子とを通信機構2を介して全計算機1に放送
する。
In the computer 1 constituting the parallel computer system of the present invention shown in FIG. 2, the broadcasting means 21 of each computer 1 transmits the progress information of the process operating on its own computer 1 and the progress information of the process. Is broadcasted to all the computers 1 via the communication mechanism 2.

【0027】この放送を受けて、各計算機1の書込手段
23は、放送されるジョブ識別子及びジョブ内番号の指
す第1のレジスタ手段20aに、放送される処理進行情
報を書き込む。そして、この書込結果を受けて、決定手
段24は、第1のレジスタ手段20aの格納データと、
対となる第2のレジスタ手段20bの格納データとを比
較することで、バリア同期点に到達したのか否かを判断
して、自計算機1で動作するプロセスを次のステップに
進めるのか否かを決定する。
In response to the broadcast, the writing means 23 of each computer 1 writes the broadcast processing progress information to the first register means 20a indicated by the broadcast job identifier and the job number. Then, in response to the write result, the determination means 24 determines the data stored in the first register 20a,
By comparing the data stored in the second register unit 20b with the pair, it is determined whether or not the barrier synchronization point has been reached, and whether or not the process operating on the own computer 1 proceeds to the next step is determined. decide.

【0028】この構成を採るときにあって、放送手段2
1は、プロセスの処理進行情報に代えて、処理用データ
や割り込み通知を放送することがあり、このときには、
付加手段22は、放送される情報にオペコードを付加し
ていくので、指示手段26は、放送されるこのオペコー
ドを受けて、読込手段27を起動していくことで処理用
データの読み込みを実行したり、割込手段28を起動し
ていくことでCPUへの割り込みを実行する。
At the time of adopting this configuration, the broadcasting means 2
1 may broadcast processing data or an interrupt notification in place of the processing progress information of the process.
The adding means 22 adds an operation code to the information to be broadcast. Therefore, the instruction means 26 receives the operation code to be broadcast and activates the reading means 27 to execute the reading of the processing data. Alternatively, an interrupt to the CPU is executed by activating the interrupt means 28.

【0029】このようにして、図2に原理構成を図示す
る本発明の計算機1では、例えば、1つのジョブを8個
のプロセスに分割して計算機1で並列処理するときに、
そのプロセスの処理進行情報をジョブ内番号/ジョブ識
別子とともに放送する構成を採って、従来技術よりも少
ないビット数の第2のレジスタ手段20bを使って、そ
のジョブについての8個のバリア同期点到達の処理進行
情報が放送されたのか否かを検出することで、バリア同
期制御を実行する構成を採ることから、少ないハードウ
ェア量でもってバリア同期制御を実行できるようにな
る。
As described above, in the computer 1 of the present invention whose principle configuration is shown in FIG. 2, for example, when one job is divided into eight processes and the computer 1 performs parallel processing,
The process progress information of the process is broadcasted together with the job number / job identifier, and eight barrier synchronization points for the job are reached using the second register means 20b having a smaller number of bits than in the prior art. By detecting whether or not the processing progress information has been broadcast, barrier synchronization control is executed, so that barrier synchronization control can be executed with a small amount of hardware.

【0030】そして、このバリア同期制御を実行しつ
つ、他の計算機1に処理用データを書き込んだり、他の
計算機1に割り込みを通知できるようになる。
Then, while executing the barrier synchronization control, it becomes possible to write processing data to another computer 1 or to notify another computer 1 of an interrupt.

【0031】[0031]

【発明の実施の形態】以下、実施の形態に従って本発明
を詳細に説明する。図3に、本発明を具備する並列計算
機システムの一例を図示する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail according to embodiments. FIG. 3 shows an example of a parallel computer system equipped with the present invention.

【0032】この図に示す並列計算機システムは、PE
1で示される計算機1-1と、PE2で示される計算機1
-2と、PE3で示される計算機1-3と、PE4で示され
る計算機1-4という4台の計算機1で構成されて、1つ
のジョブを並列処理する構成を採っている。
The parallel computer system shown in FIG.
Computer 1 indicated by reference numeral 1 and computer 1 indicated by PE2
-2, a computer 1-3 indicated by PE3, and a computer 1-4 indicated by PE4, and employs a configuration in which one job is processed in parallel.

【0033】以下では、説明の便宜上、ジョブ識別子
“1234”を持つ1つのジョブを8個のプロセス1〜8に
分割して、図4に示すように、計算機1-1がプロセス1
とプロセス2を実行し、計算機1-2がプロセス3とプロ
セス4を実行し、計算機1-3がプロセス5とプロセス6
を実行し、計算機1-4がプロセス7とプロセス8を実行
するという並列処理形態を想定する。
In the following, for convenience of explanation, one job having the job identifier "1234" is divided into eight processes 1 to 8, and as shown in FIG.
And the process 2 are executed, the computer 1-2 executes the processes 3 and 4, and the computer 1-3 executes the processes 5 and 6
And the computer 1-4 executes the process 7 and the process 8 in a parallel processing mode.

【0034】本発明の並列計算機システムを構成する計
算機1は、自計算機1で動作するプロセスの処理進行情
報と、そのプロセスの属するジョブの識別子と、そのプ
ロセスのジョブ内番号(ジョブ内での展開位置を示す)
とを放送する構成を採っており、これを実現するため
に、通信機構2は、図5に示すように、各計算機1から
通知されるジョブ識別子(jobid)/ジョブ内番号(pid)
/処理進行情報(state)を受け取って、それを選択しつ
つ各計算機1に送信する選択回路200を備える構成を
採っている。
The computer 1 constituting the parallel computer system according to the present invention includes processing progress information of a process running on its own computer 1, an identifier of a job to which the process belongs, and a job number of the process (intra-job development). Indicate location)
In order to realize this, the communication mechanism 2 transmits the job identifier (jobid) / in-job number (pid) notified from each computer 1 as shown in FIG.
A configuration is provided that includes a selection circuit 200 that receives processing progress information (state) and transmits it to each computer 1 while selecting it.

【0035】図6に、本発明の並列計算機システムを構
成する計算機1の一実施例を図示する。図中、30はC
PU、31-i(i=1〜n)はn台備えられるバリア同
期機構であって、バリア同期制御を実行するものであ
る。ここで、このn台は、1つの計算機1で並列に実行
される可能性のあるプロセスの最大数に対応している。
FIG. 6 shows an embodiment of the computer 1 constituting the parallel computer system of the present invention. In the figure, 30 is C
PUs 31-i (i = 1 to n) are n barrier synchronization mechanisms provided for executing barrier synchronization control. Here, the n units correspond to the maximum number of processes that may be executed in parallel by one computer 1.

【0036】32は選択回路であって、各バリア同期機
構31-iの出力するジョブ識別子/ジョブ内番号/処理
進行情報を入力として、その内の1つのバリア同期機構
31-iの出力するジョブ識別子/ジョブ内番号/処理進
行情報を通信機構2に出力するものである。
A selection circuit 32 receives a job identifier / in-job number / processing progress information output from each barrier synchronization mechanism 31-i and receives a job output from one of the barrier synchronization mechanisms 31-i. The identifier / in-job number / processing progress information is output to the communication mechanism 2.

【0037】33は受信回路であって、通信機構2から
放送されるジョブ識別子/ジョブ内番号/処理進行情報
を受信して、それを各バリア同期機構31-iに通知する
もの、34は機構番号表示回路であって、CPU30で
動作中のプロセスが使用しているバリア同期機構31-i
の機構番号を表示するものである。
Reference numeral 33 denotes a receiving circuit which receives the job identifier / in-job number / processing progress information broadcast from the communication mechanism 2 and notifies it to each barrier synchronization mechanism 31-i; A number indicating circuit, which is used by a process running on the CPU 30 for a barrier synchronization mechanism 31-i.
Is displayed.

【0038】35は宛先選択回路であって、機構番号表
示回路34の表示する機構番号に従ってバリア同期機構
31-iを選択して、CPU30がプロセスの処理進行情
報を変更するときに、その選択するバリア同期機構31
-iにその処理進行情報を出力するものである。
A destination selection circuit 35 selects the barrier synchronization mechanism 31-i according to the mechanism number displayed by the mechanism number display circuit 34, and selects the barrier synchronization mechanism 31-i when the CPU 30 changes the process progress information of the process. Barrier synchronization mechanism 31
-i outputs the processing progress information.

【0039】36は選択回路であって、機構番号表示回
路34の表示する機構番号に従ってバリア同期機構31
-iを選択して、その選択するバリア同期機構31-iがバ
リア同期の取れた旨のビット値を出力するときに、その
出力値をCPU30の持つ規定のレジスタに書き込むも
のである。
Reference numeral 36 denotes a selection circuit, which is a barrier synchronization mechanism 31 according to the mechanism number displayed by the mechanism number display circuit 34.
When the selected barrier synchronization mechanism 31-i outputs a bit value indicating that barrier synchronization has been achieved, the output value is written to a prescribed register of the CPU 30.

【0040】37は割込マスクであって、CPU30に
割り込みを通知するのか否かを管理する構成を採って、
機構番号表示回路34の表示する機構番号に従ってバリ
ア同期機構31-iを選択して、その選択するバリア同期
機構31-iがバリア同期の取れた旨のビット値を出力す
るときに、割り込み通知が設定されているときには、そ
のバリア同期機構31-iを使用しているプロセスが動作
中であってもなくても、CPU30に割り込みを通知す
るものである。
Reference numeral 37 denotes an interrupt mask which is configured to manage whether or not to notify the CPU 30 of an interrupt.
When the barrier synchronization mechanism 31-i selects a barrier synchronization mechanism 31-i according to the mechanism number displayed by the mechanism number display circuit 34 and outputs a bit value indicating that barrier synchronization has been achieved, an interrupt notification is issued. When the setting is made, the interrupt is notified to the CPU 30 whether the process using the barrier synchronization mechanism 31-i is in operation or not.

【0041】このバリア同期機構31-iは、自分を使用
しているプロセスのジョブ識別子を保持して選択回路3
2に出力するジョブ識別子レジスタ40と、自分を使用
しているプロセスのジョブ内番号を保持して選択回路3
2に出力するジョブ内番号レジスタ41と、宛先選択回
路35から通知される処理進行情報を書き込む状態レジ
スタ42と、8ビット以上のビット域を有して、ビット
域i(i=1〜8)にプロセスi(i=1〜8)の処理
進行情報を示すビット値(初期値はall"0") を格納する
ステータスレジスタ43と、ステータスレジスタ43に
対応付けて備えられて、ビット域i(i=1〜8)にプ
ロセスi(i=1〜8)の存在を示すビット値“1”を
格納し、それ以外のビット域にプロセスの不存在を示す
ビット値“0”を格納するマスクレジスタ44と、ステ
ータスレジスタ43のビット値とマスクレジスタ44の
ビット値とを比較することで、バリア同期が取れたのか
否かを検出して、その検出結果を選択回路36/割込マ
スク37に出力する同期検出回路45と、受信回路33
の受信するジョブ識別子と、ジョブ識別子レジスタ40
の保持するジョブ識別子とが一致するときに、受信回路
33の受信するジョブ内番号の指すステータスレジスタ
43のビット域に、放送されてくる処理進行情報を書き
込む書込回路46とを備える。
The barrier synchronizing mechanism 31-i holds the job identifier of the process using it and selects the
2 and a selection circuit 3 which holds a job identifier register 40 to be output to the
2, a status register 42 for writing processing progress information notified from the destination selection circuit 35, and a bit area i (i = 1 to 8) having a bit area of 8 bits or more. And a status register 43 that stores a bit value (initial value is all “0”) indicating processing progress information of the process i (i = 1 to 8). A mask that stores a bit value “1” indicating the existence of the process i (i = 1 to 8) in i = 1 to 8) and stores a bit value “0” indicating the absence of the process in other bit areas. By comparing the bit value of the register 44 with the bit value of the status register 43 and the bit value of the mask register 44, it is detected whether or not barrier synchronization has been achieved, and the detection result is sent to the selection circuit 36 / interrupt mask 37. Output A period detection circuit 45, reception circuit 33
And the job identifier register 40
And a writing circuit 46 for writing the processing progress information to be broadcast in the bit area of the status register 43 indicated by the job number received by the receiving circuit 33 when the job identifier held by the receiving circuit 33 matches.

【0042】以下では、ステータスレジスタ43及びマ
スクレジスタ44のビット数を16ビットで想定してい
る。これは、実稼働時には、16台の計算機1の各々
が、16個に分割される1つのプロセスを並列処理し、
デバッグ時には、それよりも少ない計算機1の各々が、
複数のプロセスを並列処理することでデバッグ処理を実
行する構成を採ることを想定しているからである。
In the following, it is assumed that the number of bits of the status register 43 and the mask register 44 is 16 bits. This means that at the time of actual operation, each of the 16 computers 1 processes one process divided into 16 in parallel,
At the time of debugging, each of the less computer 1
This is because it is assumed that a configuration in which a debug process is executed by performing a plurality of processes in parallel is assumed.

【0043】このような構成を採る場合、バリア同期制
御を実行するためには、従来技術では、上述したよう
に、16×n×nビットの大きさを持つマスクレジスタ
を用意しなければならないのに対して、本発明では、1
6×nビットの大きさを持つマスクレジスタ44を用意
すれば足りるので、ハードウェア量を大きく削減できる
ようになる。なお、ステータスレジスタ43について
は、従来技術と同様に、16×nビットの大きさを持つ
必要がある。
In such a configuration, in order to execute the barrier synchronization control, in the prior art, as described above, a mask register having a size of 16 × n × n bits must be prepared. In contrast, in the present invention, 1
It is sufficient to prepare the mask register 44 having a size of 6 × n bits, so that the amount of hardware can be greatly reduced. Note that the status register 43 needs to have a size of 16 × n bits as in the related art.

【0044】次に、このように構成される計算機1の動
作処理について具体的に説明することで、本発明につい
て詳細に説明する。ここで、図4で説明したように、1
つのジョブを8個のプロセス1〜8に分割して、計算機
1-1がプロセス1/プロセス2を実行し、計算機1-2が
プロセス3/プロセス4を実行し、計算機1-3がプロセ
ス5/プロセス6を実行し、計算機1-4がプロセス7/
プロセス8を実行するという並列処理形態を想定してい
るが、更に、図7及び図8に示すように、プロセス1が
計算機1-1のバリア同期機構31-1を使用し、プロセス
2が計算機1-1のバリア同期機構31-2を使用し、プロ
セス3が計算機1-2のバリア同期機構31-1を使用し、
プロセス4が計算機1-2のバリア同期機構31-2を使用
し、プロセス5が計算機1-3のバリア同期機構31-1を
使用し、プロセス6が計算機1-3のバリア同期機構31
-2を使用し、プロセス7が計算機1-4のバリア同期機構
31-1を使用し、プロセス8が計算機1-4のバリア同期
機構31-2を使用することを想定する。
Next, the present invention will be described in detail by specifically describing the operation processing of the computer 1 configured as described above. Here, as described with reference to FIG.
One job is divided into eight processes 1 to 8, the computer 1-1 executes the process 1 / process 2, the computer 1-2 executes the process 3 / process 4, and the computer 1-3 executes the process 5 / Execute process 6, and computer 1-4 executes process 7 /
Although a parallel processing mode of executing the process 8 is assumed, as shown in FIGS. 7 and 8, the process 1 uses the barrier synchronization mechanism 31-1 of the computer 1-1, and the process 2 uses the computer. 1-1 uses the barrier synchronization mechanism 31-2 of the computer 1-2, and the process 3 uses the barrier synchronization mechanism 31-1 of the computer 1-2.
The process 4 uses the barrier synchronization mechanism 31-2 of the computer 1-2, the process 5 uses the barrier synchronization mechanism 31-1 of the computer 1-3, and the process 6 uses the barrier synchronization mechanism 31 of the computer 1-3.
It is assumed that the process 7 uses the barrier synchronization mechanism 31-1 of the computer 1-4 and the process 8 uses the barrier synchronization mechanism 31-2 of the computer 1-4.

【0045】4台の計算機1-iが、プロセス1〜8の並
列処理に入った後、最初に、プロセス3がバリア同期点
に到達すると、図9に示すように、計算機1-2の宛先選
択回路35が、プロセス3の使用するバリア同期機構3
1-1を選択して、そのバリア同期機構31-1の状態レジ
スタ42にバリア同期に到達した旨を表示するビット値
“1”の処理進行情報を書き込み、これを受けて、計算
機1-2の選択回路32は、その状態レジスタ42に書き
込まれる処理進行情報“1”を、そのバリア同期機構3
1-1の管理するジョブ識別子“1234”/ジョブ内番号
“3”とともに、通信機構2を介して全計算機1-iに放
送する。そして、プロセス3は同期待ちの状態に入る。
After the four computers 1-i enter the parallel processing of the processes 1 to 8, first, when the process 3 reaches the barrier synchronization point, as shown in FIG. The selection circuit 35 controls the barrier synchronization mechanism 3 used by the process 3
1-1, the process progress information of the bit value "1" indicating that the barrier synchronization has been reached is written into the status register 42 of the barrier synchronization mechanism 31-1. The selection circuit 32 of the information processing unit 32 transmits the processing progress information “1” written in the status register 42 to the barrier synchronization mechanism 3
Along with the job identifier “1234” / in-job number “3” managed by 1-1, it is broadcast to all the computers 1-i via the communication mechanism 2. Then, the process 3 enters a synchronization waiting state.

【0046】この放送を受けて、図10に示すように、
計算機1-1の持つバリア同期機構31-iの内、ジョブ識
別子の一致する2つのバリア同期機構31-1,2が機能し
て、その2つのバリア同期機構31-1,2の書込回路46
は、その2つのバリア同期機構31-1,2のステータスレ
ジスタ43の第3番目のビット域にバリア同期に到達し
た旨を表示するビット値“1”を書き込む。そして、図
9に示すように、計算機1-2の持つバリア同期機構31
-iの内、ジョブ識別子の一致する2つのバリア同期機構
31-1,2が機能して、その2つのバリア同期機構31-
1,2の書込回路46は、その2つのバリア同期機構31-
1,2のステータスレジスタ43の第3番目のビット域に
バリア同期に到達した旨を表示するビット値“1”を書
き込む。
Upon receiving this broadcast, as shown in FIG.
Of the barrier synchronization mechanisms 31-i of the computer 1-1, the two barrier synchronization mechanisms 31-1 and 2 having the same job identifier function, and the writing circuit of the two barrier synchronization mechanisms 31-1 and 2 is used. 46
Writes a bit value "1" indicating that the barrier synchronization has been reached in the third bit area of the status register 43 of the two barrier synchronization mechanisms 31-1 and 31-2. Then, as shown in FIG. 9, the barrier synchronization mechanism 31 included in the computer 1-2.
-i, the two barrier synchronization mechanisms 31-1 and 2 having the same job identifier function, and the two barrier synchronization mechanisms 31-2 function.
The two write circuits 46 are provided with two barrier synchronization mechanisms 31-.
A bit value “1” indicating that the barrier synchronization has been reached is written in the third bit area of the status register 43 of 1 or 2.

【0047】そして、図11に示すように、計算機1-3
の持つバリア同期機構31-iの内、ジョブ識別子の一致
する2つのバリア同期機構31-1,2が機能して、その2
つのバリア同期機構31-1,2の書込回路46は、その2
つのバリア同期機構31-1,2のステータスレジスタ43
の第3番目のビット域にバリア同期に到達した旨を表示
するビット値“1”を書き込む。そして、図12に示す
ように、計算機1-4の持つバリア同期機構31-iの内、
ジョブ識別子の一致する2つのバリア同期機構31-1,2
が機能して、その2つのバリア同期機構31-1,2の書込
回路46は、その2つのバリア同期機構31-1,2のステ
ータスレジスタ43の第3番目のビット域にバリア同期
に到達した旨を表示するビット値“1”を書き込む。
Then, as shown in FIG.
Among the barrier synchronization mechanisms 31-i of the two, the two barrier synchronization mechanisms 31-1 and 2 having the same job identifier function, and
The write circuit 46 of the two barrier synchronization mechanisms 31-1 and 2
Status register 43 of two barrier synchronization mechanisms 31-1 and 2
A bit value “1” indicating that the barrier synchronization has been reached is written in the third bit area of “1”. Then, as shown in FIG. 12, of the barrier synchronization mechanism 31-i of the computer 1-4,
Two barrier synchronization mechanisms 31-1, 2 having the same job identifier
Functions, the write circuit 46 of the two barrier synchronization mechanisms 31-1 and 2 reaches barrier synchronization in the third bit area of the status register 43 of the two barrier synchronization mechanisms 31-1 and 2 Write a bit value “1” indicating that the operation has been performed.

【0048】続いて、プロセス5がバリア同期点に到達
すると、図14に示すように、計算機1-3の宛先選択回
路35が、プロセス5の使用するバリア同期機構31-1
を選択して、そのバリア同期機構31-1の状態レジスタ
42にバリア同期に到達した旨を表示するビット値
“1”の処理進行情報を書き込み、これを受けて、計算
機1-3の選択回路32は、その状態レジスタ42に書き
込まれる処理進行情報“1”を、そのバリア同期機構3
1-1の管理するジョブ識別子“1234”/ジョブ内番号
“5”とともに、通信機構2を介して全計算機1-iに放
送する。そして、プロセス5は同期待ちの状態に入る。
Subsequently, when the process 5 reaches the barrier synchronization point, as shown in FIG. 14, the destination selection circuit 35 of the computer 1-3 sets the barrier synchronization mechanism 31-1 used by the process 5 to the next.
Is written in the status register 42 of the barrier synchronization mechanism 31-1, and the process progress information of the bit value "1" indicating that the barrier synchronization has been reached is received. Reference numeral 32 denotes the processing progress information “1” written in the status register 42 to the barrier synchronization mechanism 3
Along with the job identifier “1234” / in-job number “5” managed by 1-1, it is broadcast to all the computers 1-i via the communication mechanism 2. Then, the process 5 enters a synchronization waiting state.

【0049】この放送を受けて、図13に示すように、
計算機1-1のバリア同期機構31-1,2の持つ書込回路4
6は、バリア同期機構31-1,2のステータスレジスタ4
3の第5番目のビット域にバリア同期に到達した旨を表
示するビット値“1”を書き込む。そして、図13に示
すように、計算機1-2のバリア同期機構31-1,2の持つ
書込回路46は、バリア同期機構31-1,2のステータス
レジスタ43の第5番目のビット域にバリア同期に到達
した旨を表示するビット値“1”を書き込む。そして、
図14に示すように、計算機1-3のバリア同期機構31
-1,2の持つ書込回路46は、バリア同期機構31-1,2の
ステータスレジスタ43の第5番目のビット域にバリア
同期に到達した旨を表示するビット値“1”を書き込
む。そして、図14に示すように、計算機1-4のバリア
同期機構31-1,2の持つ書込回路46は、バリア同期機
構31-1,2のステータスレジスタ43の第5番目のビッ
ト域にバリア同期に到達した旨を表示するビット値
“1”を書き込む。
Upon receiving this broadcast, as shown in FIG.
The write circuit 4 of the barrier synchronization mechanism 31-1, 2 of the computer 1-1
6 is the status register 4 of the barrier synchronization mechanism 31-1, 2
A bit value “1” indicating that barrier synchronization has been reached is written in the fifth bit area of No. 3. Then, as shown in FIG. 13, the write circuit 46 of the barrier synchronization mechanism 31-1, 2 of the computer 1-2 stores the fifth bit area of the status register 43 of the barrier synchronization mechanism 31-1, 2 in the fifth bit area. The bit value “1” indicating that the barrier synchronization has been reached is written. And
As shown in FIG. 14, the barrier synchronization mechanism 31 of the computer 1-3
The write circuit 46 of the -1,2 writes a bit value "1" indicating that the barrier synchronization has been reached in the fifth bit area of the status register 43 of the barrier synchronization mechanism 31-1,2. Then, as shown in FIG. 14, the writing circuit 46 of the barrier synchronization mechanism 31-1, 2 of the computer 1-4 has the fifth bit area of the status register 43 of the barrier synchronization mechanism 31-1, 2 stored therein. The bit value “1” indicating that the barrier synchronization has been reached is written.

【0050】続いて、プロセス1がバリア同期点に到達
すると、図15に示すように、計算機1-1の宛先選択回
路35が、プロセス1の使用するバリア同期機構31-1
を選択して、そのバリア同期機構31-1の状態レジスタ
42にバリア同期に到達した旨を表示するビット値
“1”の処理進行情報を書き込み、これを受けて、計算
機1-3の選択回路32は、その状態レジスタ42に書き
込まれる処理進行情報“1”を、そのバリア同期機構3
1-1の管理するジョブ識別子“1234”/ジョブ内番号
“1”とともに、通信機構2を介して全計算機1-iに放
送する。そして、プロセス1は同期待ちの状態に入る。
Subsequently, when the process 1 reaches the barrier synchronization point, as shown in FIG. 15, the destination selection circuit 35 of the computer 1-1 sets the barrier synchronization mechanism 31-1 used by the process 1 to a new state.
Is written in the status register 42 of the barrier synchronization mechanism 31-1, and the process progress information of the bit value "1" indicating that the barrier synchronization has been reached is received. Reference numeral 32 denotes the processing progress information “1” written in the status register 42 to the barrier synchronization mechanism 3
Along with the job identifier “1234” / in-job number “1” managed by 1-1, it is broadcast to all the computers 1-i via the communication mechanism 2. Then, the process 1 enters a synchronization waiting state.

【0051】この放送を受けて、図15に示すように、
計算機1-1のバリア同期機構31-1,2の持つ書込回路4
6は、バリア同期機構31-1,2のステータスレジスタ4
3の第1番目のビット域にバリア同期に到達した旨を表
示するビット値“1”を書き込む。そして、図15に示
すように、計算機1-2のバリア同期機構31-1,2の持つ
書込回路46は、バリア同期機構31-1,2のステータス
レジスタ43の第1番目のビット域にバリア同期に到達
した旨を表示するビット値“1”を書き込む。そして、
図16に示すように、計算機1-3のバリア同期機構31
-1,2の持つ書込回路46は、バリア同期機構31-1,2の
ステータスレジスタ43の第1番目のビット域にバリア
同期に到達した旨を表示するビット値“1”を書き込
む。そして、図16に示すように、計算機1-4のバリア
同期機構31-1,2の持つ書込回路46は、バリア同期機
構31-1,2のステータスレジスタ43の第1番目のビッ
ト域にバリア同期に到達した旨を表示するビット値
“1”を書き込む。
Upon receiving this broadcast, as shown in FIG.
The write circuit 4 of the barrier synchronization mechanism 31-1, 2 of the computer 1-1
6 is the status register 4 of the barrier synchronization mechanism 31-1, 2
In the first bit area of No. 3, a bit value “1” indicating that the barrier synchronization has been reached is written. Then, as shown in FIG. 15, the write circuit 46 of the barrier synchronization mechanism 31-1, 2 of the computer 1-2 has the first bit area of the status register 43 of the barrier synchronization mechanism 31-1, 2. The bit value “1” indicating that the barrier synchronization has been reached is written. And
As shown in FIG. 16, the barrier synchronization mechanism 31 of the computer 1-3
The write circuit 46 of the -1,2 writes a bit value "1" indicating that the barrier synchronization has been reached in the first bit area of the status register 43 of the barrier synchronization mechanism 31-1,2. Then, as shown in FIG. 16, the writing circuit 46 of the barrier synchronization mechanism 31-1, 2 of the computer 1-4 stores the first bit area of the status register 43 of the barrier synchronization mechanism 31-1, 2 in the first bit area. The bit value “1” indicating that the barrier synchronization has been reached is written.

【0052】続いて、プロセス6がバリア同期点に到達
すると、図18に示すように、計算機1-3の宛先選択回
路35が、プロセス6の使用するバリア同期機構31-2
を選択して、そのバリア同期機構31-2の状態レジスタ
42にバリア同期に到達した旨を表示するビット値
“1”の処理進行情報を書き込み、これを受けて、計算
機1-3の選択回路32は、その状態レジスタ42に書き
込まれる処理進行情報“1”を、そのバリア同期機構3
1-2の管理するジョブ識別子“1234”/ジョブ内番号
“6”とともに、通信機構2を介して全計算機1-iに放
送する。そして、プロセス6は同期待ちの状態に入る。
Subsequently, when the process 6 reaches the barrier synchronization point, as shown in FIG. 18, the destination selecting circuit 35 of the computer 1-3 causes the barrier synchronization mechanism 31-2 used by the process 6 to operate.
Is written in the status register 42 of the barrier synchronization mechanism 31-2, and the process progress information of the bit value "1" indicating that the barrier synchronization has been reached is written. Reference numeral 32 denotes the processing progress information “1” written in the status register 42 to the barrier synchronization mechanism 3
Along with the job identifier “1234” / in-job number “6” managed by 1-2, it is broadcast to all the computers 1-i via the communication mechanism 2. Then, the process 6 enters a synchronization waiting state.

【0053】この放送を受けて、図17に示すように、
計算機1-1のバリア同期機構31-1,2の持つ書込回路4
6は、バリア同期機構31-1,2のステータスレジスタ4
3の第6番目のビット域にバリア同期に到達した旨を表
示するビット値“1”を書き込む。そして、図17に示
すように、計算機1-2のバリア同期機構31-1,2の持つ
書込回路46は、バリア同期機構31-1,2のステータス
レジスタ43の第6番目のビット域にバリア同期に到達
した旨を表示するビット値“1”を書き込む。そして、
図18に示すように、計算機1-3のバリア同期機構31
-1,2の持つ書込回路46は、バリア同期機構31-1,2の
ステータスレジスタ43の第6番目のビット域にバリア
同期に到達した旨を表示するビット値“1”を書き込
む。そして、図18に示すように、計算機1-4のバリア
同期機構31-1,2の持つ書込回路46は、バリア同期機
構31-1,2のステータスレジスタ43の第6番目のビッ
ト域にバリア同期に到達した旨を表示するビット値
“1”を書き込む。
Upon receiving this broadcast, as shown in FIG.
The write circuit 4 of the barrier synchronization mechanism 31-1, 2 of the computer 1-1
6 is the status register 4 of the barrier synchronization mechanism 31-1, 2
A bit value “1” indicating that barrier synchronization has been reached is written in the sixth bit area of No. 3. Then, as shown in FIG. 17, the write circuit 46 of the barrier synchronization mechanism 31-1, 2 of the computer 1-2 stores the data in the sixth bit area of the status register 43 of the barrier synchronization mechanism 31-1, 2. The bit value “1” indicating that the barrier synchronization has been reached is written. And
As shown in FIG. 18, the barrier synchronization mechanism 31 of the computer 1-3
The write circuit 46 of the -1,2 writes a bit value "1" indicating that the barrier synchronization has been reached in the sixth bit area of the status register 43 of the barrier synchronization mechanism 31-1,2. Then, as shown in FIG. 18, the write circuit 46 of the barrier synchronization mechanism 31-1, 2 of the computer 1-4 has the sixth bit area of the status register 43 of the barrier synchronization mechanism 31-1, 2. The bit value “1” indicating that the barrier synchronization has been reached is written.

【0054】続いて、プロセス2がバリア同期点に到達
すると、図19に示すように、計算機1-1の宛先選択回
路35が、プロセス2の使用するバリア同期機構31-2
を選択して、そのバリア同期機構31-2の状態レジスタ
42にバリア同期に到達した旨を表示するビット値
“1”の処理進行情報を書き込み、これを受けて、計算
機1-1の選択回路32は、その状態レジスタ42に書き
込まれる処理進行情報“1”を、そのバリア同期機構3
1-2の管理するジョブ識別子“1234”/ジョブ内番号
“2”とともに、通信機構2を介して全計算機1-iに放
送する。そして、プロセス2は同期待ちの状態に入る。
Subsequently, when the process 2 reaches the barrier synchronization point, as shown in FIG. 19, the destination selection circuit 35 of the computer 1-1 causes the barrier synchronization mechanism 31-2 used by the process 2 to operate.
Is written in the status register 42 of the barrier synchronization mechanism 31-2, and the processing progress information of the bit value “1” indicating that the barrier synchronization has been reached is written. Reference numeral 32 denotes the processing progress information “1” written in the status register 42 to the barrier synchronization mechanism 3
Along with the job identifier “1234” / in-job number “2” managed by 1-2, it is broadcast to all the computers 1-i via the communication mechanism 2. Then, the process 2 enters a synchronization waiting state.

【0055】この放送を受けて、図19に示すように、
計算機1-1のバリア同期機構31-1,2の持つ書込回路4
6は、バリア同期機構31-1,2のステータスレジスタ4
3の第2番目のビット域にバリア同期に到達した旨を表
示するビット値“1”を書き込む。そして、図19に示
すように、計算機1-2のバリア同期機構31-1,2の持つ
書込回路46は、バリア同期機構31-1,2のステータス
レジスタ43の第2番目のビット域にバリア同期に到達
した旨を表示するビット値“1”を書き込む。そして、
図20に示すように、計算機1-3のバリア同期機構31
-1,2の持つ書込回路46は、バリア同期機構31-1,2の
ステータスレジスタ43の第2番目のビット域にバリア
同期に到達した旨を表示するビット値“1”を書き込
む。そして、図20に示すように、計算機1-4のバリア
同期機構31-1,2の持つ書込回路46は、バリア同期機
構31-1,2のステータスレジスタ43の第2番目のビッ
ト域にバリア同期に到達した旨を表示するビット値
“1”を書き込む。
Upon receiving this broadcast, as shown in FIG.
The write circuit 4 of the barrier synchronization mechanism 31-1, 2 of the computer 1-1
6 is the status register 4 of the barrier synchronization mechanism 31-1, 2
A bit value “1” indicating that barrier synchronization has been reached is written in the second bit area of No. 3. Then, as shown in FIG. 19, the writing circuit 46 of the barrier synchronization mechanism 31-1, 2 of the computer 1-2 stores the write data 46 in the second bit area of the status register 43 of the barrier synchronization mechanism 31-1, 2. The bit value “1” indicating that the barrier synchronization has been reached is written. And
As shown in FIG. 20, the barrier synchronization mechanism 31 of the computer 1-3
The write circuit 46 of -1,2 writes a bit value "1" indicating that the barrier synchronization has been reached in the second bit area of the status register 43 of the barrier synchronization mechanism 31-1,2. Then, as shown in FIG. 20, the writing circuit 46 of the barrier synchronization mechanism 31-1, 2 of the computer 1-4 has the second bit area of the status register 43 of the barrier synchronization mechanism 31-1, 2. The bit value “1” indicating that the barrier synchronization has been reached is written.

【0056】続いて、プロセス7がバリア同期点に到達
すると、図22に示すように、計算機1-4の宛先選択回
路35が、プロセス7の使用するバリア同期機構31-1
を選択して、そのバリア同期機構31-1の状態レジスタ
42にバリア同期に到達した旨を表示するビット値
“1”の処理進行情報を書き込み、これを受けて、計算
機1-4の選択回路32は、その状態レジスタ42に書き
込まれる処理進行情報“1”を、そのバリア同期機構3
1-1の管理するジョブ識別子“1234”/ジョブ内番号
“7”とともに、通信機構2を介して全計算機1-iに放
送する。そして、プロセス7は同期待ちの状態に入る。
Subsequently, when the process 7 reaches the barrier synchronization point, as shown in FIG. 22, the destination selection circuit 35 of the computer 1-4 makes the barrier synchronization mechanism 31-1 used by the process 7 available.
Is written in the status register 42 of the barrier synchronization mechanism 31-1 and the processing progress information of the bit value “1” indicating that the barrier synchronization has been reached is received. Reference numeral 32 denotes the processing progress information “1” written in the status register 42 to the barrier synchronization mechanism 3
Along with the job identifier “1234” / in-job number “7” managed by 1-1, it is broadcast to all the computers 1-i via the communication mechanism 2. Then, the process 7 enters a synchronization waiting state.

【0057】この放送を受けて、図21に示すように、
計算機1-1のバリア同期機構31-1,2の持つ書込回路4
6は、バリア同期機構31-1,2のステータスレジスタ4
3の第7番目のビット域にバリア同期に到達した旨を表
示するビット値“1”を書き込む。そして、図21に示
すように、計算機1-2のバリア同期機構31-1,2の持つ
書込回路46は、バリア同期機構31-1,2のステータス
レジスタ43の第7番目のビット域にバリア同期に到達
した旨を表示するビット値“1”を書き込む。そして、
図22に示すように、計算機1-3のバリア同期機構31
-1,2の持つ書込回路46は、バリア同期機構31-1,2の
ステータスレジスタ43の第7番目のビット域にバリア
同期に到達した旨を表示するビット値“1”を書き込
む。そして、図22に示すように、計算機1-4のバリア
同期機構31-1,2の持つ書込回路46は、バリア同期機
構31-1,2のステータスレジスタ43の第7番目のビッ
ト域にバリア同期に到達した旨を表示するビット値
“1”を書き込む。
Upon receiving this broadcast, as shown in FIG.
The write circuit 4 of the barrier synchronization mechanism 31-1, 2 of the computer 1-1
6 is the status register 4 of the barrier synchronization mechanism 31-1, 2
A bit value “1” indicating that barrier synchronization has been reached is written in the seventh bit area of No. 3. Then, as shown in FIG. 21, the writing circuit 46 of the barrier synchronization mechanism 31-1, 2 of the computer 1-2 has a seventh bit area of the status register 43 of the barrier synchronization mechanism 31-1, 2. The bit value “1” indicating that the barrier synchronization has been reached is written. And
As shown in FIG. 22, the barrier synchronization mechanism 31 of the computer 1-3
The write circuit 46 of -1,2 writes a bit value "1" indicating that barrier synchronization has been reached in the seventh bit area of the status register 43 of the barrier synchronization mechanism 31-1,2. Then, as shown in FIG. 22, the writing circuit 46 of the barrier synchronization mechanism 31-1, 2 of the computer 1-4 has a seventh bit area of the status register 43 of the barrier synchronization mechanism 31-1, 2. The bit value “1” indicating that the barrier synchronization has been reached is written.

【0058】続いて、プロセス4がバリア同期点に到達
すると、図23に示すように、計算機1-2の宛先選択回
路35が、プロセス4の使用するバリア同期機構31-2
を選択して、そのバリア同期機構31-2の状態レジスタ
42にバリア同期に到達した旨を表示するビット値
“1”の処理進行情報を書き込み、これを受けて、計算
機1-2の選択回路32は、その状態レジスタ42に書き
込まれる処理進行情報“1”を、そのバリア同期機構3
1-2の管理するジョブ識別子“1234”/ジョブ内番号
“4”とともに、通信機構2を介して全計算機1-iに放
送する。そして、プロセス4は同期待ちの状態に入る。
Subsequently, when the process 4 reaches the barrier synchronization point, as shown in FIG. 23, the destination selecting circuit 35 of the computer 1-2 changes the barrier synchronization mechanism 31-2 used by the process 4
Is written in the status register 42 of the barrier synchronization mechanism 31-2, and the processing progress information of the bit value "1" indicating that the barrier synchronization has been reached is written. Reference numeral 32 denotes the processing progress information “1” written in the status register 42 to the barrier synchronization mechanism 3
Along with the job identifier “1234” / in-job number “4” managed by 1-2, it is broadcast to all the computers 1-i via the communication mechanism 2. Then, the process 4 enters a synchronization waiting state.

【0059】この放送を受けて、図23に示すように、
計算機1-1のバリア同期機構31-1,2の持つ書込回路4
6は、バリア同期機構31-1,2のステータスレジスタ4
3の第4番目のビット域にバリア同期に到達した旨を表
示するビット値“1”を書き込む。そして、図23に示
すように、計算機1-2のバリア同期機構31-1,2の持つ
書込回路46は、バリア同期機構31-1,2のステータス
レジスタ43の第4番目のビット域にバリア同期に到達
した旨を表示するビット値“1”を書き込む。そして、
図24に示すように、計算機1-3のバリア同期機構31
-1,2の持つ書込回路46は、バリア同期機構31-1,2の
ステータスレジスタ43の第4番目のビット域にバリア
同期に到達した旨を表示するビット値“1”を書き込
む。そして、図24に示すように、計算機1-4のバリア
同期機構31-1,2の持つ書込回路46は、バリア同期機
構31-1,2のステータスレジスタ43の第4番目のビッ
ト域にバリア同期に到達した旨を表示するビット値
“1”を書き込む。
Upon receiving this broadcast, as shown in FIG.
The write circuit 4 of the barrier synchronization mechanism 31-1, 2 of the computer 1-1
6 is the status register 4 of the barrier synchronization mechanism 31-1, 2
A bit value “1” indicating that barrier synchronization has been reached is written in the fourth bit area of No. 3. Then, as shown in FIG. 23, the writing circuit 46 of the barrier synchronization mechanism 31-1, 2 of the computer 1-2 stores the fourth bit area of the status register 43 of the barrier synchronization mechanism 31-1, 2 in the fourth bit area. The bit value “1” indicating that the barrier synchronization has been reached is written. And
As shown in FIG. 24, the barrier synchronization mechanism 31 of the computer 1-3
The write circuit 46 of -1,2 writes a bit value "1" indicating that the barrier synchronization has been reached in the fourth bit area of the status register 43 of the barrier synchronization mechanism 31-1,2. Then, as shown in FIG. 24, the write circuit 46 of the barrier synchronization mechanism 31-1, 2 of the computer 1-4 has the fourth bit area of the status register 43 of the barrier synchronization mechanism 31-1, 2. The bit value “1” indicating that the barrier synchronization has been reached is written.

【0060】続いて、プロセス8がバリア同期点に到達
すると、図26に示すように、計算機1-4の宛先選択回
路35が、プロセス8の使用するバリア同期機構31-2
を選択して、そのバリア同期機構31-2の状態レジスタ
42にバリア同期に到達した旨を表示するビット値
“1”の処理進行情報を書き込み、これを受けて、計算
機1-4の選択回路32は、その状態レジスタ42に書き
込まれる処理進行情報“1”を、そのバリア同期機構3
1-2の管理するジョブ識別子“1234”/ジョブ内番号
“8”とともに、通信機構2を介して全計算機1-iに放
送する。そして、プロセス8は同期待ちの状態に入る。
この放送を受けて、図25に示すように、計算機1-1の
バリア同期機構31-1,2の持つ書込回路46は、バリア
同期機構31-1,2のステータスレジスタ43の第8番目
のビット域にバリア同期に到達した旨を表示するビット
値“1”を書き込む。そして、図25に示すように、計
算機1-2のバリア同期機構31-1,2の持つ書込回路46
は、バリア同期機構31-1,2のステータスレジスタ43
の第8番目のビット域にバリア同期に到達した旨を表示
するビット値“1”を書き込む。そして、図26に示す
ように、計算機1-3のバリア同期機構31-1,2の持つ書
込回路46は、バリア同期機構31-1,2のステータスレ
ジスタ43の第8番目のビット域にバリア同期に到達し
た旨を表示するビット値“1”を書き込む。そして、図
26に示すように、計算機1-4のバリア同期機構31-
1,2の持つ書込回路46は、バリア同期機構31-1,2の
ステータスレジスタ43の第8番目のビット域にバリア
同期に到達した旨を表示するビット値“1”を書き込
む。
Subsequently, when the process 8 reaches the barrier synchronization point, as shown in FIG. 26, the destination selection circuit 35 of the computer 1-4 causes the barrier synchronization mechanism 31-2 used by the process 8 to operate.
Is written in the status register 42 of the barrier synchronization mechanism 31-2, and the process progress information of the bit value "1" indicating that the barrier synchronization has been reached is written. Reference numeral 32 denotes the processing progress information “1” written in the status register 42 to the barrier synchronization mechanism 3
Along with the job identifier “1234” / in-job number “8” managed by 1-2, it is broadcast to all the computers 1-i via the communication mechanism 2. Then, the process 8 enters a synchronization waiting state.
In response to this broadcast, as shown in FIG. 25, the writing circuit 46 of the barrier synchronization mechanism 31-1, 2 of the computer 1-1 sets the eighth status register 43 of the barrier synchronization mechanism 31-1, 2 A bit value “1” indicating that the barrier synchronization has been reached is written in the bit area of “1”. Then, as shown in FIG. 25, the write circuit 46 of the barrier synchronization mechanism 31-1, 2 of the computer 1-2.
Is the status register 43 of the barrier synchronization mechanism 31-1, 2
A bit value “1” indicating that the barrier synchronization has been reached is written in the eighth bit area of “1”. Then, as shown in FIG. 26, the write circuit 46 of the barrier synchronization mechanism 31-1, 2 of the computer 1-3 stores the data in the eighth bit area of the status register 43 of the barrier synchronization mechanism 31-1, 2. The bit value “1” indicating that the barrier synchronization has been reached is written. Then, as shown in FIG. 26, the barrier synchronization mechanism 31- of the computer 1-4.
The write circuit 46 of 1 and 2 writes a bit value “1” indicating that barrier synchronization has been reached in the eighth bit area of the status register 43 of the barrier synchronization mechanism 31-1 and 2.

【0061】このようにして、プロセス1〜8が、「プ
ロセス3→プロセス5→プロセス1→プロセス6→プロ
セス2→プロセス7→プロセス4→プロセス8」の順番
に従ってバリア同期点に到達すると、図27及び図28
に示すように、各計算機1-iのステータスレジスタ43
のビット域i(i=1〜8)に“1”がセットされると
ともに、それ以外のビット域に“0”がセットされるこ
とで、ステータスレジスタ43の格納データとマスクレ
ジスタ44の格納データとが一致することになるので、
各計算機1-iのバリア同期機構31-1,2の持つ同期検出
回路45は、全プロセス1〜8がバリア同期点に到達し
たことを判断して、その旨を選択回路36/割込マスク
37に出力し、これを受けて、CPU30は、全プロセ
ス1〜8がバリア同期点に到達したことを知ることにな
る。
As described above, when the processes 1 to 8 reach the barrier synchronization point in the order of “process 3 → process 5 → process 1 → process 6 → process 2 → process 7 → process 4 → process 8,” FIG. 27 and FIG.
As shown in the figure, the status register 43 of each computer 1-i
Is set to "1" in the bit area i (i = 1 to 8) and "0" is set to the other bit areas, whereby the data stored in the status register 43 and the data stored in the mask register 44 are set. Will match, so
The synchronization detection circuit 45 of the barrier synchronization mechanism 31-1, 2 of each computer 1-i determines that all the processes 1 to 8 have reached the barrier synchronization point, and notifies the selection circuit 36 / interrupt mask. 37, and in response, the CPU 30 knows that all the processes 1 to 8 have reached the barrier synchronization point.

【0062】このようにして、本発明の並列計算機シス
テムを構成する計算機1-iは、従来技術よりも少ないハ
ードウェア量を持つマスクレジスタ44を使って、バリ
ア同期制御を実行できるようになる。
As described above, the computer 1-i constituting the parallel computer system of the present invention can execute the barrier synchronization control by using the mask register 44 having a smaller amount of hardware than in the prior art.

【0063】この実施例では、ステータスレジスタ43
/マスクレジスタ44を使って、全プロセス1〜8がバ
リア同期点に到達したのか否かを判断する構成を採った
が、プロセス1〜8の内のどのプロセスがバリア同期点
に到達しているのかを知る必要がないときには、単なる
カウンタを使って処理進行情報を計数することにより、
全プロセス1〜8がバリア同期点に到達したのか否かを
判断することで、バリア同期制御を実行する構成を採る
ことも可能である。
In this embodiment, the status register 43
A configuration is employed in which all the processes 1 to 8 have reached the barrier synchronization point by using the / mask register 44, but which of the processes 1 to 8 has reached the barrier synchronization point. When you do not need to know whether or not, by counting the processing progress information using a simple counter,
It is also possible to adopt a configuration in which barrier synchronization control is executed by determining whether all processes 1 to 8 have reached the barrier synchronization point.

【0064】更に、並列計算機システムでは、計算機1
-iは、他の計算機1-iに対して、検索の終了通知等の小
量データを送信したいことが起こる。また、他の計算機
1-iに対して、割り込みを通知したいことが起こる。
Further, in the parallel computer system, the computer 1
For -i, a small amount of data, such as a search end notification, may be transmitted to another computer 1-i. Further, there is a case where an interrupt is desired to be notified to another computer 1-i.

【0065】このような要求に対処するために、本発明
の並列計算機システムでは、図29に示すように、計算
機1-iは、ジョブ識別子(jobid)/ジョブ内番号(pid)
/処理進行情報(state)を送信するモードの他に、ジョ
ブ識別子(jobid)/小量データを送信するモードと、ジ
ョブ識別子(jobid)/割込通知を送信するモードとを用
意するとともに、それぞれに固有のオペコードを割り付
ける構成を採る。
In order to cope with such a request, in the parallel computer system of the present invention, as shown in FIG. 29, the computer 1-i has a job identifier (jobid) / in-job number (pid).
In addition to a mode for transmitting processing progress information (state), a mode for transmitting a job identifier (jobid) / small amount of data and a mode for transmitting a job identifier (jobid) / interrupt notification are prepared. A configuration is adopted in which a unique operation code is assigned to a.

【0066】そして、各計算機1にオペコード解読機構
60を備える構成を採って、それを使って放送されるオ
ペコードを解読することで、他計算機1-iから送られて
る送信情報がどの送信モードのものであるのかを解読し
て、ジョブ識別子(jobid)/ジョブ内番号(pid)/処理
進行情報(state)の送信モードであることを判断すると
きには、上述した構成を採るバリア機構61を起動し、
ジョブ識別子(jobid)/小量データの送信モードである
ことを判断するときには、その送られてくる小量データ
を規定のメモリ域に書き込む処理を実行するデータ読込
機構62を起動し、ジョブ識別子(jobid)/割込通知の
送信モードであることを判断するときには、CPUに割
り込みを通知する処理を実行する割込通知機構63を起
動する構成を採ることになる。
Then, each computer 1 is provided with an operation code decoding mechanism 60, and the operation code broadcast by using the operation code decoding mechanism 60 is used to transmit the transmission information transmitted from the other computer 1-i in any transmission mode. When it is determined whether the transmission mode is the transmission mode of the job identifier (jobid) / in-job number (pid) / processing progress information (state), the barrier mechanism 61 having the above-described configuration is activated. ,
When it is determined that the transmission mode is the job identifier (jobid) / small data transmission mode, the data reading mechanism 62 that executes a process of writing the transmitted small data to a prescribed memory area is started, and the job identifier ( When it is determined that the mode is the transmission mode of (jobid) / interrupt notification, a configuration is adopted in which the interrupt notification mechanism 63 that executes a process of notifying the CPU of an interrupt is activated.

【0067】ここで、この構成を採るときにあって、特
定のジョブ識別子が放送されるときには、ジョブ識別子
に関係なく小量データを読み込む構成を採ったり、ジョ
ブ識別子に関係なく割り込みを通知する構成を採ること
も可能である。
Here, when adopting this configuration, when a specific job identifier is broadcast, a configuration is adopted in which a small amount of data is read regardless of the job identifier, or an interrupt is notified regardless of the job identifier. It is also possible to take.

【0068】[0068]

【発明の効果】以上説明したように、本発明の並列計算
機システムによれば、複数の並列ジョブが同時に走行可
能で、1つのジョブを複数のプロセスに分割して各プロ
セスを各計算機に自由に割り当てて並列処理するとき
に、従来よりも少ないハードウェア量でもってバリア同
期制御を実行できるようになる。
As described above, according to the parallel computer system of the present invention, a plurality of parallel jobs can run at the same time, one job is divided into a plurality of processes, and each process is freely provided to each computer. When performing parallel processing by allocating, barrier synchronization control can be executed with a smaller amount of hardware than before.

【0069】そして、このバリア同期制御を実行しつ
つ、他の計算機に処理用データを書き込んだり、他の計
算機に割り込みを通知できるようになる。
While executing the barrier synchronization control, it becomes possible to write processing data to another computer or to notify another computer of an interrupt.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】本発明の原理構成図である。FIG. 2 is a principle configuration diagram of the present invention.

【図3】並列計算機システムの一例である。FIG. 3 is an example of a parallel computer system.

【図4】プロセスの並列処理形態の一例である。FIG. 4 is an example of a parallel processing mode of a process.

【図5】通信機構の処理説明図である。FIG. 5 is an explanatory diagram of processing of a communication mechanism.

【図6】計算機の一実施例である。FIG. 6 is an example of a computer.

【図7】バリア同期機構を使用するプロセスの説明図で
ある。
FIG. 7 is an explanatory diagram of a process using a barrier synchronization mechanism.

【図8】バリア同期機構を使用するプロセスの説明図で
ある。
FIG. 8 is an explanatory diagram of a process using a barrier synchronization mechanism.

【図9】実施例の動作説明図である。FIG. 9 is an operation explanatory diagram of the embodiment.

【図10】実施例の動作説明図である。FIG. 10 is a diagram illustrating the operation of the embodiment.

【図11】実施例の動作説明図である。FIG. 11 is an operation explanatory diagram of the embodiment.

【図12】実施例の動作説明図である。FIG. 12 is an operation explanatory diagram of the embodiment.

【図13】実施例の動作説明図である。FIG. 13 is an operation explanatory diagram of the embodiment.

【図14】実施例の動作説明図である。FIG. 14 is an operation explanatory diagram of the embodiment.

【図15】実施例の動作説明図である。FIG. 15 is a diagram illustrating the operation of the embodiment.

【図16】実施例の動作説明図である。FIG. 16 is a diagram illustrating the operation of the embodiment.

【図17】実施例の動作説明図である。FIG. 17 is an operation explanatory diagram of the embodiment.

【図18】実施例の動作説明図である。FIG. 18 is an operation explanatory diagram of the embodiment.

【図19】実施例の動作説明図である。FIG. 19 is an operation explanatory diagram of the embodiment.

【図20】実施例の動作説明図である。FIG. 20 is a diagram illustrating the operation of the embodiment.

【図21】実施例の動作説明図である。FIG. 21 is an operation explanatory diagram of the embodiment.

【図22】実施例の動作説明図である。FIG. 22 is a diagram illustrating the operation of the embodiment.

【図23】実施例の動作説明図である。FIG. 23 is a diagram illustrating the operation of the embodiment.

【図24】実施例の動作説明図である。FIG. 24 is a diagram illustrating the operation of the embodiment.

【図25】実施例の動作説明図である。FIG. 25 is an operation explanatory diagram of the embodiment.

【図26】実施例の動作説明図である。FIG. 26 is an operation explanatory diagram of the embodiment.

【図27】実施例の動作説明図である。FIG. 27 is a diagram illustrating the operation of the embodiment.

【図28】実施例の動作説明図である。FIG. 28 is a diagram illustrating the operation of the embodiment.

【図29】本発明の一実施例である。FIG. 29 is an embodiment of the present invention.

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

1 計算機 2 通信機構 10 管理手段 11 放送手段 12 付加手段 13 制御手段 13a 判断手段 13b 計数手段 13c 決定手段 14 受信手段 15 指示手段 16 読込手段 17 割込手段 20 管理手段 20a 第1のレジスタ手段 20b 第2のレジスタ手段 21 放送手段 22 付加手段 23 書込手段 24 決定手段 25 受信手段 26 指示手段 27 読込手段 28 割込手段 DESCRIPTION OF SYMBOLS 1 Computer 2 Communication mechanism 10 Management means 11 Broadcast means 12 Addition means 13 Control means 13a Judgment means 13b Counting means 13c Determination means 14 Receiving means 15 Instruction means 16 Reading means 17 Interrupting means 20 Management means 20a First register means 20b 2 register means 21 broadcasting means 22 adding means 23 writing means 24 determining means 25 receiving means 26 indicating means 27 reading means 28 interrupting means

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 複数の計算機と、それらを接続する通信
機構とから構成され、1つのジョブを複数のプロセスに
分割して計算機に割り付ける構成を採って、各計算機
が、自計算機で動作する1つ又は複数のプロセスの処理
進行情報を該通信機構を介して全計算機に放送していく
とともに、該通信機構を介して放送される処理進行情報
に従って他計算機で動作するプロセスと同期をとりつつ
割り付けられるプロセスを実行する並列計算機システム
において、 各計算機が、 自計算機で動作するプロセスの属するジョブの識別子
を、該プロセスの処理進行情報とともに放送する放送手
段と、 放送されるジョブ識別子に従って、自計算機で動作する
プロセスと他計算機で動作するプロセスとの間のバリア
同期を制御する制御手段とを備えることを、 特徴とする並列計算機システム。
1. A configuration in which a plurality of computers and a communication mechanism for connecting the plurality of computers are connected to each other, wherein one job is divided into a plurality of processes and assigned to the computers, and each computer operates on its own computer. The process progress information of one or a plurality of processes is broadcast to all the computers via the communication mechanism, and the process progress information broadcasted via the communication mechanism is allocated while synchronizing with a process operating on another computer in accordance with the process progress information. In a parallel computer system that executes a process to be executed, each computer broadcasts an identifier of a job to which a process operating on the computer belongs, together with processing progress information of the process. Having control means for controlling barrier synchronization between an operating process and a process operating on another computer, Parallel computer system with butterflies.
【請求項2】 請求項1記載の並列計算機システムにお
いて、 制御手段は、ジョブ識別子に対応付けて用意されて、 放送されるジョブ識別子が自計算機で動作するプロセス
の属するジョブ識別子と同一であるのか否かを判断する
判断手段と、 上記判断手段がジョブ識別子の同一を判断するときに、
放送される処理進行情報に従って計数値をカウントアッ
プする計数手段と、 上記計数手段の計数値が規定値に到達したのか否かを判
断することで、自計算機で動作するプロセスを次のステ
ップに進めるのか否かを決定する決定手段とを備えるこ
とを、 特徴とする並列計算機システム。
2. The parallel computer system according to claim 1, wherein the control means is prepared in association with the job identifier, and determines whether the broadcast job identifier is the same as the job identifier to which the process operating on the own computer belongs. Determining means for determining whether or not the job identifier is the same;
A counting means for counting up the count value in accordance with the broadcasted processing progress information; and determining whether or not the count value of the counting means has reached a prescribed value, to advance the process operating on the own computer to the next step. Determining means for determining whether or not the parallel processing is performed.
【請求項3】 複数の計算機と、それらを接続する通信
機構とから構成され、1つのジョブを複数のプロセスに
分割して計算機に割り付ける構成を採って、各計算機
が、自計算機で動作する1つ又は複数のプロセスの処理
進行情報を該通信機構を介して全計算機に放送していく
とともに、該通信機構を介して放送される処理進行情報
に従って他計算機で動作するプロセスと同期をとりつつ
割り付けられるプロセスを実行する並列計算機システム
において、 各計算機が、 自計算機で動作するプロセスに対応付けて用意され、該
プロセスのジョブ内の展開位置を示すジョブ内番号と該
ジョブの識別子とを管理するとともに、少なくとも該ジ
ョブの持つプロセスの数分のビット域を有して、該ビッ
ト域にプロセスの処理進行情報を示すビット値を格納す
る第1のレジスタ手段と、該第1のレジスタ手段に対応
付けて備えられて、ビット域にプロセスの存在の有無を
示すビット値を格納する第2のレジスタ手段とを持つ管
理手段と、 自計算機で動作するプロセスの持つジョブ内番号及びジ
ョブ識別子を、該プロセスの処理進行情報とともに放送
する放送手段と、 放送されるジョブ識別子及びジョブ内番号の指す上記第
1のレジスタ手段のビット域に、放送される処理進行情
報を書き込む書込手段と、 上記第1のレジスタ手段の格納データと、対となる上記
第2のレジスタ手段の格納データとを比較することで、
自計算機で動作するプロセスを次のステップに進めるの
か否かを決定する決定手段とを備えることを、 特徴とする並列計算機システム。
3. A configuration in which a plurality of computers and a communication mechanism for connecting the plurality of computers are connected, and one job is divided into a plurality of processes and assigned to the computers, and each computer operates on its own computer. The process progress information of one or a plurality of processes is broadcast to all the computers via the communication mechanism, and the process progress information broadcasted via the communication mechanism is allocated while synchronizing with a process operating on another computer in accordance with the process progress information. In a parallel computer system that executes a given process, each computer is prepared in association with a process that runs on its own computer, and manages an in-job number indicating a development position of the process in a job and an identifier of the job. Has at least a bit area corresponding to the number of processes of the job, and stores a bit value indicating processing progress information of the process in the bit area. Management means having first register means for performing processing, and second register means provided in association with the first register means for storing a bit value indicating the presence / absence of a process in a bit area; A broadcasting unit that broadcasts an in-job number and a job identifier of a process operating on a computer together with processing progress information of the process; and a bit area of the first register unit indicated by the broadcast job identifier and the in-job number. Writing means for writing the processing progress information to be broadcasted; and comparing the data stored in the first register means with the data stored in the second register means forming a pair,
Determining means for determining whether to proceed to the next step in a process operating on the own computer, a parallel computer system characterized by comprising:
【請求項4】 請求項3記載の並列計算機システムにお
いて、 ジョブ内番号として通番を使用するとともに、第1のレ
ジスタ手段のビット域に該通番と同一の通番を割り付け
る構成を採ることを、 特徴とする並列計算機システム。
4. The parallel computer system according to claim 3, wherein a serial number is used as an intra-job number, and the same serial number is assigned to a bit area of the first register means. Parallel computer system.
【請求項5】 請求項1、2、3又は4記載の並列計算
機システムにおいて、 放送手段は、処理進行情報を放送する他に、処理用デー
タを放送する機能を持ち、 かつ、放送されるジョブ識別子が自計算機で動作するプ
ロセスの属するジョブ識別子と同一であるときに、放送
される処理用データを読み込む読込手段を備えること
を、 特徴とする並列計算機システム。
5. The parallel computer system according to claim 1, wherein the broadcasting means has a function of broadcasting processing data in addition to broadcasting processing progress information, and a broadcast job. A parallel computer system comprising: a reading unit that reads broadcast processing data when an identifier is the same as a job identifier to which a process operating on the computer belongs.
【請求項6】 請求項5記載の並列計算機システムにお
いて、 読込手段は、特定のジョブ識別子が放送されるときに
は、自計算機で動作するプロセスに関係なく放送される
処理用データを読み込むことを、 特徴する並列計算機システム。
6. The parallel computer system according to claim 5, wherein the reading means reads, when a specific job identifier is broadcast, processing data broadcasted irrespective of a process running on the own computer. Parallel computer system.
【請求項7】 請求項1、2、3又は4記載の並列計算
機システムにおいて、 放送手段は、処理進行情報を放送する他に、割り込み通
知を放送する機能を持ち、 かつ、放送されるジョブ識別子が自計算機で動作するプ
ロセスの属するジョブ識別子と同一であるときに、放送
される割り込み通知に従ってCPUに対して割り込みを
発生する割込手段を備えることを、 特徴とする並列計算機システム。
7. The parallel computer system according to claim 1, wherein the broadcasting means has a function of broadcasting an interruption notification in addition to broadcasting processing progress information, and a broadcast job identifier. A parallel computer system comprising: an interrupt unit that generates an interrupt to a CPU in accordance with a broadcast interrupt notification when is the same as a job identifier to which a process operating on its own computer belongs.
【請求項8】 請求項7記載の並列計算機システムにお
いて、 割込手段は、特定のジョブ識別子が放送されるときに
は、自計算機で動作するプロセスに関係なくCPUに対
して割り込みを発生することを、 特徴とする並列計算機システム。
8. The parallel computer system according to claim 7, wherein the interrupt unit generates an interrupt to the CPU when a specific job identifier is broadcast, irrespective of a process running on the own computer. Characteristic parallel computer system.
【請求項9】 請求項1、2、3又は4記載の並列計算
機システムにおいて、 放送手段が、処理進行情報を放送する他に、処理用デー
タを放送する機能と、割り込み通知を放送する機能を持
ち、 かつ、放送手段の放送処理時に、放送される情報に対し
て該情報の種別を示すオペコードを付加する付加手段
と、 放送されるオペコードを解読して、その解読結果が処理
進行情報を示すときに、バリア同期機構を起動し、その
解読結果が処理用データを示すときに、該処理用データ
の読み込みを指示し、その解読結果が割り込み通知を示
すときに、CPUへの割り込み発生を指示する指示手段
とを備えることを、 特徴とする並列計算機システム。
9. The parallel computer system according to claim 1, wherein the broadcasting means has a function of broadcasting processing data and a function of broadcasting an interrupt notification in addition to broadcasting the processing progress information. Means for adding an operation code indicating the type of the information to the information to be broadcast at the time of the broadcast processing of the broadcasting means, and decoding the operation code to be broadcast, and the decoding result indicates the processing progress information. When the barrier synchronization mechanism is activated, when the decoding result indicates the processing data, the reading of the processing data is instructed, and when the decoding result indicates the interrupt notification, the interruption to the CPU is instructed. A parallel computer system, comprising:
JP23743696A 1996-09-09 1996-09-09 Parallel computer system Expired - Fee Related JP3429631B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23743696A JP3429631B2 (en) 1996-09-09 1996-09-09 Parallel computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23743696A JP3429631B2 (en) 1996-09-09 1996-09-09 Parallel computer system

Publications (2)

Publication Number Publication Date
JPH1083379A true JPH1083379A (en) 1998-03-31
JP3429631B2 JP3429631B2 (en) 2003-07-22

Family

ID=17015339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23743696A Expired - Fee Related JP3429631B2 (en) 1996-09-09 1996-09-09 Parallel computer system

Country Status (1)

Country Link
JP (1) JP3429631B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7356568B2 (en) 2002-12-12 2008-04-08 International Business Machines Corporation Method, processing unit and data processing system for microprocessor communication in a multi-processor system
US7359932B2 (en) 2002-12-12 2008-04-15 International Business Machines Corporation Method and data processing system for microprocessor communication in a cluster-based multi-processor system
US7360067B2 (en) 2002-12-12 2008-04-15 International Business Machines Corporation Method and data processing system for microprocessor communication in a cluster-based multi-processor wireless network
US7493417B2 (en) 2002-12-12 2009-02-17 International Business Machines Corporation Method and data processing system for microprocessor communication using a processor interconnect in a multi-processor system
JP2009217503A (en) * 2008-03-10 2009-09-24 Hitachi Ltd Computer system, computer control method, and computer control program
JP2012128808A (en) * 2010-12-17 2012-07-05 Fujitsu Ltd Parallel computer system, and synchronization device, and control method for parallel computer system
US8397094B2 (en) 2008-10-31 2013-03-12 Fujitsu Limited Node-to-node synchronizing apparatus, node-to-node synchronizing method, and computer product
EP2642383A2 (en) 2012-03-19 2013-09-25 Fujitsu Limited Parallel processing device
JP5707409B2 (en) * 2010-09-08 2015-04-30 株式会社日立製作所 calculator

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7734877B2 (en) 2002-12-12 2010-06-08 International Business Machines Corporation Method and data processing system for processor-to-processor communication in a clustered multi-processor system
US7359932B2 (en) 2002-12-12 2008-04-15 International Business Machines Corporation Method and data processing system for microprocessor communication in a cluster-based multi-processor system
US7360067B2 (en) 2002-12-12 2008-04-15 International Business Machines Corporation Method and data processing system for microprocessor communication in a cluster-based multi-processor wireless network
US7493417B2 (en) 2002-12-12 2009-02-17 International Business Machines Corporation Method and data processing system for microprocessor communication using a processor interconnect in a multi-processor system
US7698373B2 (en) 2002-12-12 2010-04-13 International Business Machines Corporation Method, processing unit and data processing system for microprocessor communication in a multi-processor system
US7356568B2 (en) 2002-12-12 2008-04-08 International Business Machines Corporation Method, processing unit and data processing system for microprocessor communication in a multi-processor system
US7818364B2 (en) 2002-12-12 2010-10-19 International Business Machines Corporation Method and data processing system for microprocessor communication in a cluster-based multi-processor system
JP2009217503A (en) * 2008-03-10 2009-09-24 Hitachi Ltd Computer system, computer control method, and computer control program
US8397094B2 (en) 2008-10-31 2013-03-12 Fujitsu Limited Node-to-node synchronizing apparatus, node-to-node synchronizing method, and computer product
JP5707409B2 (en) * 2010-09-08 2015-04-30 株式会社日立製作所 calculator
JP2012128808A (en) * 2010-12-17 2012-07-05 Fujitsu Ltd Parallel computer system, and synchronization device, and control method for parallel computer system
EP2642383A2 (en) 2012-03-19 2013-09-25 Fujitsu Limited Parallel processing device
US9164883B2 (en) 2012-03-19 2015-10-20 Fujitsu Limited Parallel processing device

Also Published As

Publication number Publication date
JP3429631B2 (en) 2003-07-22

Similar Documents

Publication Publication Date Title
JP3573546B2 (en) Parallel process scheduling method for parallel computer and processing device for parallel computer
EP0141660B1 (en) Microcomputer
JP3273202B2 (en) Method of transferring data through a plurality of data channels and circuit architecture thereof
TWI251750B (en) An apparatus and method for selectable hardware accelerators in a data driven architecture
JP3271125B2 (en) Method and apparatus for transferring data and apparatus for interleaving data transfer
CN101292226B (en) Device, system and method for thread communication and synchronization
KR100267130B1 (en) Pci bus system
US11204799B2 (en) Semiconductor device and systems using the same
JP3285629B2 (en) Synchronous processing method and synchronous processing device
JPH1083379A (en) Parallel computer system
US20080022142A1 (en) Multiprocessor System, Synchronization Control Apparatus and Synchronization Control Method
AU664521B2 (en) A synchronization control system in a parallel computer
KR950015106A (en) Packet Receive Interrupt Control System for Ethernet Controller
US20030014558A1 (en) Batch interrupts handling device, virtual shared memory and multiple concurrent processing device
JP2005316679A (en) Parallel arithmetic processor
JP2000276433A (en) Data transfer device
JP4865213B2 (en) Interrupt controller
CN110825596B (en) Efficient performance monitoring of integrated circuits with distributed clocks
EP2450795A1 (en) Computer device, parallel computer system, and synchronization program
JP2585905B2 (en) Multitask execution device
US6247093B1 (en) Data processing apparatus for executing synchronous instructions prior to executing asynchronous instructions
JPH08137703A (en) Task switching device
CN115878181A (en) Integrated circuit, control method and electronic device
JP2776261B2 (en) Computing device synchronization method
JPH0926943A (en) Data communication method and equipment therefor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030430

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

Free format text: PAYMENT UNTIL: 20080516

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090516

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090516

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100516

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100516

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110516

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120516

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130516

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees