JPH01233532A - Trace control system in multi-processor system - Google Patents

Trace control system in multi-processor system

Info

Publication number
JPH01233532A
JPH01233532A JP63059325A JP5932588A JPH01233532A JP H01233532 A JPH01233532 A JP H01233532A JP 63059325 A JP63059325 A JP 63059325A JP 5932588 A JP5932588 A JP 5932588A JP H01233532 A JPH01233532 A JP H01233532A
Authority
JP
Japan
Prior art keywords
trace
fault
trace buffer
dump
ipu
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
JP63059325A
Other languages
Japanese (ja)
Inventor
Shigenori Koyata
小谷田 重則
Mitsuo Sakurai
櫻井 三男
Nobuyoshi Sato
信義 佐藤
Ichiro Nakano
中野 伊智郎
Yoshiro Hirai
平井 義郎
Masahiro Ikeda
昌弘 池田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63059325A priority Critical patent/JPH01233532A/en
Publication of JPH01233532A publication Critical patent/JPH01233532A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To quickly analyze a fault and to improve the reliability by outputting stored data of a trace buffer in case of a dump output at the time when a fault has been generated. CONSTITUTION:A trace buffer 5 for storing the data for detecting an interruption is provided in a system control processor 2, and in case of a dump output at the time when a fault has been generated, the stored data of the trace buffer 5 is outputted. In such a way, a fault analysis can be executed without executing newly a reproducing test, and the fault can be settled in an early state.

Description

【発明の詳細な説明】 〔概 要〕 複数の命令制御プロセッサ(以下IPUと略称)、一つ
のシステム制御プロセッサ(以下SPUと略称)、主記
憶装置、および入出力装置を具備するマルチプロセッサ
システムにおいて障害が発生した際にその追跡をするた
めのトレース制御方式に関し、 障害解析が迅速にでき、障害に関する対応および対策が
早急に実現でき、それにより、信頼性の高いシステムを
得ることを目的とし、 複数の命令制御を行うIPUと、システム全体の制御を
行う1つのSPUと、主記憶装置と、入出力装置とを具
備するマルチプロセッサシステムにおけるトレース制御
方式に右いて、前記SPU内に、割込み検出時のデータ
を格納するトレースバッファ(以下TBと略称)を設け
、障害発生時のダンプ出力に際し、前記TBの格納デー
タを出力し、障害解析を迅速に行うように構成する。
[Detailed Description of the Invention] [Summary] In a multiprocessor system comprising a plurality of instruction control processors (hereinafter abbreviated as IPU), one system control processor (hereinafter abbreviated as SPU), a main storage device, and an input/output device. Regarding the trace control method for tracking failures when they occur, the aim is to quickly analyze failures, quickly implement responses and countermeasures for failures, and thereby obtain a highly reliable system. In a trace control method in a multiprocessor system that includes an IPU that controls multiple instructions, one SPU that controls the entire system, a main storage device, and an input/output device, interrupt detection is performed in the SPU. A trace buffer (hereinafter abbreviated as TB) for storing data at the time of failure is provided, and when a dump is output when a failure occurs, the data stored in the TB is output and the failure analysis is performed quickly.

〔産業上の利用分野〕[Industrial application field]

本発明は複数のIPU、1つの5PtJ、主記憶装置、
および入出力装置を具備するマルチプロセッサシステム
において障害が発生した際にその追跡をするためのトレ
ース制御方式に関する。
The present invention includes multiple IPUs, one 5PtJ, main memory,
The present invention also relates to a trace control method for tracing failures when they occur in multiprocessor systems equipped with input/output devices.

〔従来の技術〕[Conventional technology]

第2図に示すような複数のIPU、SPU、主記憶装置
、および入出力装置(■0)で構成されるマルチプロセ
ッサシステムにおいて、障害が発生した際、その障害解
析手段の1つとしてトレース情報が用いられる。
When a failure occurs in a multiprocessor system consisting of multiple IPUs, SPUs, main storage devices, and input/output devices (■0) as shown in Figure 2, trace information is used as one means of failure analysis. is used.

従来は、トレース情報の採取手段としてトレースをする
付加装置を取り付けたり、トレースプログラムを付加し
、再現テストによりその障害解析を行っている。第7図
に従来方式の障害解析手順が示される。
Conventionally, as a means for collecting trace information, an additional device for tracing is attached, a tracing program is added, and failure analysis is performed through reproduction tests. FIG. 7 shows a conventional failure analysis procedure.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

