JPS63108452A - Inter-processor communication control system - Google Patents

Inter-processor communication control system

Info

Publication number
JPS63108452A
JPS63108452A JP25283886A JP25283886A JPS63108452A JP S63108452 A JPS63108452 A JP S63108452A JP 25283886 A JP25283886 A JP 25283886A JP 25283886 A JP25283886 A JP 25283886A JP S63108452 A JPS63108452 A JP S63108452A
Authority
JP
Japan
Prior art keywords
processor
communication
inter
arithmetic
control
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
JP25283886A
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 JP25283886A priority Critical patent/JPS63108452A/en
Publication of JPS63108452A publication Critical patent/JPS63108452A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To assign the interruption processing time of a replying communication to other tasks, and to improve the performance of an arithmetic processor by eliminating the replying communication from a control processor. CONSTITUTION:In order to activate another task on an arithmetic processor 14, an activating processing is executed. At such a time, when the task to be activated is absent, the processor 14 comes to be the weight condition to await an inter-processor communication from a control processor 13. When the task to be activated is present and the processor 14 executes the inter-processor communication to the control processor 13 and the inter-processor communication of the replying communication, the receiving processing of the inter- processor communication of the control processor 13 is executed. At such a time it is decided whether or not the replying communication from the processor 14 is obtained. When replying communication is started a lock byte 21 is made into the un-locking condition. When the replying communication is not started, the communication data are read from a communication data area 22 at a main memory device 11, the processing in accordance with the communication data is executed by the control processor 13 and thereafter, the lock byte 21 is made into the un-locking condition.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプロセッサ間通信制御方式に関し2%に高速科
学演算(ベクトル演算)を遂行する演算プロセッサとこ
の演算プロセッサを制御し通常のオペレーティングシス
テムのもつ機能を遂行する制御プロセッサとからなるマ
ルチプロセッサシステムにおける前記演算プロセッサか
ら制御プロセッサへのプロセッサ間通信の制御方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an inter-processor communication control method, and relates to an arithmetic processor that performs 2% high-speed scientific operations (vector operations), and a normal operating system that controls this arithmetic processor. The present invention relates to a method for controlling inter-processor communication from the arithmetic processor to the control processor in a multiprocessor system comprising a control processor and a control processor.

〔従来の技術〕[Conventional technology]

従来、このようなマルチプロセッサシステムにおける演
算プロセッサと制御プロセッサとの間の通信において、
演算プロセッサのあるタスクの要求によシ演算プロセッ
サから制御プロセッサヘプロセッサ間通信を行なった場
合、演算プロセッサは制御プロセッサからのリプライ通
信の待ち合わせを行ない、リプライ通信があったときロ
ックバイトをアンロック状態にした後に次のタスクを起
動するように構成されていた(例えば特願昭60−21
2841号公報)。
Conventionally, in communication between an arithmetic processor and a control processor in such a multiprocessor system,
When inter-processor communication is performed from the arithmetic processor to the control processor in response to a request from a certain task of the arithmetic processor, the arithmetic processor waits for a reply communication from the control processor, and when there is a reply communication, the lock byte is set to an unlocked state. It was configured to start the next task after
Publication No. 2841).

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

このように、従来は、演算プロセッサのあるタスクの要
求により演算プロセッサから制御プロセッサへプロセッ
サ間通信を行なった場合、演算プロセッサは、常に制御
プロセッサからのリプライ通信の待合わせを行なってい
たので、その待合わせ時間分だけ他のタスクを起動する
ことができず。
In this way, conventionally, when inter-processor communication was performed from the arithmetic processor to the control processor in response to a request from a certain task of the arithmetic processor, the arithmetic processor always waited for reply communication from the control processor. I was unable to start other tasks for the waiting time.

また、リゾライ通信の割込みが起こるため、演算プロセ
ッサの性能低下を招くという問題点があった。
Furthermore, there is a problem in that the performance of the arithmetic processor is degraded due to the interruption of the resolution communication.

本発明はこのような従来の問題点を解決したもので、そ
の目的は、制御プロセッサからのリゾライ通信をなくす
ことによシリブライ通信の割込み処理時間を他のタスク
に割当てることができ、演算プロセッサの性能を向上さ
せることにある。
The present invention solves these conventional problems, and its purpose is to allocate interrupt processing time for silibili communication to other tasks by eliminating silibili communication from the control processor, thereby freeing up the processing time of the arithmetic processor. The goal is to improve performance.

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

