JPH06243102A - Interruption synchronizing method for multiplex information processing system - Google Patents

Interruption synchronizing method for multiplex information processing system

Info

Publication number
JPH06243102A
JPH06243102A JP5028784A JP2878493A JPH06243102A JP H06243102 A JPH06243102 A JP H06243102A JP 5028784 A JP5028784 A JP 5028784A JP 2878493 A JP2878493 A JP 2878493A JP H06243102 A JPH06243102 A JP H06243102A
Authority
JP
Japan
Prior art keywords
interrupt
cpu
area
communication means
processing
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
JP5028784A
Other languages
Japanese (ja)
Inventor
Osamu Onodera
修 小野寺
Takeshi Uehara
健 宇江原
Makiko Shinohara
真木子 篠原
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 JP5028784A priority Critical patent/JPH06243102A/en
Publication of JPH06243102A publication Critical patent/JPH06243102A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Multi Processors (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To attain interruption processing among plural CPUs with better performance and better synchronism by increasing the communicating speed between a pair of CPUs. CONSTITUTION:A main storage MS 101 is used in common by the CPU 102, 103 and 104 which are connected to each other via a signal line 160. A hardware application area HSA of the MS 101 includes an inter-CPU communication area CCA. When the MS 101 requests the operations of both CPU 102 and 103, the operation contents parameter is stored in its own area 112 and at the same time sends the operation requests to both CPU 103 and 104 via the line 160. Thus the CPU 103 and 104 interrupt their normal processings and read the operation content parameter respectively out of the area 112 of the MS 101 to carry out each prescribed processing. Then both CPU 103 and 104 reports the end of each operation to the CPU 102 via the line 160.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、多重情報処理システム
に於ける割込みの処理に関し、特に密結合構成にある複
数の中央処理装置間の割込み同期方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to interrupt processing in a multiple information processing system, and more particularly to an interrupt synchronizing method between a plurality of central processing units having a tightly coupled configuration.

【0002】[0002]

【従来の技術】一般に、複数の中央処理装置(以下CP
Uという)とこれらのCPUから共用される主記憶装置
(以下MSという)から構成される多重情報処理システ
ム(以下MPシステムという)に於いては、CPU間の
情報の授受が不可欠である。
2. Description of the Related Art Generally, a plurality of central processing units (hereinafter referred to as CP
In a multiple information processing system (hereinafter, referred to as an MP system) including a main memory (hereinafter, referred to as MS) and a main memory (hereinafter, referred to as MS) shared by these CPUs, it is essential to exchange information between the CPUs.

【0003】一番目の例としては、例えば、各CPU上
で走行しているソフトウェアが発行する命令語によるC
PU間の通信が存在する。従来、これはいわゆるシグナ
ルプロセッサ命令(以下SIGP命令という)として実
現されている。
As a first example, for example, C by an instruction word issued by software running on each CPU
There is communication between PUs. Conventionally, this is realized as a so-called signal processor instruction (hereinafter referred to as SIGP instruction).

【0004】CPU間の情報の授受が必要になった場
合、要求元のCPU上で走行しているソフトウェアが要
求先のCPUアドレスや要求する動作をオペランドとし
てSIGP命令を発行し、このSIGP命令のオペラン
ド(オーダともいう)がパラメータとして要求先のCP
Uに送られ、受取側である要求先のCPUは、送られて
来たパラメータに従い所定の動作を行う。このパラメー
タを要求先のCPUに送る処理はハードウェアによって
行われ、此のインタフェースをマルチプロセッサインタ
フェース(以下MPインタフェースという)と呼んでい
る。このパラメータに従った所定の動作には種々の動作
があり、例えば、CPU間の通信を行う場合、要求元の
CPU上で走行しているソフトウェアは、要求先のCP
Uに対し、外部呼び出し(External Call )の外部割
込みの要求をオペランドとするSIGP命令を発行し、
受取側である要求先のCPUは、外部割込みの割込みマ
スクがオンであれば、外部呼び出し(External Call
)の外部割込みを起し、受取側である要求先のCPU
上で走行しているソフトウェアは、他CPUがCPU間
の情報の授受を要求している事を認識する。このソフト
ウェアは、一般的にはスーパバイザ又はオペレーティン
グシステム(以下OSという)と呼ばれ、MPシステム
全体の制御を司っており、以降のCPU間の情報の授受
はこのOSの制御の下にソフトウェア的に行われる。
When it becomes necessary to send and receive information between CPUs, software running on the requesting CPU issues a SIGP instruction with the CPU address of the requesting destination and the requested operation as operands. Operand (also called order) as parameter CP of request destination
The request-destination CPU, which is sent to U and is the receiving side, performs a predetermined operation in accordance with the sent parameters. The process of sending this parameter to the requested CPU is performed by hardware, and this interface is called a multiprocessor interface (hereinafter referred to as MP interface). There are various operations in the predetermined operation according to this parameter. For example, when communication is performed between CPUs, the software running on the requesting CPU is the CP of the requesting destination.
Issue a SIGP instruction to U that has an external interrupt request of an external call (External Call) as an operand,
The request-destination CPU, which is the receiving side, calls the external call (External Call) if the interrupt mask of the external interrupt is on.
) External interrupt, and the request-side CPU that is the receiving side
The software running above recognizes that another CPU is requesting the exchange of information between the CPUs. This software is generally called a supervisor or an operating system (hereinafter referred to as OS) and controls the entire MP system. Subsequent exchange of information between CPUs is software under the control of this OS. To be done.

【0005】二番目の例としては、例えば、各CPUが
アドレス変換バッファ(以下TLBという)を具備し且
つMSを共用している場合、1つのCPUがアドレス変
換テーブルを書き変えるとき、その他のCPUのTLB
をパージする必要があり、CPU間のパージTLB要求
の授受が存在する。このため、従来はMPシステムを構
成している各CPUはそれぞれ、他CPUへのパージT
LB要求を授受するハードウェアに依るCPU間インタ
フェース(以下PTLBインタフェースという)を具備
している。
As a second example, for example, when each CPU has an address translation buffer (hereinafter referred to as TLB) and shares the MS, when one CPU rewrites the address translation table, other CPUs TLB
Must be purged, and there is an exchange of purge TLB requests between CPUs. For this reason, each CPU that has conventionally constituted the MP system has a purge T
It is provided with an inter-CPU interface (hereinafter referred to as PTLB interface) depending on the hardware that sends and receives the LB request.

【0006】このように、従来技術では、MPシステム
を構成している各CPU間の情報の授受を司るハードウ
ェアに依るCPU間インタフェースとして、MPインタ
フェースとPTLBインタフェースの2種類のインタフ
ェースが具備されている。この2種類のインタフェース
の一般的な機能には以下に示す相違がある。
As described above, in the prior art, two types of interfaces, an MP interface and a PTLB interface, are provided as CPU-to-CPU interfaces depending on the hardware that controls the exchange of information between the CPUs constituting the MP system. There is. The general functions of these two types of interfaces have the following differences.

【0007】PTLBインタフェースは、一般的にはイ
ンバリデートページテーブルエントリ命令(以下IPT
E命令という)に依って使用される為、同時に2つ以上
のCPU間の一対複数の通信機能を有しているが、パー
ジTLB要求を受け取ったCPUに対して割込みを発生
させる機能を有していない。更にPTLBインタフェー
スは、IPTE命令実行の一部として使用される為、各
CPUで動作が同期化されそして高速なCPU間インタ
フェースとして実現されている。一方、MPインタフェ
ースは、SIGP命令に依って使用される為、同時には
2つのCPU間の一対一の通信機能のみを有している
が、SIGP命令のオーダを受け取ったCPUに対しで
割込みを発生させる機能を有している。更にMPインタ
フェースは、SIGP命令の実行に伴う割込みの一部と
して使用される為、比較的低速なCPU間インタフェー
スとして実現されている。
The PTLB interface generally has an invalidating page table entry command (hereinafter referred to as IPT).
Since it is used according to (E command), it has a one-to-many communication function between two or more CPUs at the same time, but has a function to generate an interrupt to the CPU that receives the purge TLB request. Not not. Further, since the PTLB interface is used as a part of IPTE instruction execution, the operations are synchronized in each CPU and are realized as a high-speed inter-CPU interface. On the other hand, since the MP interface is used according to the SIGP instruction, it has only a one-to-one communication function between two CPUs at the same time, but an interrupt is generated to the CPU that receives the order of the SIGP instruction. It has the function of Further, since the MP interface is used as a part of the interrupt accompanying the execution of the SIGP instruction, it is realized as a relatively low-speed inter-CPU interface.

【0008】[0008]

【発明が解決しようとする課題】従来技術では、あるC
PUがMP構成を取っている他の複数のCPUに対して
割込みを要求する場合、SIGP命令に依りMPインタ
フェースを介して各々のCPUに割込みを要求してお
り、この場合、構成されている他CPU台数分だけの数
のSIGP命令を順次発行していた。更に、SIGP命
令を発行したCPU上で走行しているOSが他CPU全
てで割込みが発生した事を検出する手段としては、他C
PUでの割込み発生と共に走行を開始するOSの割込み
ハンドラとSIGP命令を発行したOSの割込み要求ハ
ンドラが、ソフトウェア的取決めによって実現する方法
を採っていた。
In the prior art, a certain C
When the PU requests an interrupt to a plurality of other CPUs having the MP configuration, the PU requests an interrupt to each CPU via the MP interface according to the SIGP instruction. In this case, the other configured The number of SIGP instructions corresponding to the number of CPUs was sequentially issued. Furthermore, as a means for the OS running on the CPU that issued the SIGP instruction to detect that an interrupt has occurred in all the other CPUs, another C
A method has been adopted in which the interrupt handler of the OS that starts running when an interrupt occurs in the PU and the interrupt request handler of the OS that issued the SIGP instruction are realized by software agreement.

【0009】しかしながら、このOSのソフトウェア的
取決めによって実現する割込み同期方法には、他CPU
にSIGP命令を順次発行するオーバヘッド,SIGP
命令が比較的低速なCPU間インタフェースであるMP
インタフェースを使用する為のオーバヘッド、及び、O
Sが他CPU全てで割込みが発生した事を認識する為の
ソフトウェアオーバヘッドが存在し、これらのオーバヘ
ッドは複数のCPUでの割込み同期を実現するする上で
無視し得ない性能低下要因であった。
However, the interrupt synchronization method realized by the software arrangement of this OS is not limited to other CPUs.
Overhead for sequentially issuing SIGP instructions to SIGP
MP, which is an inter-CPU interface with relatively slow instructions
Overhead for using the interface and O
There is a software overhead for S to recognize that an interrupt has occurred in all the other CPUs, and these overheads are performance degradation factors that cannot be ignored in realizing interrupt synchronization in a plurality of CPUs.

【0010】本発明の目的は、上記従来技術の問題点を
解決し、性能を格段に向上させた多重情報処理システム
の割込み同期方法を提供する事にある。
An object of the present invention is to solve the above-mentioned problems of the prior art and to provide an interrupt synchronization method for a multiple information processing system, which has significantly improved performance.

【0011】[0011]

【課題を解決するための手段】本発明は、複数の処理装
置と、該処理装置のそれぞれから共用される記憶装置と
から構成される多重情報処理システムにおいて、処理装
置間の通信手段として、処理装置間で直接に情報の授受
を行う第1の通信手段と、前記共用記憶装置内のハード
ウェア使用領域を経由して処理装置間の情報の授受を行
う第2の通信手段とを設け、これらの通信手段を組み合
わせて全体のMPインタフェースを構成する事に依り、
処理装置の一対複数の通信の高速化を実現し、複数の処
理装置に対し同期した割込みを発生させるようにしたも
のである。
According to the present invention, there is provided a multiple information processing system comprising a plurality of processing devices and a storage device shared by the respective processing devices, wherein the processing is performed as a communication means between the processing devices. A first communication means for directly exchanging information between the devices and a second communication means for exchanging information between the processing devices via the hardware use area in the shared storage device are provided. By configuring the entire MP interface by combining the communication means of
This is to realize speeding up of one-to-many communication of the processing devices and generate synchronous interrupts to the plurality of processing devices.

【0012】[0012]

【作用】各処理装置(CPU)がアドレス変換バッファ
(TLB)を具備し且つ記憶装置(MS)を共有してい
る場合、CPU間のPTLBインタフェースが同時に2
つ以上のCPU間の一対複数の通信機能を有している点
を利用して、これを第1の通信手段に使用する。
When each processing unit (CPU) has the address translation buffer (TLB) and shares the storage unit (MS), the PTLB interface between the CPUs simultaneously becomes two.
This is used for the first communication means by utilizing the fact that it has a one-to-many communication function between one or more CPUs.

【0013】割込みを要求するCPUは、第2の通信手
段である共用MS内のハードウェア使用領域に割込み要
因に関するパラメータを格納すると共に、第1の通信手
段であるPTLBインタフェースにより他のCPUへ一
斉に該パラメータの読出し要求を送出する。この第1の
通信手段であるPTLBインタフェースを介して要求を
受け付けたCPUは、第2の通信手段である共用MSの
ハードウェア使用領域をアクセスする事に依り割込み要
求である事を認識し、自CPU内に割込みを保留するか
又は割込み実行を完了させる。その後、第1の通信手段
であるPTLBインタフェースを介して要求を受け付け
た旨の信号を要求元CPUへ返し、自CPUは待ち状態
に入る。要求元CPUは、割込み要求を送出した全ての
CPUから、第1の通信手段であるPTLBインタフェ
ースを介して要求を受け付けた旨の信号が返って来た
後、動作開始許可信号を第1の通信手段であるPTLB
インタフェースを介して割込み要求を送出した全てのC
PUに対し送出する。動作開始許可信号を受け取った各
CPUは、待ち状態を解除し、通常の処理動作を開始す
る。
The CPU requesting the interrupt stores the parameter relating to the interrupt factor in the hardware use area in the shared MS which is the second communication means, and simultaneously sends it to other CPUs by the PTLB interface which is the first communication means. A read request for the parameter is sent to. The CPU that has received the request via the PTLB interface, which is the first communication means, recognizes that it is an interrupt request by accessing the hardware use area of the shared MS, which is the second communication means. Hold the interrupt in the CPU or complete the interrupt execution. After that, a signal indicating that the request has been accepted is returned to the requesting CPU via the PTLB interface which is the first communication means, and the own CPU enters the waiting state. The request source CPU sends an operation start permission signal to the first communication after a signal indicating that the request has been received is returned from all the CPUs that have transmitted the interrupt request via the PTLB interface that is the first communication means. PTLB as a means
All Cs that have sent an interrupt request via the interface
Send to PU. Each CPU that has received the operation start permission signal releases the waiting state and starts a normal processing operation.

【0014】PTLBインタフェースが命令実行の一部
として使用される為に各CPUでの動作の同期化機能を
備えている点については、要求を受け付けたCPUが第
2の通信手段である共用主記憶上のハードウェア使用領
域をアクセスする事に依り、自CPU内に割込みを保留
した時点で、第1の通信手段であるPTLBインタフェ
ースを介して要求を受け付けた旨の信号を要求元CPU
へ返すか又は割込み実行完了時点で要求を受け付けた旨
の信号を要求元CPUへ返すかを切り分ける事により実
現される。
Regarding the point that the PTLB interface has a function of synchronizing the operations in each CPU because it is used as a part of instruction execution, the CPU that has received the request is the second main communication means, which is the shared main memory. When the interrupt is suspended in the own CPU by accessing the above hardware use area, a signal indicating that the request is accepted via the PTLB interface which is the first communication means is issued to the requesting CPU.
It is realized by separating whether to return to the request source CPU or to return a signal indicating that the request is accepted at the time of completion of interrupt execution.

【0015】このように、本発明に於いてはCPU間の
一対複数の通信を高速化したMPインタフェースを実現
する事が出来、性能を格段に向上させ且つより同期性の
良い複数CPU間での割込み処理同期を実現出来る。
As described above, according to the present invention, it is possible to realize the MP interface which speeds up the one-to-many communication between the CPUs, and the performance is remarkably improved and the CPUs having a better synchronization can be realized. It is possible to realize interrupt processing synchronization.

【0016】[0016]

【実施例】以下、本発明による多重情報処理システムの
割込み同期方法の一実施例を図面を用いて詳細に説明す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of an interrupt synchronization method for a multiple information processing system according to the present invention will be described in detail below with reference to the drawings.

【0017】図1は、本発明の割込み同期方法を実現す
る多重情報処理システムの構成例(MPシステム)を示
す図である。これは中央処理装置(CPU)が3台の構
成例であるが、4台以上の構成をとっても良い。図1に
於いて、共用主記憶装置(MS)101は信号線15
0,151及び152を介し、CPUA102,CPU
B103及びCPUC104と接続され、更にCPUA
102,CPUB103及びCPUC104は信号線1
60を介して相互に接続されている。CPUA102,
CPUB103及びCPUC104はそれぞれ信号線1
50,151又は152を介してそれぞれ独自に共用M
S101の任意の領域をアクセスする事が出来る。更
に、CPUA102,CPUB103及びCPUC10
4は信号線160を介して、相互に独立且つ同時にCP
U間の情報の授受を行う事が出来る。信号線160を介
して授受される情報には、本発明に関連するものとし
て、相手CPUに対する割込み処理要求や待ち状態解除
指示要求情報、更に相手CPUからの応答である要求受
付情報などがある。この信号線160は、CPUA10
2,CPUB103及びCPUC104がそれぞれアド
レス変換バッファ(TLB)を具備する場合、各CPU
がパージTLB要求を授受するCPU間インタフェース
(PTLBインタフェース)を利用することが出来る。
FIG. 1 is a diagram showing a configuration example (MP system) of a multiple information processing system which realizes the interrupt synchronization method of the present invention. This is an example of a configuration with three central processing units (CPUs), but a configuration with four or more units is also possible. In FIG. 1, the shared main memory (MS) 101 has a signal line 15
0, 151 and 152 through the CPUA 102, CPU
B103 and CPUC104 are connected, and CPUA
102, CPUB103 and CPUC104 are signal lines 1
They are mutually connected via 60. CPUA102,
CPUB103 and CPUC104 are signal lines 1 respectively
Shared M independently via 50, 151 or 152
Any area in S101 can be accessed. Furthermore, CPUA102, CPUB103 and CPUC10
4 are CPs independent of each other and simultaneously through the signal line 160.
Information can be exchanged between U. The information transmitted and received via the signal line 160 includes interrupt processing request to the partner CPU, waiting state cancellation instruction request information, request acceptance information which is a response from the partner CPU, and the like, as related to the present invention. This signal line 160 is connected to the CPUA10.
2. If each of the CPUB103 and the CPUC104 has an address translation buffer (TLB), each CPU
Can use the inter-CPU interface (PTLB interface) that sends and receives the purge TLB request.

【0018】共用MS101は、一般のソフトウェアが
使用するソフトウェア使用領域(以下SUAという)と
ハードウェアシステムがハードウェアの動作処理上固有
に使用するハードウェア使用領域(以下HSAという)
に分割される。SUA及びHSAは共に信号線150,
151又は152を介して、MPシステムを構成する全
てのCPU102,103,104からアクセスが可能
である。即ち、HSA内の任意の領域をCPU間の通信
バッファ(CPU間通信領域)として使用すれば、シス
テム上で走行中のソフトウェアに何ら影響を及ぼす事無
く、システムを構成している全てのCPUの間での情報
の授受が可能である。CCAが共用MS101のHSA
内に設けたCPU間通信領域である。
The shared MS 101 is a software use area (hereinafter referred to as SUA) used by general software and a hardware use area (hereinafter referred to as HSA) that is uniquely used by the hardware system in hardware operation processing.
Is divided into Both SUA and HSA are signal lines 150,
Through the 151 or 152, it is possible to access from all the CPUs 102, 103, 104 that compose the MP system. In other words, if any area in the HSA is used as a communication buffer between CPUs (communication area between CPUs), it does not affect the software running on the system and all CPUs in the system are affected. Information can be exchanged between the two. CCA is an HSA for shared MS 101
It is an inter-CPU communication area provided inside.

【0019】本実施例に於いては、CCAはシステム共
通領域(以下SCAという)111、CPUA使用領域
(以下CPUAAという)112、CPUB使用領域
(以下CPUBAという)113及びCPUC使用領域
(以下CPUCAという)114からなるとしている。
SCA111には、MPシステムを構成している全ての
CPUで共通に使用される情報を格納しておく。このS
CA111に格納しておく情報としては、例えば測定ブ
ロックキー、測定ブロック更新モードビット、測定ブロ
ック起点アドレス又はSCA領域を各CPUから排他的
に使用する為のロック領域等がある。CPUAA112
は、CPUA102が固有に使用する情報及び他CPU
へ送出する情報を格納しておく領域である。CPUBA
113及びCPUCA114は、それぞれCPUB10
3及びCPUC104が使用し、その役割はCPUAA
112と同様である。本発明においては、この領域11
2,113,114を使用してMPインタフェースを介
して授受する情報を他CPUに転送する。
In this embodiment, CCA is a system common area (hereinafter referred to as SCA) 111, a CPUA used area (hereinafter referred to as CPUAA) 112, a CPUB used area (hereinafter referred to as CPUBA) 113, and a CPUC used area (hereinafter referred to as CPUCA). ) 114.
The SCA 111 stores information commonly used by all the CPUs forming the MP system. This S
The information stored in the CA 111 includes, for example, a measurement block key, a measurement block update mode bit, a measurement block starting point address, or a lock area for exclusively using the SCA area from each CPU. CPUAA112
Is information uniquely used by the CPU A 102 and other CPUs.
This is an area for storing information to be sent to. CPUBA
113 and CPUCA114 are respectively CPUB10
3 and CPUC104 use the role of CPUAA
Similar to 112. In the present invention, this area 11
2, 113, 114 are used to transfer information to be exchanged via the MP interface to another CPU.

【0020】図2は本発明の割込み同期方法の一実施例
としての処理手順を示すフローチャートであり、図3は
図2中の一部ステップの詳細フローチャートである。以
下、図2及び図3を用いて、図1におけるCPUA10
2、CPUB103及びCPUC104の間での割込み
処理に関連する情報の授受について詳細に説明する。な
お、ここでは、CPUA102を割込み要求元、CPU
B103及びCPUC104を要求先としているが、こ
れに限らないことは云うまでもない。
FIG. 2 is a flowchart showing a processing procedure as an embodiment of the interrupt synchronization method of the present invention, and FIG. 3 is a detailed flowchart of some steps in FIG. Hereinafter, referring to FIGS. 2 and 3, the CPUA 10 in FIG.
2, the transfer of information related to the interrupt processing between the CPUB 103 and the CPUC 104 will be described in detail. Note that, here, the CPUA 102 is the interrupt request source, and the CPU
The request destinations are B103 and CPUC104, but needless to say, the present invention is not limited to this.

【0021】ステップ201 : CPUA102がC
PUB103及びCPUC104に何らかの動作を要求
する時、まずCPUA102はその要求動作内容を規程
したMPインタフェースパラメータを共用MS401の
HSA内CPUAA112に信号線150を介して格納
する。この場合の格納動作は、通常の主記憶格納アクセ
スと同様の手法で行われる。
Step 201 : CPUA 102 is C
When requesting some operation from the PUB 103 and the CPUC 104, the CPUA 102 first stores the MP interface parameter defining the requested operation content in the HSA CPUAA 112 in the shared MS 401 via the signal line 150. The storage operation in this case is performed in the same manner as the normal main memory storage access.

【0022】ステップ202 : 次に、CPUA10
2はCPUB103及びCPUC104に対し信号線1
60を介して動作要求信号を送出する。
Step 202 : Next, CPUA10
2 is a signal line 1 for CPUB103 and CPUC104
An operation request signal is sent via 60.

【0023】ステップ203 : CPUA102は、
CPUB103及びCPUC104に対し信号線160
を介して動作要求信号を送出した後、CPUB103及
びCPUC104から要求した動作が完了した旨の報告
信号が信号線160を介して返って来る迄待ち状態に入
る。
Step 203 : The CPU A 102
Signal line 160 for CPUB103 and CPUC104
After sending the operation request signal via the line, the CPU B 103 and the CPU C 104 enter a waiting state until a report signal indicating that the requested operation is completed is returned via the signal line 160.

【0024】ステップ211及びステップ221
CPUB103及びCPUC104は、信号線160を
介して動作要求信号をCPUA102から受け取ると、
現在実行中の通常処理を一時中断してMPインタフェー
ス通信動作を起動(以下ブレイクインという)する。
Steps 211 and 221 :
When the CPUB 103 and the CPUC 104 receive the operation request signal from the CPUA 102 via the signal line 160,
The normal processing currently being executed is temporarily suspended to start the MP interface communication operation (hereinafter referred to as break-in).

【0025】ステップ212及びステップ222
CPUB103及びCPUC104は、ブレイクインに
依り実行中の処理を一時中断してMPインタフェース通
信処理を開始する。
Step 212 and step 222 :
The CPUB 103 and the CPUC 104 temporarily suspend the process being executed due to the break-in and start the MP interface communication process.

【0026】ステップ213及びステップ223
このMPインタフェース通信処理に於いて、CPUB1
03及びCPUC104は、CPUA102が予め格納
しておいた要求動作内容を規程したMPインタフェース
パラメータを共用MS101のHSA内CPUAA11
2からそれぞれ信号線151及び152を介して取り出
す。この場合の取り出し動作は、通常の主記憶取り出し
アクセスと同様の手法で行われる。
Step 213 and step 223 :
In this MP interface communication process, CPUB1
03 and the CPUC 104 share the MP interface parameter that regulates the requested operation content stored in advance by the CPUA 102, and the CPUAA 11 in the HSA of the shared MS 101.
2 through the signal lines 151 and 152, respectively. The fetch operation in this case is performed in the same manner as the normal main memory fetch access.

【0027】ステップ214及びステップ224
CPUB103及びCPUC104は、信号線160を
介して送られて来た動作要求と共用MS101のHSA
内CPUAA112から取り出した要求動作内容を規程
したMPインタフェースパラメータに依り、CPUA1
02が何の動作を要求しているかを判定し、指定された
動作を実行する。
Steps 214 and 224 :
The CPUB 103 and the CPUC 104 transmit the operation request sent via the signal line 160 and the HSA of the shared MS 101.
Depending on the MP interface parameter that regulates the requested operation content extracted from the internal CPUAA 112, the CPUA 1
It determines what operation 02 is requesting and executes the specified operation.

【0028】ステップ215及びステップ225
CPUA102から指定された動作の実行を完了する
と、CPUB103及びCPUC104は、動作終了信
号を信号線160を介してCPUA102に送出する。
Steps 215 and 225 :
When the execution of the operation designated by the CPUA 102 is completed, the CPUB 103 and the CPUC 104 send an operation end signal to the CPUA 102 via the signal line 160.

【0029】ステップ216及びステップ226
CPUB103及びCPUC104は、CPUA102
に対し信号線160を介して動作終了信号を送出した
後、CPUA102から通常処理続行を指示する信号が
信号線160を介して返って来る迄待ち状態に入る。
Steps 216 and 226 :
CPUB103 and CPUC104 are CPUA102
On the other hand, after sending the operation end signal through the signal line 160, the CPU A 102 waits until a signal instructing to continue the normal processing is returned through the signal line 160.

【0030】ステップ204 : CPUA102はス
テップ203にて待ち状態に入った後、CPUB103
及びCPUC104の双方から、動作終了信号が信号線
160を介して返送されて来る事を監視する。そして、
CPUA103及びCPUC104の双方から動作終了
信号が信号線160を介して返送されて来た事を認識す
ると、CPUA102はステップ205に行く。
Step 204 : The CPUA 102 enters the waiting state in Step 203, and then the CPUB 103
Also, it is monitored that the operation end signal is returned from both of the CPUC 104 and the CPUC 104 via the signal line 160. And
When recognizing that the operation end signals are returned from both the CPUA 103 and the CPUC 104 via the signal line 160, the CPUA 102 proceeds to step 205.

【0031】ステップ205 : 双方のCPU10
3,104から動作終了信号が返送されて来ると、CP
UA102は、CPUB103及びCPUC104に対
し信号線160を介して通常処理続行要求信号を送出す
る。その後、CPUA102は通常処理を再起動する。
Step 205 : Both CPUs 10
When the operation end signal is returned from 3,104, CP
The UA 102 sends a normal processing continuation request signal to the CPUB 103 and the CPUC 104 via the signal line 160. After that, the CPUA 102 restarts the normal processing.

【0032】ステップ219及びステップ229
CPUB103及びCPUC104は、信号線160を
介して通常処理続行要求信号をCPUA102から受け
取ると、ステップ216及びステップ226の待ち状態
を終了し、通常処理を再起動する。この通常処理の再起
動は、保留した割込みに対する割込みマスクがオフであ
る場合には通常の命令処理の再起動であり、保留した割
込みに対する割込みマスクがオンである場合には、ハー
ドウェアに依る割込み動作からの起動であり、更に、ハ
ードウェアに依る割込み動作が終了している場合にはソ
フトウェアに依る割込み処理の起動である。
Steps 219 and 229 :
Upon receiving the normal processing continuation request signal from the CPUA 102 via the signal line 160, the CPUB 103 and the CPUC 104 end the waiting state of steps 216 and 226 and restart the normal processing. This normal processing restart is normal instruction processing restart if the interrupt mask for the pending interrupt is off, and if the interrupt mask for the pending interrupt is on, the hardware-dependent interrupt is restarted. It is the activation from the operation, and when the interruption operation by the hardware is completed, it is the activation of the interrupt processing by the software.

【0033】図3は、図2に於けるCPUB103のス
テップ213、ステップ214及びステップ215、C
PUC104のステップ223、ステップ224及びス
テップ225の動作の更に詳細な処理手順を示すフロー
チャートである。
FIG. 3 shows steps 213, 214 and 215, C of the CPUB 103 in FIG.
9 is a flowchart showing a more detailed processing procedure of operations of steps 223, 224, and 225 of the PUC 104.

【0034】ステップ301 : CPUB103及び
CPUC104は、CPUA102が予め格納しておい
た要求動作内容を規程したMPインタフェースパラメー
タを共用MS101のHSA内CPUAA112からそ
れぞれ信号線151及び152を介して取り出す。この
場合の取り出し動作は、通常の主記憶取り出しアクセス
と同様の手法で行われる。
Step 301 : The CPUB 103 and the CPUC 104 fetch the MP interface parameters, which pre-store the required operation contents of the CPUA 102, from the HSA CPUAA 112 of the shared MS 101 via the signal lines 151 and 152, respectively. The fetch operation in this case is performed in the same manner as the normal main memory fetch access.

【0035】ステップ302 : CPUB103及び
CPUC104は、MPインタフェースパラメータを共
用MS101のHSA内CPUAA112からそれぞれ
信号線151及び152を介して取り出した後、そのM
Pインタフェースパラメータ内の指示情報を調べ、この
時点でCPUA102に対し動作終了信号を送出するか
否かを判定する。この時点で動作終了信号を送出する旨
が指示されているとステップ307に行き、指示されて
いないとステップ303に行く。
Step 302 : The CPUB 103 and the CPUC 104 take out the MP interface parameter from the CPUAA 112 in the HSA of the shared MS 101 via the signal lines 151 and 152, respectively, and then M
The instruction information in the P interface parameter is checked, and at this time, it is determined whether or not to send the operation end signal to the CPUA 102. At this point, if it is instructed to send the operation end signal, the procedure goes to step 307, and if not, the procedure goes to step 303.

【0036】ステップ303 : CPUB103及び
CPUC104は、信号線160を介して送られて来た
動作要求と共用MS101のHSA内CPUAA112
から取り出した要求動作内容を規程したMPインタフェ
ースパラメータに依り、CPUA102が何の動作を要
求しているかを判定する。この例の場合、CPUB10
3及びCPUC104のそれぞれで、MPインタフェー
スパラメータに依り規程された割込み要因を保留する。
Step 303 : The CPUB 103 and the CPUC 104 send the operation request sent via the signal line 160 and the CPUAA112 in the HSA of the shared MS 101.
Based on the MP interface parameter that regulates the requested operation content extracted from the above, what operation the CPU A 102 requests is determined. In this example, CPUB10
The CPU 3 and the CPU C 104 hold the interrupt factor defined according to the MP interface parameter.

【0037】ステップ304 : CPUB103及び
CPUC104は、割込み要因を保留した後、共用MS
101のHSA内CPUAA112から取り出した要求
動作内容を規程したMPインタフェースパラメータ内の
指示情報を調べ、この時点でCPUA102に対し動作
終了信号を送出するか否かを判定する。この時点で動作
終了信号を送出する旨が指示されているとステップ30
7に行き、指示されていないとステップ305に行く。
Step 304 : The CPUB 103 and the CPUC 104 hold the interrupt factor and then execute the shared MS.
The instruction information in the MP interface parameter that regulates the requested operation content extracted from the CPUAA 112 in the HSA 101 is checked, and at this time, it is determined whether or not to send the operation end signal to the CPUA 102. If it is instructed to send the operation end signal at this point, step 30
7. If not instructed, go to step 305.

【0038】ステップ305 : CPUB103及び
CPUC104は、対応する割込みマスクがオンであれ
ばそれぞれのCPU上で割込み動作を起動し、対応する
割込みマスクがオフであればそれぞれのCPU上で通常
の命令処理動作に復帰する。
Step 305 : The CPU B 103 and the CPU C 104 activate the interrupt operation on their respective CPUs if the corresponding interrupt masks are on, and the normal instruction processing operation on their respective CPUs if the corresponding interrupt masks are off. Return to.

【0039】ステップ306 : CPUB103及び
CPUC104は、それぞれのCPU上での割込み動作
の完了を待つ。割込み動作を完了すればステップ307
に行く。
Step 306 : The CPUB 103 and the CPUC 104 wait for the completion of the interrupt operation on their respective CPUs. If the interrupt operation is completed, step 307
go to.

【0040】ステップ307 : CPUA102から
指定された動作の実行を完了すると、CPUB103及
びCPUC104は、動作終了信号を信号線160を介
してCPUA102に送出する。
Step 307 : When the execution of the operation designated by the CPUA 102 is completed, the CPUB 103 and the CPUC 104 send an operation end signal to the CPUA 102 via the signal line 160.

【0041】[0041]

【発明の効果】以上の説明から明らかな如く、本発明に
よれば、処理装置間の割込み処理に関する通信情報を転
送するMPインタフェースを、より高速で且つ一つの処
理装置から他の複数の処理装置群に同時に通信可能なM
Pインタフェースで実現し、更に共用記憶装置のHSA
領域を利用した割込み要因に関するパラメータの授受に
より、性能を向上させ且つより同期性の良い、複数処理
装置間での割込み同期処理が可能になる。更に、PTL
Bインタフェースが同時に2つ以上の処理装置間の一対
複数の通信機能を有している点を利用することで、一つ
の処理装置から他の複数の処理装置群に対し、ハードウ
ェアのコストの上昇を伴わず且つ割込み同期のオーバヘ
ッドを大幅に縮減した同期割込みを発生させることが可
能になる。
As is apparent from the above description, according to the present invention, the MP interface for transferring the communication information regarding the interrupt processing between the processing devices can be provided at a higher speed and from one processing device to a plurality of other processing devices. M that can simultaneously communicate with the group
Realized by P interface, HSA of shared storage
By exchanging the parameter relating to the interrupt factor using the area, it is possible to improve the performance and perform the interrupt synchronization processing between a plurality of processing devices with better synchronization. Furthermore, PTL
By utilizing the fact that the B interface has a one-to-many communication function between two or more processing devices at the same time, the hardware cost is increased from one processing device to another processing device group. It is possible to generate a synchronous interrupt which is not accompanied by the above and in which the overhead of interrupt synchronization is greatly reduced.

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

【図1】本発明の割込み同期方法を適用した多重情報処
理システムの構成例を示す図である。
FIG. 1 is a diagram showing a configuration example of a multiple information processing system to which an interrupt synchronization method of the present invention is applied.

【図2】本発明の割込み同期方法の一実施例の処理手順
を示すフローチャートである。
FIG. 2 is a flowchart showing a processing procedure of an embodiment of an interrupt synchronization method of the present invention.

【図3】図2の処理手順の一部ステップの詳細を示すフ
ローチャートである。
FIG. 3 is a flowchart showing details of some steps of the processing procedure of FIG.

【符号の説明】 101 共用主記憶装置 102〜104 中央処理装置 111〜114 HSA内処理装置間通信領域 150〜152 信号線 160 処理装置間通信線[Explanation of reference numerals] 101 shared main storage device 102 to 104 central processing device 111 to 114 communication area between processing devices in HSA 150 to 152 signal line 160 communication line between processing devices

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数の処理装置と、該処理装置のそれぞ
れから共用される記憶装置とから構成される多重情報処
理システムにおいて、 処理装置間の通信手段として、処理装置間で直接に情報
の授受を行う第1の通信手段と、前記共用される記憶装
置内のハードウェア使用領域の予め定められた領域(以
下、処理装置間通信領域と称す)を経由して処理装置間
の情報の授受を行う第2の通信手段とを備え、 処理装置間の通信の種類により、前記第1の通信手段,
第2の通信手段又は第1の通信手段と第2の通信手段と
の組合せにより処理装置間の情報の授受を行い、複数の
処理装置に対し同期した割込みを発生させる事を特徴と
する多重情報処理システムの割込み同期方法。
1. A multiple information processing system comprising a plurality of processing devices and a storage device shared by the respective processing devices, wherein information is directly exchanged between the processing devices as a communication means between the processing devices. Information is exchanged between the processing devices via a first communication means for performing the above and a predetermined area of the hardware use area in the shared storage device (hereinafter, referred to as an inter-processing device communication area). A second communication means for performing the first communication means according to the type of communication between the processing devices,
Multiple information, characterized in that the second communication means or a combination of the first communication means and the second communication means exchanges information between processing devices and generates synchronized interrupts for a plurality of processing devices. An interrupt synchronization method for a processing system.
【請求項2】 割込みを要求する処理装置は、割込み要
因に関するパラメータを前記第2の通信手段である記憶
装置内の処理装置間通信領域に格納すると共に、前記第
1の通信手段で他の処理装置へ前記記憶装置内の処理装
置間通信領域に格納された割込み要因に関するパラメー
タの読み出し要求を送出し、 前記割込み要因に関するパラメータの読出し要求を受け
た他の処理装置は、前記第2の通信手段である前記記憶
装置内の処理装置間通信領域に格納された割込み要因に
関するパラメータを読み出し、該割込み要因に関するパ
ラメータの指定に従った割込み動作を行い、動作終了報
告を前記第1の通信手段で前記割込みを要求した処理装
置に対して送出する事を特徴とする請求項1記載の多重
情報処理システムの割込み同期方法。
2. A processing device requesting an interrupt stores a parameter relating to an interrupt factor in a communication area between processing devices in a storage device which is the second communication means, and at the same time, performs other processing by the first communication means. A read request of a parameter related to an interrupt factor stored in the inter-processor communication area in the storage device is sent to the device, and the other processing device that receives the read request of the parameter related to the interrupt factor is the second communication unit. The parameter related to the interrupt factor stored in the inter-processor communication area in the storage device is read, the interrupt operation is performed according to the designation of the parameter related to the interrupt factor, and the operation completion report is transmitted by the first communication means. 2. The interrupt synchronization method for a multiple information processing system according to claim 1, wherein the interrupt is sent to a processing device that has requested the interrupt.
【請求項3】 複数の処理装置のそれぞれから共用され
る記憶装置内の処理装置間通信領域は、複数の処理装置
のそれぞれに固有の領域を有し、 割込みを要求する処理装置は、割込み要因に関するパラ
メータを前記記憶装置内の処理装置間通信領域の自領域
に格納し、 割込み要求に関するパラメータの読出し要求を受けた他
の処理装置は、前記記憶装置内の処理装置間通信領域の
前記割込み要求元装置に対応する領域から割込み要求に
関するパラメータを読み出すことを特徴とする請求項2
記載の多重情報処理システムの割込み同期方法。
3. An inter-processor communication area in a storage device shared by each of the plurality of processors has an area unique to each of the plurality of processors, and the processor requesting an interrupt is an interrupt factor. Parameters related to the inter-processor communication area in the storage device are stored in its own area, and the other processing device receiving the read request of the parameter related to the interrupt request is the interrupt request of the inter-processor communication area in the storage device. 3. The parameter relating to the interrupt request is read from the area corresponding to the original device.
An interrupt synchronization method for the described multiple information processing system.
【請求項4】 複数の処理装置がそれぞれアドレス変換
バッファ(以下、TLBと称す)を具備し、各処理装置
間にパージTLB要求を直接授受する通信手段が存在す
る場合、該通信手段を処理装置間の前記第1の通信手段
に使用することを特徴とする請求項1、2もしくは3記
載の多重情報処理システムの割込み同期方法。
4. When a plurality of processing devices each have an address translation buffer (hereinafter referred to as TLB) and there is a communication means for directly sending and receiving a purge TLB request between the processing devices, the communication means is used. The interrupt synchronization method for a multiple information processing system according to claim 1, 2 or 3, wherein the interrupt synchronization method is used for the first communication means.
JP5028784A 1993-02-18 1993-02-18 Interruption synchronizing method for multiplex information processing system Pending JPH06243102A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5028784A JPH06243102A (en) 1993-02-18 1993-02-18 Interruption synchronizing method for multiplex information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5028784A JPH06243102A (en) 1993-02-18 1993-02-18 Interruption synchronizing method for multiplex information processing system

Publications (1)

Publication Number Publication Date
JPH06243102A true JPH06243102A (en) 1994-09-02

Family

ID=12258052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5028784A Pending JPH06243102A (en) 1993-02-18 1993-02-18 Interruption synchronizing method for multiplex information processing system

Country Status (1)

Country Link
JP (1) JPH06243102A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011104812A1 (en) 2010-02-23 2011-09-01 富士通株式会社 Multi-core processor system, interrupt program, and interrupt method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011104812A1 (en) 2010-02-23 2011-09-01 富士通株式会社 Multi-core processor system, interrupt program, and interrupt method

Similar Documents

Publication Publication Date Title
JP3636871B2 (en) Parallel processor system
JP2594979B2 (en) Multi-processor system
JPH0784883A (en) Method for purging address conversion buffer of virtual computer system
JP2539352B2 (en) Hierarchical multi-computer system
JP2870254B2 (en) Virtual machine I / O interrupt handling method
US6874040B2 (en) Employing a data mover to communicate between dynamically selected zones of a central processing complex
KR920006617B1 (en) Multiprocessor system
JPH10301795A (en) Virtual computer system
US8117626B2 (en) Asynchronous remote procedure calling method and computer product in shared-memory multiprocessor
US20080189719A1 (en) Operation processor apparatus
JPH06243102A (en) Interruption synchronizing method for multiplex information processing system
JPH02210542A (en) Execution control system for virtual computer system
JPH04291660A (en) Inter-processor communication method and its parallel processor
KR100978083B1 (en) Procedure calling method in shared memory multiprocessor and computer-redable recording medium recorded procedure calling program
JPH06242975A (en) Virtual computer dispatch system of multiple information processing system
JPS6239789B2 (en)
JP3014112B2 (en) Message communication method in multiprocessor system
KR100253790B1 (en) Method of interface for controller board in medium and large computer
JPH02139633A (en) Process synchronizing control system
JPS6145348A (en) Bus priority control system
KR19980086588A (en) System Resource Reduction Tool Using TCP / IP Socket Application
JPH0535507A (en) Central processing unit
JPS6225365A (en) Information multiprocessing system
JPH0290331A (en) Inter-processor communication instruction processor for virtual computer system
JPH07234850A (en) Device and method for multiprocessor system