前述のような現状においては、障害解析に多大な時間を
必要としたり、付加装置およびトレースプログラムを適
用すると障害が現れなくなり(例えばタイミングで発生
する障害等)、原因の究明ができない等、多くの解決す
べき課題がある。
In the current situation as described above, there are many problems such as requiring a large amount of time to analyze a fault, or applying an additional device and trace program to the fault, which makes it impossible to identify the cause (for example, a fault that occurs due to timing). There are issues to be solved.

本発明の目的は、障害解析が迅速にでき、障害に関する
対応および対策が早急に実現でき、それにより、信頼性
の高いシステムを得ることにある。
An object of the present invention is to provide a highly reliable system in which failure analysis can be performed quickly and failure-related responses and countermeasures can be quickly realized.

〔課題を解決するための手段〕[Means to solve the problem]

本発明においては、第1図に例示されるように、複数の
命令制御を行うlPt11と、システム全体の制御を行
う1つのSPU 2と、主記憶装置3と、入出力装置4
とを具備するマルチプロセッサシステムにおけるトレー
ス制御方式において、前記5PIJ2内に、割込み検出
時のデータを格納するTBSを設け、障害発生時のダン
プ出力に際し、前記TB5の格納データを出力し、障害
解析を迅速に行うことを特徴とするマルチプロセッサシ
ステムにおけるトレース制御方式が提供される。
In the present invention, as illustrated in FIG.
In a trace control method for a multiprocessor system, the 5PIJ2 is provided with a TBS for storing data at the time of interrupt detection, and when outputting a dump when a failure occurs, the data stored in the TB5 is output and the failure analysis is performed. A trace control method in a multiprocessor system is provided that is characterized by rapid execution.

〔作 用〕[For production]

前述のように、本発明では、TB5をSPU 2内に設
け、IPU 1からの割込みタイミングをトレースし、
データをTB5に格納し、障害発生時の障害解析手段の
ダンプ機能によりトレース情報を取り出す。これにより
新たに再現テストを行わせることなく、障害解析を実行
でき、障害の早期解決が可能となる。
As described above, in the present invention, TB5 is provided in SPU 2, traces the interrupt timing from IPU 1,
Data is stored in TB5, and trace information is extracted by the dump function of the failure analysis means when a failure occurs. This allows failure analysis to be performed without conducting new reproduction tests, and enables early resolution of failures.

〔実施例〕〔Example〕

本発明の一実施例としてのマルチプロセッサシステムに
おけるトレース制御方式が第1図、第3図、第4図、第
5図、および第6図を参照して説明される。
A trace control method in a multiprocessor system as an embodiment of the present invention will be explained with reference to FIGS. 1, 3, 4, 5, and 6.

本実施例のシステムは、第1図に示されるように、複数
(3個)のIPU 1 、TB Sを有するSPU 2
、主記憶装置3、および複数の入出力装置4を具備する
As shown in FIG. 1, the system of this embodiment includes a plurality of (three) IPU 1 and SPU 2 having TBS.
, a main storage device 3, and a plurality of input/output devices 4.

IPUI、5PU2、および主記憶装置3はバスで接続
され、入出力装置4は5Ptl 2と接続される。
The IPUI, 5PU2, and main storage device 3 are connected by a bus, and the input/output device 4 is connected to 5Ptl2.

