JPH0430224A - Execution continuing system for processing - Google Patents
Execution continuing system for processingInfo
- Publication number
- JPH0430224A JPH0430224A JP2135200A JP13520090A JPH0430224A JP H0430224 A JPH0430224 A JP H0430224A JP 2135200 A JP2135200 A JP 2135200A JP 13520090 A JP13520090 A JP 13520090A JP H0430224 A JPH0430224 A JP H0430224A
- Authority
- JP
- Japan
- Prior art keywords
- instruction processing
- processing device
- instruction
- failure
- execution
- 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.)
- Granted
Links
Landscapes
- Hardware Redundancy (AREA)
- Multi Processors (AREA)
- Retry When Errors Occur (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、障害により中断された処理の実行継続方式に
係る。特に複数の命令処理装置が主記憶装置を共有する
マルチプロセッサシステムにおいて、一つの命令処理装
置における障害発生により処理の実行を継続できない場
合に、その命令処理装置で実行されていた処理を正常に
継続実行可能とする方法を提供する処理の実行継続方式
に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for continuing execution of processing that has been interrupted due to a failure. Especially in a multiprocessor system where multiple instruction processing units share the main memory, if processing cannot be continued due to a failure in one instruction processing unit, the processing being executed by that instruction processing unit will continue normally. This invention relates to a method for continuing execution of a process that provides a method for making it executable.
命令処理装置において間欠障害が発生した場合の回復方
法として、障害発生時に実行していた処理をリトライす
る方法や、命令単位などの一定のチェックポイントに戻
って再実行する方法などが知られている。Known recovery methods when an intermittent failure occurs in an instruction processing device include a method of retrying the process that was being executed at the time of the failure, and a method of returning to a certain checkpoint such as an instruction unit and re-executing the process. .
一方、命令処理装置において固定障害が発生し、その回
復に失敗した場合には、一般に自命令処理装置に対して
障害回復失敗の割込みを発生させる。On the other hand, when a fixed fault occurs in an instruction processing device and recovery from the fixed fault fails, an interrupt indicating failure recovery from the fault is generally generated for the instruction processing device itself.
例えば、回復不可能な障害が発生したことをマシンチエ
ツク割込みなどにより連絡する。For example, a machine check interrupt or the like is used to notify that an unrecoverable failure has occurred.
回復不可能な障害が発生した場合のマシンチエツク割込
みには次の二つの場合がある。There are two types of machine check interrupts when an unrecoverable failure occurs:
(1)回復不可能な障害が発生したが、割込み発生時点
において、障害発生前のチェックポイントの状態が保証
されている。(1) Although an unrecoverable failure has occurred, the checkpoint state before the failure is guaranteed at the time the interrupt occurs.
(2)回復不可能な障害が発生し、割込み発生時点で障
害発生前のチェックポイントの状態が保証されていない
。(2) An unrecoverable failure occurs, and the state of the checkpoint before the occurrence of the failure is not guaranteed at the time the interrupt occurs.
(1)の状態のマシンチエツク割込みをPD−B(プロ
セッサダメージ・バックアップ)と呼び、(2)の状態
のマシンチエツクをPD(プロセッサダメージ)と呼ぶ
。この二つの差を、第2図を用いて説明する。第2図、
において、21〜24は命令である。いま、命令処理装
置が命令Cの実行中に障害が発生したとする。命令処理
装置は、障害の内容により、PD−BもしくはPDのマ
シンチエツク割込みを発生する。命令C実行前の命令処
理装置の状態(障害発生前のチェックポイントの状態)
が保証されているとき5命令処理装置はPD−Bのマシ
ンチエツク割込みを発生する。したがって、割込み受付
は後、一般に命令Cから再実行すれば、プログラムは正
常に継続実行が可能となる。−万、命令Cにより命令処
理装置の内部状態が変更されてしまっている場合など、
命令C実行前のチェックポイントの状態が保証できない
場合、命令処理装置はPDのマシンチエツク割込みを発
生する。この場合には、割込み発生後も命令Cから再実
行しても、一般に処理の正常性を保証することはできな
い。The machine check interrupt in state (1) is called PD-B (processor damage backup), and the machine check in state (2) is called PD (processor damage). The difference between these two will be explained using FIG. Figure 2,
, 21 to 24 are instructions. Now, suppose that a failure occurs while the instruction processing device is executing instruction C. The instruction processing device generates a PD-B or PD machine check interrupt depending on the content of the failure. Status of instruction processing device before execution of instruction C (checkpoint status before failure occurrence)
5 instruction processing device generates a PD-B machine check interrupt. Therefore, after accepting the interrupt, if the program is generally re-executed from instruction C, the program can continue to be executed normally. - If the internal state of the instruction processing device has been changed by instruction C, etc.
If the checkpoint state before execution of instruction C cannot be guaranteed, the instruction processing device generates a PD machine check interrupt. In this case, even if the instruction is re-executed from instruction C even after the interrupt occurs, the normality of the process cannot generally be guaranteed.
さらに、障害発生状況によっては以後の再実行動作、障
害回復動作が一切不可能な場合がある。Furthermore, depending on the failure situation, subsequent re-execution operations and failure recovery operations may not be possible at all.
また、チェックポイント保証などの障害回復処理中にさ
らに障害が発生した場合なども、その障害回復動作は不
可能であり、このような場合、命令処理装置は異常停止
する。この動作をチエツクストップ(チエツク停止)と
呼び、マルチプロセッサシステムにおいて一つの命令処
理装置がチエツクストップすると、他の動作中の命令処
理装置に誤動作警報と呼ぶ割込みが報告される。Furthermore, if another failure occurs during failure recovery processing such as checkpoint guarantee, the failure recovery operation is impossible, and in such a case, the instruction processing device abnormally stops. This operation is called a check stop, and when one instruction processing device in a multiprocessor system performs a check stop, an interrupt called a malfunction alarm is reported to other operating instruction processing devices.
以上の命令処理装置における障害の検出と報告。Detection and reporting of failures in the above instruction processing device.
チエツクストップと誤動作警報割込みの動作を第3図を
用いて説明する。第3図において、311a。The operation of the check stop and malfunction alarm interrupt will be explained with reference to FIG. In FIG. 3, 311a.
311bは命令処理装置である。本構成例では命令処理
装置が2台の場合を示したが、命令処理装置が2台以上
の場合でも同様である。各命令処理装置には、命令実行
部312a、b、障害検出部313a、b、割込み制御
部314a、b、チエツクストップラッチ315a、b
がある。311b is an instruction processing device. Although this configuration example shows a case where there are two instruction processing devices, the same applies to a case where there are two or more instruction processing devices. Each instruction processing device includes instruction execution units 312a, b, failure detection units 313a, b, interrupt control units 314a, b, check stop latches 315a, b.
There is.
命令処理装置311aの障害検出部313aが障害を検
出し、それがチエツクストップ要因でない場合、その事
実を信号線319aを介して命令実行部312aに連絡
する。命令実行部312aでは、連絡を受けると、命令
リトライとチェックポイント状態の回復を試みる6命令
リトライが成功した場合はそのまま処理が続行されるが
、命令リトライが失敗した場合には自命令実行部におい
て、マシンチエツク割込みを発生させる。先に述へたよ
うに、チェックポイント状態の回復が成功した場合には
PD−B、失敗した場合にはPDのマシンチエツク割込
みを発生する。If the failure detection unit 313a of the instruction processing device 311a detects a failure and it is not a check stop factor, it communicates this fact to the instruction execution unit 312a via the signal line 319a. Upon receiving the notification, the instruction execution unit 312a continues processing if the instruction retry and the 6-instruction retry that attempts to recover the checkpoint state are successful, but if the instruction retry fails, the instruction execution unit 312a , generates a machine check interrupt. As mentioned above, a PD-B machine check interrupt is generated if the checkpoint state recovery is successful, and a PD machine check interrupt is generated if the checkpoint state recovery is unsuccessful.
また、障害検出部313aがチエツクストップ要因の障
害を検出すると、障害検出部313aは信号線319a
を介して命令実行部312aに命令の実行を停止するよ
う指示し、命令実行部312aは命令の実行を停止する
。さらに障害検出部313aは信号線317aを介して
チエツクストップラッチ315aをセットする。チエツ
クストップラッチ315aがセットされると、それは信
号線318aを介してもう一つの命令処理装置311b
の割込み制御部314bに伝わり、割込み制御部314
bでは割込みの可否を制御する割込みマスクと演算し、
割込み信号を作成する。割込み信号は信号線320bを
介して命令実行部312bに伝えられ、命令実行部31
2bで誤動作警報の割込みが発生する。この場合、チエ
ツクストップした命令処理装置311aの内部状態は一
般に不定であり、仮にその内部状態が読み出せたとして
も、その情報からりトライやチェックポイントからの再
実行を行うことはできない。Furthermore, when the fault detection unit 313a detects a fault that is the cause of the check stop, the fault detection unit 313a detects the fault on the signal line 319a.
The instruction execution unit 312a is instructed to stop executing the instruction via the instruction execution unit 312a, and the instruction execution unit 312a stops executing the instruction. Furthermore, the fault detection section 313a sets the check stop latch 315a via the signal line 317a. When check stop latch 315a is set, it is connected to another instruction processing device 311b via signal line 318a.
is transmitted to the interrupt control unit 314b, and the interrupt control unit 314
In b, an interrupt mask is calculated to control whether or not an interrupt is allowed.
Create an interrupt signal. The interrupt signal is transmitted to the instruction execution unit 312b via the signal line 320b, and the instruction execution unit 31
At 2b, a malfunction alarm interrupt occurs. In this case, the internal state of the check-stopped instruction processing device 311a is generally undefined, and even if the internal state can be read out, it is impossible to try or re-execute from the checkpoint based on that information.
ところで、障害が発生し、ハードウェアによる再実行が
失敗した場合、マシンチエツク割込みなどによる報告を
受け、処理の続行、あるいは異常終了処理を行うのは障
害を発生した命令処理装置で動作するO8であり、該命
令処理装置が再度障害を発生する可能性が高い。このよ
うな場合、障害はO8の障害処理部分など中核部分で発
生することになり、システムダウンとなる可能性が高い
。By the way, when a failure occurs and re-execution by the hardware fails, the O8 running on the instruction processing device where the failure occurred receives a report via a machine check interrupt or the like and continues processing or performs abnormal termination processing. There is a high possibility that the instruction processing device will fail again. In such a case, the failure will occur in a core part such as the failure handling part of O8, and there is a high possibility that the system will go down.
従来、固定障害によるシステムダウンとなるのを防止す
るため、マルチプロセッサシステムにおいては、障害が
発生した命令処理装置で行っていた処理を、他の正常な
命令処理装置で引継いで実行するという方式がとられて
きた。この方式に関しては従来よりいくつかの技術が提
供されている(特公昭47−36181号、特公昭61
−56537号、特開昭57−85151号、特開昭5
7−137949号、特開平1−133171号など)
、これらの方式では、障害が発生した命令処理装置の障
害発生直前の状態を、障害が発生した命令処理装置、正
常な命令処理装置、または回復制御装置などの動作によ
り主記憶装置などに格納し、または直接正常な命令処理
装置に転送し、正常な命令処理装置がその情報を用いて
障害を発生した命令処理装置上で中断された処理を再実
行している。Conventionally, in multiprocessor systems, in order to prevent system failures due to fixed failures, a method has been used in which the processing that was being performed by the failed instruction processing unit is taken over and executed by another normal instruction processing unit. It has been taken. Regarding this method, several technologies have been provided so far (Japanese Patent Publication No. 47-36181, Japanese Patent Publication No. 61
-56537, JP-A-57-85151, JP-A-5
7-137949, Japanese Patent Application Publication No. 1-133171, etc.)
In these methods, the state of the faulty instruction processing device immediately before the fault occurs is stored in the main memory, etc. by the operation of the faulty instruction processing device, the normal instruction processing device, or the recovery control device. Alternatively, the information is directly transferred to a normal instruction processing device, and the normal instruction processing device uses the information to re-execute the interrupted process on the failed instruction processing device.
従来の技術では、障害が発生した命令処理装置で行って
いた処理を他の正常な命令処理装置で弓継いで実行する
ために、回復制御のための装置や(特公昭47−361
81号、特公昭61−56537号など)正常な命令処
理装置内に障害命令処理装置の命令再試行のための回路
を設ける(特開昭57−137949号など)必要があ
り、多くの付加ハードウェアを必要とし機構が複雑にな
るという問題点や、障害命令処理装置が処理の継続実行
のための情報を作成する(特公昭57−85151号な
ど)ため、再度障害を発生する可能性が大きくなるとい
う問題点があった。また、マルチプロセッサであっても
、何らかの要因により、動作中のプロセッサが障害を発
生した一台だけの場合には、正常な命令処理装置で処理
を引継ぐための動作を行うことにより、障害発生命令処
理装置における再実行2回復処理を放棄することになり
、それだけシステムの停止する確率が大きくなり、信頼
性が低下するという問題点があった。In the conventional technology, a device for recovery control (Japanese Patent Publication No. 47-361
No. 81, Japanese Patent Publication No. 61-56537, etc.) It is necessary to provide a circuit for retrying the instructions of the faulty instruction processing device in the normal instruction processing device (Japanese Patent Publication No. 57-137949, etc.), and a lot of additional hardware is required. The problem is that it requires hardware and the mechanism becomes complicated, and because the failure instruction processing device creates information for continued execution of processing (Japanese Patent Publication No. 57-85151, etc.), there is a high possibility that failure will occur again. There was a problem with that. In addition, even if there is a multiprocessor, if for some reason only one processor has failed, a normal instruction processing unit can take over the processing, allowing the faulty instruction to be processed. This results in the abandonment of the re-execution 2 recovery process in the processing device, which increases the probability that the system will stop and reduces reliability.
本発明の目的は、上記問題点を克服し、ハードウェアの
追加が少なく、また、障害が発生した命令処理装置によ
る処理の継続実行のための情報の作成にともなう新らた
な障害の発生を低減し、さらに、動作中の命令処理装置
が一台だけの場合でもシステムの停止確率を増加させず
に、障害が発生した命令処理装置で行っていた処理を他
の正常な命令処理装置で引継いで実行する方式を提供す
ることにある。It is an object of the present invention to overcome the above-mentioned problems, to reduce the need for additional hardware, and to prevent the occurrence of new failures due to the creation of information for continued execution of processing by an instruction processing device in which a failure has occurred. Furthermore, even if there is only one instruction processing device in operation, the processing that was being performed by the failed instruction processing device can be taken over by another normal instruction processing device without increasing the probability of the system stopping. The purpose is to provide a method for executing the method.
上記目的を達成するため、本発明では、命令実行中の障
害回復処理においてチェックポイント状態の回復に成功
したか否かを示す表示子を設け、命令処理装置などハー
ドウェアの内部状態を主記憶内に格納するスキャンアウ
ト機構と、他の命令処理装置と動作状態を連絡し合う機
構と、命令処理装置がチエツクストップした場合に他の
命令処理装置に誤動作警報割込みを連絡するための機構
と、主記憶装置の内容を読み込む命令とを用いる。In order to achieve the above object, the present invention provides an indicator that indicates whether or not the checkpoint state has been successfully recovered in failure recovery processing during instruction execution, and displays the internal state of hardware such as an instruction processing device in the main memory. a scan-out mechanism for storing the operating status in the instruction processing unit, a mechanism for communicating the operating status with other instruction processing units, a mechanism for communicating a malfunction alarm interrupt to other instruction processing units when the instruction processing unit has check-stopped, and a main unit. An instruction to read the contents of a storage device is used.
ある命令処理装置で固定障害が発生したとき、該障害命
令処理装置では、チェックポイントを保証し、命令再試
行をこころみる。命令再試行が失敗し、さらに命令実行
前のチェックポイントの状態が保証できるとき、チェッ
クポイント保証表示子をセットし、該チェックポイント
の状態をスキャンアウト処理によって主記憶に格納する
。スキャンイン、スキャンアウト方式の具体的動作に関
しては、例えば特開昭59−161744 r情報命令
処理装置のスキャン方式」、特開昭61−123939
r情報命令処理装置のスキャン方式」などにその−例
が記載されている。その後、命令処理装置はチエツクス
トップし、誤動作警報割込みが他の命令処理装置に連絡
される。連絡を受けた命令処理装置では、O8の処理に
よって主記憶に格納されたスキャンアウト情報を読み込
み、チェックポイント表示子によりチェックポイントの
情報が正しく格納されていることを確認すると、格納さ
れた命令処理装置の内部情報を編集し、処理の継続実行
に必要な制御テーブルを作成する。これにより、特に大
規模な付加回路・装置や障害発生命令処理装置による情
報操作を必要とすることなく、固定障害発生時にも、他
の正常な命令処理装置を用いて処理の継続実行が可能と
なる。When a fixed failure occurs in a certain instruction processing device, the faulty instruction processing device guarantees a checkpoint and attempts to retry the instruction. When the instruction retry fails and the checkpoint state before the instruction execution can be guaranteed, a checkpoint guarantee indicator is set and the checkpoint state is stored in the main memory by scan-out processing. Regarding the specific operations of the scan-in and scan-out methods, see, for example, JP-A-59-161744 "Scan Method for Information Command Processing Device" and JP-A-61-123939.
An example of this is described in ``Scan Method of Information Instruction Processing Device''. Thereafter, the instruction processing device performs a check stop and a malfunction alarm interrupt is communicated to other instruction processing devices. The instruction processing device that received the notification reads the scanout information stored in the main memory through O8 processing, and after confirming that the checkpoint information is correctly stored using the checkpoint indicator, processes the stored instruction. Edit the internal information of the device and create the control table necessary for continued execution of processing. This makes it possible to continue processing using other normal instruction processing devices even in the event of a fixed fault, without requiring particularly large-scale additional circuits/devices or information manipulation by faulty instruction processing devices. Become.
以下、図面を用いて本発明の一実施例を示す。 An embodiment of the present invention will be described below with reference to the drawings.
第1図は本発明の一実施例の適用されるマルチプロセッ
サシステムのブロック図である。図において、1lla
、bは命令処理装置(以後、IPと称する)、121は
システム制御部W(以後、SCと称する)、131は主
記憶装置(以後、MSと称する)である。命令処理装置
111aと111bとは同し構成であり、それぞれ命令
実行部112a、b、障害検出部113a、b、割込み
制御部114a、b、チェックポイント保証ラッチ11
5a、b、チエツクストップラッチ1.1.6a。FIG. 1 is a block diagram of a multiprocessor system to which an embodiment of the present invention is applied. In the figure, 1lla
, b is an instruction processing device (hereinafter referred to as IP), 121 is a system control unit W (hereinafter referred to as SC), and 131 is a main storage device (hereinafter referred to as MS). The instruction processing devices 111a and 111b have the same configuration, and each includes an instruction execution section 112a, b, a fault detection section 113a, b, an interrupt control section 114a, b, and a checkpoint guarantee latch 11.
5a, b, check stop latch 1.1.6a.
bを備えている。命令実行部112a、b内には実行制
御部117a、b、チェックポイント保証部118a、
bがある。また、システム制御装置121には、スキャ
ン制御部122がある。第1図は命令処理装置が2台の
構成であるが、両命令処理装置の構成は同じであり、さ
らに本実施例は命令処理装置が2台以上の構成の場合に
も変更なく適用できる。ここで、チェックポイント保証
ラッチは、処理継続のための連絡に従来からの誤動作警
報割込みを利用し、正常なIPが誤動作警報割込みを受
は取ったときに、それが従来の意味でのチエツクストッ
プによる誤動作警報割込みなのか、本発明に述べる処理
継続のための誤動作警報割込みなのかを区別するために
必須のものである。It is equipped with b. The instruction execution units 112a, b include execution control units 117a, b, checkpoint guarantee unit 118a,
There is b. The system control device 121 also includes a scan control section 122. Although FIG. 1 shows a configuration in which there are two instruction processing devices, the configurations of both instruction processing devices are the same, and the present embodiment can be applied without modification to a configuration in which there are two or more instruction processing devices. Here, the checkpoint guarantee latch uses the conventional malfunction alarm interrupt for communication to continue processing, and when a normal IP receives the malfunction alarm interrupt, it is a checkpoint in the conventional sense. This is essential in order to distinguish whether it is a malfunction alarm interrupt caused by a malfunction alarm interrupt or a malfunction alarm interrupt for continuing processing as described in the present invention.
次に、I P、111 aにおいて障害が発生した場合
の動作を第1図を用いて説明する。IpH1aの命令実
行部112aは、信号線152aを介してMS l 3
1をアクセスし、命令処理を実行している。また、命令
実行部112aが動作中であることは、信号線147を
介して他の命令処理装置に通報されている。同様に他の
命令処理装置が動作中であるか否かは、信号線148を
介して実行制御部117aに通報されている。この信号
は、従来から本実施例には明示していないバッファ記憶
や、アドレス変換バッファの一致制御などに使用されて
いる。障害検出部113aは、自IPにおける障害を検
出して、その事実を信号線143aを介して自IPの実
行制御部117aに報告する。Next, the operation when a failure occurs in IP 111a will be explained using FIG. The instruction execution unit 112a of the IpH1a executes the command execution unit 112a of the IpH1a via the signal line 152a.
1 and executes instruction processing. In addition, other instruction processing devices are notified via the signal line 147 that the instruction execution unit 112a is in operation. Similarly, whether or not other instruction processing devices are in operation is reported to the execution control unit 117a via the signal line 148. This signal has conventionally been used for buffer storage, address translation buffer match control, etc. which are not explicitly shown in this embodiment. The failure detection unit 113a detects a failure in its own IP and reports the fact to the execution control unit 117a of its own IP via a signal line 143a.
実行制御部117aは、IPの固定障害発生時。The execution control unit 117a is executed when a fixed IP failure occurs.
信号線146aを介してチェックポイント保証部118
aにチェックポイントの保証を指示し、チェックポイン
トの保証が成功すると、信号線141aを介してチェッ
クポイント保証ラッチ115aをセットする。次に信号
線149aを介して命令処理装置111aの内部状態を
スキャンアウトするよう5C121内のスキャン制御部
122に指示スル。5C121内のスキャン制御部12
2は、信号線150aを介してIPlllaの内部情報
を読み出し、信号線151を介してMS1131に書き
込む。さらに実行制御部117aは、信号線148によ
り通報された他の命令処理装置の動作状態から、他の命
令処理装置が動作中であることを確認すると、信号線1
42a、bを介してチエツクストップラッチ116a、
bをセットし。Checkpoint guarantee unit 118 via signal line 146a
If the checkpoint guarantee is successful, the checkpoint guarantee latch 115a is set via the signal line 141a. Next, an instruction is sent to the scan control unit 122 in the 5C 121 to scan out the internal state of the instruction processing device 111a via the signal line 149a. Scan control unit 12 in 5C121
2 reads the internal information of the IPlla via the signal line 150a and writes it to the MS 1131 via the signal line 151. Further, when the execution control unit 117a confirms that the other instruction processing device is in operation based on the operating state of the other instruction processing device notified through the signal line 148, the execution control unit 117a
42a,b to check stop latch 116a,
Set b.
さらに自IPにおける命令の実行を停止する。チエツク
ストップラッチ116a、bをセットすることにより、
信号線145a、bを介して他の正常なIPの割込み制
御部114b、aに割込み信号が出される。割込み制御
部114b、aは、該別込み信号により、信号線144
b、aを通じて正常なIPの実行制御部117b、aに
割込み発生を指示する6
IPの命令実行部112a、bは、障害発生時に当該I
Pの状態を障害発生前のある時点(チェックポイント)
の状態へ戻すチェックポイント保証部118a、b、命
令の実行制御部117a。Furthermore, execution of instructions on the own IP is stopped. By setting the check stop latches 116a and 116b,
An interrupt signal is sent to the interrupt control units 114b and 114a of other normal IPs via the signal lines 145a and 145b. The interrupt control units 114b and 114a control the signal line 144 according to the separate signal.
Instruct the normal IP execution control units 117b and a to generate an interrupt through the IP instruction execution units 112a and b through b and a.6 The IP instruction execution units 112a and b
Check the state of P at a certain point before the failure occurs (checkpoint)
checkpoint guarantee units 118a, b, and instruction execution control unit 117a.
bを有している。第4図にチェックポイント保証部の構
成例を示す。実行制御部は制御回路であり、その動作を
第5図に示す。第4図はIPlllaのチェックポイン
ト保証手段118aを示しているが、IPlllbにつ
いても同様である。It has b. FIG. 4 shows an example of the configuration of the checkpoint guarantee section. The execution control section is a control circuit, and its operation is shown in FIG. Although FIG. 4 shows the checkpoint guarantee means 118a of IPlla, the same applies to IPllb.
第4図において、実行制御部117aは信号線146a
−1,146a−2などを通じてチェックポイント保証
部の各要素を制御している。ここでは、動作の記述に必
要な146a−1,146a−2の二つの制御信号線の
みを示した。図において、411は信号線152a−1
を介して、MS 131からのデータがセットされるレ
ジスタ、412は演算器(ALU)413で演算する前
のデータをセットするためのレジスタ、413は演算器
、414は演算結果をセットするためのレジスタである
。415は命令により参照可能な汎用レジスタ群、41
6は汎用レジスタ群415への入力を選択するセレクタ
、417は演算前のデータを格納しておくレジスタ群で
ある。また、418は、演算前の格納データ417がリ
トライ可能なデータか、チェックポイント保証可能なデ
ータかを示す制御情報群であり、レジスタ群417と同
期して制御される。レジスタ群415のデータは、信号
線425を介してレジスタ412にセットされる。レジ
スタ411,412の内容は、演算器(ALU)413
で演算を行った後、信号線424を介して再びレジスタ
群415に書き込まれたり。In FIG. 4, the execution control unit 117a is connected to the signal line 146a.
-1, 146a-2, etc., each element of the checkpoint guarantee unit is controlled. Here, only two control signal lines 146a-1 and 146a-2 necessary for describing the operation are shown. In the figure, 411 is the signal line 152a-1
412 is a register for setting data before being operated on by the arithmetic unit (ALU) 413, 413 is an arithmetic unit, and 414 is a register for setting the arithmetic result. It is a register. 415 is a group of general-purpose registers that can be referenced by instructions; 41
6 is a selector that selects input to the general-purpose register group 415, and 417 is a register group that stores data before calculation. Further, 418 is a control information group indicating whether the stored data 417 before calculation is data that can be retried or data that can guarantee a checkpoint, and is controlled in synchronization with the register group 417. Data in register group 415 is set in register 412 via signal line 425. The contents of the registers 411 and 412 are stored in the arithmetic unit (ALU) 413.
After the calculation is performed, the data is written to the register group 415 again via the signal line 424.
信号線152a−2を介してMS131へ書き込まれた
りする。レジスタ群417は、レジスタ412の内容を
、命令実行ごとに退避するものであり、レジスタ群41
5の書き込み前(演算実行前)の内容が順に退避されて
いる。制御情報群418は、命令実行ごとにレジスタ群
417に退避されるデータがリトライ可能なデータか、
チェックポイント保証可能なデータかを示す情報であり
、実行制御部によって制御信号線146a−1を介して
レジスタ群417への退避と同期して順に退避されてい
る。It is written to the MS 131 via the signal line 152a-2. The register group 417 saves the contents of the register 412 every time an instruction is executed.
The contents of No. 5 before writing (before execution of calculation) are saved in order. The control information group 418 determines whether the data saved in the register group 417 each time an instruction is executed is data that can be retried.
This is information indicating whether the data can guarantee a checkpoint, and is sequentially saved by the execution control unit via the control signal line 146a-1 in synchronization with the save to the register group 417.
次にIPlllaにおいて障害が発生した場合の命令実
行部の動作について、第4図及び第5図を用いて説明す
る。本動作は、IPlllbで障害が発生した場合にも
同じである。Next, the operation of the instruction execution unit when a failure occurs in the IPlla will be explained using FIGS. 4 and 5. This operation is the same even when a failure occurs in IPlllb.
IPlllaで障害が発生すると、実行制御部117a
は信号$ 143 aを介して障害検出部113aより
その報告を受ける。そして、まず信号線146a−2を
介して障害発生直前の退避情報の状態を読み出し、退避
情報がリトライ可能か否かを判定する(ステップ501
)。リトライ不可能の場合には、リトライ失敗のマシン
チエツク割込み(PD)を発生させる制御を行なう。リ
トライ可能の場合には、信号線423を介して、レジス
タ群415にリトライ用のデータを回復するりトライリ
ストア処理を行い(ステップ502)、障害発生処理を
リトライする(ステップ503)。When a failure occurs in IPlla, the execution control unit 117a
receives the report from the failure detection unit 113a via the signal $143a. First, the state of the save information immediately before the failure occurs is read via the signal line 146a-2, and it is determined whether the save information can be retried (step 501).
). If retry is not possible, control is performed to generate a machine check interrupt (PD) indicating failure of retry. If retry is possible, the data for retry is restored to the register group 415 via the signal line 423, or a try restore process is performed (step 502), and the failure occurrence process is retried (step 503).
本実施例ではこのリトライの成功/不成功によって、障
害が固定障害か間欠故障かを判定する(ステップ504
)。発生した障害が固定障害か否かの判定は、この他に
、命令のりトライを複数回行っても同じ障害が発生する
ことで判断しても良いし、障害発生部位に対してテスト
を行なう方法で判断しても良い。障害が固定障害でない
場合には。In this embodiment, it is determined whether the failure is a fixed failure or an intermittent failure based on the success/failure of this retry (step 504).
). In addition to this, it is also possible to determine whether a fault that has occurred is a fixed fault by determining whether the same fault occurs even if the command is tried multiple times, or by testing the part where the fault occurs. You can judge by. If the disability is not a fixed disability.
処理のりトライは成功し、通常の命令実行処理が継続で
きる。The processing attempt is successful and normal instruction execution processing can be continued.
リトライが失敗するか、障害発生時に固定障害であるこ
とが判定できた場合には、次のように処理を行なう。ま
ず、信号線146a−2を介して障害発生前の退避情報
の状態を読み出し、障害発生前のあるチェックポイント
まで内部状態が戻せるかどうかを確実認する(ステップ
505)。チェックポイントが保証できないのは、MS
131の内容がすでに書き換えられているときや、ま
たは退避レジスタ417の内容からレジスタ群415を
回復できないときなどである。この時にはPD表示のマ
シンチエツク割込みを発生させる。チェックポイントの
保証が可能である場合には、第4図の退避レジスタ41
7の内容を信号線424゜セレクタ416を介し、レジ
スタ群415にチェックポイントが保証できるところま
で書き込む(ステップ506)。チェックポイント保証
が終了すると、信号IX 141 aを介してチェック
ポイント保証ラッチをセットする(ステップ507)。If the retry fails or if it is determined that the failure is a fixed failure when the failure occurs, the following processing is performed. First, the state of the saved information before the failure occurs is read out via the signal line 146a-2, and it is confirmed whether or not the internal state can be returned to a certain checkpoint before the failure occurred (step 505). What checkpoints cannot guarantee is that MS
131 has already been rewritten, or when the register group 415 cannot be recovered from the contents of the save register 417. At this time, a machine check interrupt for PD display is generated. If the checkpoint can be guaranteed, the save register 41 in FIG.
The contents of 7 are written to the register group 415 via the signal line 424° selector 416 until a checkpoint can be guaranteed (step 506). When the checkpoint guarantee ends, the checkpoint guarantee latch is set via signal IX 141a (step 507).
次に5C121内スキャンアウト制御部122に対して
信号線149aを介してスキャンアウト指示を出すくス
テップ508)。連絡を受けたキャンアウト制御部12
2では、通常のスキャン動作と同じく、第4図における
レジスタ群415の内容や、チェックポイント保証ラッ
チの状態を含む命令処理装置の内部状態を信号線150
a−1などにより読み出し、信号線151を介してMS
113へ格納する。読み出しと格納が終了すると、信号
線149aを通じてスキャンアウト終了を実行制御部1
17aに報告する。スキャンアウト終了を受は取った実
行制御部117aは、次に信号線148により自分以外
のIPの動作状態を確認する(ステップ509)。自分
以外に動作中のIPがある場合、信号線142aにより
チエツクストップラッチをセットしくステップ51o)
、命令の実行を停止しチエツクストップする。このチエ
ツクストップラッチのセットにより、信号線145aを
介して動作中の正常なIPであるIPlllbの割込み
制御部114bに誤動作警報割込み要求が連絡される。Next, a scan-out instruction is issued to the internal scan-out control unit 122 of the 5C 121 via the signal line 149a (step 508). Canout control unit 12 that received the notification
2, as in the normal scan operation, the internal state of the instruction processing device, including the contents of the register group 415 in FIG.
a-1 etc., and MS via the signal line 151.
113. When reading and storing are completed, the control unit 1 executes scan-out completion through the signal line 149a.
Report to 17a. The execution control unit 117a, which has received the completion of the scan-out, then checks the operating status of the IP other than itself via the signal line 148 (step 509). If there is an IP in operation other than your own, set the check stop latch using the signal line 142a (step 51o).
, stops execution of the instruction and performs a checkstop. By setting the check stop latch, a malfunction alarm interrupt request is communicated to the interrupt control unit 114b of the IPllb, which is an operating normal IP, via the signal line 145a.
自分以外に動作中のIPがない場合には、自分自身に対
してPD−Bマシンチエツクを発生させる。If there is no other IP in operation, a PD-B machine check is generated for itself.
第6図は、MS113上に格納されたIP内部情報の一
例である。内部情報61は、チェックポイント保証が成
功したか否かを示すチェックポイント保証ラッチの情報
611と、IPの内部状態であるプログラムから読み出
し可能なレジスタ類の情報612、タイマ類の情報61
3などから構成される。本情報が格納される領域は、あ
らかじめ命令処理装置ごとに設定された固定的領域でも
よいし、あらかしめ障害発生前に命令処理装置もしくは
スキャンアウト制御部122に対して指定してもよい。FIG. 6 is an example of IP internal information stored on the MS 113. The internal information 61 includes checkpoint guarantee latch information 611 indicating whether or not checkpoint guarantee was successful, information 612 on registers that can be read from the program, which is the internal state of the IP, and information 61 on timers.
It consists of 3 etc. The area in which this information is stored may be a fixed area set in advance for each instruction processing device, or may be specified to the instruction processing device or scanout control unit 122 before a failure occurs.
また、スキャンアウトなどにより専用的に使用される領
域を設定し、その中に格納しても良い。ただし、その場
合には、格納した情報をソフトウアアが読み出すための
手段が必要である。Alternatively, an area used exclusively for scan-out may be set and the data may be stored therein. However, in that case, a means for the software to read the stored information is required.
次に、IPlllbの実行制御部117bが誤動作警報
割込みを受は付けた時の動作の一例を第7図を用いて説
明する。誤動作警報割込みを受は付けると、O8はMS
131内に格納されたIPの内部状態を読み出しくステ
ップ701)、チェックポイント保証の有無をテストす
る(ステップ702)。チェックポイントが保証されて
おり、障害発生前のIP内部情報が格納されている場合
には、格納されているIPlllaの内部情報を読み出
し、実行中であった処理が継続実行できるように、タス
ク制御情報の形に編集しくステップ703)、該タスク
が継続実行されるよう、しかるべきレディタスクキュー
に登録する(ステップ704)、キュー登録されると、
通常のタイムスライス制御などにおいてレディ状態とな
ったタスクや、Iloが完了したI10待ちタスクと同
じく、順にディスパッチされ、実行される。チェックポ
イントが保証されていない場合には、IPlllaの内
部情報は退避されておらず、処理継続が不可能なので、
従来の誤動作警報割込み発生時に行なわれていた処理と
同じく、IpH1aで障害発生時に行われていた処理を
異常終了させる(ステップ705)。Next, an example of the operation when the execution control unit 117b of IPllb accepts or accepts a malfunction alarm interrupt will be described with reference to FIG. When the malfunction alarm interrupt is accepted, the O8
The internal state of the IP stored in 131 is read (step 701), and the presence or absence of checkpoint guarantee is tested (step 702). If a checkpoint is guaranteed and the IP internal information before the failure is stored, task control is performed to read the stored IPlla internal information and continue executing the process that was being executed. The task is edited in the form of information (Step 703), and registered in the appropriate ready task queue for continued execution (Step 704). Once registered in the queue,
Like tasks that become ready in normal time slice control or tasks that wait for I10 after Ilo is completed, they are dispatched and executed in order. If the checkpoint is not guaranteed, the internal information of IPlla has not been saved and it is impossible to continue processing.
Similar to the process that was performed when a conventional malfunction alarm interrupt occurred, the process that was being performed when a failure occurred in IpH 1a is abnormally terminated (step 705).
以上のソフトウェアによる処理は、IPlllbで行わ
れるので、処理継続可能な状態が保証され、処理継続を
行なう場合でも、処理継続不可能で異常終了処理を行な
う場合でも、再度障害が発生することはない。Since the above software processing is performed in IPllllb, it is guaranteed that the process can continue, and even if the process is continued, or if it is not possible to continue and abnormally terminated, the failure will not occur again. .
本実施例では、チェックポイント保証の表示子としてハ
ードウェアラッチを設け、その状態をMSに格納する方
法を採用した。ハードウェアラッチの代わりに、直接M
Sに書き込む、処理継続を行うIPがラッチの状態を直
接読むなどの方法であっても、チェックポイント保証表
示子の値が処理を継続するIPからテスト可能であれば
よい。In this embodiment, a method is adopted in which a hardware latch is provided as an indicator of checkpoint guarantee and its state is stored in the MS. Direct M instead of hardware latch
Even if the IP that continues processing writes to S or directly reads the state of the latch, it is sufficient if the value of the checkpoint guarantee indicator can be tested from the IP that continues processing.
また、処理継続する命令処理装置において本実施例では
タスク制御情報を作成しているが、処理の継続実行が可
能な他の制御方法でも良い。Further, although task control information is created in this embodiment in an instruction processing device that continues processing, other control methods that allow continuous execution of processing may be used.
以上の説明から明らかなように、本発明によれば、主記
憶装置を共有するマルチプロセッサシステムにおいて、
ある命令処理装置で固定障害が発生したとき、チェック
ポイントを保証して割込みを他の正常な命令処理装置に
報告し、中断した処理を正常な命令処理装置で継続実行
させる処理継続のための動作が、最小のハードウェア量
の増加で、従来の機構を利用して容易に、安価に、さら
にマルチプロセッサにおいて一台の命令処理装置のみが
動作中の場合でも信頼性を低下させることなく可能とな
るという効果がある。As is clear from the above description, according to the present invention, in a multiprocessor system that shares a main memory,
When a fixed failure occurs in a certain instruction processing device, a checkpoint is guaranteed, the interrupt is reported to another normal instruction processing device, and the interrupted processing is continued to be executed by the normal instruction processing device. However, it is possible to easily and inexpensively use a conventional mechanism with a minimum increase in the amount of hardware, and without reducing reliability even when only one instruction processing unit is operating in a multiprocessor. It has the effect of becoming.
第1図は本発明の一実施例を適用したマルチプロセッサ
システムの構成を示すブロック図、第2図はチェックポ
イントの説明図、第3図は従来のシステムにおける命令
処理装置の構成を示すブロック図、第4図は命令実行部
内チェックポイント保証部の構成例を示す構成図、第5
図は命令の実行制御部における障害処理時の処理の流れ
図、第6図はIP内部情報の一例を示す説明図、第7図
は割込みを受は取った正常な命令処理装置の行なう処理
の流れ図である。
13・主記憶装置、21〜24・命令、61・IP内部
情報例、1lla、b・・・命令処理装置、112a、
b・命令実行部、113a、b−障害検出部、114a
、b−割込み制御部、115a。
b・・・チェックポイント保証ラッチ、116a、bチ
エツクストップラッチ、117a、b 実行制御部、
118a、b・・チェックポイント保証部、121 ・
システム制御装置、122・・スキャンアウト制御部、
411,412,414・・・レジスタ、413・・・
演算装置、415・・汎用レジスタ群、η
図
第
纂
は
憤
■
■
区FIG. 1 is a block diagram showing the configuration of a multiprocessor system to which an embodiment of the present invention is applied, FIG. 2 is an explanatory diagram of checkpoints, and FIG. 3 is a block diagram showing the configuration of an instruction processing device in a conventional system. , FIG. 4 is a configuration diagram showing an example of the configuration of the checkpoint guarantee section in the instruction execution section, and FIG.
Figure 6 is a flowchart of processing when handling a failure in the instruction execution control unit, Figure 6 is an explanatory diagram showing an example of IP internal information, and Figure 7 is a flowchart of processing performed by a normal instruction processing device that receives and takes an interrupt. It is. 13・Main storage device, 21 to 24・Instruction, 61・IP internal information example, 1lla, b...Instruction processing device, 112a,
b-Instruction execution unit, 113a, b-fault detection unit, 114a
, b-interrupt control unit, 115a. b... Checkpoint guarantee latch, 116a, b Checkstop latch, 117a, b Execution control unit,
118a, b...Checkpoint guarantee department, 121 ・
System control device, 122... scanout control unit,
411, 412, 414... register, 413...
Arithmetic unit, 415...General-purpose register group, η
Claims (1)
り共有される主記憶装置とを有するマルチプロセッサシ
ステムにおいて、命令処理装置の障害を検出して障害発
生時の当該命令処理装置の状態を障害発生前のある時点
(チェックポイント)の状態へ戻す手段と、命令処理装
置の内部状態を主記憶装置へ退避する手段と、障害発生
の事実を他の動作中の命令処理装置の少なくとも一つに
連絡する手段と、記憶装置に退避された障害発生命令処
理装置の内部情報を読み出し、処理する手段とを有し、
各命令処理装置は障害発生時、障害発生前の上記時点の
状態を保証し、保証可能であったならば該状態を主記憶
装置へ退避した後、他の命令処理装置へ連絡し、連絡を
受けた他の命令処理装置は、記憶装置に退避された障害
発生命令処理装置の内部情報を読み出し、前記内部情報
を用いて処理続行のための制御情報を作成し、障害発生
命令処理装置で障害により中断された処理を継続実行す
ることを特徴とする処理の実行継続方式。 2、前記他の命令処理装置への連絡に、割込み手段を利
用することを特徴とする請求項1記載の処理の実行継続
方式。 3、前記障害発生命令処理装置の内部情報を読み出し、
前記内部情報を用いて処理続行のための制御情報を作成
するプログラムを有することを特徴とする請求項1ない
し2記載の処理の実行継続方式。 4、前記命令処理装置の内部状態を主記憶装置へ退避す
る際、スキャン回路を利用することを特徴とする請求項
1ないし3記載の処理の実行継続方式。 5、前記障害発生命令処理装置の内部情報に、障害発生
直前の前記時点状態が保証されていることを示す表示子
を設けることを特徴とする請求項1ないし請求項4記載
の処理の実行継続方式。 6、前記他の命令処理装置へ連絡を行う際、自命令処理
装置以外に動作しているプロセッサが少なくとも一つあ
る場合にのみ他の命令処理装置へ連絡することを特徴と
する請求項1ないし5記載の処理の実行継続方式。[Claims] 1. In a multiprocessor system having a plurality of instruction processing devices and a main memory shared by the plurality of instruction processing devices, a failure in the instruction processing device is detected and the corresponding means for returning the state of the instruction processing unit to the state at a certain point in time (checkpoint) before the failure occurred; means for saving the internal state of the instruction processing unit to the main memory; comprising means for communicating with at least one of the processing devices, and means for reading and processing internal information of the failed instruction processing device saved in the storage device;
When a failure occurs, each instruction processing device guarantees the state at the time mentioned above before the failure occurs, and if it can be guaranteed, saves the state to the main storage, and then contacts other instruction processing devices. The other instruction processing device that received the instruction reads the internal information of the faulty instruction processing device that has been saved in the storage device, uses the internal information to create control information for continuing processing, and resolves the fault in the faulty instruction processing device. A process execution continuation method characterized by continuing execution of a process that has been interrupted. 2. The process execution continuation method according to claim 1, wherein an interrupt means is used to communicate with the other instruction processing device. 3. Read internal information of the failure instruction processing device;
3. The process execution continuation method according to claim 1, further comprising a program that uses the internal information to create control information for continuing the process. 4. The process execution continuation method according to claim 1, wherein a scan circuit is used when saving the internal state of the instruction processing device to the main memory. 5. Continuation of execution of the process according to any one of claims 1 to 4, characterized in that the internal information of the failure instruction processing device is provided with an indicator indicating that the state at the time immediately before the failure is guaranteed. method. 6. When contacting the other instruction processing device, the other instruction processing device is contacted only when there is at least one operating processor other than the own instruction processing device. Method for continuing execution of the process described in 5.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2135200A JP2922981B2 (en) | 1990-05-28 | 1990-05-28 | Task execution continuation method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2135200A JP2922981B2 (en) | 1990-05-28 | 1990-05-28 | Task execution continuation method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0430224A true JPH0430224A (en) | 1992-02-03 |
| JP2922981B2 JP2922981B2 (en) | 1999-07-26 |
Family
ID=15146191
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2135200A Expired - Fee Related JP2922981B2 (en) | 1990-05-28 | 1990-05-28 | Task execution continuation method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2922981B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012059098A (en) * | 2010-09-10 | 2012-03-22 | Nec Commun Syst Ltd | Information processing system and information processing method |
-
1990
- 1990-05-28 JP JP2135200A patent/JP2922981B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012059098A (en) * | 2010-09-10 | 2012-03-22 | Nec Commun Syst Ltd | Information processing system and information processing method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2922981B2 (en) | 1999-07-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0505706B1 (en) | Alternate processor continuation of the task of a failed processor | |
| US4045661A (en) | Apparatus for detecting and processing errors | |
| JPH0950424A (en) | Dump collection device and dump collection method | |
| US5742851A (en) | Information processing system having function to detect fault in external bus | |
| JP2003015900A (en) | Tracking multiplexing system and data processing method for improving reliability by tracking | |
| RU2431182C2 (en) | Method, operating system and computer device for executing computer programme | |
| JPH09251443A (en) | Information processing system processor failure recovery processing method | |
| JPH02294739A (en) | Fault detecting system | |
| JPH0430224A (en) | Execution continuing system for processing | |
| JP3423732B2 (en) | Information processing apparatus and failure processing method in information processing apparatus | |
| JPH07183891A (en) | Computer system | |
| KR100313712B1 (en) | Fault-Based Software Fault Tolerance for Redundant Processors | |
| JP2776815B2 (en) | Failure recovery method for multiprocessor system | |
| JPS6128141B2 (en) | ||
| JPS62113241A (en) | Fault recovery device | |
| JP3539687B2 (en) | Processor dual-processing information processor | |
| JPS6341943A (en) | Error restoring system for logic unit | |
| JPH04211841A (en) | Duplex processor | |
| JPS63136142A (en) | Error recovery system for logical unit | |
| JPS6258344A (en) | Fault recovering device | |
| JPS6272038A (en) | Testing method for program runaway detecting device | |
| JPS635779B2 (en) | ||
| JPH10254723A (en) | Redundant computer system | |
| JPS62172436A (en) | Error recovery system for logical unit | |
| JPH03233734A (en) | Fault resistance control system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |