JP3317776B2 - Information processing device - Google Patents

Information processing device

Info

Publication number
JP3317776B2
JP3317776B2 JP01917994A JP1917994A JP3317776B2 JP 3317776 B2 JP3317776 B2 JP 3317776B2 JP 01917994 A JP01917994 A JP 01917994A JP 1917994 A JP1917994 A JP 1917994A JP 3317776 B2 JP3317776 B2 JP 3317776B2
Authority
JP
Japan
Prior art keywords
processor
mode
processors
master
checker
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.)
Expired - Fee Related
Application number
JP01917994A
Other languages
Japanese (ja)
Other versions
JPH07230436A (en
Inventor
正文 柴田
明宏 永吉
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 JP01917994A priority Critical patent/JP3317776B2/en
Publication of JPH07230436A publication Critical patent/JPH07230436A/en
Application granted granted Critical
Publication of JP3317776B2 publication Critical patent/JP3317776B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、複数のプロセッサを有
する情報処理装置に係り、特に、2重化プロセッサと単
独プロセッサを任意に組み合わせることを可能にして、
性能と信頼性の適切な組合せを選択可能とする情報処理
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus having a plurality of processors, and more particularly, to enabling an arbitrary combination of a dual processor and a single processor.
Information processing that enables selection of an appropriate combination of performance and reliability
It concerns the device .

【0002】[0002]

【従来の技術】従来より、情報処理システムの信頼性を
高めるため、マスタプロセッサ及びチェッカプロセッサ
に同一動作を行わせ、マスタプロセッサとチェッカプロ
セッサの実行結果を比較することにより障害検出を行う
2重化プロセッサシステムが実現されている。例えば、
特開昭62−160539号公報には、主記憶装置に接
続される1本のバスに2個の同一のプロセッサを接続
し、1台をマスタプロセッサもう1台をチェッカプロセ
ッサとして両方に同一のプログラムを同時に動作させ、
両方の結果を比較する2重化プロセッサシステムが記載
されている。
2. Description of the Related Art Conventionally, in order to improve the reliability of an information processing system, a master processor and a checker processor perform the same operation, and a fault detection is performed by comparing the execution results of the master processor and the checker processor. A processor system has been implemented. For example,
Japanese Patent Application Laid-Open No. Sho 62-160539 discloses that two identical processors are connected to one bus connected to a main storage device, and one is a master processor and the other is a checker processor. Operate at the same time,
A dual processor system that compares both results is described.

【0003】一方、情報処理システムの性能を向上させ
るため、複数プロセッサで主記憶装置を共有するいわゆ
るマルチプロセッサシステムも実現されており、例え
ば、特開平3−196249号公報には、主記憶装置に
接続される1本のバスに複数のプロセッサを接続し、各
々独立したプログラムを実行する多重プロセッサシステ
ムが記載されている。
On the other hand, in order to improve the performance of an information processing system, a so-called multiprocessor system in which a main storage device is shared by a plurality of processors has been realized. For example, Japanese Patent Application Laid-Open No. 3-196249 discloses a main storage device. A multiprocessor system in which a plurality of processors are connected to one connected bus and each executes an independent program is described.

【0004】さらに、情報処理システムの信頼性と性能
の両方を満足させる場合、従来は、固定的にマスタプロ
セッサとチェッカプロセッサの2台を1組として、該2
重化プロセッサシステムを複数組でマルチプロセッサ化
したシステムを実現していた。
Further, when both the reliability and the performance of an information processing system are satisfied, conventionally, two sets of a master processor and a checker processor are fixedly set as one set.
It realized a system in which multiple sets of redundant processor systems were made multiprocessors.

【0005】[0005]

【発明が解決しようとする課題】2重化プロセッサシス
テムとマルチプロセッサシステム、及びこれらの組合せ
によるシステムにおいて、従来のシステムでは、各々の
プロセッサの役割が固定化されており、柔軟かつ経済的
にシステムを構築できない欠点があった。すなわち、2
重化プロセッサシステムでは、マスタプロセッサとチェ
ッカプロセッサの組合せは固定化されており、マスタと
チェッカの役割は交換できても、2台のプロセッサが同
一のプログラムを実行するという点は固定化されてい
る。従って、信頼性は向上しているが、性能は1台のプ
ロセッサと同一である。また、マルチプロセッサシステ
ムでは、各プロセッサが常に独立したプログラムを実行
する様に作成されており、2台のプロセッサが同一のプ
ログラムを実行したと仮定しても、同一時間に同一の動
作を実行しておらず、これらの実行結果を一致チェック
をしてシステム動作に影響を与えていないので独立のプ
ログラムを実行しているのとまったく差が無い。従っ
て、2台のプロセッサが独立に動作するため、性能は向
上するが、信頼性の向上は図られておらず、この点で、
はじめから2重化プロセッサシステムとは異なるシステ
ムとなっている。さらに、2重化されたマルチプロセッ
サシステムでは、2重化するマスタプロセッサとチェッ
カプロセッサの組合せは固定化されており、同一のプロ
グラムを実行するプロセッサの組と、この組合せが異な
ると独立のプログラムを実行するようプロセッサの割当
てが固定化しているため、システム動作中の変更を含
め、システムの状況に応じて、性能や信頼性を柔軟に変
更することは不可能であった。
In a dual processor system, a multiprocessor system, and a combination thereof, in a conventional system, the role of each processor is fixed, and the system is flexibly and economically used. There was a drawback that could not be constructed. That is, 2
In the redundant processor system, the combination of the master processor and the checker processor is fixed, and the point that the two processors execute the same program is fixed even though the roles of the master and the checker can be exchanged. . Therefore, the reliability is improved, but the performance is the same as one processor. Further, in a multiprocessor system, each processor is created so as to always execute an independent program. Even if two processors execute the same program, the same operation is executed at the same time. Since the execution results are checked for consistency and the system operation is not affected, there is no difference from executing an independent program. Therefore, since the two processors operate independently, the performance is improved, but the reliability is not improved.
The system is different from the dual processor system from the beginning. Further, in a duplicated multiprocessor system, the combination of the master processor and the checker processor to be duplicated is fixed, and a set of processors that execute the same program and an independent program if the combination is different are used. Since the assignment of the processors to be executed is fixed, it has been impossible to flexibly change the performance and reliability according to the state of the system, including changes during system operation.

【0006】ところで、2重化プロセッサシステムとマ
ルチプロセッサシステム、及び、これらの組合せによる
システムは、プロセッサと主記憶装置との結合形態に着
目すると驚くほど良く似ていることが判る。例えば、2
台のプロセッサが1台の主記憶装置に結合されている2
重化プロセッサシステムとマルチプロセッサシステムを
比較してみると、各プロセッサが同一のプログラムを実
行しその結果を比較し信頼性を高めたのが2重化プロセ
ッサシステムであり、各プロセッサが独立のプログラム
を実行し性能を高めたのがマルチプロセッサシステムと
言うことが出来る。すなわちシステムに結合されている
プロセッサを信頼性の向上に割り当てたのが2重化プロ
セッサシステムであり、性能の向上に割り当てたのがマ
ルチプロセッサシステムである。従って、システムの状
況に応じてこれらを自在に変更可能とすることで、性能
と信頼性の最適なシステムを構築できる事になる。
By the way, it can be understood that the dual processor system, the multiprocessor system, and the system based on the combination thereof are surprisingly similar when paying attention to the connection form between the processor and the main storage device. For example, 2
Two processors are coupled to one main storage device
Comparing a duplicated processor system with a multiprocessor system, it is found that each processor executes the same program, compares the results, and increases reliability. Can be said to be a multiprocessor system that has improved the performance. That is, a dual processor system assigns processors coupled to the system to improve reliability, and a multiprocessor system assigns processors to improve performance. Therefore, by enabling these to be freely changed according to the state of the system, it is possible to construct a system with optimum performance and reliability.

【0007】従って、本発明の目的は、複数のプロセッ
サを有する情報処理システムにおいて、2重化プロセッ
サと単独プロセッサを任意に組み合せることを可能にし
て、システムの状況に応じて、2重化プロセッサシステ
ム、マルチプロセッサシステム、及び、これらの組合せ
のシステムを自在に構築・変更できるようにすることに
ある。
Accordingly, an object of the present invention is to make it possible to arbitrarily combine a dual processor and a single processor in an information processing system having a plurality of processors, and to provide a dual processor according to system conditions. A system, a multiprocessor system, and a system in which these are combined can be freely constructed and changed.

【0008】[0008]

【課題を解決するための手段】本発明は、2台のプロセ
ッサを有する情報処理装置では、該2台のプロセッサが
マルチプロセッサモードまたはマスタチェッカモードで
動作することを示す動作モードを設け、マルチプロセッ
サモードでは2台のプロセッサに交互にメモリリクエス
を許可して、該2台のプロセッサが各々独立したプロ
グラムを実行するマルチプロセッサシステムを構成し、
マスタチェッカモードでは2台のプロセッサにメモリリ
クエストを同時に許可して、該2台のプロセッサが一方
はマスタプロセッサ、他方はチェッカプロセッサとして
同一のプログラムを実行する2重化プロセッサシステム
を構成し、これらのモードを切替え可能としたことを特
徴とする。
According to the present invention, an information processing apparatus having two processors is provided with an operation mode indicating that the two processors operate in a multiprocessor mode or a master checker mode. In mode, memory requests alternately to two processors
A multiprocessor system in which the two processors execute independent programs, respectively,
In master checker mode, memory is stored in two processors .
Quests are allowed at the same time, and the two processors constitute a dual processor system that executes the same program as one of a master processor and the other as a checker processor, and these modes can be switched. I do.

【0009】また、本発明は、3台以上のプロセッサを
有する情報処理装置では、すべてのプロセッサ対応に、
論理プロセッサ番号とマスタモード又はチェッカモード
の識別ビットを設け、同一の論理プロセッサ番号を保有
しそれぞれマスタモードとチェッカモードが設定された
2重化プロセッサの組と、チェッカプロセッサを持たな
いマスタプロセッサのみの単独プロセッサとに分け、2
重化プロセッサと単独プロセッサの各々に順番にメモリ
リクエストを許可してマルチプロセッサシステムを構成
し、これらのプロセッサの組合せが自在に行われるよう
にしたことを特徴とする。
Further, according to the present invention, in an information processing apparatus having three or more processors,
A logical processor number and an identification bit for a master mode or a checker mode are provided, and a duplicated processor set having the same logical processor number and having the master mode and the checker mode set, respectively, and a master processor only having no checker processor. Divided into single processor and 2
Memory for each redundant processor and single processor in turn
A multiprocessor system is configured by permitting requests, and combinations of these processors are freely performed.

【0010】[0010]

【作用】本発明では、システムの状況に応じて論理プロ
セッサ番号及び/又は識別モードを変更して、2重化プ
ロセッサ、マルチプロセッサ、もしくは、これらを組み
合わせたシステムを任意に構築する。これにより、複数
のプロセッサを有する情報処理装置について、性能と信
頼性の最適なシステムを構築できる。
According to the present invention, the logical processor number and / or the identification mode are changed according to the state of the system, thereby arbitrarily constructing a dual processor, a multiprocessor, or a system combining these. This makes it possible to construct an optimal system of performance and reliability for an information processing apparatus having a plurality of processors.

【0011】[0011]

【実施例】以下、本発明の一実施例を図面を参照しなが
ら詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings.

【0012】図1は、本発明の第1の実施例の全体的構
成図で、2台のプロセッサが主記憶装置に接続される情
報処理装置において、マルチプロセッサ/マスタチェッ
カの識別モードに応じて、2台のプロセッサが各々独立
したプログラムを実行するマルチプロセッサシステム、
あるいは、1台をマスタプロセッサ、他の1台をチェッ
カプロセッサとして同一のプログラムを実行は2重化プ
ロセッサシステムの構成を自在に切替え可能とするもの
である。
FIG. 1 is an overall configuration diagram of a first embodiment of the present invention. In an information processing apparatus in which two processors are connected to a main storage device, according to a multiprocessor / master checker identification mode. A multiprocessor system in which two processors each execute an independent program,
Alternatively, the execution of the same program using one as the master processor and the other as the checker processor enables the configuration of the dual processor system to be freely switched.

【0013】図1において、プロセッサ0(IP0)
1、プロセッサ1(IP1)2は、それぞれ独立のプロ
セッサバス101,102で主記憶制御装置(SCU)
3に接続されている。各プロセッサ1,2とSCU3間
は、この他にSCUビジー信号103,104と、障害
報告信号105,106が接続されている。SCUビジ
ー信号103,104は、SCU3がプロセッサ1,2
からのリクエストを受け付けられないことを示す信号
で、信号103が出力中は1のプロセッサ0からのリク
エストを受け付けないことを示し、信号104が出力中
は2のプロセッサ1からのリクエストを受け付けないこ
とを示す。障害報告信号105,106は、SCU3が
検出した障害をプロセッサ1,2に通知する信号であ
る。
In FIG. 1, processor 0 (IP0)
1. Processor 1 (IP1) 2 is connected to a main storage controller (SCU) by independent processor buses 101 and 102, respectively.
3 is connected. SCU busy signals 103 and 104 and failure report signals 105 and 106 are connected between the processors 1 and 2 and the SCU 3. The SCU busy signals 103 and 104 are transmitted by the SCU 3 to the processors 1 and 2.
Indicates that a request from processor 1 cannot be accepted while signal 103 is being output, and that a request from processor 2 is not accepted while signal 104 is being output. Is shown. The failure report signals 105 and 106 are signals for notifying the processors 1 and 2 of the failure detected by the SCU 3.

【0014】SCU3は、プロセッサ0あるいは1を選
択するセレクタ10、プロセッサ0あるいは1からのリ
クエストアドレスが設定されるアドレスレジスタ11、
ライトデータが設定されるライトデータレジスタ14、
アドレスやライトデータをチェックするパリティチェッ
カ15、マスタチェッカモードでプロセッサ0と1のア
ドレス、データを比較する比較器16、主記憶装置4か
らのリードデータが設定されるレスポンスレジスタ1
7,18、マルチプロセッサ/マスタチェッカモードに
応じて該レスポンスレジスタ17,18の動作を制御す
るための比較回路19,20及びアンドゲート35,3
6、選択したプロセッサ番号(プロセッサ0は“0”、
プロセッサ1は“1”とする)が設定されるプロセッサ
番号レジスタ21、プロセッサ0および1の動作モード
(マルチプロセッサ/マスタチェッカモード)が設定さ
れる動作モードレジスタ22、プロセッサ0および1へ
の障害報告を司る障害報告制御部23、マルチプロセッ
サ/マスタチェッカモード、リード/ライトに応じてプ
ロセッサの切替え制御を司るプロセッサ切替え制御部2
4、及び、アンプゲート群51〜57よりなる。なお、
107は受付切替信号、108と109はレスポンスプ
ロセッサ番号信号、110は動作モード切替信号、11
1は選択後のリクエスト信号線である。
The SCU 3 has a selector 10 for selecting the processor 0 or 1; an address register 11 for setting a request address from the processor 0 or 1;
A write data register 14 in which write data is set,
Parity checker 15 for checking addresses and write data, comparator 16 for comparing addresses and data of processors 0 and 1 in master checker mode, response register 1 for setting read data from main storage device 4
7, 18; comparison circuits 19, 20 for controlling the operation of the response registers 17, 18 according to the multiprocessor / master checker mode; and AND gates 35, 3
6, the selected processor number (processor 0 is “0”,
A processor number register 21 in which the processor 1 is set to "1", an operation mode register 22 in which the operation modes of the processors 0 and 1 (multiprocessor / master checker mode) are set, and a failure report to the processors 0 and 1 , A multiprocessor / master checker mode, and a processor switching controller 2 that controls processor switching according to read / write
4 and amplifier gate groups 51-57. In addition,
107 is a reception switching signal, 108 and 109 are response processor number signals, 110 is an operation mode switching signal, 11
Reference numeral 1 denotes a selected request signal line.

【0015】図1の2台のプロセッサの動作は、SCU
3内の動作モードレジスタ22で決定される。図2に、
動作モードレジスタ22の構成例を示す。動作モードレ
ジスタ22は2ビットで構成され、プロセッサ0がマス
タプロセッサのマスタチェッカモード、プロセッサ1が
マスタプロセッサのマスタチェッカモード、及び、プロ
セッサ0と1が各々独立に動作するマルチプロセッサモ
ードの3種類のモード(“00”,“01”,“1
X”)が設定される。この動作モードレジスタ22に対
する動作モードの設定については後述する。
The operation of the two processors in FIG.
3 is determined by the operation mode register 22. In FIG.
4 shows a configuration example of an operation mode register 22. The operation mode register 22 is composed of two bits, and the processor 0 has three types of modes: a master checker mode of the master processor, a processor 1 a master checker mode of the master processor, and a multiprocessor mode in which the processors 0 and 1 operate independently. Mode (“00”, “01”, “1”
X ") is set. The setting of the operation mode in the operation mode register 22 will be described later.

【0016】動作モードレジスタ22の内容(動作モー
ド)は、プロセッサ切替制御部24に送られ、これより
所望の受付切替信号107、レスポンスプロセッサ番号
信号108,109、SCUビジー信号103,104
が出力される。図3にプロセッサ切替制御部24の動作
図を、図4にその内部論理構成例を示す。
The contents (operation mode) of the operation mode register 22 are sent to the processor switching control unit 24, and from there, a desired reception switching signal 107, response processor number signals 108 and 109, and SCU busy signals 103 and 104 are output.
Is output. FIG. 3 shows an operation diagram of the processor switching control unit 24, and FIG. 4 shows an example of the internal logical configuration thereof.

【0017】図4において、動作モード切替論理部13
は、プロセッサからモード切替リクエストが発行された
時、信号線110を通して動作モードレジスタ22を書
き替えるものである。デコーダ26は、動作モードレジ
スタ22の内容が“00”のとき出力a,bのいずれも
0、“01”のとき出力aのみを1、“1X”のとき出
力bのみを1とする。ライト検出論理部27は、ライト
リクエストを検出すると出力を1とし、それ以外では出
力を0とする。選択信号レジスタ25は、各サイクル毎
に、選択されるプロセッサ番号の値が格納されるレジス
タである。該レジスタ25は、動作モードがマスタチェ
ッカモードの場合、前のサイクルの値に関係なく、その
ときのマスタプロセッサ番号を示し、マルチプロセッサ
モードの場合は、ライト指示以外では1サイクル毎にプ
ロセッサ番号が切り替わり、ライト指示では2サイクル
でプロセッサ番号が切り替わる。選択番号レジスタ25
の上記動作を制御するのがオアゲート28、アンドゲー
ト31,32、ノートゲート47,48である。受付切
替信号107は、オアゲート29、アンドゲート333
により、マスタチェッカモードでは、常にそのときのマ
スタプロセッサ番号の値を示し、マルチプロセッサモー
ドでは、選択信号レジスタ25の値を示す。SCUビジ
ー信号103,104は、アンドゲート34,46によ
り、マルチプロセッサモード時、各々、相反する値を示
す。レスポンスプロセッサ番号信号108は、マスタチ
ェッカモード時、マスタプロセッサ番号を示し、マルチ
プロセッサモードでは常にプロセッサ番号0を示す。レ
スポンスプロセッサ番号信号109は、オアゲート30
により、マスタチェッカモード時、同じくマスタプロセ
ッサ番号を示すが、マルチプロセッサモードでは常にプ
ロセッサ番号1を示す。
In FIG. 4, the operation mode switching logic unit 13
Is for rewriting the operation mode register 22 through the signal line 110 when a mode switching request is issued from the processor. The decoder 26 sets the outputs a and b to 0 when the contents of the operation mode register 22 are “00”, sets the output a only to 1 when the contents are “01”, and sets the output b only to 1 when the contents are “1X”. The write detection logic unit 27 sets the output to 1 when a write request is detected, and sets the output to 0 otherwise. The selection signal register 25 is a register in which the value of the selected processor number is stored for each cycle. When the operation mode is the master checker mode, the register 25 indicates the master processor number at that time irrespective of the value of the previous cycle. In the multiprocessor mode, the processor number is changed every cycle except for the write instruction. The processor number is switched in two cycles in the write instruction. Selection number register 25
The above operation is controlled by the OR gate 28, AND gates 31, 32, and note gates 47, 48. The reception switching signal 107 is output from the OR gate 29 and the AND gate 333.
Indicates the value of the master processor number at that time in the master checker mode, and indicates the value of the selection signal register 25 in the multiprocessor mode. The SCU busy signals 103 and 104 show contradictory values in the multiprocessor mode by the AND gates 34 and 46, respectively. The response processor number signal 108 indicates the master processor number in the master checker mode, and always indicates the processor number 0 in the multiprocessor mode. The response processor number signal 109 is
Indicates the master processor number in the master checker mode, but always indicates the processor number 1 in the multiprocessor mode.

【0018】図5は障害報告制御部23の内部論理構成
例である。ここで、デコーダ37は動作モードレジスタ
22の内容(動作モード)を判定し、マルチプロセッサ
モード(“1X”)のとき出力を1とする。マスタチェ
ッカモード時、比較器16がマスタプロセッサとチェッ
カプロセッサの動作不一致を検出するか、及び/又は、
パリティチェッカ15がパリティエラーを検出すると、
障害報告信号105,106が共に障害発生を示す。マ
ルチプロセッサモードでは、パリティチェッカ15がパ
リティエラーを検出すると、障害報告信号105,10
6のうち、そのサイクルで受付中のプロセッサに対応す
るものが障害発生を示す。該障害報告信号105,10
6の状態を制御するのが、ノットゲート38,39、ア
ンドゲート40〜43、オアゲート44,45である。
FIG. 5 shows an example of the internal logical configuration of the fault report control unit 23. Here, the decoder 37 determines the content (operation mode) of the operation mode register 22, and sets the output to 1 in the multiprocessor mode (“1X”). In the master checker mode, the comparator 16 detects an operation mismatch between the master processor and the checker processor, and / or
When the parity checker 15 detects a parity error,
Both the failure report signals 105 and 106 indicate that a failure has occurred. In the multiprocessor mode, when the parity checker 15 detects a parity error, the failure report signals 105 and 10 are output.
6, the one corresponding to the processor being accepted in that cycle indicates that a failure has occurred. The failure report signals 105 and 10
Controlling the state of No. 6 is the NOT gates 38 and 39, the AND gates 40 to 43, and the OR gates 44 and 45.

【0019】次に、図1の動作を図2乃至図5を参照し
て説明する。プロセッサ0がマスタプロセッサのマスタ
チェッカモード時(動作モード:00)は、受付切替信
号107は常に“0”、レスポンスプロセッサ番号10
8と109も共に“0”となる(図3,図4)。この
時、主記憶リード動作は、マスタプロセッサであるプロ
セッサ0から送出されたリクエストアドレスがセレクタ
10で選択されて、アドレスレジスタ11に設定され、
パリティチェッカ15でチェックされ、同時に、プロセ
ッサ番号レジスタ21にプロセッサ番号“0”が設定さ
れる。プロセッサ番号レジスタ21はレスポンスプロセ
ッサ番号108,109と比較器19、20で比較され
るが、マスタチェッカモード時はこれらの比較結果は常
に“1”なので、アンドゲート35,36は共に導通状
態になる。したがって、アドレスレジスタ11のアドレ
スで主記憶装置4から読みだされたリードデータは、ア
ンドゲート35,36を通ってレスポンスレジスタ1
7,18の両方に設定され、プロセッサバス101,1
02経由でプロセッサ0,1の双方に送出される。一
方、チェッカプロセッサであるプロセッサ1から送出さ
れたリクエストアドレスは、比較器16でプロセッサ0
からのアドレスと比較され、不一致なら障害報告制御部
23に通知される。障害報告制御部23では、マスタチ
ェッカモード時は、比較器16とパリティチェッカ15
の出力を、常にプロセッサ0,1の両方に送出する(図
5)。主記憶ライト動作時は、マスタプロセッサである
プロセッサ0から送出されたリクエストアドレスとライ
トデータがセレクタ10で選択され、アドレスレジスタ
11とライトデータレジスタ14に設定される。ライト
動作時はレスポンスが不要なので、プロセッサ番号レジ
スタ21の設定は不要である。主記憶装置4には、アド
レスレジスタ11で示すアドレスに、ライトデータレジ
スタ14のライトデータが書き込まれる。チェッカプロ
セッサであるプロセッサ1からのリクエストは、アドレ
スとデータがそれぞれ比較器16で比較され、不一致が
検出されると障害報告制御部23を通じてプロセッサ
0,1双方に通知される。また、パリティチェッカ15
は、マスタプロセッサであるプロセッサ0のアドレス、
データ双方をチェックし、障害を検出すると、同様に障
害報告制御部23を通じて双方のプロセッサに通知され
る。
Next, the operation of FIG. 1 will be described with reference to FIGS. When the processor 0 is in the master checker mode of the master processor (operation mode: 00), the reception switching signal 107 is always “0” and the response processor number 10
8 and 109 are both "0" (FIGS. 3 and 4). At this time, in the main memory read operation, the request address sent from the processor 0 as the master processor is selected by the selector 10 and set in the address register 11,
The parity number is checked by the parity checker 15. At the same time, the processor number "0" is set in the processor number register 21. The processor number register 21 is compared with the response processor numbers 108 and 109 by the comparators 19 and 20. In the master checker mode, since these comparison results are always "1", the AND gates 35 and 36 are both conductive. . Therefore, the read data read from the main storage device 4 at the address of the address register 11 passes through the AND gates 35 and 36 to the response register 1
7 and 18 are set, and the processor buses 101 and 1 are set.
The data is sent to both the processors 0 and 1 via 02. On the other hand, the request address sent from the processor 1 which is the checker processor is
Are compared with each other, and if they do not match, the failure report control unit 23 is notified. In the failure check control unit 23, in the master checker mode, the comparator 16 and the parity checker 15
Is always sent to both processors 0 and 1 (FIG. 5). At the time of the main memory write operation, the request address and the write data sent from the processor 0 as the master processor are selected by the selector 10 and set in the address register 11 and the write data register 14. Since no response is required during the write operation, setting of the processor number register 21 is unnecessary. The write data of the write data register 14 is written into the main storage device 4 at the address indicated by the address register 11. The request from the processor 1 which is a checker processor is compared with the address and the data by the comparator 16 respectively, and when a mismatch is detected, both are notified to the processors 0 and 1 through the fault report control unit 23. Also, the parity checker 15
Is the address of processor 0, the master processor,
When both data are checked and a failure is detected, both processors are similarly notified via the failure report control unit 23.

【0020】プロセッサ1がマスタプロセッサのマスタ
チェッカモード時(動作モード:01)は、受付切替信
号107は常に“1”、レスポンスプロセッサ番号10
8と109も共に“1”となる(図3,図4)。このと
きの動作は、セレクタ10で選択されるアドレスやデー
タが、常にプロセッサ1からのを選択すること以外は、
上記のプロセッサ0がマスタプロセッサのマスタチェッ
カモード時と同じである。当然、プロセッサ番号レジス
タ21にはプロセッサ番号“1”が設定されが、レスポ
ンスプロセッサ番号108,109も“1”を示すた
め、比較器19,20の比較結果は常に“1”となり、
主記憶リード動作では、主記憶装置4から読み出された
データはレスポンスレジスタ17,18の両方に設定さ
れ、プロセッサバス101,102経由で両方のプロセ
ッサに送られる。
When the processor 1 is in the master checker mode of the master processor (operation mode: 01), the reception switching signal 107 is always "1" and the response processor number 10
8 and 109 are both "1" (FIGS. 3 and 4). The operation at this time is as follows, except that the address and data selected by the selector 10 always select from the processor 1.
This is the same as when the processor 0 is in the master checker mode of the master processor. Naturally, the processor number "1" is set in the processor number register 21, but the response processor numbers 108 and 109 also indicate "1", so that the comparison results of the comparators 19 and 20 are always "1".
In the main memory read operation, data read from the main memory 4 is set in both the response registers 17 and 18 and sent to both processors via the processor buses 101 and 102.

【0021】動作モードレジスタ22がマルチプロセッ
サモード時(動作モード:1X)は、プロセッサ0と1
から送出されるリクエストは互いに異なるので、プロセ
ッサ切替制御部24において、どちらのリクエストを受
け付けるか切替制御が行われる。図4の選択番号レジス
タ25の値は、通常(ライト動作以外)、ノットゲート
47、アンドゲート32、オアゲート28の経路で1サ
イクル毎に切り替り、これがアンドゲート33、オアゲ
ート29で受付切替信号107に反映され、セレクタ1
0は1サイクル毎に交互にプロセッサ0と1のリクエス
トを選択する。一方、受け付けたリクエストがライトリ
クエスト時は、アドレスと共にライトデータも受け付け
る必要があるので、プロセッサ切替制御部24では、ラ
イト検出論理部27によりアンドゲート32を抑止し、
アンドゲート31を導通させることで、選択番号レジス
タ25の値を1サイクル延長する。また、このマルチプ
ロセッサモードでは、選択番号レジスタ25で選択され
ていないプロセッサに対してリクエストを受け付けてい
ないことを示すために、SCUビジー信号103,10
4が用いられ、ノットゲート47、アンドゲート34,
35により選択番号レジスタ25がプロセッサ0を選択
中はプロセッサ1にSCUビジー信号104が出力さ
れ、選択番号レジスタ25がプロセッサ1を選択中はプ
ロセッサ0にSCUビジー信号103が出力される。す
なわち、SCUビジー信号103と104は、受付切替
信号107に同期して交互に出力されることになる。
When the operation mode register 22 is in the multiprocessor mode (operation mode: 1X), the processors 0 and 1
Are different from each other, the processor switching control unit 24 controls which request is accepted. The value of the selection number register 25 in FIG. 4 is normally (every other than the write operation) switched every cycle through the path of the knot gate 47, the AND gate 32, and the OR gate 28, and this is the reception switching signal 107 by the AND gate 33 and the OR gate 29. Is reflected in the selector 1
0 alternately selects the requests of the processors 0 and 1 every cycle. On the other hand, when the received request is a write request, it is necessary to receive write data together with the address. Therefore, in the processor switching control unit 24, the AND gate 32 is suppressed by the write detection logic unit 27.
By making the AND gate 31 conductive, the value of the selection number register 25 is extended by one cycle. In this multiprocessor mode, the SCU busy signals 103 and 10 are set to indicate that no request has been accepted for a processor not selected by the selection number register 25.
4, a knot gate 47, an AND gate 34,
The SCU busy signal 104 is output to the processor 1 while the selection number register 25 is selecting the processor 0, and the SCU busy signal 103 is output to the processor 0 while the selection number register 25 is selecting the processor 1. That is, the SCU busy signals 103 and 104 are alternately output in synchronization with the reception switching signal 107.

【0022】図6に、図1のマルチプロセッサモード時
の動作タイムチャートを示す。図6において、サイクル
(1)から(5)が、プロセッサ0と1のいずれからも
リクエストがなく、受付切替番号107すなわち選択信
号レジスタ25に同期して、単にSCUビジー信号10
3,104が交互に出力される状態を示している。な
お、マルチプロセッサモードでは、レスポンスプロセッ
サ番号108と109は、108が“0”を、109が
“1”を常に出力する(図3,図4)。
FIG. 6 shows an operation time chart in the multiprocessor mode of FIG. In FIG. 6, in the cycles (1) to (5), there is no request from any of the processors 0 and 1, and the SCU busy signal 10 is simply synchronized with the reception switching number 107, that is, the selection signal register 25.
3, 104 are output alternately. In the multiprocessor mode, the response processor numbers 108 and 109 always output "0" and 109 output "1" (FIGS. 3 and 4).

【0023】図6のサイクル(6)から(9)は、マル
チプロセッサモード時の主記憶リード動作を示したもの
である。プロセッサ0とプロセッサ1がサイクル(6)
で同時にリードリクエストを発生すると、このサイクル
では選択番号レジスタ25がプロセッサ0を選択してい
るので、セレクタ10はプロセッサ0のリクエストアド
レスを選択し、このアドレスがアドレスレジスタ11に
設定される。同時に、プロセッサ番号レジスタ21に
は、受付切替信号107の値であるプロセッサ番号
“0”が設定される。これらレジスタ11,21の内容
はサイクル(7)の頭では確定する。このようにして、
サイクル(7)では、プロセッサ番号レジスタ21は
“0”のため、比較器19は“1”、比較器20は
“0”となり、アンドゲート35は導通状態に、アンド
ゲート36は抑止状態になる。したがって、サイクル
(7)で主記憶装置4から読みだされたリードデータ
は、アンドゲート35を通ってレスポンスレジスタ17
にのみ設定され、それがサイクル(8)の頭では確定
し、サイクル(8)でプロセッサ0に送出される。一
方、サイクル(6)でSCUビジー信号104が出て待
ち状態にあったプロセッサ1のリクエストは、サイクル
(7)で選択番号レジスタ25がプロセッサ1を選択す
ることで受け付けられ、セレクタ10を経由してアドレ
スレジスタ11に設定される。また、プロセッサ番号レ
ジスタ21に“1”が設定される。サイクル(8)で
は、プロセッサ番号レジスタ21は“1”のため、比較
器19は“0”、比較器20は“1”となり、アンドゲ
ート35が抑止状態に、アンドゲート36が導通状態に
なる。したがって、サイクル(8)で主記憶装置4から
読みだされたリードデータは、アンドゲート36を通っ
てレスポンスレジスタ18にのみ設定され、サイクル
(9)でプロセッサ1に送出される。
Cycles (6) to (9) in FIG. 6 show the main memory read operation in the multiprocessor mode. Processor 0 and processor 1 cycle (6)
In this cycle, the selector 10 selects the processor 0 request address because the selection number register 25 has selected the processor 0 in this cycle, and this address is set in the address register 11. At the same time, the processor number “0” which is the value of the reception switching signal 107 is set in the processor number register 21. The contents of these registers 11 and 21 are determined at the beginning of cycle (7). In this way,
In the cycle (7), the processor number register 21 is "0", the comparator 19 is "1", the comparator 20 is "0", the AND gate 35 is conductive, and the AND gate 36 is disabled. . Therefore, the read data read from the main storage device 4 in the cycle (7) passes through the AND gate 35 and the response register 17
, Which is determined at the beginning of cycle (8) and sent to processor 0 in cycle (8). On the other hand, the request from the processor 1 which has been waiting in the cycle (6) due to the output of the SCU busy signal 104 is accepted by the selection number register 25 selecting the processor 1 in the cycle (7) and passed through the selector 10. Is set in the address register 11. Further, “1” is set in the processor number register 21. In the cycle (8), the processor number register 21 is "1", the comparator 19 is "0", the comparator 20 is "1", the AND gate 35 is in the inhibited state, and the AND gate 36 is in the conductive state. . Therefore, the read data read from the main storage device 4 in cycle (8) is set only in the response register 18 through the AND gate 36, and is sent to the processor 1 in cycle (9).

【0024】図6のサイクル(12)から(16)は、
マルチプロセッサモード時の主記憶ライト動作を示した
ものである。プロセッサ0とプロセッサ1がサイクル
(12)で同時にライトリクエストを発生すると、この
サイクルでは選択番号レジスタ25がプロセッサ0を選
択しているので、セレクタ10はプロセッサ0のリクエ
ストアドレスを選択し、このアドレスがアドレスレジス
タ11に設定され、サイクル(13)の頭では確定す
る。マスタチェッカモードと同様、主記憶書き込み時
は、レスポンスが不要なので、プロセッサ番号レジスタ
21の設定は不要である。前に述べたように、ライトリ
クエスト時、選択番号レジスタ25にはもう1サイクル
同じ値が保持されるため、サイクル(13)でプロセッ
サ0のライトデータがデータレジスタ14に設定され、
これがサイクル(14)の頭では確定する。このように
して、主記憶装置4には、サイクル(14)で書き込ま
れる。一方、プロセッサ1のリクエストは、サイクル
(12),(13)で待たされ、サイクル(14)で受
け付けられ、セレクタ10が該プロセッサ1のリクエス
トアドレスを選択し、この選択したアドレスレジスタ1
1が設定され、サイクル(15)の頭では確定する。引
き続いて、サイクル(15)で選択したライトデータが
ライトデータレジスタ14に設定され、サイクル(1
6)の頭では確定するため、サイクル(16)で主記憶
装置4に書き込まれる。
The cycles (12) to (16) in FIG.
This shows the main memory write operation in the multiprocessor mode. When the processor 0 and the processor 1 simultaneously generate a write request in the cycle (12), the selector 10 selects the request address of the processor 0 in this cycle because the selection number register 25 selects the processor 0, and this address is It is set in the address register 11 and is determined at the beginning of the cycle (13). As in the master checker mode, no response is required when writing to the main memory, so that setting of the processor number register 21 is unnecessary. As described above, at the time of a write request, the same value is held in the selection number register 25 for another cycle, so that the write data of the processor 0 is set in the data register 14 in cycle (13).
This is determined at the beginning of cycle (14). Thus, the data is written to the main storage device 4 in the cycle (14). On the other hand, the request from the processor 1 is waited in cycles (12) and (13), accepted in cycle (14), the selector 10 selects the request address of the processor 1, and the selected address register 1
1 is set, and is determined at the beginning of cycle (15). Subsequently, the write data selected in cycle (15) is set in the write data register 14, and in cycle (1)
At the beginning of 6), the data is written to the main storage device 4 in cycle (16) in order to be determined.

【0025】マルチプロセッサモード時の障害は、比較
器16を用いたマスタチェッカ不一致障害は常に抑止さ
れ、パリティチェッカ15の出力のみを、受付切替信号
107で選択されるプロセッサに送出する(図5)。す
なわち、受付切替信号107が“0”の時に検出された
障害は、障害報告制御部23内のアンドゲート42を経
由し、障害報告信号105でプロセッサ0に通知され
る。また、受付切替信号107が“1”の時にに検出さ
れた障害は、障害報告制御部23内アンドゲート43を
経由し、障害報告信号106でプロセッサ1に通知され
る。
As for the fault in the multiprocessor mode, the master checker mismatch fault using the comparator 16 is always suppressed, and only the output of the parity checker 15 is sent to the processor selected by the reception switching signal 107 (FIG. 5). . That is, the failure detected when the reception switching signal 107 is “0” is notified to the processor 0 by the failure report signal 105 via the AND gate 42 in the failure report control unit 23. Further, the fault detected when the reception switching signal 107 is “1” is notified to the processor 1 by the fault report signal 106 via the AND gate 43 in the fault report control unit 23.

【0026】図1の動作モードレジスタ22のモード設
定は、通常のハードウェアレジスタライトと同様に行う
ことで実現できる。例えば、プロセッサからのリクエス
トの特定のアドレスを主記憶制御装置のハードウェアレ
ジスタに割り当てておき、これらにライトリクエストを
発行することで実現できる。本実施例では、図4に示し
たように、プロセッサ切替制御部24内に動作モード切
替検出論理部13を設け、プロセッサからモード切替リ
クエストが発行され、選択後リクエスト信号線111に
出力されると、これを検出して、モードデータ(一種の
ライトデータ)を取り込み、動作モード切替信号110
を出力し、動作モードレジスタ22を書き替える。な
お、動作モード切替検出論理部13は、ライト検出論理
部27と同様に、プロセッサからのリクエストからリク
エスト種類を切り分けるデコーダで実現される。
The mode setting of the operation mode register 22 shown in FIG. 1 can be realized by performing the same operation as the ordinary hardware register write. For example, it can be realized by assigning a specific address of a request from the processor to a hardware register of the main storage control device and issuing a write request to these. In this embodiment, as shown in FIG. 4, the operation mode switching detection logic unit 13 is provided in the processor switching control unit 24, and when a mode switching request is issued from the processor and output to the request signal line 111 after selection. Detecting this, fetching the mode data (a kind of write data), the operation mode switching signal 110
Is output, and the operation mode register 22 is rewritten. The operation mode switching detection logic unit 13 is realized by a decoder that separates a request type from a request from a processor, similarly to the write detection logic unit 27.

【0027】マスタチェッカ動作からマルチプロセッサ
動作への変更は、マスタプロセッサが動作モードレジス
タ22を書き替えることで実現する。マスタプロセッサ
はそのまま処理を実行するが、チェッカプロセッサは動
作モードレジスタライトの次の命令より独立に動作する
ことになる。切替後、各々のプロセッサは、自分のプロ
セッサ番号を認識し、独立したプログラムを実行する。
The change from the master checker operation to the multiprocessor operation is realized by rewriting the operation mode register 22 by the master processor. The master processor executes the processing as it is, but the checker processor operates independently of the instruction following the operation mode register write. After the switching, each processor recognizes its own processor number and executes an independent program.

【0028】マルチプロセッサ動作からマスタチェッカ
動作への変更は、将来マスタプロセッサになるプロセッ
サが動作モードレジスタ22を書き替えることで実現す
る。動作モード変更後、マスタプロセッサは、汎用レジ
スタ、浮動小数点レジスタ、プログラムカウンタ、制御
レジスタ等プロセッサ内のすべての情報を一度主記憶装
置に退避し、マスタプロセッサとチェッカプロセッサの
双方にリセットを発行し、その後主記憶装置に退避した
プロセッサ内の情報を両方のプロセッサに回復すること
で、マスタチェッカプロセッサの同期を取り2重化プロ
セッサとして動作する。
The change from the multiprocessor operation to the master checker operation is realized by the processor which will become the master processor in the future rewriting the operation mode register 22. After changing the operation mode, the master processor saves all information in the processor, such as general-purpose registers, floating-point registers, program counters, and control registers, once to the main storage device, and issues a reset to both the master processor and the checker processor, Thereafter, by recovering the information in the processor saved in the main storage device to both processors, the master checker processor is synchronized and operates as a duplex processor.

【0029】図7は、本発明の第2の実施例の全体的構
成図で、4台のプロセッサが主記憶装置に接続される情
報処理システムにおいて、各プロセッサに論理プロセッ
サ番号とマスタモード又はチェッカモードを設定するこ
とで、同一の論理プロセッサ番号を保有しそれぞれマス
タモードとチェッカモードが設定された2重化プロセッ
サの組と、チェッカプロセッサを持たないマスタプロセ
ッサのみの単独プロセッサとによるマルチプロセッサシ
ステムを構成し、これらのプロセッサの組合せを自在に
切替え可能としたものである。
FIG. 7 is an overall block diagram of a second embodiment of the present invention. In an information processing system in which four processors are connected to a main storage device, each processor has a logical processor number and a master mode or checker. By setting the mode, a multiprocessor system including a set of duplicated processors having the same logical processor number and being set to the master mode and the checker mode, respectively, and a single processor having only the master processor without the checker processor is provided. Thus, the combination of these processors can be freely switched.

【0030】図7において、プロセッサ0(IP0)2
00、プロセッサ1(IP1)201、プロセッサ2
(IP2)202、プロセッサ3(IP3)203は、
それぞれ独立のプロセッサバス250〜253で主記憶
制御装置(SCU)204に接続されている。各プロセ
ッサ200〜203とSCU204間は、この他に、各
プロセッサに個別のSCUビジー信号254〜257、
及び、各プロセッサに共通の障害報告信号267が接続
されている。
In FIG. 7, processor 0 (IP0) 2
00, processor 1 (IP1) 201, processor 2
(IP2) 202 and processor 3 (IP3) 203
Independent processor buses 250 to 253 are connected to the main storage controller (SCU) 204. In addition, between each processor 200 to 203 and the SCU 204, an individual SCU busy signal 254 to 257
Further, a common failure report signal 267 is connected to each processor.

【0031】SCU204は、受付切替信号264に応
じてプロセッサ0〜3を選択するセレクタ206、選択
されたプロセッサのリクエストアドレスが設定されるア
ドレスレジステ207、同プロセッサのライトデータが
設定されるライトデータレジスタ208、選択されたプ
ロセッサ番号(論理プロセッサ番号)が設定されるプロ
セッサ番号レジスタ209、主記憶装置205からのリ
ードデータが設定されるプロセッサ0〜3対応のレスポ
ンスレジスタ210〜213、各レスポンスレジスタ2
10〜213の動作を制御するためのアンドゲート21
4〜217及び比較回路220〜223、プロセッサ0
〜3の動作モードが設定される動作モードレジスタ23
0、プロセッサ0〜3の切替え制御を司るプロセッサ切
替制御部231、各サイクルで選択されるプロセッサ番
号(論理プロセッサ番号)が設定される選択番号レジス
タ232、ライトリクエストを検出するライト検出論理
部233、レジスタ230の動作モードを切替える動作
モード切替論理部234、リクエストアドレス、ライト
データの一致性(ただし、マスタチェッカの組)、誤り
を検出してプロセッサ0〜3に報告する障害報告制御部
266、及び、アプリゲート群240〜249よりな
る。なお、260〜263はレスポンスプロセッサ番号
信号、264は受付切替信号、265は選択番号レジス
タ入力信号である。
The SCU 204 includes a selector 206 for selecting one of the processors 0 to 3 according to the reception switching signal 264, an address register 207 for setting a request address of the selected processor, and a write data for setting write data of the selected processor. A register 208, a processor number register 209 in which a selected processor number (logical processor number) is set, response registers 210 to 213 corresponding to processors 0 to 3 in which read data from the main storage device 205 are set, and each response register 2
AND gate 21 for controlling operations of 10 to 213
4-217, comparison circuits 220-223, processor 0
Operation mode register 23 in which the operation modes of .about.3 are set
0, a processor switching controller 231 for controlling switching of processors 0 to 3, a selection number register 232 in which a processor number (logical processor number) selected in each cycle is set, a write detection logic unit 233 for detecting a write request, An operation mode switching logic unit 234 that switches the operation mode of the register 230, a request address, write data consistency (a set of master checkers), a failure report control unit 266 that detects an error and reports it to the processors 0 to 3, and , And application gate groups 240 to 249. Note that 260 to 263 are response processor number signals, 264 is a reception switching signal, and 265 is a selection number register input signal.

【0032】図7の4台のプロセッサの動作は、SCU
204内の動作モードレジスタ230で決定される。動
作モードレジスタ230は、図8に示すように合計12
ビットで構成され、プロセッサ毎に3ビットが割り当て
られ、前半の2ビットで論理プロセッサ番号を示し、後
半1ビットでマスタチェッカ識別モードを示す。ここ
で、論理プロセッサ番号とは、プロセッサに固有のプロ
セッサ番号に対し、それとは別に仮想的に割当てる番号
のことである。該論理プロセッサ番号は可変であり、本
実施例では、4台のプロセッサ0〜3の動作モードに応
じて、“00”(論理プロセッサ番号0)、“01”
(論理プロセッサ番号1)、“10”(論理プロセッサ
番号2)、“11”(論理プロセッサ番号3)のいずれ
かを示す。後半1ビットは、当該プロセッサがマスタプ
ロセッサの場合は“0”、チェッカプロセッサの場合は
“1”とする。
The operation of the four processors in FIG.
The operation mode is determined by the operation mode register 230 in the memory 204. The operation mode register 230 has a total of 12 as shown in FIG.
The first two bits indicate the logical processor number, and the last one bit indicates the master checker identification mode. Here, the logical processor number is a number that is virtually assigned separately to a processor number unique to the processor. The logical processor number is variable, and in this embodiment, “00” (logical processor number 0), “01” according to the operation mode of the four processors 0 to 3.
(Logical processor number 1), "10" (logical processor number 2), or "11" (logical processor number 3). The latter one bit is “0” when the processor is a master processor and “1” when the processor is a checker processor.

【0033】動作モードレジスタ230の内容(動作モ
ード)はプロセッサ切替制御部231に送られ、該プロ
セッサ切替制御部231により、選択番号レジスタ23
2、受付切替信号264、SCUビジー信号254〜2
57、レスポンスプロセッサ番号信号260〜263な
どが制御される。図9に、一例として4種類の動作モー
ドの場合について、プロセッサ切替制御部231の動作
図を示す。ここで、選択番号レジスタ232、受付切替
信号264、レスポンスプロセッサ260〜263が論
理プロセッサ番号で示されること以外、基本的動作は図
3と同様である。なお、プロセッサ切替制御部231の
内部論理図は省略する。
The contents (operation mode) of the operation mode register 230 are sent to the processor switching control section 231 and the processor switching control section 231 causes the selection number register 23
2. Reception switching signal 264, SCU busy signal 254-2
57, the response processor number signals 260 to 263 are controlled. FIG. 9 shows an operation diagram of the processor switching control unit 231 for four types of operation modes as an example. Here, the basic operation is the same as that of FIG. 3 except that the selection number register 232, the reception switching signal 264, and the response processors 260 to 263 are indicated by logical processor numbers. Note that an internal logic diagram of the processor switching control unit 231 is omitted.

【0034】図9において、1番目は、プロセッサ0か
ら3が、各々論理プロセッサ番号0から3に割り当てら
れ、それぞれ独立したマスタプロセッサで動作する4台
マルチプロセッサモードである。2番目は、プロセッサ
0は論理プロセッサ番号0のマスタプロセッサ、プロセ
ッサ1は同論理プロセッサ番号0のチェッカプロセッ
サ、プロセッサ2は論理プロセッサ番号1のマスタプロ
セッサ、プロセッサ3は論理プロセッサ番号2のマスタ
プロセッサに割り当てられ、1組のマスタチェッカ構成
と2個の単独プロセッサによる3台マルチプロセッサモ
ードである。3番目は、プロセッサ0は論理プロセッサ
番号0のマスタプロセッサ、プロセッサ1は同論理プロ
セッサ番号0のチェッカプロセッサ、プロセッサ2は論
理プロセッサ番号1のマスタプロセッサ、プロセッサ3
は同論理プロセッサ番号1のチェッカプロセッサに割り
当てられ、2組のマスタチェッカ構成による2台マルチ
プロセッサモードである。4番目は、2番目のケースに
おいて、論理プロセッサ番号0のマスタチェッカ構成の
1組のプロセッサ0と1について、マスタプロセッサと
してのプロセッサ0に障害が発生して、プロセッサ1を
マスタプロセッサ、プロセッサ0をチェッカプロセッサ
に切り替えた場合である。以下、これらの動作モードを
例に図7の動作を説明する。なお、動作モードレジスタ
230では、これ以外にも多様な動作モードが実現でき
るが、これらのモードから容易に類推できるので、ここ
での説明は割愛する。
In FIG. 9, the first is a four-processor multiprocessor mode in which processors 0 to 3 are assigned to logical processor numbers 0 to 3, respectively, and operate on independent master processors. Second, processor 0 is assigned to the master processor of logical processor number 0, processor 1 is assigned to the checker processor of the same logical processor number 0, processor 2 is assigned to the master processor of logical processor number 1, and processor 3 is assigned to the master processor of logical processor number 2 And a three-unit multiprocessor mode with one set of master checker configuration and two single processors. Third, processor 0 is the master processor of logical processor number 0, processor 1 is the checker processor of logical processor number 0, processor 2 is the master processor of logical processor number 1, and processor 3
Are assigned to the checker processor of the same logical processor number 1 and are in a two-unit multiprocessor mode with two sets of master checkers. Fourth, in the second case, with respect to a set of processors 0 and 1 in the master checker configuration of logical processor number 0, a failure occurs in processor 0 as a master processor, and processor 1 becomes the master processor and processor 0 becomes the This is the case when switching to the checker processor is performed. Hereinafter, the operation of FIG. 7 will be described using these operation modes as examples. The operation mode register 230 can realize various operation modes other than the above. However, since it can be easily inferred from these modes, the description is omitted here.

【0035】1番目の4台マルチプロセッサモード時
は、選択番号レジスタ232は、論理プロセッサ番号0
から1、2、3を1サイクルごとに順に選択する。選択
されたプロセッサ以外はSCUビジー信号が“1”とな
り、これらからのリクエストは抑止される。例えば、論
理プロセッサ番号0を選択時には、プロセッサ1から3
のSCUビジー信号255〜257が“1”となり、プ
ロセッサ0のリクエストのみが受け付けられる。そし
て、プロセッサ0がリードリクエスト発行時には、プロ
セッサ0からのリクエストアドレスが、セレクタ206
を通じてアドレスレジスタ207に設定され、同時にプ
ロセッサ番号レジスタ209に、論理プロセッサ番号0
が設定される。プロセッサ番号レジスタ209はレスポ
ンスプロセッサ番号信号260〜263と比較器220
〜223で比較され、比較器220のみが一致信号を出
力するためアンドゲート214が導通状態に、他のアン
ドゲート215〜217は非導通状態になる。この結
果、アドレスレジスタ207のアドレスで主記憶装置2
05から読みだされたリードデータは、アンドゲート2
14を通ってレスポンスレジスタ210に設定され、プ
ロセッサ0に送出される。プロセッサ0がライトリクエ
スト発行時には、プロセッサ0から送出されたリクエス
トアドレスとライトデータがセレクタ206で選択さ
れ、アドレスレジスタ207とライトデータレジスタ2
08に設定される。ライト動作時はレスポンスが不要な
ので、プロセッサ番号レジスタ209の設定は不要であ
る。また、ライト動作時には、図3および図4で説明し
たと同様の論理で、リクエストアドレスサイクルにおい
て、ライト検出論理部233でライト動作であることを
認識し、次のサイクルでも受付論理プロセッサ番号をア
ドレスサイクルと同一のプロセッサを選択することで、
リクエストデータを取り込む。主記憶装置205には、
アドレスレジスタ207で示すアドレスに、ライトデー
タレジスタ208のライトデータが書き込まれる。選択
番号レジスタ232が論理プロセッサ番号1、2、3を
選択時も、上記と同様に選択されたプロセッサのリクエ
ストのみを受付て動作できる。
In the first four-unit multiprocessor mode, the selection number register 232 stores the logical processor number 0.
, 1, 2, and 3 are sequentially selected for each cycle. Other than the selected processor, the SCU busy signal becomes "1", and requests from these are suppressed. For example, when logical processor number 0 is selected, processors 1 to 3
SCU busy signals 255 to 257 become “1”, and only the request from processor 0 is accepted. When the processor 0 issues a read request, the request address from the processor 0 is stored in the selector 206.
Is set in the address register 207, and the processor number register 209 simultaneously stores the logical processor number 0
Is set. The processor number register 209 stores the response processor number signals 260 to 263 and the comparator 220
2223, and only the comparator 220 outputs a coincidence signal, so that the AND gate 214 is conductive and the other AND gates 215 to 217 are nonconductive. As a result, the address of the main memory 2
The read data read from 05 is AND gate 2
14 and set in the response register 210 and sent to the processor 0. When processor 0 issues a write request, the request address and write data sent from processor 0 are selected by selector 206, and address register 207 and write data register 2
08 is set. Since no response is required during the write operation, setting of the processor number register 209 is unnecessary. In a write operation, the write detection logic unit 233 recognizes that a write operation is performed in the request address cycle with the same logic as that described with reference to FIGS. By choosing the same processor as the cycle,
Fetch request data. In the main storage device 205,
The write data of the write data register 208 is written to the address indicated by the address register 207. Even when the selection number register 232 selects the logical processor numbers 1, 2, and 3, it can operate by accepting only the request of the selected processor in the same manner as described above.

【0036】2番目の3台マルチプロセッサモード時
は、選択番号レジスタ232は、論理プロセッサ番号0
から1、2を順に選択する。この場合、マスタチェッカ
構成のプロセッサは、マスタとチェッカの2台が同一の
論理プロセッサ番号を持つので、同一の動作をする。本
例では、論理プロセッサ番号0を選択時には、プロセッ
サ0と1のSCUビジー信号254と255が“0”、
プロセッサ2と3のSCUビジー信号256が257は
“1”となり、プロセッサ0と1のリクエストのみが受
け付けられる。すべてのマスタプロセッサからのリード
リクエストとライトリクエストは1番目の4台マルチプ
ロセッサ時と同様に、選択番号レジスタ232で選択さ
れたプロセッサのリクエストを受け付けて動作する。チ
ェッカプロセッサは、対応する同じ論了プロセッサ番号
のマスタプロセッサと同時動作をするため、通常のリー
ドリクエスト又はライトリクエストの発行はマスタプロ
セッサと同一である(ここでは、プロセッサ0と1)。
ただし、チェッカプロセッサからのリクエストは、セレ
クタ206では選択されず、障害報告制御部266で、
対応するマスタプロセッサのリクエストと比較され、不
一致の際には障害報告信号267で、各プロセッサ20
0〜203に通知される。チェッカプロセッサへのレス
ポンスデータの送出は、同期するマスタプロセッサのレ
スポンスデータと同時に送出する。すなわち、本例で
は、レスポンスプロセッサ番号260と261は双方と
も“0”なので、比較器220、221は共に成立し、
同一の内容が双方のプロセッサに送出される。
In the second three-processor multiprocessor mode, the selection number register 232 stores the logical processor number 0.
And 1 and 2 are selected in turn. In this case, the processors of the master checker configuration perform the same operation because the master and the checker have the same logical processor number. In this example, when the logical processor number 0 is selected, the SCU busy signals 254 and 255 of the processors 0 and 1 are “0”,
257 of the SCU busy signal 256 of the processors 2 and 3 becomes “1”, and only the requests of the processors 0 and 1 are accepted. Read requests and write requests from all master processors operate in response to requests from the processor selected by the selection number register 232, as in the case of the first four multiprocessors. Since the checker processor operates simultaneously with the corresponding master processor having the same concluded processor number, the issuance of a normal read request or write request is the same as that of the master processor (here, processors 0 and 1).
However, the request from the checker processor is not selected by the selector 206, and is output by the failure report control unit 266.
The request is compared with the request from the corresponding master processor.
0 to 203 are notified. The response data is transmitted to the checker processor at the same time as the response data of the synchronized master processor. That is, in this example, since both the response processor numbers 260 and 261 are “0”, both the comparators 220 and 221 are established, and
The same content is sent to both processors.

【0037】3番目の2台マルチプロセッサモード時
は、2番目の3台マルチプロセッサ時とほぼ同様に動作
する。ただし、選択番号レジスタ232は、論理プロセ
ッサ番号0と1を交互に選択する。例えば、論理プロセ
ッサ番号0を選択時には、プロセッサ0と1のSCUビ
ジー信号254と255が“0”、プロセッサ2と3の
SCUビジー信号256とー257が“1”となり、プ
ロセッサ0と1のリクエストのみが受け付けられ、プロ
セッサ0がマスタプロセッサ、プロセッサ1がチェッカ
プロセッサとして動作する。同様に、論理プロセッサ番
号1を選択時には、プロセッサ2と3のSCUビジー信
号256と257が“0”、プロセッサ0と1のSCU
ビジー信号254と255が“1”となり、プロセッサ
2と3のリクエストのみが受け付けられる。障害報告
は、障害報告制御部266で、同一論理プロセッサ番号
に対応するマスタプロセッサとチェックプロセッサのリ
クエストとが比較され、不一致の際に障害報告信号26
7で各プロセッサに通知される。
In the third multiprocessor mode, the operation is substantially the same as that in the second multiprocessor mode. However, the selection number register 232 alternately selects the logical processor numbers 0 and 1. For example, when the logical processor number 0 is selected, the SCU busy signals 254 and 255 of the processors 0 and 1 become “0”, the SCU busy signals 256 and −257 of the processors 2 and 3 become “1”, and the request of the processors 0 and 1 becomes Only processor 0 operates as a master processor and processor 1 operates as a checker processor. Similarly, when the logical processor number 1 is selected, the SCU busy signals 256 and 257 of the processors 2 and 3 are set to “0”, and the SCU of the processors 0 and 1 are set to “0”.
The busy signals 254 and 255 become "1", and only the requests from the processors 2 and 3 are accepted. The failure report is compared by the failure report control unit 266 with the request of the master processor and the request of the check processor corresponding to the same logical processor number.
At 7, each processor is notified.

【0038】4番目の3台マルチプロセッサモード時の
動作は、2番目のケースで、プロセッサ1をマスタプロ
セッサに、プロセッサ0をチェッカプロセッサと置き替
えれば、該2番目とまったく同様である。
The operation in the fourth three-processor multiprocessor mode is exactly the same as the second operation in the second case, except that the processor 1 is replaced by a master processor and the processor 0 is replaced by a checker processor.

【0039】図7において、動作モードレジスタ230
へのモード設定は、動作モード切替論理部234によ
り、第1の実施例における図4の動作モード切替論理部
13と同様に、通常のハードウェアレジスタライトと同
様に行うことで実現できる。すなわち、プロセッサから
のリクエストの特定のアドレスは主記憶制御装置のハー
ドウェアレジスタ(動作モードレジスタ230)に割り
当られ、ここにライトリクエストを発行すると、動作モ
ード切替検出論理234がライトリクエストを検出し、
動作モードレジスタ230を書き替える。
In FIG. 7, the operation mode register 230
The setting of the mode can be realized by the operation mode switching logic unit 234, similarly to the operation mode switching logic unit 13 of FIG. That is, a specific address of a request from the processor is assigned to a hardware register (operation mode register 230) of the main memory control device. When a write request is issued here, the operation mode switching detection logic 234 detects the write request. ,
The operation mode register 230 is rewritten.

【0040】動作モード1番目から2番目への切替は、
将来マスタチェッカ構成のマスタプロセッサになるプロ
セッサ0が動作モードレジスタ230を新しい動作モー
ドに書き替える。動作モード変更後、プロセッサ0は、
汎用レジスタ、浮動小数点レジスタ、プログラムカウン
タ、制御レジスタ等プロセッサ内のすべての情報を一度
主記憶装置に退避し、プロセッサ0と1の双方にリセッ
トを発行し、その後主記憶装置に退避したプロセッサ内
の情報を両方のプロセッサに回復することで、マスタチ
ェッカプロセッサの同期を取り2重化プロセッサとして
動作する。プロセッサ2及び3は、論理プロセッサ番号
が変化するだけで、モード変更前と同様に動作する。
Switching from the first operation mode to the second operation mode is as follows.
Processor 0, which will become a master processor having a master checker configuration in the future, rewrites the operation mode register 230 to a new operation mode. After changing the operation mode, the processor 0
All information in the processor, such as general-purpose registers, floating-point registers, program counters, and control registers, is once saved in the main memory, a reset is issued to both processors 0 and 1, and then the information in the processor saved in the main memory is saved. By recovering information to both processors, the master checker processor is synchronized and operates as a duplex processor. The processors 2 and 3 operate in the same manner as before the mode change except that the logical processor number changes.

【0041】動作モード2番目から3番目への切替も同
様に、プロセッサ2が動作モードレジスタ230を書き
替え、動作モード変更後、プロセッサ2は、汎用レジス
タ、浮動小数点レジスタ、プログラムカウンタ、制御レ
ジスタ等プロセッサ内のすべての情報を一度主記憶装置
に退避し、プロセッサ2と3の双方にリセットを発行
し、その後主記憶装置に退避したプロセッサ内の情報を
両方のプロセッサに回復することで、マスタチェッカプ
ロセッサの同期を取り2重化プロセッサとして動作す
る。
Similarly, when the operation mode is switched from the second operation mode to the third operation mode, the processor 2 rewrites the operation mode register 230, and after changing the operation mode, the processor 2 sets the general-purpose register, the floating-point register, the program counter, the control register, etc. All the information in the processor is once saved in the main storage device, a reset is issued to both the processors 2 and 3, and the information in the processor saved in the main storage device is then restored to both processors, thereby obtaining the master checker. The processors synchronize and operate as a duplex processor.

【0042】動作モード3番目から2番目への切替、及
びは動作モード2番目から1番目への切替は、いずれか
のマスタプロセッサが動作モードレジスタ230を書き
替えることで実現できる。動作モード変更後、チェッカ
プロセッサからマスタプロセッサに変化したプロセッサ
は、動作モード変更の次の命令から独立に動作すること
になる。切替後、各々のプロセッサは、自分のプロセッ
サ番号を認識し、独立したプログラムを実行する。
Switching from the third operation mode to the second operation mode and switching from the second operation mode to the first operation mode can be realized by rewriting the operation mode register 230 by any master processor. After the change of the operation mode, the processor changed from the checker processor to the master processor operates independently of the instruction following the change of the operation mode. After the switching, each processor recognizes its own processor number and executes an independent program.

【0043】図10は、障害報告制御部266の内部論
理構成例を示したものである。これは、比較器270〜
275および比較器276〜281において、各プロセ
ッサからのリクエスト信号と論理プロセッサ番号をすべ
ての組合せで比較し、ノットゲート290〜295、ア
ンドゲート300〜305、オアゲートを通じて、論理
プロセッサ番号が一致する組合せでリクエスト信号が一
致しないものが有る場合に、障害報告信号267を出力
する構成である。
FIG. 10 shows an example of the internal logical configuration of the fault report control unit 266. This is because the comparators 270-270
275 and the comparators 276 to 281 compare the request signal from each processor with the logical processor number in all combinations, and through the NOT gates 290 to 295, the AND gates 300 to 305, and the OR gate, in the combinations in which the logical processor numbers match. When there is a request signal that does not match, a failure report signal 267 is output.

【0044】次に、図11及び図12により、プロセッ
サの保守・診断を行うサービスプロセッサを使用して、
システム立上げなどのリセット時、各プロセッサの初期
テストを実施して動作可能/不能プロセッサの有無をチ
ェックし、診断パス経由で動作モードレジスタへ動作モ
ードを自動設定する実施例を説明する。
Next, referring to FIGS. 11 and 12, using a service processor for performing maintenance and diagnosis of the processor,
An embodiment will be described in which an initial test of each processor is performed at the time of reset such as system startup to check for the presence / absence of an operable / unable processor, and the operation mode is automatically set in the operation mode register via a diagnostic path.

【0045】図11は本実施例の全体構成図で、ここで
は、図1のプロセッサ0(IPO)1とプロセッサ1
(IPO)2が主記憶制御装置(SCU)3に接続され
たシステム構成に適用した場合を示す。図11におい
て、SCU3の内部構成は図1と同様であり、動作モー
ドレジスタ22を内蔵している。サービスプロセッサ
(SVP)5はプロセッサ1、2、主記憶制御装置3、
主記憶装置4の保守・診断を行うプロセッサであり、各
装置とは独立の保守・診断パスで接続されている。な
お、便宜上、図11では、サービスプロセッサ5と主記
憶装置4の間のパスは省略してある。
FIG. 11 is an overall configuration diagram of the present embodiment. In this case, the processor 0 (IPO) 1 and the processor 1 in FIG.
A case where the (IPO) 2 is applied to a system configuration connected to a main storage control unit (SCU) 3 is shown. 11, the internal configuration of the SCU 3 is the same as that of FIG. 1, and includes an operation mode register 22. The service processor (SVP) 5 includes processors 1 and 2, a main storage control device 3,
It is a processor that performs maintenance and diagnosis of the main storage device 4 and is connected to each device by an independent maintenance and diagnosis path. In FIG. 11, the path between the service processor 5 and the main storage device 4 is omitted for convenience.

【0046】図11の構成による動作モード設定の処理
フロー図を図12に示す。リセット時、主記憶制御装置
3はマルチプロセッサモードで動作する。プロセッサ0
及び1は、サービスプロセッサ5の制御下で各々独立に
自己テスト(初期テスト)を実施する(ステップ100
1)。そして、自己テストで不具合が発見されるか判定
し(ステップ1002)、発見された場合は、以降の動
作をやめ、無限ループで停止するが(ステップ100
3)、自己テストを無事通過した場合は、自己テストO
Kフラグを点灯する(ステップ1004)。サービスプ
ロセッサ5は、他のプロセッサの自己テストOKフラグ
が点灯するのを待ち(ステップ1005、1006)、
2台とも自己テストOKフラグが点灯したら(ステップ
1005でYES)、あらかじめ指示された構成情報を
読み取り(ステップ1007)、これに従って(ステッ
プ1008)、診断パスを用いてSCU3の動作モード
レジスタ22へ動作モードを設定し(ステップ101
0、1012)、通常処理へ移行せしめる。一方、一定
時間経っても、他のプロセッサの自己テストOKフラグ
が点灯しない場合は(ステップ1006でYES)、他
のプロセッサは動作しないものと判断し(ステップ10
09)、サービスプロセッサ5は動作可能なプロセッサ
がマスタプロセッサになるマスタチェッカモードを設定
し(ステップ1010、1011)、通常処理へ移行せ
しめる。
FIG. 12 shows a processing flow chart of the operation mode setting by the configuration of FIG. At the time of reset, the main memory control device 3 operates in the multiprocessor mode. Processor 0
And 1 independently execute a self test (initial test) under the control of the service processor 5 (step 100).
1). Then, it is determined whether a defect is found in the self test (step 1002). If found, the subsequent operation is stopped and the operation is stopped in an infinite loop (step 1002).
3) If you pass the self-test successfully,
The K flag is turned on (step 1004). The service processor 5 waits until the self-test OK flag of the other processor is turned on (steps 1005 and 1006).
When the self-test OK flag is turned on for both the devices (YES in step 1005), the configuration information instructed in advance is read (step 1007), and according to the information (step 1008), the operation mode register 22 of the SCU 3 is operated using the diagnostic path. Set the mode (step 101
0, 1012), and shift to normal processing. On the other hand, if the self-test OK flag of the other processor does not turn on after a certain period of time (YES in step 1006), it is determined that the other processor does not operate (step 10).
09), the service processor 5 sets the master checker mode in which the operable processor becomes the master processor (steps 1010 and 1011), and shifts to the normal processing.