本発明は上記目的を達成するため、相互の通信機能を有
する演算プロセッサと該演算プロセッサを制御する制御
プロセッサとの間で、ロックバイトによって排他的使用
可能な主記憶装置の共通通信領域を介して通信データの
授受を行なうマルチプロセッサシステムにおける前記演
算プロセッサから前記制御プロセッサへの通信制御方式
において、前記演算プロセッサから前記制御プロセッサ
へ送信時、前記演算プロセッサが前記ロックバイトをロ
ック状態にして通信データを前記共通通信領域に書込む
と共にその旨を前記通信機能により前記制御プロセッサ
へ送信し、前記制御プロセッサからのリゾライ通信を待
合わせずに次のタスクを起動する手段と、前記通信機能
により前記演算プロセッサからのプロセッサ間通信を受
信した前記制御プロセッサが前記ロックバイトをアンロ
ック状態にし、前記演算プロセッサへリプライ通信を送
信しない手段とを設けたものである。
In order to achieve the above object, the present invention communicates between an arithmetic processor having a mutual communication function and a control processor that controls the arithmetic processor via a common communication area of a main storage device that can be used exclusively by a lock byte. In a communication control method from the arithmetic processor to the control processor in a multiprocessor system that sends and receives communication data, when transmitting from the arithmetic processor to the control processor, the arithmetic processor locks the lock byte and transmits the communication data. means for writing in the common communication area and transmitting a message to that effect to the control processor using the communication function, and activating the next task without waiting for reso-rai communication from the control processor; and means for the control processor to unlock the lock byte and not to send a reply communication to the arithmetic processor.

〔実施例〕〔Example〕

次に2本発明について図面を参照して説明する。 Next, two aspects of the present invention will be explained with reference to the drawings.

第1図は本発明を実施するマルチプロセッサシステムの
構成の一例を示すブロック図である。この第1図のマル
チプロセッサシステムは、プロセッサ間通信手段をもち
高速科学演算を遂行する演算プロセッサ14及びプロセ
ッサ間通信手段をもち通常のオペレーティングシステム
のもつ機能を遂行する制御プロセッサ13を含む科学演
算処理装置12と、fロセ、す間通信時の通信データを
一時的に格納する通信データ領域22.この通信データ
領域22を両プロセッサ13.14で排他的に使用する
ためのロックバイト21及び図示してない他の制御情報
や両プロセッサ上で動作するためのプログラムやデータ
などが格納さnる主記憶装置11と、入出力の制御を行
なう入出力処理装置15と、fログラムやデータなどが
記憶されている入出力装置16とで溝成さnる。
FIG. 1 is a block diagram showing an example of the configuration of a multiprocessor system implementing the present invention. The multiprocessor system shown in FIG. 1 includes a processor 14 having an inter-processor communication means and performing high-speed scientific operations, and a control processor 13 having an inter-processor communication means and performing the functions of a normal operating system. A communication data area 22 that temporarily stores communication data during communication between the device 12 and f-rowse. A lock byte 21 for exclusive use of this communication data area 22 by both processors 13 and 14, other control information (not shown), and programs and data for running on both processors are stored. It consists of a storage device 11, an input/output processing device 15 that controls input/output, and an input/output device 16 in which programs, data, and the like are stored.

演算プロセッサ14とこれを制御する制御プロセッサ1
3との各々に設けられたプロセッサ開通信手段は、信号
線23を介して相互に接続され。
Arithmetic processor 14 and control processor 1 that controls it
The processor open communication means provided in each of the processors 3 and 3 are connected to each other via a signal line 23.

この信号線23を介してリグライ信号等の各種の制御信
号の授受が可能である。
Via this signal line 23, various control signals such as a regri signal can be sent and received.

