JPS61131062A - Multiprocessor system - Google Patents

Multiprocessor system

Info

Publication number
JPS61131062A
JPS61131062A JP59226825A JP22682584A JPS61131062A JP S61131062 A JPS61131062 A JP S61131062A JP 59226825 A JP59226825 A JP 59226825A JP 22682584 A JP22682584 A JP 22682584A JP S61131062 A JPS61131062 A JP S61131062A
Authority
JP
Japan
Prior art keywords
data
arithmetic
processing
processor
slave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP59226825A
Other languages
Japanese (ja)
Inventor
Kimio Yamanaka
山中 喜美雄
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59226825A priority Critical patent/JPS61131062A/en
Priority to DE3538214A priority patent/DE3538214C2/en
Priority to US06/792,592 priority patent/US4774625A/en
Publication of JPS61131062A publication Critical patent/JPS61131062A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Complex Calculations (AREA)

Abstract

PURPOSE:To sent only data to be processed and processing contents from a master arithmetic processors to execute them and to omit the setting of the operating sequence of plural slave arithmetic processors by supervising the state of the slave arithmetic processors by a priority discriminating part. CONSTITUTION:A control processor 2 reads out a program in a main memory 5, recognizes that the read program is vector addition and decides the storing position of operand data for vector operation. Deciding the vector addition, the processor 2 outputs an adding command and two operand data to a main bus 1. If the priority of the arithmetic processors 7a-7c is set up so that the highest priority is applied to the processor close to the control processor 2, data are exclusively Inputted from the arithmetic processor having the highest priority in the idle state and the processing is started by the internal means. The arithmetic processor completing the operation and sending the operated result is turned to the idle state and can be used for the operation of the succeeding vector element.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は複数のプロセッサが効果的に演算を実行する
ことが可能な例えばマスタースレーブ方式のマルチプロ
セッサシステムに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a multiprocessor system, for example, a master-slave system, in which a plurality of processors can effectively execute calculations.

〔従来の技術〕[Conventional technology]

従来、マルチプロセッサシステムにおいて、並列処理性
を高めることにより全体の性能向上をはかる試みは多く
あったが、そこでは複数ある演算プロセッサへの処理の
割当てのための論理、すなわち例えば、優先順制御、負
荷の均等配分のための制御方式に問題があった。
In the past, there have been many attempts to improve the overall performance of multiprocessor systems by increasing parallelism. There was a problem with the control method for evenly distributing the load.

並列処理システムで、上記の様な問題に対応するための
研究の一例として、特開昭57−172455号公報に
示された並列プロセッサ・アーキテクチュア用の配分デ
ータ転送制御装置がろシ、この構成図を第5図に示す。
As an example of research to deal with the above-mentioned problems in parallel processing systems, there is a distribution data transfer control device for parallel processor architecture disclosed in Japanese Patent Laid-Open No. 57-172455. is shown in Figure 5.

この従来装置は複数の演算プロセッサに対して情報の配
分を行なうものでめシ、次にその構成を説明する。
This conventional device distributes information to a plurality of arithmetic processors, and its configuration will now be described.

第5図において、1はメインバス(バス)でめシ、2は
制御プロセッサ(マスタ演算処理装置)、3.3a〜3
Gはバスインター7エイスユニツト、4はリソースコン
トローラ、5は主メモリ、6゜6&〜6Cはローカルメ
モリ、7&〜7Cri演算プロセツサ(スレーブ演算処
理装置)である。
In Figure 5, 1 is the main bus (bus), 2 is the control processor (master arithmetic processing unit), 3.3a to 3
G is a bus interface 7/8 unit, 4 is a resource controller, 5 is a main memory, 6°6&~6C is a local memory, and 7&~7Cri arithmetic processor (slave arithmetic processing unit).

従来のマルチプロセッサシステムは上記のように構成さ
れ、制御プロセッサ2、およびプログラム、データが格
納される主メモリ5によりシステム管理される。
A conventional multiprocessor system is configured as described above, and is managed by a control processor 2 and a main memory 5 in which programs and data are stored.

