JPH02224149A - Information processor - Google Patents

Information processor

Info

Publication number
JPH02224149A
JPH02224149A JP1045881A JP4588189A JPH02224149A JP H02224149 A JPH02224149 A JP H02224149A JP 1045881 A JP1045881 A JP 1045881A JP 4588189 A JP4588189 A JP 4588189A JP H02224149 A JPH02224149 A JP H02224149A
Authority
JP
Japan
Prior art keywords
stall
processor
epu
unit
iop
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
JP1045881A
Other languages
Japanese (ja)
Inventor
Izuyuki Uehara
上原 出之
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP1045881A priority Critical patent/JPH02224149A/en
Publication of JPH02224149A publication Critical patent/JPH02224149A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To quickly detect a stall state and to improve the processing efficiency of a system by recognizing the stall state if a memory access request is not generated within a short fixed time. CONSTITUTION:An element processor unit(EPU) 1, an I/O processor(IOP) 2, a main memory unit(MMU) 3, a system control unit(SCU) 4, and a diagnostic processor(DGP) 6 are connected to a system bus 5 and a stall detecting circuit 10 is connected correspondingly to the EPU 1 and the IOP 2. When a memory access request is generated from the EPU 1 and IOP 2 which are processors to the MMU 3, the circuit 10 starts the counting of machine cycles or their corresponding values, and when the count value exceeds a fixed value, recognizes that the corresponding processor is a stall state. Consequently, the stall state of the system can be quickly detected and the processing efficiency of the system can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理に利用する。本発明は処理装置の障害
検出に関し、特に処理装置がハードウェア異常、プログ
ラム異常などによってストール状態になったことを検出
するストールの検出に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is used for information processing. The present invention relates to fault detection in a processing device, and more particularly to stall detection for detecting that a processing device is in a stalled state due to a hardware abnormality, program abnormality, or the like.

〔概要〕〔overview〕

本発明は一つのシステムバスに、少なくとも一つ以上の
主記憶装置と処理装置が接続された情報処理装置におい
て、 処理装置から主記憶装置アクセス要求が発行されたとき
に計数を開始し、その計数値が一定値以上になったとき
に対応する処理装置がストール状態にあることを認識す
ることにより、 システムの処理効率を高め、ストールになったときの状
態をハードウェア側から把握し、ストール検出能力を高
めるようにしたものである。
The present invention, in an information processing device in which at least one main storage device and a processing device are connected to one system bus, starts counting when a main storage device access request is issued from the processing device, and performs the counting. By recognizing that the corresponding processing unit is in a stall state when the numerical value exceeds a certain value, the processing efficiency of the system is increased, and the state when a stall occurs is understood from the hardware side, and stall detection is performed. It is designed to improve abilities.

〔従来の技術〕[Conventional technology]

従来のストール検出は各処理装置内部で計数手段を持ち
、一つのソフトウェア命令の処理が一定時間内に完了し
ない場合にストール状態として認識していた。
In conventional stall detection, each processing device has a counting means, and if processing of one software instruction is not completed within a certain period of time, it is recognized as a stall state.

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

上述した従来のストール状態の検出は、ソフトウェア命
令の処理によっては一つのソフトウェア命令が非常に長
いファームウェア実行時間をともなうものがあり、従っ
てストール状態として判断するための時間設定を大きな
値にしなければならなかった。
In the conventional stall state detection described above, depending on the software instruction processing, one software instruction may require a very long firmware execution time, so the time setting for determining a stall state must be set to a large value. There wasn't.

このため、ストール状態が検出されるのはストールの契
機となった時刻からかなりのマシンサイクルを経た後で
あるためストール状態の契機となった情報がハードウェ
アトレーサなどに残らない欠点があった。
For this reason, the stall state is detected only after a considerable number of machine cycles have passed since the time when the stall occurred, so there is a drawback that information about the stall state is not retained in a hardware tracer or the like.

また、マルチプロセッサなどで他のプロセッサからの通
信要求を処理中にストール状態におち入った場合などは
、処理依頼プロセッサとしては処理要求プロセッサのス
トール検出までの時間が長くかかるため処理要求プロセ
ッサの障害状態か否かの判断に時間を要し、システム全
体の処理効率をおとすばかりでなく、ストール検出まで
の時間が長いために他のプロセッサシステムダウンを引
き起こすことになりかねない問題があった。
In addition, if a multiprocessor etc. enters a stall state while processing communication requests from other processors, it may take a long time for the processing requesting processor to detect the stall, resulting in a failure of the processing requesting processor. There is a problem in that it takes time to determine whether the system is in a state or not, which not only reduces the processing efficiency of the entire system, but also causes other processor systems to go down because it takes a long time to detect a stall.

さらに、ストール検出手段を自らの処理装置内に持って
いるためストールの原因によってはストール検出手段が
正常に動作しない場合もあり得るためにストール検出が
十分に行われない問題があった。
Furthermore, since the stall detection means is included in its own processing device, there is a possibility that the stall detection means may not operate normally depending on the cause of the stall, so there is a problem that stall detection is not performed satisfactorily.

本発明はこのような欠点を除去するもので、システム処
理効率を高め、ストールになったときの状態をハードウ
ェア側からみることができ、ストール検出能力を高める
ことができる装置を提供することを目的とする。
The present invention aims to eliminate these drawbacks, and provides a device that can improve system processing efficiency, enable the status of a stall to be seen from the hardware side, and improve stall detection ability. purpose.

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

本発明は、一つのシステムバスに、少なくトモ−つ以上
の主記憶装置と処理装置が接続された情報処理装置にお
いて、それぞれの前記処理装置に、前記主記憶装置に対
応して、前記処理装置から前記主記憶装置にアクセス要
求が発行されたときからマシンサイクルまたはマシンサ
イクルに対応する信号の計数をする手段と、この計数手
段が一定値以上になったときにストール状態であること
を認識する手段とを含むストール検出回路を備えたこと
を特徴とする。
The present invention provides an information processing device in which at least two or more main storage devices and processing devices are connected to one system bus, in which each of the processing devices is provided with a means for counting machine cycles or signals corresponding to machine cycles from the time when an access request is issued to the main storage device, and recognizing a stall state when this counting means exceeds a certain value. The present invention is characterized by comprising a stall detection circuit including means.

〔作用〕[Effect]

主記憶装置および処理装置に対応して備えられたストー
ル検出回路が処理装置から主記憶装置にアクセス要求が
発行されたときにマシンサイクルまたはその対応値の計
数を開始し、計数値が一定値以上になったときに対応す
る処理装置をストール状態であると認識する。
A stall detection circuit provided corresponding to the main storage device and the processing device starts counting machine cycles or their corresponding values when the processing device issues an access request to the main storage device, and the counted value exceeds a certain value. When this occurs, the corresponding processing device is recognized as being in a stalled state.

これにより、システムのストール状態を早期に発見して
システム処理効率を高めることができ、またストール検
出時にハードウェア側からストールになったときの状態
を把握することができ、さらにストール検出能力を高め
ることができる。
This makes it possible to detect system stall conditions early and improve system processing efficiency. Also, when a stall is detected, the hardware side can understand the stall condition, further improving stall detection ability. be able to.

〔実施例〕〔Example〕

次に、本発明実施例を図面に基づいて説明する。 Next, embodiments of the present invention will be described based on the drawings.

第1図は本発明実施例の全体構成を示すブロック図、第
2図は本発明実施例のストール検出回路の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing the overall structure of an embodiment of the present invention, and FIG. 2 is a block diagram showing the structure of a stall detection circuit according to the embodiment of the present invention.

本発明実施例は、システムバス5に単位プロセッサユニ
ッ) (EPU)1と、人出カプロセッサ(IOP)2
と、主記憶装置(MMU)3と、システムコントロール
ユニット(SCU)lよび診断プロセッサ(DGP)6
が接続され、単位プロセッサユニット(EPU)1と入
出カプロセッサ(IOP)2とに対応してストール検出
回路10が設けられる。
In the embodiment of the present invention, the system bus 5 includes an unit processor unit (EPU) 1 and an output processor (IOP) 2.
, a main memory unit (MMU) 3, a system control unit (SCU) and a diagnostic processor (DGP) 6
A stall detection circuit 10 is provided corresponding to the unit processor unit (EPU) 1 and the input/output processor (IOP) 2.

ストール検出回路10はカウンタ(#0HO1、および
カウンタ (# 1 ) 102 と、カウンタ (#
0)101 に接続されるアンドゲート103と、カウ
ンタ(#lNO2に接続されるアンドゲート104とを
備える。
The stall detection circuit 10 includes a counter (#0HO1), a counter (#1) 102, and a counter (#1) 102.
0) 101 and an AND gate 104 connected to the counter (#lNO2).

このように構成された本発明実施例の動作について説明
する。
The operation of the embodiment of the present invention configured as described above will be explained.

単位プロセッサユニット(EPU)1および入出カプロ
セッサ(IOP)2からはシステムバス5の使用権を得
るためのバス使用権要求信号BU5RQOおよびBUS
RQIがそれぞれシステムコントロールユニット(SC
U)4および診断プロセッサ(DGP)6へ送出され、
これに対してバス使用権許可信号BACPO1BACP
Iがシステムコントロールユニット(SCU)4および
診断プロセッサ(DGP)6から単位プロセッサユニッ
ト(EPU)L入出カプロセッサ(IOP)2へ送出さ
れている。単位プロセッサユニッ) (EPU)1、人
出カプロセッサ(IOP)2が主記憶装置(MMU>3
に対してメモリアクセス要求を行う場合は、まずバス使
用権要求信号BUSROO1BUSROIをそれぞれ“
1”にし、これに対してシステムコントロールユニット
(SCU)4内に存在するバス調停部よりバス使用権許
可信号BACPO1BACP 1が返却されたときにバ
ス使用可能状態となり、主記憶装置(MMU)3に対し
てシステムバス5を介してメモリアクセス要求を行う。
Bus usage right request signals BU5RQO and BUS are sent from the unit processor unit (EPU) 1 and the input/output processor (IOP) 2 to obtain the right to use the system bus 5.
Each RQI is connected to a system control unit (SC).
U) 4 and diagnostic processor (DGP) 6;
In contrast, the bus right permission signal BACPO1BACP
I is sent from the system control unit (SCU) 4 and diagnostic processor (DGP) 6 to the unit processor unit (EPU) L input/output processor (IOP) 2. unit processor unit) (EPU) 1, output processor (IOP) 2, main memory (MMU>3
When making a memory access request to the
1", and when the bus arbitration section in the system control unit (SCU) 4 returns the bus permission signal BACPO1BACP 1, the bus becomes available and the main memory unit (MMU) 3 A memory access request is made to the system bus 5 via the system bus 5.

従ってメモリアクセスを行う場合必ず単位プロセッサユ
ニッ) (EPU)1、あるいは入出カプロセッサ(I
OP)2のバス使用権要求信号BUSRQO,BUSR
QIと、バス使用権許可信号BACPO1BACP 1
がともに“1”になる。
Therefore, when accessing memory, it is necessary to use unit processor unit (EPU) 1 or input/output processor (I/O processor).
OP)2 bus usage right request signals BUSRQO, BUSR
QI and bus right permission signal BACPO1BACP 1
Both become "1".

次に第2図を参照して本発明実施例のストール検出回路
10について説明する。カウンタ(#0)101、カウ
ンタ(# 1 ) 102はそれぞれ単位プロセッサユ
ニット(EPU)L入出カプロセッサ(IOP)2のタ
イムアウト検出を行うカウンタである。
Next, the stall detection circuit 10 according to the embodiment of the present invention will be explained with reference to FIG. A counter (#0) 101 and a counter (#1) 102 are counters that detect time-outs of the unit processor unit (EPU) L input/output processor (IOP) 2, respectively.

ここで単位プロセッサユニッ) (EPU)1について
ストール検出について説明する。単位プロセッサユニッ
ト(EPU)1がメモリアクセスを行う場合、バス使用
権要求11号BUSRQOが“1”となり、次にこの要
求がシステムコントロールユニッ) (SCU)4のバ
ス調停部にて許可された場合、バス使用権許可信号BA
CPOが“1”になる。
Here, stall detection for the unit processor unit (EPU) 1 will be explained. When unit processor unit (EPU) 1 accesses memory, bus usage right request No. 11 BUSRQO becomes "1", and then this request is granted by the bus arbitration section of system control unit (SCU) 4. , bus permission signal BA
CPO becomes "1".

このとき、アンドゲート103の人力がそれぞれ“1”
になり、カウンタ(#0)101へ“1”が入力され、
カウンタ(#0HO1にてカウントが開始される。単位
プロセッサユニッ) (EPU)1が次にメモリアクセ
ス要求を発行した場合は、上述したようにアンドゲート
103の出力が“1”となり、カウンタ(#0HO1は
いままでのカウントをすべてリセットし再びカウントを
開始する。
At this time, the human power of AND gate 103 is “1”
, “1” is input to the counter (#0) 101,
Counter (counting starts at #0HO1. When the unit processor unit (EPU) 1 issues a memory access request next, the output of the AND gate 103 becomes "1" as described above, and the counter (#0HO1 starts counting. 0HO1 resets all previous counts and starts counting again.

単位プロセッサユニッ) (EPU)1からメモリアク
セス要求が一定時間内に発行されなかった場合、カウン
タ(#0HO1内のカウント値は一定値以上となり、オ
ーバーフロー信号0VEROが“1”となる。この信号
が“1“になることによって単位プロセッサユニット(
EPU)1はストール状態におち入ったと認識され診断
プロセッサ(DGP)6へ通知される。
If a memory access request is not issued from the unit processor unit (EPU) 1 within a certain period of time, the count value in the counter (#0HO1 becomes a certain value or more, and the overflow signal 0VERO becomes “1”. This signal By becoming “1”, the unit processor unit (
The EPU (EPU) 1 is recognized as having entered a stall state, and the diagnostic processor (DGP) 6 is notified.

人出カプロセッサ(IOP)2に関しても上述した動作
と同様にしてオーバーフロー信号0VER1が“1”と
なることによってストール状態であると認識される。
Similarly to the above-described operation, the crowd processor (IOP) 2 is recognized to be in a stall state when the overflow signal 0VER1 becomes "1".

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

以上説明したように本発明によれば、処理装置からのメ
モリアクセス要求は必ず一定マシンサイクル内で発生す
ることに注目してメモリアクセス要求が非常に短い時間
の一定時間内に発行されなければストール状態であると
認識することにより、ストール状態を早期に発見するこ
とができ、システム処理効率を高めることが可能になる
。また、ストール検出時にハードウェアトレーサなどか
らストールになったときの状態を見ることができ、さら
に、ストール検出部を処理装置の外部に持つことにより
ストー検出能力を高めることができる効果がある。
As explained above, according to the present invention, it is noted that a memory access request from a processing device always occurs within a certain machine cycle, and if a memory access request is not issued within a very short certain period of time, a stall occurs. By recognizing that the stall condition is a stall condition, it is possible to detect the stall condition at an early stage, and it becomes possible to improve system processing efficiency. Furthermore, when a stall is detected, the state of the stall can be seen from a hardware tracer or the like, and furthermore, by providing the stall detection section outside the processing device, the stall detection ability can be improved.

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

第1図は本発明実施例の全体構成を示すブロック図。 第2図は本発明実施例のストール検出回路の構成を示す
ブロック図。 1・・・単位プロセッサユニット(EPU) 、2・・
・入出カプロセッサ(IOP) 、3・・・主記憶装置
(MMU) 、4・・・システムコントロールユニット
(SCU) 、5・・・システムバス、6・・・診断ブ
ロセッサ(DGP) 、10・・・ストール検出回路、
101.102・・・カウンタ、103.104・・・
アンドゲート。
FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention. FIG. 2 is a block diagram showing the configuration of a stall detection circuit according to an embodiment of the present invention. 1... Unit processor unit (EPU), 2...
- Input/output processor (IOP), 3... Main memory unit (MMU), 4... System control unit (SCU), 5... System bus, 6... Diagnostic processor (DGP), 10...・Stall detection circuit,
101.102...Counter, 103.104...
And gate.

Claims (1)

【特許請求の範囲】 1、一つのシステムバスに、少なくとも一つ以上の主記
憶装置と処理装置が接続された情報処理装置において、 それぞれの前記処理装置に、前記主記憶装置に対応して
、 前記処理装置から前記主記憶装置にアクセス要求が発行
されたときからマシンサイクルまたはマシンサイクルに
対応する信号の計数をする手段と、この計数手段が一定
値以上になったときにストール状態であることを認識す
る手段と を含むストール検出回路を備えたことを特徴とする情報
処理装置。
[Scope of Claims] 1. In an information processing device in which at least one main storage device and one or more processing devices are connected to one system bus, for each of the processing devices, corresponding to the main storage device, Means for counting machine cycles or signals corresponding to machine cycles from the time when an access request is issued from the processing device to the main storage device, and a stall state when the counting means exceeds a certain value. What is claimed is: 1. An information processing device comprising: a stall detection circuit including means for recognizing.
JP1045881A 1989-02-27 1989-02-27 Information processor Pending JPH02224149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1045881A JPH02224149A (en) 1989-02-27 1989-02-27 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1045881A JPH02224149A (en) 1989-02-27 1989-02-27 Information processor

Publications (1)

Publication Number Publication Date
JPH02224149A true JPH02224149A (en) 1990-09-06

Family

ID=12731574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1045881A Pending JPH02224149A (en) 1989-02-27 1989-02-27 Information processor

Country Status (1)

Country Link
JP (1) JPH02224149A (en)

Similar Documents

Publication Publication Date Title
EP4546345A1 (en) Processor, information acquisition method, single board and network device
US6321289B1 (en) Apparatus for automatically notifying operating system level applications of the occurrence of system management events
JPH02224149A (en) Information processor
JPH0823834B2 (en) Microcomputer
JPS6051141B2 (en) Program runaway detection method
JPH02150942A (en) Bus abnormality detecting circuit
JPS5983438A (en) Program failure detecting system
JP2592525B2 (en) Error detection circuit of common bus system
JPH0271357A (en) Processor circuit
JPH04182835A (en) Bus monitor device for multiprocessor system
SU1084795A1 (en) Interruption device
JPH02206866A (en) Reset signal generator in multiprocessor system
JPH0341529A (en) Abnormality detector for connecting apparatus in data transmitting equipment
JPH1115703A (en) How to collect data when an error occurs
JPS6165354A (en) Faulty processor detection method
JPH01200441A (en) Mutual monitoring method among plural processors
JPS63284652A (en) Patrol diagnosis system for shared memory
JPS6128146B2 (en)
JPH03230254A (en) Fault detecting method for multiprocessor system
JPH0748198B2 (en) Multiprocessor system
JPS61194540A (en) Stall detection system
JPH01199238A (en) Data processor
JPS6027975A (en) Dma bus control circuit
JPH01283641A (en) Interruption controller
JPH02257251A (en) Information processor