[go: up one dir, main page]

JPS59174965A - Inter-processor communication interrupt control method - Google Patents

Inter-processor communication interrupt control method

Info

Publication number
JPS59174965A
JPS59174965A JP4887183A JP4887183A JPS59174965A JP S59174965 A JPS59174965 A JP S59174965A JP 4887183 A JP4887183 A JP 4887183A JP 4887183 A JP4887183 A JP 4887183A JP S59174965 A JPS59174965 A JP S59174965A
Authority
JP
Japan
Prior art keywords
interrupt
processor
communication
signal
interruption
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
JP4887183A
Other languages
Japanese (ja)
Inventor
Hideo Shiosaki
潮崎 英雄
Keijirou Hayashi
林 慶治郎
Yoshihiro Miyazaki
義弘 宮崎
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4887183A priority Critical patent/JPS59174965A/en
Publication of JPS59174965A publication Critical patent/JPS59174965A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/17Interprocessor communication using an input/output type connection, e.g. channel, I/O port

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To prevent the capacity drop of a processing device due to communication between processing devices, by pending an interruption for communication until another processing device releases the occupation of an interruption message list and, during the pending period, by executing and processing an instruction while checking whether the list is occupied or not. CONSTITUTION:Resetting of interruption for communication pending FEs 6 installed to each processing device is performed after one instruction is processed at a self-processing device and setting of the FFs 6 is performed when an interruption for communication request signal to a processing device is on and its FF6 is off and when another processing device occupies its interruption message list. Then the AND of the off signal of the FF6 and interruption for communication request signal is taken and used as an interruption for communication accepting signal A. When the accepting signal A is on, the interruption processing is performed and, when the signal A is off, an instruction to be made when the interruption for communication processing is not performed is executed.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、マルチプロセッサシステムに係−り、特に、
プロセッサ間連絡側込みに好適な制御方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a multiprocessor system, and in particular,
The present invention relates to a control method suitable for inter-processor communication.

〔従来技術〕[Prior art]

従来のプロセッサ間連絡の、溝成文′fr第1図に、第
1図中の連絡割込み機構を第2図に示す。従来のプロセ
ッサ)口]連絡側込み制御方式では、?jjll込みメ
ツセージリストの接続・取出しの際YCh 、メツセー
ジリストの競合管理りため、メツセージリストの占有・
解除ケ行なう必要がある。このため、連絡割込みの送信
処理と受信処理(づ2、第3図1.第4図に示すmtt
l−図となる。(これらの処理は、マイクロプログラム
で実現される)ここで、@3図、第4図の判定な、第1
図のメツセージリスト内のロックエリアに他プロセツサ
番号が格納されている場合操作中となる。また、自プロ
セッサがメンセージを占有するには、ロックエリアに自
プロセッサ番号ケ格納し、この占有(I−解除するYC
は、ロックエリアにプロセッサ番号にない1亘?格納す
る。
The conventional communication between processors is shown in FIG. 1, and the communication interrupt mechanism shown in FIG. 1 is shown in FIG. In the conventional processor) connection side-in control method? When connecting/retrieving a message list including jjll, YCh is used to control message list occupancy/retrieval in order to manage message list conflicts.
You need to release it. For this reason, communication interrupt transmission processing and reception processing (mtt shown in Figure 3 1 and Figure 4)
It becomes l-diagram. (These processes are realized by microprograms) Here, the first
If another processor number is stored in the lock area in the message list shown in the figure, the operation is in progress. In addition, in order for the own processor to occupy the message, store the own processor number in the lock area, and store this occupancy (I - YC to be released).
Is there no processor number in the lock area? Store.

したがって、ちるプロセッサがメツセージリスtf占弔
中、他プロセツサは、この占有が;1イ除されるまで待
っていなければならないため、アイドル状態となり、さ
らに、アイドル中、ロックエリアを敗り出す際に第1図
のプロセッサ間共有バス2をインクロックするため、こ
の間、その他のプロセッサ3は、共有メモリ1に対する
操作?行なうことができなくなり、各プロセッサ3の処
理能力が低下するという欠点があった。
Therefore, while one processor is occupying the message list TF, other processors have to wait until this occupation is divided by 1, resulting in an idle state. During this time, other processors 3 perform operations on the shared memory 1 in order to ink lock the inter-processor shared bus 2 shown in FIG. This has the disadvantage that the processing capacity of each processor 3 is reduced.

また、この欠点を補うために、割込みメツセージリスト
ケ占有したプロセッサが占有解除まで他のプロセッサに
対して連絡割込み受付信号Rkベンディングさセ−る方
法が考えられるが、この方法では、連絡割込不要求信号
R以外に、連絡割込み信号ゲペンディングさせるオン・
オフ信号?、プロセッサの外部に設ける必要があり、こ
れは大損りな機構となる欠点がある。
In addition, in order to compensate for this drawback, a method can be considered in which the processor that has occupied the interrupt message list bends the communication interrupt acceptance signal Rk to other processors until the occupation is released. In addition to the request signal R, the connection interrupt signal is
Off signal? , it is necessary to provide it outside the processor, which has the disadvantage of being a costly mechanism.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、プロセッサ間連終によるプロセッサの
処理能力低下?簡単な機り11ヲ用いて防止したプロセ
ッサ間連絡側込み側脚方式を提供するVCある。
Is the purpose of the present invention to reduce the processing capacity of processors due to inter-processor communication? There is a VC that uses a simple mechanism 11 to provide a side leg system for inter-processor communication.

〔発明の概要〕[Summary of the invention]

不発明の装点は、他のプロセッサが割込みメツセージリ
ストの占有ケ解除するまで、連絡割込み?ベンディング
させ、その間、占有中か否かをチェックしながら命令の
実行処理を行なう点にある。
The uninvented feature is to communicate interrupts until another processor releases the interrupt message list. The point is that the command is executed while checking whether or not it is occupied during bending.

〔発夕Jの笑極列〕[Hashu J's lol pole row]

従来の連絡割込み機構(第2図)VC1連絡−〇込タペ
ンディングフラグ用フリップ・フロップとt’、NDゲ
ゲー系子r設け、第5図に示す連絡割込+儀償とする。
Conventional communication interrupt mechanism (FIG. 2): VC1 communication - Flip-flop for the rounded tapending flag and t', ND game type child r are provided, and the communication interrupt + compensation shown in FIG. 5 is provided.

!、g5図において、連絡割込み受付信′7jA r;
L s従来の連絡割込与フラグ5がオフ状態で、かつ、
連絡割込春ベンディングフラグがオフ状態のときに限り
、送信される。ここで、連絡側込みフラグ5のセント・
リセットは、従来通りでめる。また、従来の連絡割込魯
受信処理(第4図)crA46図のように菱史すること
により、連に劇込みベンディングフラグtセットす/)
。連絡割込みベンディングフラグ卿リセットは、爾6図
に示すように命令実行処理終了時毎に行なう。
! , In figure g5, the communication interrupt reception '7jA r;
LsConventional communication interrupt grant flag 5 is in the OFF state, and
Sent only when the contact interrupt spring vending flag is in the off state. Here, the cent.
Reset can be done as usual. In addition, by performing the conventional communication interrupt reception processing (Fig. 4) as shown in Fig. 46, the dramatic bending flag can be set in the sequence.
. The communication interrupt bending flag is reset every time the instruction execution process ends, as shown in FIG.

次に、第5図、第6図にニジ、他プロセツサからの連絡
割込み信号?受信してから、各刷込み処理ルーテンへジ
ャンプするまでの、連絡割込み厩構の動作を下記Oく0
〉〜く14〉に示す。
Next, what are the communication interrupt signals from other processors in Figures 5 and 6? The operation of the communication interrupt system from reception to jump to each imprint processing routine is described below.
〉~14〉.

く0〉他プロセンサからの連絡割込み1g号受信後命令
実行処理へ入る。
0> After receiving the communication interrupt number 1g from another processor, the command execution process begins.

第6図(b)で、 <1>連絡割込み受付信号Aの有無全判定する。In Figure 6(b), <1> The presence or absence of the communication interrupt reception signal A is completely determined.

ここでは、1つ前の命令実行処理【よシ、ベンディング
フラグはオフ状態となっているので、連絡割込不受付信
号へは有シとなる。
Here, since the bending flag is in the OFF state during the previous instruction execution process, the communication interrupt non-acceptance signal is not accepted.

(第5図) く2>連絡割込み受付処理ルーチンへのジャンプ。(Figure 5) 2>Jump to the communication interrupt reception processing routine.

第6図(a)で、 <3>他プロセツサが、自プロセッサのメツセージリス
ト?操作中か否か茫判定する。操作中の砺会、動作く4
〉¥C逼み、操作中でない楊会、m作く12〉に進む。
In FIG. 6(a), <3> Does another processor write its own processor's message list? It is determined whether the operation is in progress or not. Tokai in operation, working 4
〉¥C〼, Yang meeting not in operation, Proceed to 12〉.

く4〉連結割込みベンディングフラグ6忙オン状態とす
る。
4> Set the connected interrupt bending flag 6 to the busy on state.

く5〉命令実行処理ヘリターンする。5> Return to instruction execution processing.

第6図(b)で、 く6>連絡割込み受付信号Aの有無?判定する。In Figure 6(b), 6> Is there a communication interrupt reception signal A? judge.

ここでは、動作く4〉にょシ連絡割込みぺ/ディングフ
ラグ6はオン状態となっているので連絡割込み受付信号
Aは無しとなる。(巣5図) く7〉命令ケ取出して屏抗し実行する。
In this case, since the contact interrupt peding flag 6 is in the ON state, the contact interrupt acceptance signal A is absent. (Figure 5) 7) Take out the command, challenge it, and execute it.

< 8 > hK4割込みベンディングフラグ6をオフ
状態とする。
<8> Turn hK4 interrupt bending flag 6 off.

く9〉次の命令実行処理に入る。9> Start the next instruction execution process.

<10〉運硝割込み受付信号Aの有無’tr−flJ足
する。
<10> Presence or absence of uninterrupted interrupt reception signal A. Add 'tr-flJ.

ここで)址、制作く8〉によ択Qi)lf′g <1 
〉と同様、連絡割込み受付1u樗・八は/ripとなる
Here, select Qi) lf′g <1
> Similarly, the communication interrupt reception number 1u Hiromi/Hachi is /rip.

<11>連絡割込み受付処理ルーチンへのジャンプによ
り、峙作く3〉に進む。
<11> By jumping to the communication interrupt reception processing routine, proceed to step 3>.

第6図(a)で、 <12>自プロセッサのメツセージリスIf占有しテ、
送信プロセンサのメツセージ?取出し、自プロセッサの
メツセージリストの占有ケ゛解除する。
In FIG. 6(a), <12> The message list If of the own processor is occupied,
Sending pro sensor message? Take it out and release the message list of the own processor.

<13〉遅希割込み受付声了信号τ出す。こrLvcよ
シ、連絡Jll込み受付信号は無しとなり、(第5図)
仄の他プロセツサからの連絡割込み装求信号を受信する
まで、連絡割込み受付処理ルーチンVCはジャンプしな
い。
<13> Send late interrupt acceptance voice signal τ. Now, there will be no communication reception signal (Figure 5).
The communication interrupt reception processing routine VC does not jump until it receives a communication interrupt request signal from another processor.

<14〉メツセージに応じた処理ルーテンへジャンプす
る。
<14> Jump to the processing routine according to the message.

以上の一作?タイムチャートで示すと第7図となる。More than one work? The time chart is shown in FIG. 7.

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

本′I@明によれば、プロセッサの処理能力の低下ケ防
ぐと共にプロセッサ間連絡通信ケ迅速に行なうことがで
きる。
According to this invention, it is possible to prevent a decrease in the processing ability of a processor and to quickly carry out communication between processors.

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

第1図は従来の、プロセンサ間遅相の信1戎図、第2図
は従来の連絡割込み機構図、第3図は従来の連絡割込み
送信処欅の流れ図、第4図は従来の述N割込み受信処理
の流れ図、耐5図は本発明の連絡割込み機構図、第6図
(a)は本発明の巡箱割込み受信処理の流れ図、第6図
(b)μ本発明の命令英行処理の流れ凶、第7図は第6
図の動作喬゛号に対する主要1B号のタイムチャートで
ある。 A・・・浬絡割込み受付信号、6・・・連絡割込みベン
ゾ第 l 凶 梢 2 凶 某30 寡  斗  口 糖 夕 固 萬 triJ
Fig. 1 is a diagram of the conventional communication interrupt transmission process between processors, Fig. 2 is a diagram of the conventional communication interrupt mechanism, Fig. 3 is a flowchart of the conventional communication interrupt transmission process, and Fig. 4 is a diagram of the conventional communication interrupt transmission process. Flowchart of interrupt reception processing, Figure 5 is a communication interrupt mechanism diagram of the present invention, Figure 6(a) is a flowchart of the box interrupt reception processing of the present invention, Figure 6(b) μ Command execution processing of the present invention The flow is bad, Figure 7 is 6
It is a time chart of the main 1B issue with respect to the operation issue of the figure. A...Contact interrupt reception signal, 6...Contact interrupt Benzo No. 1 Kyouzu 2 Kousou 30 Dou Kutou Yu Koman triJ

Claims (1)

【特許請求の範囲】 1、複数プロセッサとこれらに共有されるプロセンサ間
共通メモリを備えたマルチプロセッサシステムの前記プ
ロセッサ相互間の連絡に41J込みケ用いて行ない、割
込みをかける側の前記プロセッサは、前記プロセッサ間
共通メモリ上の相手側の前記プロセッサに割当てられた
割込みメツセージの、      待ち行列茫占有して
これに自分の割込みメツセージ勿接・1元した後、占有
ケ解除して前記割込み金かけ、割込みを受けた側の前記
プロセッサな、自プロセッサの@記刷込みメツセージの
待ち行列を占有し、その割込みメッセージ奮とシはずし
た後占有(Il−解除し、とシはずした前記割込みメツ
セージに従って処理を行なう。プロセッサ間連絡側込み
開開j方式において、 前記各プロセッサ毎に設けた連絡割込みベンディングフ
ラグ用フリップ・フロップのリセット上前B己自プロセ
ッサで1命令処理後に行ない、また前記フリップ・フロ
ップのセットを、前記目プロセッサに対する連絡割込み
要求信号がオンであり、かつ、前記フリップ・フロップ
がオフのときに他プロセンサが前記自プロセッサの1刊
込みメッセージリストケ占有中の場合とし、さらに、前
記フリップ・フロップのオフ信号と前dじ連絡割込み要
求信号との論理検全とシ、これ?連絡側込み受付信号と
し、この連絡割込み受付信号がオンのとき割込不処理を
行ない、前記連絡割込み受付信号がオフのとき連絡割込
み処理4行なわなかった場合の命令?実行すること7!
i−特徴とするプロセッサ間連絡側込み制御方法。
[Scope of Claims] 1. In a multiprocessor system equipped with a plurality of processors and a processor common memory shared among them, 41J interrupts are used to communicate between the processors, and the processor that issues an interrupt: occupying the queue of the interrupt message assigned to the processor of the other party on the inter-processor common memory, and placing one's own interrupt message thereon, and then releasing the occupation and spending the interrupt money; The processor on the side receiving the interrupt occupies its own processor's @printed message queue, and after releasing the interrupt message, releases the occupancy (Il-) and performs processing according to the interrupt message that was removed. In the interprocessor communication side open/open method, the flip-flop for communication interrupt bending flag provided for each processor is reset after one instruction is processed by the processor itself, and the flip-flop is set. When the contact interrupt request signal for the second processor is on and the flip-flop is off, another processor is occupying the first message list of the own processor, and further, the flip-flop Logic check of the off signal of the flop and the previous contact interrupt request signal, this is the contact side interrupt acceptance signal, and when this contact interrupt acceptance signal is on, no interrupt processing is performed, and the contact interrupt acceptance signal is What to do if the contact interrupt processing line 4 is not executed when is off? 7!
i- A method for controlling communication between processors.
JP4887183A 1983-03-25 1983-03-25 Inter-processor communication interrupt control method Pending JPS59174965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4887183A JPS59174965A (en) 1983-03-25 1983-03-25 Inter-processor communication interrupt control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4887183A JPS59174965A (en) 1983-03-25 1983-03-25 Inter-processor communication interrupt control method

Publications (1)

Publication Number Publication Date
JPS59174965A true JPS59174965A (en) 1984-10-03

Family

ID=12815345

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4887183A Pending JPS59174965A (en) 1983-03-25 1983-03-25 Inter-processor communication interrupt control method

Country Status (1)

Country Link
JP (1) JPS59174965A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63231668A (en) * 1987-03-20 1988-09-27 Fujitsu Ltd Interrupt queue control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63231668A (en) * 1987-03-20 1988-09-27 Fujitsu Ltd Interrupt queue control method

Similar Documents

Publication Publication Date Title
JP5214537B2 (en) Multiprocessor system
JPS59174965A (en) Inter-processor communication interrupt control method
CN112434007B (en) Database transaction group submitting method, device, equipment and storage medium
JP2970082B2 (en) Virtual intercluster communication processor
JP4102405B2 (en) Data processing device, data communication method, and serial input / output device
JPH04296963A (en) Multi-processor system
JP3260515B2 (en) Interface circuit for multiple port storage device
JP2856709B2 (en) Bus coupling system
JPS593775B2 (en) Bus request processing unit
JPS6061859A (en) Data communication system of microcomputer
JPH03201032A (en) Arithmetic processing unit
JPS60147866A (en) Control system of bus
JPH04233028A (en) Printer
CN119272823A (en) Multi-core synchronization system and system components in neural network processor
CN118503192A (en) Heterogeneous core scheduling communication method and device for RISC-V chip
JPH10320345A (en) Bus controller
JPH03219357A (en) Program execution control system
JPS6132161A (en) Information transfer device of processing system
JPS62143154A (en) Input/output controller
JPH067378B2 (en) Start-up control method
JPH04359353A (en) Bus controller
JPS63227149A (en) Communication control method in loop communication system
JPH0756863A (en) Parallel control system with partition order description
JPS61168058A (en) Storage device
JPS61198355A (en) Multi-processor system