【0047】なお、プロセッサ0と1のいずれか一方が
存在しない時は、存在しないプロセッサの自己テストO
Kフラグは点灯しないので、自己テストで不具合が発生
した時と同様に、動作しているプロセッサをマスタプロ
セッサに設定し、処理を続行すればよい。また、構成情
報は、あらかじめハードウェアの構成部品として用意す
るか、ソフトウエアにより、例えばオペレータコンソー
ルからコマンドとして与えることも可能である。
When one of the processors 0 and 1 does not exist, the self-test O
Since the K flag is not turned on, the operating processor may be set as the master processor and the processing may be continued as in the case where a failure occurs in the self test. The configuration information can be prepared in advance as hardware components or can be given as a command from software, for example, from an operator console.

【0048】さらに、図11ではサービスプロセッサを
使用するとしたが、リセット時、プロセッサ0及び1が
各々独立に図12の処理フローを実行し、前に説明した
レジスタライトリクエストにより動作モードレジスタ2
2の動作モードを設定してもよい。この場合、自己テス
トOKフラグは主記憶装置4の特定領域に格納し、それ
をプロセッサ0と1が見ることで、他プロセッサの自己
テストOKフラグがオンかどうか判定すればよい。ま
た、両方のプロセッサが正常の場合、各プロセッサが動
作モードを設定することになるが、同一内容のため支障
はない。
Further, although the service processor is used in FIG. 11, at the time of reset, the processors 0 and 1 independently execute the processing flow of FIG. 12 and operate mode register 2 by the register write request described above.
The second operation mode may be set. In this case, the self-test OK flag may be stored in a specific area of the main storage device 4, and the processors 0 and 1 may see it to determine whether or not the self-test OK flag of another processor is on. When both processors are normal, each processor sets the operation mode, but there is no problem because the contents are the same.