第2図はそれぞれのプロセッサで通信データ領域22を
排他的使用するためのロックバイト21の構成説明図で
、この例は8ビツト構成のロックバイトを示す。ロック
状態であるときビット0〜3には16進の[8]が設定
され、ビット4〜7にはロックバイト21をロック状態
にしたプロセッサの装置番号が設定される。また、アン
ロック状態であるときビットθ〜7には16進の[00
]が設定される。
FIG. 2 is an explanatory diagram of the structure of the lock byte 21 for exclusive use of the communication data area 22 by each processor, and this example shows an 8-bit structure of the lock byte. When in the locked state, bits 0 to 3 are set to hexadecimal [8], and bits 4 to 7 are set to the device number of the processor that put the lock byte 21 in the locked state. Also, when in the unlocked state, bits θ to 7 are hexadecimal [00
] is set.

第3図は制御プロセッサ13が演算プロセッサ14から
のプロセッサ間通信を受信したときの流れ図、第4図は
演算プロセッサ14が制御プロセッサ13ヘプロセツサ
間通信を送信するときの流n図、第5図は演算プロセッ
サ14が制御プロセッサ13からのプロセッサ間通信を
受信したときの流れ図、第6図は演算プロセッサ14上
で新たにタスクを起動するタスク起動処理の流れ図であ
シ 、30〜33.41〜44.51〜53.60〜6
2は各ステップを示す。以下各図を参照して本実施例の
動作を説明する。
FIG. 3 is a flowchart when the control processor 13 receives interprocessor communication from the arithmetic processor 14, FIG. 4 is a flowchart when the arithmetic processor 14 sends interprocessor communication to the control processor 13, and FIG. Flowchart when the arithmetic processor 14 receives inter-processor communication from the control processor 13, FIG. 6 is a flowchart of task activation processing for activating a new task on the arithmetic processor 14. .51~53.60~6
2 indicates each step. The operation of this embodiment will be explained below with reference to each figure.

先ず、制御プロセッサ13と演算プロセッサ14とが立
上がった状態では、主記憶装置11にあるロックバイト
21は[00]であり、また演算プロセッサ14は起動
すべきタスクがないのでウェイト状態になっている(6
0.61)。
First, when the control processor 13 and the arithmetic processor 14 are started, the lock byte 21 in the main memory 11 is [00], and the arithmetic processor 14 is in a wait state because there is no task to start. There is (6
0.61).

次に、制御プロセッサ13からのプロセッサ間通信を受
信した場合、第5図で示した受信処理が行なわれる。こ
こで、第5図で示した受信処理において主記憶装置11
にある通信データ領域22から通信データを読取り(5
1)、通信データに応じた処理を演算プロセッサ14が
行なった(52)後、演算プロセッサ14はリプライ通
信のプロセッサ間通信を制御プロセッサ13へ送信しく
53)。
Next, when inter-processor communication is received from the control processor 13, the reception process shown in FIG. 5 is performed. Here, in the reception process shown in FIG.
Read communication data from the communication data area 22 located in (5
1) After the arithmetic processor 14 performs processing according to the communication data (52), the arithmetic processor 14 transmits inter-processor communication of reply communication to the control processor 13 (53).

第6図で示したタスクの起動処理が行なわれる。The task activation process shown in FIG. 6 is performed.

そして、上記制御プロセッサ13からのプロセッサ間通
信の受信により演算プロセッサ14上で起動すべきタス
クが発生すると(60)、そのタスクが起動さnる(6
2)0 演算プロセ、す14上で動作する上記タスクが制御プロ
セッサ13ヘプロセ、す間通信を要求したとき、第4図
に示した送信処理が行なわn、主記憶装置11にあるロ
ックバイト21のロック取得動作が行なわfi(41,
42)、演nプロセッサ14の装置番号が[F]とする
と、ロックバイト21は[8F]に設定さ扛る。そして
1通信データが通信データ領域22に書込まれ(43)
、退官機能を使用して制御グロセッサ13へ送信が行な
わnる(44)。
Then, when a task to be started is generated on the arithmetic processor 14 by receiving the inter-processor communication from the control processor 13 (60), the task is started (60).
2) When the task running on the arithmetic processor 14 requests inter-process communication to the control processor 13, the transmission process shown in FIG. The lock acquisition operation is performed fi(41,
42) If the device number of the processor 14 is [F], the lock byte 21 is set to [8F]. Then, one communication data is written to the communication data area 22 (43).
, is sent to the control grosser 13 using the retirement function (44).

次に、演算プロセッサ14上の別のタスクを起動するた
め第6図で示したタスク起動処理が行なわれる。このと
き、起動すべきタスクがなければ演算プロセッサ14は
制御プロセッサ13からのプロセッサ間通信を待つため
にウェイト状態になる(60.61)。反対に、起動す
べきタスクがあると1次のタスクが起動さnる(60.
62)。
Next, the task activation process shown in FIG. 6 is performed to activate another task on the arithmetic processor 14. At this time, if there is no task to start, the arithmetic processor 14 enters a wait state to wait for inter-processor communication from the control processor 13 (60.61). On the other hand, if there is a task to start, the primary task is started (60.
62).

演算プロセッサ14が第4図における制御プロセッサ1
3へのプロセッサ間通信(44)及び第5図におけるリ
グライ通信のプロセッサ間通信(53)を実行したとき
、第3図で示した制御プロセッサ13のプロセッサ間通
信の受信処理が行なわれる。このとき、演算プロセッサ
14からのリゾライ通信であるかどうか判定さn(30
)。
The arithmetic processor 14 is the control processor 1 in FIG.
When the inter-processor communication (44) to 3 and the inter-processor communication (53) of the regri communication in FIG. 5 are executed, the inter-processor communication reception processing of the control processor 13 shown in FIG. 3 is performed. At this time, it is determined whether or not it is a resolution communication from the arithmetic processor 14.
).

リゾライ通信であnばロックバイト21をアンロック状
態[OO]にする(33)。また、リプライ通信でなけ
れば主記憶装置11にある通信データ領域22から通信
データを読取り(31)、通信データに応じた処理を制
御プロセッサ13が行なった(32)後、ロックバイト
21をアンロック状態[00]Kする(33)。
If there is no resorai communication, the lock byte 21 is set to the unlocked state [OO] (33). Also, if it is not a reply communication, the communication data is read from the communication data area 22 in the main storage device 11 (31), and after the control processor 13 performs processing according to the communication data (32), the lock byte 21 is unlocked. Go to state [00]K (33).

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

以上説明したように9本発明は、演算プロセッサから制
御プロセッサへプロセッサ間通信を行なったときに、制
御プロセッサからのリグライ通信をなくしたことにより
、リプライ通信の割込み処理時間及びリグライの待合わ
せ時間を演算プロセッサ上のタスクに割当てられるため
、演算プロセッサの演算速度が制御プロセッサに比べ何
倍も速<、シかも演算速度の遅い制御プロセッサからの
リプライ通信の割込みと待合わせがなくなり、演算プロ
セッサの性能を向上できる効果がある。
As explained above, the present invention reduces interrupt processing time for reply communication and wait time for retry communication by eliminating retry communication from the control processor when performing inter-processor communication from the arithmetic processor to the control processor. Because the tasks are assigned to tasks on the arithmetic processor, the arithmetic processor's arithmetic speed is many times faster than the control processor, and there are no interruptions or waits for reply communications from the control processor, which has a slow arithmetic speed, and the performance of the arithmetic processor is improved. It has the effect of improving

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

第1図は本発明を実施するマルチプロセッサシステムの
一例を示すブロック図、第2図はロックバイト21の説
明図、第3図は演算プロセッサ14からのプロセッサ間
通信を制御プロセッサ13が受信したときの処理の流n
図、第4図は演算プロセッサ14が制御プロセッサ13
ヘプロセツサ間通信を送信するときの処理の流汎図、第
5図は制御プロセッサ13からのプロセッサ間通信を演
算プロセッサ14が受信したときの処理の流れ図、第6
図は演算プロセッサ14上で新たにタスクを起動するタ
スク起動処理の流れ図である。 記号の説明:11は主記憶装置、12は科学演算処理装
置、13は制御プロセッサ、14は演算プロセッサ、1
5は入出力処理装置、16は入出力装置、21はロック
バイト、22は通信データ領域、23は信号線をそれぞ
れあられしている。 第1図 第3図
FIG. 1 is a block diagram showing an example of a multiprocessor system implementing the present invention, FIG. 2 is an explanatory diagram of the lock byte 21, and FIG. 3 is a diagram showing when the control processor 13 receives inter-processor communication from the arithmetic processor 14. The processing flow of
4, the arithmetic processor 14 is the control processor 13.
FIG. 5 is a flowchart of processing when transmitting interprocessor communication; FIG. 5 is a flowchart of processing when arithmetic processor 14 receives interprocessor communication from control processor 13;
The figure is a flowchart of task activation processing for starting a new task on the arithmetic processor 14. Explanation of symbols: 11 is the main storage device, 12 is the scientific processing unit, 13 is the control processor, 14 is the arithmetic processor, 1
5 is an input/output processing device, 16 is an input/output device, 21 is a lock byte, 22 is a communication data area, and 23 is a signal line. Figure 1 Figure 3