複数のIP[I 1からSPU 2に対する割込み信号
は、1本に集約され、論理和が求められてSP[I 2
に通知されるためSPU 2に対するIPU割込みは並
列制御されることはない。
Interrupt signals from multiple IP[I 1 to SPU 2 are aggregated into one signal, and the logical OR is calculated to generate SP[I 2
Since the IPU interrupts to SPU 2 are notified to SPU 2, they are not controlled in parallel.

第3図には実施例の障害解析手順を示す流れ図が示され
る。すなわち、障害が発生すると、まずメモリダンプ処
理が行われる。ここにダンプとは記憶装置のある部分の
内容の一部または全部を別の部分にプログラムによって
移しかえることを言う。次いで障害発生通知がなされ、
読み出されたTB5からのデータのIPU番号と実行命
令を解析する(メモリダンプ解析ステップ)。これによ
り原因が判明しない場合は分岐し別途原因の解析を行う
。原因が判明した時はそれに応じた対策をとる。
FIG. 3 shows a flowchart showing the failure analysis procedure of the embodiment. That is, when a failure occurs, memory dump processing is first performed. Here, dumping refers to transferring part or all of the contents of one part of a storage device to another part by a program. Next, a failure notification is issued,
The IPU number and execution command of the data read from TB5 are analyzed (memory dump analysis step). If the cause cannot be determined by this, the process branches and the cause is analyzed separately. When the cause is identified, appropriate measures will be taken.

第4図には実施例の割込み処理におけるトレースデータ
格納の処理過程の流れ図が示される。まずIPUからの
割込みが行われると、割込み処理が実行され、次いで追
加ロジックとして、TB5の領域内へIPU番号セット
およびIPU制御情報セットが行われる。その後、依頼
処理の実行に進む。
FIG. 4 shows a flowchart of the trace data storage process in the interrupt processing of the embodiment. First, when an interrupt is issued from the IPU, interrupt processing is executed, and then, as additional logic, an IPU number and IPU control information are set into the area of TB5. Thereafter, the process proceeds to execution of the request process.

第5図にはTB5のデータ格納のフォーマットが例示さ
れる。IPU割込み時、トレースバッファポインタアド
レスに従って、そのバッファ上にIPU番号、[’U制
御情報を格納し、トレースバッファアドレスが最終であ
るか比較し、最終の時、トレースバッファポインタアド
レスに先頭トレースバッファアドレス(A)を入れる。
FIG. 5 exemplifies the format of data storage in TB5. When an IPU interrupts, store the IPU number and ['U control information in the buffer according to the trace buffer pointer address, compare whether the trace buffer address is final, and when the trace buffer address is final, set the first trace buffer address to the trace buffer pointer address. Insert (A).

第4図の追加ロジックを通ることにより、タイミング的
にどのIPUがどのような処理をしたかが判別できる。
By passing through the additional logic shown in FIG. 4, it is possible to determine which IPU has performed what processing in terms of timing.

第6図には障害発生時のダンプ処理の流れ図が示される
。この処理においては、障害発生時のダンプフローにT
B領領域データを第5図に示される(S)から(B)ま
でダンプするロジックが追加される。第6図における工
0制御メモリダンプステップはデイスプレィ装置等に表
示するためのステップである。
FIG. 6 shows a flowchart of dump processing when a failure occurs. In this process, the dump flow when a failure occurs is T
Logic is added to dump the B area data from (S) to (B) shown in FIG. The process zero control memory dump step in FIG. 6 is a step for displaying on a display device or the like.

前述のように、第4図および第6図に示される追加ロジ
ックを設けることにより、第3図の実施例の障害解析手
順を実現できる。
As mentioned above, by providing the additional logic shown in FIGS. 4 and 6, the failure analysis procedure of the embodiment of FIG. 3 can be implemented.

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

本発明によれば、トレースバッファをダンプ出力して障
害解析が迅速にでき、障害に関する対応および対策が早
急に処置でき、それにより、信頼性の高いマルチプロセ
ッサシステムを得ることができる。
According to the present invention, a trace buffer can be dumped and a fault can be analyzed quickly, and countermeasures and countermeasures can be taken quickly, thereby making it possible to obtain a highly reliable multiprocessor system.

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

第1図は本発明の構成を示すブロック図、第2図は本発
明の適用されるマルチプロセッサシステムのブロック図
、 第3図は本発明の実施例の障害解析手順を示す図、 第4図は実施例の割込み処理のトレースデータ格納処理
の流れ図、 第5図は実施例のトレースバッファの格納フォーマット
を示す図、 第6図は実施例の障害発生におけるダンプ処理の流れ図
、および 第7図は従来例の障害解析手順を示す流れ図である。 図において、 1・・・IPU、      2・・・SPU。 3・・・主記憶装置、   4・・・入出力装置、5・
・・TBo
FIG. 1 is a block diagram showing the configuration of the present invention, FIG. 2 is a block diagram of a multiprocessor system to which the present invention is applied, FIG. 3 is a diagram showing a failure analysis procedure in an embodiment of the present invention, and FIG. is a flowchart of trace data storage processing for interrupt processing in the embodiment, FIG. 5 is a diagram showing the storage format of the trace buffer in the embodiment, FIG. 6 is a flowchart of dump processing in the event of a failure in the embodiment, and FIG. It is a flowchart which shows the failure analysis procedure of a conventional example. In the figure, 1...IPU, 2...SPU. 3... Main storage device, 4... Input/output device, 5.
・TBo

Claims (1)

【特許請求の範囲】[Claims] 複数の命令制御を行う命令制御プロセッサ(1)と、シ
ステム全体の制御を行う1つのシステム制御プロセッサ
(2)と、主記憶装置(3)と、入出力装置(4)とを
具備するマルチプロセッサシステムにおけるトレース制
御方式において、前記システム制御プロセッサ(2)内
に、割込み検出時のデータを格納するトレースバッファ
(5)を設け、障害発生時のダンプ出力に際し、前記ト
レースバッファ(5)の格納データを出力し、障害解析
を迅速に行うことを特徴とするマルチプロセッサシステ
ムにおけるトレース制御方式。
A multiprocessor that includes an instruction control processor (1) that controls multiple instructions, one system control processor (2) that controls the entire system, a main storage device (3), and an input/output device (4). In the trace control method in the system, a trace buffer (5) is provided in the system control processor (2) to store data at the time of interrupt detection, and when outputting a dump when a failure occurs, the data stored in the trace buffer (5) is A trace control method for multiprocessor systems that outputs and quickly performs failure analysis.
JP63059325A 1988-03-15 1988-03-15 Trace control system in multi-processor system Pending JPH01233532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63059325A JPH01233532A (en) 1988-03-15 1988-03-15 Trace control system in multi-processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63059325A JPH01233532A (en) 1988-03-15 1988-03-15 Trace control system in multi-processor system

Publications (1)

Publication Number Publication Date
JPH01233532A true JPH01233532A (en) 1989-09-19

Family

ID=13110089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63059325A Pending JPH01233532A (en) 1988-03-15 1988-03-15 Trace control system in multi-processor system

Country Status (1)

Country Link
JP (1) JPH01233532A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5533288A (en) * 1978-08-31 1980-03-08 Fujitsu Ltd Hysteresis recording control system of multi-processor system
JPS5697155A (en) * 1979-12-29 1981-08-05 Fujitsu Ltd Multidata processing system
JPS5872256A (en) * 1981-10-26 1983-04-30 Toshiba Corp Recording system for operation
JPS62175848A (en) * 1986-01-30 1987-08-01 Mitsubishi Electric Corp Monitor system for input and output action of data processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5533288A (en) * 1978-08-31 1980-03-08 Fujitsu Ltd Hysteresis recording control system of multi-processor system
JPS5697155A (en) * 1979-12-29 1981-08-05 Fujitsu Ltd Multidata processing system
JPS5872256A (en) * 1981-10-26 1983-04-30 Toshiba Corp Recording system for operation
JPS62175848A (en) * 1986-01-30 1987-08-01 Mitsubishi Electric Corp Monitor system for input and output action of data processing system

Similar Documents

Publication Publication Date Title
JPH01233532A (en) Trace control system in multi-processor system
JPH1115661A (en) Self-diagnosis method for cpu
JPH0581087A (en) Processor monitoring system
JPH036618A (en) Abnormality detecting circuit for stack pointer
JPS59111551A (en) Operation recorder
JP2665173B2 (en) Processor trap circuit
JPH07230432A (en) Calculating device
JPS63193260A (en) Host processor monitoring system for loosely coupled multiprocessor system
JPH0335327A (en) Majority decision fault processor
JP2000112907A (en) Multi-processor device and operation recording method
JPH0341528A (en) Diagnostic device in computer
JPH02297225A (en) Microprocessor
JPS6073756A (en) Program tracer
JPS62166449A (en) History storage device for logical unit
JPS63193241A (en) Information processor
JPS6111855A (en) Function diagnosing method of data processor
JPH05324396A (en) Program traveling history recording system
JPS62166451A (en) History analyzing device for logical unit
JPS605355A (en) Program route recording device
JPS60100230A (en) Real-time inspecting device for main storage part
JPS6284354A (en) Trace instruction controlling system
JPH01199238A (en) Data processor
JPS63292244A (en) Pseudo fault generating system
JPS60252960A (en) Program analysis controlling system
JPS61269746A (en) Information processor