まず、プログラムの実行の際に制御プロセッサ2はリソ
ースコントローラ4.メインバス1.主メモリ5用のバ
スインターフェイスユニット3を介して主メモリ5から
プログラムを読み出し、処理すべき内容を認識する。こ
の場合演算等の実際の処理は演算プロセッサ7a〜7c
で行なわれるわけで、その処理効果を最大にするため、
プログラムに応じて各演算ユニット7a〜7Cに対応す
るバスインター7エイスユニツト3&〜3C,ローカル
メモIJ 6 &〜60の動作を予め設定しておく。そ
の後、制御プロセッサ2はプログラムを解読して必要な
処理データを主メモリ5から読み出し、処理に必要な制
御情報とその処理データをメインバス1経由で演算プロ
セッサ7の当該演算プロセッサ7a〜7cに供給する。
First, when executing a program, the control processor 2 controls the resource controller 4. Main bus 1. A program is read from the main memory 5 via the bus interface unit 3 for the main memory 5, and the content to be processed is recognized. In this case, actual processing such as calculation is performed by the calculation processors 7a to 7c.
In order to maximize the processing effect,
The operations of the bus interface 7 eighth units 3&-3C and the local memo IJ6&-60 corresponding to the respective arithmetic units 7a-7C are set in advance according to the program. After that, the control processor 2 decodes the program, reads the necessary processing data from the main memory 5, and supplies the control information necessary for processing and the processing data to the corresponding arithmetic processors 7a to 7c of the arithmetic processor 7 via the main bus 1. do.

このとき、各々の処理をどの演算プロセッサ7a〜7G
が受ケトるかは前記の動作設定により定められており、
最大効率があげられるように並列動作を行なう。   
1〔発明が解決しようとする問題点〕 上記のような従来のマルチプロセッサシステムでは、演
算等の処理を行なう際にどのスレーブ演  )算処理装
置が行なうかを予め設定するよう構成されているので、
マスタ演算処理装置が処理する制御内容に応じて各バス
インターフェイスユニット。
At this time, which arithmetic processor 7a to 7G performs each process.
Whether it is received or not is determined by the operation settings described above.
Perform parallel operations for maximum efficiency.
1 [Problems to be Solved by the Invention] Conventional multiprocessor systems such as those described above are configured to set in advance which slave arithmetic processing unit will perform processing such as arithmetic operations. ,
Each bus interface unit corresponds to the control content processed by the master arithmetic processing unit.

およびローカルメモリの応答性を予め設定しておく必要
がメジ、さらにスレーブ演算処理装置内の複数の各演算
プロセラ丈のいずれかが故障したときなどに七の応答性
の再計算、再設定が必要となり、かつその手間、および
アルゴリズムが複雑であるという問題点があった。
It is necessary to set the responsiveness of the local memory in advance, and furthermore, when one of the multiple processing processors in the slave processing unit fails, the responsiveness needs to be recalculated and reset. However, there were problems in that it was time-consuming and the algorithm was complicated.

この発明はかかる問題点を解決するためになされたもの
で、らる処理指令に対して処理を行なう複数のスレーブ
演算処理装置の動作順序を予め設定することなく、スレ
ーブ演算処理装置自体が自らの状態を監視してデータ処
理実行可否の判断を行なうことができ、マスタ演算処理
装置は複数のスレーブ演算処理装置の状態如何について
感知することなく処理が可能なマルチプロセッサシステ
ムを得ることを目的とする。
This invention has been made to solve this problem, and allows the slave processing units themselves to operate independently without presetting the operating order of the plurality of slave processing units that perform processing in response to a single processing command. The purpose of the present invention is to obtain a multiprocessor system that can monitor the status and determine whether or not data processing can be executed, and that allows a master arithmetic processing unit to perform processing without sensing the status of a plurality of slave arithmetic processing units. .

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

この発明に係るマルチプロセッサシステムは、複数のス
レーブ演算処理装置内に実行順序を判別する優先判別部
を夫々備え、この優先判別部の判別結果により被処理デ
ータ等を実行するようにしたものである。
A multiprocessor system according to the present invention includes a plurality of slave arithmetic processing units each having a priority determination section for determining the order of execution, and executes data to be processed based on the determination result of the priority determination section. .

〔作 用〕[For production]

この発明においては、優先判別部が当該スレーブ演算処
理装置の状態を監視するので、マスタ演算処理装置から
は被処理データおよび処理内容のみを送出することによ
って被処理データ等を処理するよう実行可能となシ、複
数のスレーブ演算処理装置の動作順序を予め設定するこ
とが不要となる。
In this invention, the priority determining unit monitors the status of the slave processing device, so that the master processing device can process the data to be processed, etc. by sending only the data to be processed and the processing contents. Moreover, it is not necessary to preset the operating order of the plurality of slave arithmetic processing units.

〔実施例〕〔Example〕

第1図はこの発明の一実施例を示す構成図であシ、1は
メインバス(バス)、2は制御プロセッサ(マスタ演算
処理装置)、5はこの発明のシステムが処理すべきプロ
グラムおよびデータを格納する主メモリ(メモIJ)、
71〜7Cは前記制御プロセッサ2からの制御情報およ
びデータにより実際の演算処理を行なう演算プロセッサ
(スレーブ演算処理装置)である。
FIG. 1 is a block diagram showing an embodiment of the present invention, in which 1 is a main bus, 2 is a control processor (master arithmetic processing unit), and 5 is a program and data to be processed by the system of this invention. Main memory (memo IJ) that stores
71 to 7C are arithmetic processors (slave arithmetic processing units) that perform actual arithmetic processing based on control information and data from the control processor 2.

第2−1図は上記第1図の演算プロセッサ(スレーブ演
算処理装置)7a〜70の要部を示すプロック図、第2
−2図は上記第2−1図の更に要部を示す回路図でめる
。これらの第2−1図、第2−2図において、10はメ
インバス1から来る制御情報(処理内容)およびデータ
(被処理データ)t−受は取り、その処理結果をメイン
バス1に返すためのバスインターフェイス、IN−j複
aの演算プロセッサ7&〜7cの処理実行の優先順位を
夫々決定する優先判別部、12は上記制御情報を解読し
て演算プロセッサ7&〜7aを動作させるための制御部
、13は供給されたデータに従い処理を行なう演算部で
ある。
FIG. 2-1 is a block diagram showing the main parts of the arithmetic processors (slave arithmetic processing units) 7a to 70 shown in FIG.
Figure 2-2 is a circuit diagram showing a further essential part of Figure 2-1. In these figures 2-1 and 2-2, 10 receives control information (processing content) and data (processed data) coming from main bus 1, and returns the processing results to main bus 1. 12 is a control unit for decoding the above-mentioned control information and operating the arithmetic processors 7 & -7a. The unit 13 is an arithmetic unit that performs processing according to the supplied data.

上記のように構成されたマルチプロセッサシステムにお
いて、第3図の説明図に示すようなベクトルデータの加
算を行なう場合の動作を第1図。
FIG. 1 shows the operation when adding vector data as shown in the explanatory diagram of FIG. 3 in the multiprocessor system configured as described above.

第2−1図、第2−2図を参照しながら説明する。This will be explained with reference to FIGS. 2-1 and 2-2.

制御プロセッサ2は主メモリ5上のプログラム5Aを読
みとると、ベクトルデータの加算であることを認識し、
さらにベクトル演算用のオペランドデータ15の格納場
所を判断する。そののち制御プロセッサ12はベクトル
加算でろることを判断して加算指令+(プラス)14A
と2つのオペランドデータAi+Bit5人を連続的に
メインバスIAにのせる。ここで演算プロセッサ7a〜
7aU制御プロセツサ2に近い側を優先度が高いとして
おけば、上記データがメインバス1へのせられた時点で
、空き状態、かつ最優先の演算プロセッサ7a乃至70
からそのデータを排他的に取シ込み、内部での処理を開
始する。この場合演算プロセッサ7a〜7aの処理の優
先度づけは、例えばディジーチェイン等の手法により各
演算プロセッサ7a〜7Cを結びつけておけば良い。演
算結果が出れば演算プロセッサ7a乃至7Cよシ制御プ
ロセシサ2に演算完了通知をすることにより、制御プロ
セッサ2はその演算プロセッサ7a乃至7Cの   1
演算結果を主メモリ5あるいは制御プロセッサ2に取シ
込み、そののち演算プロセッサ7a乃至7Cは空状態と
なる。従って、次のベクトル要素の演算はいま空状態に
なった演算プロセッサ7a乃至7C又はその他の空の演
算グロセツ97 a乃至7Gのうちの最も優先順位の高
い演算プロセッサ7a乃至7Cを用いて処理を行なうこ
とになる。
When the control processor 2 reads the program 5A on the main memory 5, it recognizes that it is an addition of vector data.
Furthermore, the storage location of operand data 15 for vector calculation is determined. After that, the control processor 12 determines that vector addition is possible and commands addition + (plus) 14A.
and two operand data Ai + 5 bits are continuously placed on the main bus IA. Here, the arithmetic processor 7a~
If the side closest to the 7aU control processor 2 is given a higher priority, at the time the above data is transferred to the main bus 1, the processors 7a to 70 that are in an empty state and have the highest priority
It takes in the data exclusively from the server and starts processing it internally. In this case, the processing of the arithmetic processors 7a to 7a may be prioritized by linking the arithmetic processors 7a to 7C using a method such as a daisy chain. When the calculation result is obtained, the calculation processors 7a to 7C notify the control processor 2 of the completion of the calculation, so that the control processor 2 calculates one of the calculation processors 7a to 7C.
The arithmetic results are taken into the main memory 5 or the control processor 2, and then the arithmetic processors 7a to 7C become empty. Therefore, the calculation of the next vector element is performed using the calculation processors 7a to 7C that are now empty or the calculation processors 7a to 7C with the highest priority among the other empty calculation processors 97a to 7G. It turns out.

次に、演算プロセッサ71〜7aの1つが何らかのトラ
ブルで、使用不能になった事を想定する。
Next, it is assumed that one of the arithmetic processors 71 to 7a becomes unusable due to some kind of trouble.

通常、このような場合制御プロセッサ2は演算プロセッ
サ7a乃至7aダウンの通知を受けてデータ供給のアル
ゴリズム変更を行なう必要がある。
Normally, in such a case, the control processor 2 needs to change the data supply algorithm upon receiving notification that the arithmetic processors 7a to 7a are down.

しかし、この発明のマルチプロセッサシステムでは単に
ダウンした演算プロセッサ7a乃至70をビジー状態(
使用中状態)にすることによりデータ処理は他の演算プ
ロセッサ73〜7Cに供給され、肩書力される。
However, in the multiprocessor system of the present invention, the arithmetic processors 7a to 70 that are down are simply put into a busy state (
By setting the CPU to the in-use state, data processing is supplied to the other arithmetic processors 73 to 7C, and the data processing is performed.

なお、上記実施例では演算プロセッサ7a〜7Cの機能
として、ベクトルの四則演算等の基本演算を示したが、
関数演算を持つものでも同様な効果を奏する。
In the above embodiment, basic operations such as vector arithmetic operations are shown as functions of the arithmetic processors 7a to 7C.
Similar effects can be achieved even with functional operations.

また、制御プロセッサ2から演算プロセッサ7a〜7C
へのデータの供給に対して制御情報と、データとをシリ
アルに転送する例で示したが、高速性を要求される場合
には制御情報とデータを並列的に転送しても構わない。
Further, from the control processor 2 to the calculation processors 7a to 7C,
Although an example has been shown in which control information and data are transferred serially for supplying data to the device, if high speed is required, control information and data may be transferred in parallel.

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

この発明は以上説明したとおり、複数のスレーブ演算処
理装置内に実行順序を判別する優先判別部を夫々備え、
この優先判別部の判別結果により被処理データ等を実行
するように構成したので、マスタ演算処理装置のデータ
供給アルゴリズムが簡単であるだけでなく、スレーブ演
算処理装置がダウンしたとき、あるいは増設されたとき
、何らのアルコリズム変更なしに処理ができ、さらにス
レーブ演算処理装置の処理時間をマスタ演算処理装置は
一切考慮することなく処理を配分でき、システムの持つ
能力を最大限に発揮しうるシステムを構成できるという
優れた効果がある。
As described above, the present invention includes a plurality of slave arithmetic processing units each including a priority determination unit that determines the order of execution,
Since the data to be processed is executed based on the determination result of this priority determination section, not only is the data supply algorithm of the master processing unit simple, but also when the slave processing unit goes down or is added. In this case, we have developed a system that can perform processing without changing the algorithm, and can allocate processing without any consideration of the processing time of slave processing units to the master processing unit, allowing the system to maximize its capabilities. It has the advantage of being configurable.

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

第1図はこの発明の一実施例を示す構成図であり、第2
−1図は第1図の演算プロセッサ(スレーブ演算処理装
置)の要部を示すブロック図、第2−2図は第2−1図
の更に要部を示す回路図、第3図は第1図のデータの流
れを説明するための説明図、第4図は第1図における演
算処理を理解するための演算処理の一例(Ci =Ai
 +Bi )を示す処理手順図、第5図は従来のマルチ
プロセッサシステムの概略を示す構成図である。 図において、lはメインバス(バス)、2は制御プロセ
ッサ(マスタ演算処理装置)、7a〜7Cは演算プロセ
ッサ(スレーブ演算処理装置ff)、I+は優先判別部
である。 なお、各図中同一符号は四−または相当部分を示す。 特許出顯人  三菱電機株式会社 第1図 ■ 7α〜 7c:  :l’ji算アロ乞・ソ7(スし−
)・−;t!算甥d里唆1)第2−1図 43図 第50 手続補正書(自発) 昭和 悼・1°月6 日
FIG. 1 is a configuration diagram showing one embodiment of the present invention, and FIG.
-1 is a block diagram showing the main parts of the arithmetic processor (slave arithmetic processing unit) in Fig. 1, Fig. 2-2 is a circuit diagram showing the main parts of Fig. 2-1, and Fig. Figure 4 is an explanatory diagram for explaining the data flow in Figure 4. An example of the calculation process (Ci = Ai
+Bi ), and FIG. 5 is a block diagram schematically showing a conventional multiprocessor system. In the figure, 1 is a main bus, 2 is a control processor (master arithmetic processing unit), 7a to 7C are arithmetic processors (slave arithmetic processing unit ff), and I+ is a priority determination unit. Note that the same reference numerals in each figure indicate four or equivalent parts. Patent issuer Mitsubishi Electric Corporation Figure 1 ■ 7α ~ 7c:
)・-;t! 1) Figure 2-1 Figure 43 Figure 50 Procedural amendment (spontaneous) Showa mourning, 1°, 6th

Claims (3)

【特許請求の範囲】[Claims] (1)被処理データの生成および指令を行なうマスタ演
算処理装置と、このマスタ演算処理装置からバスを介し
前記指令により駆動されかつ被処理データを処理する複
数のスレーブ演算処理装置とを備えたマルチプロセッサ
システムにおいて、前記夫々のスレーブ演算処理装置内
に実行順序を判別する優先判別部を備え、前記マスタ演
算処理装置からは被処理データおよび処理内容のみを送
出することにより前記優先判別部が前記スレーブ演算処
理装置の状態を監視して優先順位の設定順に実行如何を
判別し、この判別結果により実行が決定されたスレーブ
演算処理装置が前記被処理データおよび処理内容を処理
実行するようにしたことを特徴とするマルチプロセッサ
システム。
(1) A multiprocessor system comprising a master processing unit that generates data to be processed and issues instructions, and a plurality of slave processing units that are driven by the commands from the master processing unit via a bus and process the data to be processed. In the processor system, each of the slave arithmetic processing units includes a priority determination unit that determines the order of execution, and the priority determination unit determines the order of execution by transmitting only the data to be processed and processing contents from the master arithmetic processing unit. The state of the arithmetic processing units is monitored and execution is determined in the order of priority setting, and the slave arithmetic processing unit whose execution is determined based on the determination result processes the data to be processed and the processing contents. Features a multiprocessor system.
(2)優先判別部は当該スレーブ演算処理装置の使用中
如何の監視により処理実行を行なうことを特徴とする特
許請求の範囲第1項記載のマルチプロセッサシステム。
(2) The multiprocessor system according to claim 1, wherein the priority determination unit executes the processing by monitoring whether the slave arithmetic processing unit is in use.
(3)優先判別部は当該スレーブ演算処理装置の異常状
態を使用中とみなすよう監視することにより処理実行を
行なうことを特徴とする特許請求の範囲第1項記載のマ
ルチプロセッサシステム。
(3) The multiprocessor system according to claim 1, wherein the priority determination unit executes the processing by monitoring the abnormal state of the slave arithmetic processing unit so that it is regarded as being in use.
JP59226825A 1984-10-30 1984-10-30 Multiprocessor system Pending JPS61131062A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP59226825A JPS61131062A (en) 1984-10-30 1984-10-30 Multiprocessor system
DE3538214A DE3538214C2 (en) 1984-10-30 1985-10-26 Multiprocessor system
US06/792,592 US4774625A (en) 1984-10-30 1985-10-29 Multiprocessor system with daisy-chained processor selection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59226825A JPS61131062A (en) 1984-10-30 1984-10-30 Multiprocessor system

Publications (1)

Publication Number Publication Date
JPS61131062A true JPS61131062A (en) 1986-06-18

Family

ID=16851175

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59226825A Pending JPS61131062A (en) 1984-10-30 1984-10-30 Multiprocessor system

Country Status (1)

Country Link
JP (1) JPS61131062A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5576467A (en) * 1978-12-05 1980-06-09 Nec Corp Decentralized processor
JPS57212564A (en) * 1981-06-24 1982-12-27 Hitachi Ltd Distributed multiprocessor scheduling system
JPS59176846A (en) * 1983-03-28 1984-10-06 Agency Of Ind Science & Technol Parallel data processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5576467A (en) * 1978-12-05 1980-06-09 Nec Corp Decentralized processor
JPS57212564A (en) * 1981-06-24 1982-12-27 Hitachi Ltd Distributed multiprocessor scheduling system
JPS59176846A (en) * 1983-03-28 1984-10-06 Agency Of Ind Science & Technol Parallel data processor

Similar Documents

Publication Publication Date Title
JP2010079622A (en) Multi-core processor system and task control method thereof
JPH01150963A (en) Ipl method in computer
US4774625A (en) Multiprocessor system with daisy-chained processor selection
JP2638065B2 (en) Computer system
JPH023876A (en) Single-chip microcomputer
JP2001249808A (en) Information processor
JPS61131062A (en) Multiprocessor system
JPS59167756A (en) Dispatch control system of virtual computer
JPS62180455A (en) Multiplexing processor
JPS62295168A (en) Apparatus control device
JP2560098B2 (en) Clock stop control method by machine check
JPH04253228A (en) Task scheduling system for symmetric multiprocessor
WO1989012854A1 (en) Operation processing unit
US6078545A (en) Data transfer circuit
JPS62293331A (en) Data processor
JP2004038715A (en) Parallel computing processing method
US20080288952A1 (en) Processing apparatus and device control unit
JPS61107460A (en) Multiprocessor system
JPS63208101A (en) Control system
JPH0573507A (en) Reliefing device in message communication between electronic computers
JPH0198047A (en) Interruption processing system
JPH03174647A (en) Multiprocessor control system
JPH03191459A (en) Interruption response processor
JPS5924335A (en) Information processing system
JPH02291074A (en) Instruction processing order control system