Claims (1)

【特許請求の範囲】 1、相互の通信機能を有する演算プロセッサと該演算プ
ロセッサを制御する制御プロセッサとの間で、ロックバ
イトによって排他的使用可能な主記憶装置の共通通信領
域を介して通信データの授受を行なうマルチプロセッサ
システムにおける前記演算プロセッサから前記制御プロ
セッサへの通信制御方式において、 前記演算プロセッサから前記制御プロセッサへ送信時、
前記演算プロセッサが前記ロックバイトをロック状態に
して通信データを前記共通通信領域に書込むと共にその
旨を前記通信機能により前記制御プロセッサへ送信し、
前記制御プロセッサからのリプライ通信を待合わせずに
次のタスクを起動する手段と、前記通信機能により前記
演算プロセッサからのプロセッサ間通信を受信した前記
制御プロセッサが前記ロックバイトをアンロック状態に
し、前記演算プロセッサへリプライ通信を送信しない手
段とを具備したことを特徴とするプロセッサ間通信制御
方式。
[Claims] 1. Communication data is transmitted between an arithmetic processor having a mutual communication function and a control processor that controls the arithmetic processor via a common communication area of the main storage device that can be used exclusively by a lock byte. In a communication control method from the arithmetic processor to the control processor in a multiprocessor system that sends and receives information, when transmitting from the arithmetic processor to the control processor,
the arithmetic processor locks the lock byte and writes communication data to the common communication area, and transmits this to the control processor using the communication function;
means for activating the next task without waiting for a reply communication from the control processor; and the control processor receiving the inter-processor communication from the arithmetic processor using the communication function, sets the lock byte in an unlocked state, and the control processor 1. An inter-processor communication control method, comprising means for not transmitting a reply communication to an arithmetic processor.
JP25283886A 1986-10-25 1986-10-25 Inter-processor communication control system Pending JPS63108452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25283886A JPS63108452A (en) 1986-10-25 1986-10-25 Inter-processor communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25283886A JPS63108452A (en) 1986-10-25 1986-10-25 Inter-processor communication control system

Publications (1)

Publication Number Publication Date
JPS63108452A true JPS63108452A (en) 1988-05-13

Family

ID=17242891

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25283886A Pending JPS63108452A (en) 1986-10-25 1986-10-25 Inter-processor communication control system

Country Status (1)

Country Link
JP (1) JPS63108452A (en)

Similar Documents

Publication Publication Date Title
JPS63108452A (en) Inter-processor communication control system
JP3016788B2 (en) Device communication / cache matching processing method
JPS615361A (en) Communication interface circuit
JPH02207364A (en) Data transfer system
JPS6272050A (en) Inter-processor communicating control system
JPH04274524A (en) System for controlling inter-process communication
JP2504754B2 (en) Central processing unit
JPH06208547A (en) Communication controller
JPH01106158A (en) Control system for inter-processor data communication
JPS5921051B2 (en) Communication control device
JP2961542B2 (en) Data processing system
JPH103463A (en) Inter-processor communication method
JPS63167938A (en) Signal processing apparatus and method
JPS6350903B2 (en)
JPS63314668A (en) Transfer system for memory mapped data
JPH0467223B2 (en)
JPH09244977A (en) Communication management system
JPH10320345A (en) Bus controller
JPH04295952A (en) Message communication equipment for multi-processor system
JPS61249162A (en) Input device
JPS61165160A (en) Bus controlling system
JPH0470951A (en) Method and circuit for inter-cpu communication
JPH0380359A (en) Inter-processor communication system
JPH04372042A (en) Input/output interrupt processing management system
JPH08339357A (en) Dual cpu system and communication method for the system