JPS61283955A - Task control system for close connection type multi-processor - Google Patents

Task control system for close connection type multi-processor

Info

Publication number
JPS61283955A
JPS61283955A JP12503685A JP12503685A JPS61283955A JP S61283955 A JPS61283955 A JP S61283955A JP 12503685 A JP12503685 A JP 12503685A JP 12503685 A JP12503685 A JP 12503685A JP S61283955 A JPS61283955 A JP S61283955A
Authority
JP
Japan
Prior art keywords
task
processor
control
proc
arithmetic
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
JP12503685A
Other languages
Japanese (ja)
Inventor
Takaharu Kobayashi
隆治 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP12503685A priority Critical patent/JPS61283955A/en
Publication of JPS61283955A publication Critical patent/JPS61283955A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To suppress the memory access conflicts and to avoid the system breakdown due to a trouble of an arithmetic processor or a main storage, by dividing the main storage to each processor and securing the task control proper to each processor. CONSTITUTION:When a task A working on a control processor CP5 executes a procedure call instruction ProC, a communication means is started and the ProC communication is informed to an arithmetic processor OP6. Then the task A is held and a task B having the next lower priority is started. While the OP6 received the instruction ProC starts a task A' and receives the ProC communication from the task B working on the CP5 to register the task B' to an execution task queue. The instruction ProC on the CP5 is set under a holding state with execution of the instruction ProC. Then a task C having the next lower priority is started. When the task A' on the OP6 executes the instruction ProC, the communication means is started and the ProC communication is informed to the CP5. Then the task A' is held and the task B' is extracted out of the execution task queue and started.

Description

【発明の詳細な説明】 〔産業上の利用分野〕     、 本発明は、高速科学演算を遂行する演算プロセッサと、
該演算プロセッサを制御し通常のオにレーティングシス
テムのもつ機能を遂行する制御ゾ0−tッサとの密結合
型マルチ・プロセッサ・システムにおけるタスク制御に
一関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides an arithmetic processor that performs high-speed scientific operations;
This invention relates to task control in a tightly coupled multi-processor system with a control processor that controls the arithmetic processor and performs the functions of a normal operating system.

〔従来の技術及び発明が解決しようとする問題点〕高速
科学演算を1行なう情報処理システムにおい1て、高速
科学演算を行なう演算プロセッサと通常のオペレーティ
ングシステムのもつ、機能を遂行するプロセッサとの重
結合型マルチ・プロセッサ・システムでは、主記憶を共
有し、かつタスクの1制御カオペレーテイングシステム
のもとで行なわれているため、それぞれのプロセッサが
独立に動作不可であったり、主記憶へのてクセス競合が
多く。
[Problems to be solved by the prior art and the invention] In an information processing system that performs one high-speed scientific operation, the overlap between the arithmetic processor that performs the high-speed scientific operation and the processor that performs the functions of a normal operating system is In a combined multi-processor system, the main memory is shared and the tasks are performed under a single-task cooperative operating system, so each processor may not be able to operate independently or there may be problems with access to the main memory. There is a lot of access conflict.

なセ、性熊低下を招いた。シ、、主記憶や演算プロセッ
サの障害がシステムダウンとなるなどの欠点があった。
Well, it has caused a decline in sexiness. However, there were drawbacks such as failure of the main memory or arithmetic processor causing the system to go down.

  、        。         .

また、高速科学演算を行なう演算プロセッサと通常のオ
ペレーティングシステムのもつ機能を果すプロセッサと
を全く独立させた疎結合型マルチ・プロセッサ・システ
ムでは、前記欠点はなくなるが、演算プロセッサで動作
するジョブのプログラムやデータの転送に時間がかかっ
たシ、専用の補助記憶装置を必要とするなどの欠点があ
った。
In addition, in a loosely coupled multi-processor system in which a processor that performs high-speed scientific calculations and a processor that performs the functions of a normal operating system are completely independent, the above drawbacks are eliminated, but the program of the job that runs on the processor is The disadvantages were that it took a long time to transfer data, and that it required a dedicated auxiliary storage device.

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

本発明の目的は、科学演算(ベクトル演算)を高速で遂
行する演算プロセッサと、該演算プロセッサを制御し通
常のオペレーティングシステムのもつ機能を遂行する制
御プロセッサとを備え9両プロセッサ間の通信を可能と
した密結合型マルチ・プロセッサーシステムにおいて、
それぞれのプロセッサに主記憶を分割して使用させると
共に、それぞれのプロセッサで動作するタスクに対応し
たタスクの制御ブロックと該制御ブロックを制御する制
御領域とをそれぞれのプロセッサに対応した主記憶の領
域にもつようにすることにより、上記欠点を解決し、そ
れぞれのプロセッサが独自のタスク制御を行なえるよう
にした密結合型マルチ・プロセッサ・システムのタスク
制御方式を提供するものである。
An object of the present invention is to enable communication between nine processors, including an arithmetic processor that performs scientific operations (vector operations) at high speed, and a control processor that controls the arithmetic processor and performs the functions of a normal operating system. In a tightly coupled multi-processor system,
The main memory is divided and used by each processor, and a task control block corresponding to a task running on each processor and a control area for controlling the control block are allocated to an area of the main memory corresponding to each processor. The present invention provides a task control method for a tightly coupled multi-processor system, which solves the above-mentioned drawbacks and allows each processor to perform its own task control.

〔実施例〕〔Example〕

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

第1図は2本発明の一実施例による密結合型マルチ・プ
ロセッサ・システムの構成である。この密結合マルチ・
ゾロセッサ・システムは、それぞれのプロセッサで動作
するタスクの制御ブロックを含む制御情報やプログラム
やデータなどが格納される制御プロセッサメモリ2と演
算プロセッサメモリ3とでなる主記憶装置1と、プロセ
ッサ間通信手段をもち通常のオペレーティングシステム
のもつ機能を果す制御プロセッサ5とプロセッサ間通信
手段をもち高速科学演算機能を遂行する演算プロセッサ
6とでなる科学演算処理装置4と。
FIG. 1 shows the configuration of a tightly coupled multi-processor system according to an embodiment of the present invention. This tightly coupled multi-
The Zorocessor system includes a main storage device 1 consisting of a control processor memory 2 and an arithmetic processor memory 3 in which control information, programs, data, etc. including control blocks of tasks operated by each processor are stored, and an inter-processor communication means. A scientific calculation processing device 4 consisting of a control processor 5 having the functions of a normal operating system and a calculation processor 6 having inter-processor communication means and performing high-speed scientific calculation functions.

入出力の制御を行なう入出力処理装置7と、プログラム
やデータなどが記憶されている入出力装置8とで構成さ
れる。
It is composed of an input/output processing device 7 that controls input/output, and an input/output device 8 in which programs, data, etc. are stored.

第2図は、前記演算プロセッサ6のブロック図。FIG. 2 is a block diagram of the arithmetic processor 6.

第3図および第4図は、前記演算プロセッサメモリ3の
構成図、第5図は、前記演算ゾロセッサメモリ3におけ
るタスク制御の一実施例、第6図は。
3 and 4 are block diagrams of the arithmetic processor memory 3, FIG. 5 shows an example of task control in the arithmetic processor memory 3, and FIG. 6 shows an example of task control in the arithmetic processor memory 3.

前記制御プロセッサ5と前記演算プロセッサ6における
タスク制御の流れをそれぞれ示すものである。
3 shows the flow of task control in the control processor 5 and the arithmetic processor 6, respectively.

まス2通常のオペレーティングシステムが制御プロセッ
サメモリ2と制御プロセッサ5と入出力処理装置7と入
出力装置8とを使用して立ち上る。
A normal operating system starts up using control processor memory 2, control processor 5, input/output processing unit 7, and input/output device 8.

次ニ、オ被レーティング・システムは、演算プロセッサ
6の初期化を行ない演算プロセッサメモリ3の演算プロ
セッサ制御領域30内の制御データ領域3012制御プ
ログラム領域302とへデータとプログラムとをロード
し、プロセッサ間通信手段によシ該制御プログラム領域
302内の制御プログラムに制御を渡す。以上の処理で
前記制御プロセッサ5と前記演算プロセッサ6の立ち上
げが完了し、ユーザジョブの実行が可能となる。
Next, the operating system initializes the arithmetic processor 6, loads the data and program into the control data area 3012 and the control program area 302 in the arithmetic processor control area 30 of the arithmetic processor memory 3, and Control is passed to the control program in the control program area 302 through the communication means. With the above processing, startup of the control processor 5 and the arithmetic processor 6 is completed, and the user job can be executed.

次に、前記制御プロセッサ5で動作するオペレーティン
グ・システムは、ユーザジョブが前記演算プロセッサ6
上で動作するタスクを含んでいる場合、該タスクを制御
プロセッサ5上で動作するものと演算プロセッサ6上で
動作するものに分けて制御し、まず該ユーザジョブの演
算プロセッサ6上で動作するタスクのタスク状態ブロッ
ク310を含む制御情報とプログラムとデータとを前記
演算プロセッサメモリ3のユーザジョブ領域31ヘロー
ドし、更に該ユーザジョブの制御プロセッサ5上で動作
するタスクのタスク制御ブロックを含む制御情報とプロ
グラムとデータとを前記制御プロセッサメモリ2ヘロー
tyL、該タスクを起動する。
Next, the operating system running on the control processor 5 determines whether the user job is
If the user job includes a task that operates on the arithmetic processor 6, the task is divided into those that operate on the control processor 5 and those that operate on the arithmetic processor 6, and the tasks that operate on the arithmetic processor 6 of the user job are controlled first. Load control information, a program, and data including a task state block 310 into the user job area 31 of the arithmetic processor memory 3, and further control information including a task control block of a task running on the control processor 5 of the user job. The program and data are transferred to the control processor memory 2 and the task is activated.

前記タスク状態ブロック310と前記タスク制御ブロッ
クは、それぞれのプロセッサ上で動作するタスクに対応
して確保され、動作するプログラムのモードやプログラ
ムの実行開始番地やそれぞれのプロセッサのもつレジス
タの退避領域や課金情報などをもち2両ブロックは、お
互いに他ブロックへのIインクももっている。
The task status block 310 and the task control block are reserved for each task running on each processor, and contain information such as the mode of the running program, the execution start address of the program, the register save area of each processor, and billing. Two blocks that have information etc. each also have I ink for other blocks.

起動された前記タスクのプログラムは、まず前記制御フ
ロセッサ5で動作し、該プログラムが前記演算プロセッ
サメモリ3にロードされているプログラムのタスクを前
記演算プロセッサ6で動作させるには、特殊なプロシジ
ャコール命令を実行することによシ該制御プロセッサ5
のもつプロセッサ間通信手段が働き2本通信手段により
プロシジャコール通信が該演算プロセッサ6へ通知され
る。
The activated task program first operates on the control processor 5, and in order to cause the program task loaded in the arithmetic processor memory 3 to operate on the arithmetic processor 6, a special procedure call instruction is required. The control processor 5
The inter-processor communication means of the two communication means act to notify the arithmetic processor 6 of procedure call communication.

前記プロシジャコール通信を受は取った前記演算プロセ
ッサ6は、タスク状態ブロック310のポインタを含む
通信情報をもとにタスクリンク3013を制御データ領
域301内に作成し、該タスクリンク3013を実行待
タスクキ:L、−3011゜3012へ優先度に応じて
登録する。
The arithmetic processor 6, which has received the procedure call communication, creates a task link 3013 in the control data area 301 based on the communication information including the pointer of the task status block 310, and sets the task link 3013 in the waiting task list. :L, -3011°3012 according to priority.

登録された前記タスクリンク3013は、前記演算プロ
セッサ6で動作する前記制御プログラム領域302内の
制御プログラムによって実行可能となったとき、前記実
行待タスクキー−3011゜3012よシブキューされ
、実行タスクポインタ3010より示され、前記タスク
状態ブロック310内で示される状態で起動する。
When the registered task link 3013 becomes executable by the control program in the control program area 302 running on the arithmetic processor 6, it is queued to the execution task key -3011.degree. and starts in the state shown in the task state block 310.

起動された前記タスクのプログラムが前記制御プロセッ
サメモリ2のプログラムをコール(マタはプログラムへ
リターン)する場合、特殊なプロシジャコール(または
リターン)命令を実行することによシ該演算プロセッサ
6のもつプロセッサ間通信手段が起動されプロシジャコ
ール(またはリターン)通信が前記制御プロセッサ5へ
通知される。前記プロシジャコール(またはリターン)
通信を受は取った前記制御プロセッサ5でも、前記演算
プロセッサ6の前記処理と同様な処理を行なうことによ
)、それぞれのプロセッサが独自のタスク制御が可能と
なる。
When the activated program of the task calls the program of the control processor memory 2 (returns to the program), the processor of the arithmetic processor 6 is executed by executing a special procedure call (or return) instruction. The intercommunication means is activated and the control processor 5 is notified of procedure call (or return) communication. The procedure call (or return)
The control processor 5 that receives the communication also performs the same processing as that of the arithmetic processor 6), thereby allowing each processor to control its own tasks.

ここで、タスク制御の流れを示す第6図にお込て、制御
プロセッサ5上で動作するタスクAがプロシジャコール
命令を実行するとプロセッサ間通信手段が起動され、プ
ロシジャコール通信が演算プロセッサ6へ通知され、タ
スクAは保留状態となシ次の優先度をもつタスクBが起
動される。
Here, in FIG. 6 showing the flow of task control, when task A running on the control processor 5 executes a procedure call instruction, the inter-processor communication means is activated, and the procedure call communication is notified to the arithmetic processor 6. Then, task A is put on hold and task B, which has the next priority, is activated.

一方、前記プロシジャコール通信を受は取った前記演算
プロセッサ6はタスクA′を起動し、該タスクA′の動
作中に前記制御プロセッサ5上で動作中の前記タスクB
からのプロシジャコール通信ヲ受は取りタスクB′を実
行待タスクキー−3011゜3012へ登録する。前記
制御プロセッサ5上のタスクBはプロシジャコール命令
の実行により保留状態となり1次の優先度をもつタスク
Cが起動される。前記演算プロセッサ6上の前記タスク
A′がプロシジャコール命令を実行するとプロ士ツサ間
通信手段が起され、プロシジャコール通信が前記制御プ
ロセッサ5へ通知され、前記タスクA′は保留状態とな
シ、前記実行待タスクキー−3011゜3012よシ前
記タスクB′が取シ出され、前記タスクB′が起動され
る。
On the other hand, the arithmetic processor 6 that has received the procedure call communication starts the task A', and while the task A' is running, the task B running on the control processor 5 is activated.
Upon receipt of the procedure call communication from, the task B' is registered in the pending task keys 3011 and 3012. Task B on the control processor 5 is placed on hold due to execution of the procedure call instruction, and task C having the first priority is activated. When the task A' on the arithmetic processor 6 executes a procedure call instruction, the inter-processor communication means is activated, the procedure call communication is notified to the control processor 5, and the task A' is not in a pending state. The task B' is retrieved from the pending task keys 3011 and 3012, and the task B' is activated.

次に、前記プロシジャコール通信を受は取った前記制御
プロセッサ!Mat、保留状態である前記タスクAを実
行可能にし、動作中である前記タスクCと前記タスクA
の優先度を比較し、優先度の低い前記タスクCを実行待
タスクキー−へ登録し。
Next, the control processor that received the procedure call communication! Mat, makes the task A in a pending state executable, and makes the task C and the task A in operation.
and registers the task C, which has a lower priority, to the waiting task key.

優先度の高い前記タスクAを起動する。The task A having a high priority is activated.

以上説明したように、それぞれのプロセッサが独自のタ
スク制御が可能であり、それぞれのプロセッサが独立し
て同時動作ができ、しかも、主記憶へのアクセス競合も
おさえられる。
As explained above, each processor can control its own tasks, each processor can operate independently and simultaneously, and contention for access to the main memory can be suppressed.

なお以上の説明におけるプロセッサ間通信手段は、プロ
セッサ間の直接通信のみならず9例えばファイル経由で
あってもかまわない。また9以上の実施例では、制御プ
ロセッサメモリ2と演算ゾロセッサメモリ3とは別のハ
ードウェアで構成されているが5制御プロセツサメモリ
2と演算プロセッサメモリ3とが同一のハードウェアの
異なる領域にて構成されてもよいことはもちろんである
Note that the inter-processor communication means in the above description is not limited to direct communication between processors, but may also be, for example, via a file. Furthermore, in the embodiments 9 and above, the control processor memory 2 and the arithmetic processor memory 3 are configured with separate hardware, but the control processor memory 2 and the arithmetic processor memory 3 are configured in different areas of the same hardware. Of course, it may be configured as follows.

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

本発明には以上説明したように、それぞれのプロセッサ
に主記憶を分割し、独自のタスク制御を行なうように構
成することによシ、メモリアクセス競合をおさえ、演算
プロセッサや主記憶の障害がシステムダウンにならない
ようにすることができる効果がある。
As explained above, the present invention has a configuration in which the main memory is divided into each processor and each processor performs its own task control, thereby suppressing memory access contention and preventing failures of the arithmetic processor or main memory from occurring in the system. It has the effect of preventing you from going down.

以下余日Remaining days below

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

第1図は本発明の密結合型マルチ・プロセッサ・システ
ムの構成図、第2図は第1図に示した演算プロセッサ6
のブロック図、第3図←参伊勢Φ冊の概念図、第6図は
本発明の一実施例を示すタスク制御の流れ図である。 図において。 1・・・主記憶装置、2・・・制御プロセッサメモリ。 3・・・演算プロセッサメモリ、4・・・科学演算処理
装置、5・・・制御プロセッサ、6・・・演算ゾロセッ
サ。 7・・・入出力処理装置、8・・・入出力装置、30・
・・演算プロセッサ制御領域、、31 、3 t(n)
・・・ユーザジョブ領域、301・・・制御データ領域
、302・・・制御プログラム領域、、310 、31
’0(n)・・・タスク状態ブロック、3010・・・
実行タスクポインタ。 3011・・・実行待タスクの先頭ポインタ、 301
2・・・実行待タスクの最終ポインタ、3013,30
13(n)・・・タスクリンク、61・・・ベクトル演
算部、62・・・制御部、63・・・スカラ演算部、6
11・・・ベクトルマスクレジスタ、612・・・マス
ク演算処理部。 613・・・ベクトルレノスタ、614・・・ベクトル
演算処理部、621・・・制御レジスタ、622・・・
制御処’fM部、 63 t・・・スカラレジスタ、6
32・・・スカラ演算処理部である。 −=’ 1 第6図
FIG. 1 is a block diagram of a tightly coupled multi-processor system of the present invention, and FIG. 2 is a block diagram of the arithmetic processor 6 shown in FIG.
FIG. 3 is a conceptual diagram of the ISE Φ book, and FIG. 6 is a flowchart of task control showing an embodiment of the present invention. In fig. 1... Main storage device, 2... Control processor memory. 3... Arithmetic processor memory, 4... Scientific arithmetic processor, 5... Control processor, 6... Arithmetic processor. 7... Input/output processing device, 8... Input/output device, 30.
... Arithmetic processor control area, 31 , 3 t(n)
... User job area, 301... Control data area, 302... Control program area, 310, 31
'0(n)...Task status block, 3010...
Execution task pointer. 3011...Start pointer of tasks waiting to be executed, 301
2...Final pointer of task waiting to be executed, 3013, 30
13(n)...Task link, 61...Vector calculation unit, 62...Control unit, 63...Scalar calculation unit, 6
11... Vector mask register, 612... Mask calculation processing unit. 613...Vector reno star, 614...Vector arithmetic processing unit, 621...Control register, 622...
Control processing 'fM section, 63 t... Scalar register, 6
32... Scalar arithmetic processing section. -=' 1 Figure 6

Claims (1)

【特許請求の範囲】[Claims] 1、科学演算を遂行する演算プロセッサと、該演算プロ
セッサを制御しオペレーティングシステムのもつ機能を
遂行する制御プロセッサとを備え、両プロセッサ間の通
信を可能とした密結合型マルチ・プロセッサ・システム
において、それぞれのプロセッサは、主記憶を分割して
使用すると共に、それぞれのプロセッサで動作するタス
クに対応したタスクの制御ブロックと該制御ブロックを
制御する制御領域とを、それぞれのプロセッサに対応し
た主記憶の領域にもち、それぞれのプロセッサが独自の
タスク制御を行なえるようにしたことを特徴とする密結
合型マルチ・プロセッサ・システムのタスク制御方式。
1. In a tightly coupled multi-processor system that includes an arithmetic processor that performs scientific operations and a control processor that controls the arithmetic processor and performs the functions of an operating system, and that enables communication between the two processors, Each processor divides and uses the main memory, and the task control block corresponding to the task running on each processor and the control area for controlling the control block are stored in the main memory corresponding to each processor. A task control method for a tightly coupled multi-processor system in which each processor can perform its own task control.
JP12503685A 1985-06-11 1985-06-11 Task control system for close connection type multi-processor Pending JPS61283955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12503685A JPS61283955A (en) 1985-06-11 1985-06-11 Task control system for close connection type multi-processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12503685A JPS61283955A (en) 1985-06-11 1985-06-11 Task control system for close connection type multi-processor

Publications (1)

Publication Number Publication Date
JPS61283955A true JPS61283955A (en) 1986-12-13

Family

ID=14900256

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12503685A Pending JPS61283955A (en) 1985-06-11 1985-06-11 Task control system for close connection type multi-processor

Country Status (1)

Country Link
JP (1) JPS61283955A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07306837A (en) * 1991-04-16 1995-11-21 Internatl Business Mach Corp <Ibm> Apparatus and method for distributed processing as well as program product

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07306837A (en) * 1991-04-16 1995-11-21 Internatl Business Mach Corp <Ibm> Apparatus and method for distributed processing as well as program product

Similar Documents

Publication Publication Date Title
JPS6031648A (en) Controlling method of multitask
US20100299472A1 (en) Multiprocessor system and computer program product
JP2000330806A (en) Computer system
JPS61283955A (en) Task control system for close connection type multi-processor
JP2902746B2 (en) Virtual computer control method
JP2553526B2 (en) Multitasking processor
JPH11184828A (en) Test system for multiprocessor system
JPH02253440A (en) Time division multitask execution device
KR20030050860A (en) Task function processing method for multi processor system
JP3022398B2 (en) Virtual computer system
JPH06325007A (en) Multiprocessor system starting system
JPS61143858A (en) File share method for plural operating systems
JPS6248871B2 (en)
JPH03223955A (en) Information processing system
JPS6049464A (en) Inter-processor communication system of multi-processor computer
JPH0656611B2 (en) Vector processor
JPH01288954A (en) Service program execution program for multi-processor system
JPH08272757A (en) Multiprocessor system and program starting method
JPH0364888B2 (en)
JPH02236656A (en) Multiprocessor system
JPH02112045A (en) Computer system
JPS58225469A (en) Multi-processor controlling system
JPH08314878A (en) Computer system
JPS61278942A (en) Data managing device
JPH01217636A (en) Task control system