【0049】[0049]

【発明の効果】請求項1の発明によれば、2台のプロセ
ッサを有する情報処理装置において、システムの状況
(システムの立上げ時や障害発生時などの状況)に応じ
て識別モードの設定を変更することにより、2重化プロ
セッサシステムとマルチプロセッサシステムを自在に選
択することが可能である。
According to the first aspect of the present invention, in the information processing apparatus having two processors, the identification mode is set according to the state of the system (ie, when the system is started up or when a failure occurs). By making a change, it is possible to freely select a dual processor system or a multiprocessor system.

【0050】請求項2の発明によれば、3台以上のプロ
セッサを有する情報処理装置において、各プロセッサに
論理プロセッサ番号とマスタモード又はチエッカモード
の識別モードを設け、これらを自在に変更することによ
り、システムの状況に応じて、2重化プロセッサ、マル
チプロセッサ、もしくはこれらを組み合せた任意のシス
テムを選択することが可能であり、性能、信頼性の最適
なシステムを自在に構築することができる。
According to the second aspect of the present invention, in an information processing apparatus having three or more processors, each processor is provided with a logical processor number and an identification mode of a master mode or a checker mode, and these can be freely changed. It is possible to select a dual processor, a multiprocessor, or an arbitrary system in which these are combined according to the state of the system, and it is possible to freely construct a system with optimum performance and reliability.

【0051】請求項3の発明によれば、通常のハードウ
ェアレジスタライトと同様にして、任意のプロセッサか
ら識別モード及び/又は論理プロセッサ番号を簡単に切
替え制御することが可能になる。
According to the third aspect of the present invention, the identification mode and / or the logical processor number can be easily switched and controlled from an arbitrary processor in the same manner as a normal hardware register write.

【0052】請求項4の発明によれば、システムの立上
げ時、各プロセッサの動作可能/不能に応じて、自動的
に性能と信頼性の適切な組合せのシステムを構築するこ
とが可能になる。
According to the fourth aspect of the present invention, when the system is started, it is possible to automatically construct a system having an appropriate combination of performance and reliability in accordance with the operability / inability of each processor. .

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

【図1】本発明の第1の実施例を示す構成図である。FIG. 1 is a configuration diagram showing a first embodiment of the present invention.

【図2】図1の動作モードレジスタの内容を示す説明図
である。
FIG. 2 is an explanatory diagram showing contents of an operation mode register of FIG. 1;

【図3】図1のプロセッサ切替制御部の動作説明図であ
る。
FIG. 3 is an explanatory diagram of an operation of a processor switching control unit in FIG. 1;

【図4】図1のプロセッサ切替制御部の内部論理図であ
る。
FIG. 4 is an internal logic diagram of a processor switching control unit of FIG. 1;

【図5】図1の障害報告制御部の内部論理図である。FIG. 5 is an internal logic diagram of the failure report control unit of FIG. 1;

【図6】図1のマルチプロセッサモード時の動作を説明
するタイムチャートである。
FIG. 6 is a time chart for explaining the operation in the multiprocessor mode of FIG. 1;

【図7】本発明の第2の実施例を示す構成図である。FIG. 7 is a configuration diagram showing a second embodiment of the present invention.

【図8】図7の動作モードレジスタの内容を示す説明図
である。
FIG. 8 is an explanatory diagram showing contents of an operation mode register of FIG. 7;

【図9】図7のプロセッサ切替制御部の動作説明図であ
る。
FIG. 9 is an operation explanatory diagram of the processor switching control unit of FIG. 7;

【図10】図7の障害報告制御部の内部論理図である。FIG. 10 is an internal logic diagram of the fault report control unit of FIG. 7;

【図11】本発明の第3の実施例を示す構成図である。FIG. 11 is a configuration diagram showing a third embodiment of the present invention.

【図12】図11における動作モード設定の処理フロー
図である。
FIG. 12 is a processing flowchart of an operation mode setting in FIG. 11;

【符号の説明】[Explanation of symbols]

1、2 プロセッサ 3 主記憶制御装置(SCU) 4 主記憶装置 5 サービスプロセッサ 13 動作モード切替論理部 22 動作モードレジスタ 23 障害報告制御部 24 プロセッサ切替制御部 107 受付切替信号 110 動作モード切替信号 200〜203 プロセッサ 204 主記憶制御装置 205 主記憶装置 230 動作モードレジスタ 231 プロセッサ切替制御部 234 動作モード切替論理部 266 障害報告制御部 1, 2 processor 3 main storage control unit (SCU) 4 main storage device 5 service processor 13 operation mode switching logic unit 22 operation mode register 23 failure report control unit 24 processor switching control unit 107 reception switching signal 110 operation mode switching signal 200 to 203 Processor 204 Main storage control device 205 Main storage device 230 Operation mode register 231 Processor switching control unit 234 Operation mode switching logic unit 266 Failure report control unit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−62641(JP,A) 特開 平2−123455(JP,A) 特開 平2−130666(JP,A) 特開 平1−224861(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 15/16 - 15/177 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-4-62641 (JP, A) JP-A-2-123455 (JP, A) JP-A-2-130666 (JP, A) JP-A-1- 224861 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 15/16-15/177

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 主記憶装置と、該主記憶装置に主記憶制
御装置を介して接続される2台のプロセッサを有する情
報処理装置において、 前記主記憶制御装置は、 前記2台のプロセッサがマルチプロセッサモードまたは
マスタチェッカモードで動作することを示す動作モード
レジスタと、 前記動作モードレジスタの内容に基づいて、マルチプロ
セッサモードでは、前記2台のプロセッサに交互に前記
主記憶装置に対するリクエストを許可して、該2台のプ
ロセッサが各々独立したプログラムを実行するマルチプ
ロセッサシステムに、マスタチェッカモードでは、前記
2台のプロセッサに前記主記憶装置に対するリクエスト
を同時に許可して、該2台のプロセッサが一方はマスタ
プロセッサ、他方はチェッカプロセッサとして同一のプ
ログラムを実行する2重化プロセッサシステムに切り替
える制御手段と、 を有することを特徴とする情報処理装置。
An information processing apparatus having a main storage device and two processors connected to the main storage device via a main storage control device, wherein the main storage control device is a multi-processor. and the operation mode register which indicates that operating in processor mode or master checker mode, based on the content of the operation mode register, the multiprocessor mode, the alternately to the two processors
In a multi-processor system in which a request to the main storage device is permitted and the two processors execute independent programs, in a master checker mode, requests to the main storage device are simultaneously permitted to the two processors. An information processing apparatus, wherein the two processors have control means for switching to a dual processor system that executes the same program as one of a master processor and the other as a checker processor.
【請求項2】 主記憶装置と、該主記憶装置に主記憶制
御装置を介して接続される3台以上のプロセッサを有す
る情報処理装置において、 前記主記憶制御装置は、 各プロセッサ対応に、論理プロセッサ番号とマスタモー
ド又はチェッカモードの識別ビットとを有し、マスタモ
ードのプロセッサに対しては各々独立の論理プロセッサ
番号を保有し、チェッカモードのプロセッサに対しては
任意のマスタモードのプロセッサと同一論理プロセッサ
番号を保有する動作モードレジスタと、 前記動作モードレジスタの内容に基づいて、同一の論理
プロセッサ番号を持つマスタモードのプロセッサとチェ
ッカモードのプロセッサを1組の2重化プロセッサと
し、同一の論理プロセッサ番号を持つチェッカモードの
プロセッサの存在しないマスタモードの各々のプロセッ
サを単独プロセッサとし、前記2重化プロセッサと前記
単独プロセッサの各々に順番に前記主記憶装置に対する
リクエストを許可して、各2重化プロセッサと各単独プ
ロセッサが各々独立したプログラムを実行するととも
に、前記2重化プロセッサのマスタプロセッサとチェッ
カプロセッサは同一のプログラムを実行するようにし
て、任意組の2重化プロセッサと任意個の単独プロセッ
サとの組合せによるマルチプロセッサシステム構成を制
御する制御手段と、 を有することを特徴とする情報処理装置。
2. An information processing apparatus having a main storage device and three or more processors connected to the main storage device via a main storage control device, wherein the main storage control device has a logic corresponding to each processor. It has a processor number and an identification bit for master mode or checker mode. Each processor in master mode has an independent logical processor number, and the same processor for checker mode as any processor in master mode. An operation mode register having a logical processor number, and a master mode processor and a checker mode processor having the same logical processor number are set as a set of duplexed processors based on the contents of the operation mode register. Check mode with no processor in checker mode with processor number Each processor is a single processor, and the dual processor and the single processor are sequentially assigned to the main storage device.
The request is permitted, and each of the duplicated processors and each of the independent processors execute an independent program, and the master processor and the checker processor of the duplicated processor execute the same program. Control means for controlling a multiprocessor system configuration using a combination of a duplicated processor and an arbitrary number of single processors.
【請求項3】 請求項1あるいは2記載の情報処理装置
において、前記主記憶制御装置は、プロセッサからのモ
ード切替ライトリクエストを検出し、前記動作モードレ
ジスタの内容を書き替える手段を有することを特徴とす
る情報処理装置。
3. The information processing apparatus according to claim 1 , wherein said main storage control device has means for detecting a mode switching write request from a processor and rewriting contents of said operation mode register. Information processing device.
【請求項4】 請求項1あるいは2記載の情報処理装置
において、プロセッサの保守・診断を行うサービスプロ
セッサを設け、前記サービスプロセッサによりプロセッ
サの初期テストを実施して動作可能/不能プロセッサの
有無を検出し、あらかじめ指示された構成情報に従い、
診断パスを利用して前記動作モードレジスタの内容を設
定することを特徴とする情報処理装置。
4. The information processing apparatus of the mounting according to claim 1 or 2 SL, the service processor to perform maintenance and diagnostic processor is provided, the presence or absence of the service operable / disable the processor to perform the initial testing of the processor by the processor Detected and according to the configuration information specified in advance,
An information processing apparatus, wherein the contents of the operation mode register are set using a diagnosis path.
JP01917994A 1994-02-16 1994-02-16 Information processing device Expired - Fee Related JP3317776B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01917994A JP3317776B2 (en) 1994-02-16 1994-02-16 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01917994A JP3317776B2 (en) 1994-02-16 1994-02-16 Information processing device

Publications (2)

Publication Number Publication Date
JPH07230436A JPH07230436A (en) 1995-08-29
JP3317776B2 true JP3317776B2 (en) 2002-08-26

Family

ID=11992125

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01917994A Expired - Fee Related JP3317776B2 (en) 1994-02-16 1994-02-16 Information processing device

Country Status (1)

Country Link
JP (1) JP3317776B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008262557A (en) * 2008-03-31 2008-10-30 Hitachi Ltd Task management device for controller and task management method for controller
US8161362B2 (en) 2005-06-10 2012-04-17 Hitachi, Ltd. Task management control apparatus and method, having redundant processing comparison

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4555713B2 (en) * 2005-03-17 2010-10-06 富士通株式会社 Error notification method and information processing apparatus
DE102005037233A1 (en) * 2005-08-08 2007-02-15 Robert Bosch Gmbh Method and device for data processing
DE102005037250A1 (en) * 2005-08-08 2007-02-15 Robert Bosch Gmbh Method and device for controlling a memory access in a computer system having at least two execution units

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8161362B2 (en) 2005-06-10 2012-04-17 Hitachi, Ltd. Task management control apparatus and method, having redundant processing comparison
JP2008262557A (en) * 2008-03-31 2008-10-30 Hitachi Ltd Task management device for controller and task management method for controller

Also Published As

Publication number Publication date
JPH07230436A (en) 1995-08-29

Similar Documents

Publication Publication Date Title
US4503535A (en) Apparatus for recovery from failures in a multiprocessing system
JPH09190361A (en) Information processing system detecting fault by internal signal and logical lsi
JP3317776B2 (en) Information processing device
JPS63184146A (en) Information processor
JP2774675B2 (en) Bus controller
JP3746957B2 (en) Control method of logical partitioning system
JP2003337758A (en) Duplexed memory system
JPS59112350A (en) Supervising and controlling system of program
JPH0662114A (en) Inter-processor diagnostic processing system
JP3220060B2 (en) Memory test method
JPH079636B2 (en) Bus diagnostic device
JPH05165737A (en) Memory test system
JPH0293953A (en) Duplex information processor
JPH06259275A (en) Information processor
JPH10187355A (en) Disk control system
JPH02148333A (en) System for diagnosing abnormality of multiprocessor system
JPS59220865A (en) On-line maintenance control method of dual shared memory
JPH07200282A (en) Non-interruption program update system
JP2002215471A (en) Memory port, storage device and information processing system
JP2000066959A (en) Shared memory type information processing system
JPH05274169A (en) Computer
JPH01293447A (en) Control system for address coincidence interruption
JP2000222239A (en) Secondary cache memory, its diagnosing method and information processor
JPH0772869B2 (en) Data processing device
JPH02264348A (en) Storage device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees