JP3239935B2 - Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor - Google Patents

Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor

Info

Publication number
JP3239935B2
JP3239935B2 JP32883197A JP32883197A JP3239935B2 JP 3239935 B2 JP3239935 B2 JP 3239935B2 JP 32883197 A JP32883197 A JP 32883197A JP 32883197 A JP32883197 A JP 32883197A JP 3239935 B2 JP3239935 B2 JP 3239935B2
Authority
JP
Japan
Prior art keywords
address
memory
tag
copy
tag information
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
JP32883197A
Other languages
Japanese (ja)
Other versions
JPH11161545A (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.)
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 JP32883197A priority Critical patent/JP3239935B2/en
Publication of JPH11161545A publication Critical patent/JPH11161545A/en
Application granted granted Critical
Publication of JP3239935B2 publication Critical patent/JP3239935B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は複数のプロセッサが
それぞれプロセッサコントローラを介してバスに接続さ
れ、各プロセッサで主記憶装置を共有する密結合マルチ
プロセッサシステムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tightly coupled multiprocessor system in which a plurality of processors are respectively connected to a bus via a processor controller, and each processor shares a main storage device.

【0002】[0002]

【従来の技術】複数のプロセッサがそれぞれプロセッサ
コントローラを介してバスに接続され、主記憶装置(主
メモリ)を共有するシステムを密結合マルチプロセッサ
システムと呼ぶ。この密結合マルチプロセッサシステム
では、各プロセッサにキャッシュメモリを備えている場
合、各プロセッサでそれぞれ保持しているキャッシュデ
ータに矛盾が生じないように処理する必要があり、これ
をキャッシュコヒーレンス処理と呼ぶ。
2. Description of the Related Art A system in which a plurality of processors are connected to a bus via a processor controller and share a main storage device (main memory) is called a tightly coupled multiprocessor system. In this tightly-coupled multiprocessor system, when each processor is provided with a cache memory, it is necessary to process cache data held by each processor so as not to cause inconsistency, and this is called cache coherence processing.

【0003】キャッシュコヒーレンス処理は、その処理
が必要なトランザクション(コヒーレントトランザクシ
ョン)がバス上に送出されたときに、バスに接続された
全てのプロセッサでこのコヒーレントトランザクション
を監視することで実現される。このとき、バスに送出さ
れたコヒーレントトランザクションと同一アドレスのデ
ータをキャッシュメモリ内に保持しているプロセッサで
は、そのデータの主メモリへの書き込み、無効化、ある
いはキャッシュデータの状態値(キャッシュデータの状
態を示す値)の変更等の処理が行われる。
[0003] Cache coherence processing is realized by monitoring the coherent transactions by all processors connected to the bus when a transaction (coherent transaction) requiring the processing is sent out onto the bus. At this time, in the processor holding the data of the same address as that of the coherent transaction sent to the bus in the cache memory, the data is written to the main memory, invalidated, or the state value of the cache data (the state value of the cache data) Is changed.

【0004】キャッシュデータの状態は、通常、 Inval
id、 Shared、 Clean Exclusive、Dirty Exclusiveの4
種類があり、それぞれ次の(1)〜(4)の状態を示し
ている。
The state of cache data is usually Inval
id, Shared, Clean Exclusive, Dirty Exclusive 4
There are types, and the following states (1) to (4) are shown.

【0005】(1) Invalid:キャッシュラインに有効
データを持たない。
(1) Invalid: The cache line has no valid data.

【0006】(2) Shared:キャッシュラインに有効
なデータを持ち、他のプロセッサのキャッシュメモリに
も同じデータが存在する。
(2) Shared: The cache line has valid data, and the same data exists in the cache memory of another processor.

【0007】(3) Clean Exclusive:キャッシュライ
ンに有効なデータを持ち、他のプロセッサのキャッシュ
には同じデータが存在しない。また、主メモリには同じ
データが存在する。
(3) Clean Exclusive: The cache line has valid data, and the same data does not exist in the cache of another processor. The same data exists in the main memory.

【0008】(4) Dirty Exclusive:キャッシュライ
ンに有効なデータを持ち、他のプロセッサのキャッシュ
メモリには同一のデータが存在しない。また、主メモリ
には異なるデータが存在するが、キャッシュラインのデ
ータが最新である。
(4) Dirty Exclusive: Valid data is stored in the cache line, and the same data does not exist in the cache memory of another processor. Although different data exists in the main memory, the data in the cache line is the latest.

【0009】他のプロセッサが有するキャッシュメモリ
内に Dirty Exclusiveの状態で格納されているデータに
対するトランザクションがバス上に送出された場合、発
行元のプロセッサは主メモリのデータではなく他のプロ
セッサのキャッシュメモリから出力される Dirty Exclu
siveの状態のデータを読み込まなければならない。
When a transaction for data stored in a cache memory of another processor in a Dirty Exclusive state is sent out onto the bus, the issuing processor is not the main memory data but the cache memory of the other processor. Output from Dirty Exclu
The data in the sive state must be read.

【0010】ところで、密結合マルチプロセッサシステ
ムでは、バスに送出されたコヒーレントトランザクショ
ンを監視するため、各プロセッサに、プロセッサコント
ローラを介してコヒーレントトランザクションを取り込
まなければならない。したがってコヒーレンス処理に多
くの時間が必要になる。
In a tightly coupled multiprocessor system, in order to monitor a coherent transaction sent to a bus, each processor must take in a coherent transaction via a processor controller. Therefore, much time is required for coherence processing.

【0011】したがって、コヒーレンス処理に要する時
間を短縮するため、通常、プロセッサコントローラには
キャッシュメモリに保持されたデータのタグ情報や状態
値を格納する高速メモリを備えている。この高速メモリ
をコピータグメモリと呼ぶ。プロセッサコントローラ
は、バス上に送出されたコヒーレントトランザクション
を受信すると、コピータグメモリの内容を検索し、キャ
ッシュメモリ内に有効なデータが存在し、かつキャッシ
ュデータの状態を書き換える必要がある場合にプロセッ
サに対してトランザクションを送信する。しかしなが
ら、有効なデータが存在しないことを検出した場合、あ
るいは有効なデータが存在しても状態値を書き換える必
要が無い場合は、受信したコヒーレントトランザクショ
ンをプロセッサに送信しない。このような処理を行うこ
とでコヒーレンス処理の時間を短縮している。
Therefore, in order to reduce the time required for the coherence processing, the processor controller is usually provided with a high-speed memory for storing tag information and status values of data held in the cache memory. This high-speed memory is called a copy tag memory. Upon receiving the coherent transaction transmitted on the bus, the processor controller searches the contents of the copy tag memory, and if valid data exists in the cache memory and it is necessary to rewrite the state of the cache data, the processor controller notifies the processor. Send transaction to However, if it is detected that valid data does not exist, or if the state value does not need to be rewritten even if valid data exists, the received coherent transaction is not transmitted to the processor. By performing such processing, the time of the coherence processing is reduced.

【0012】[0012]

【発明が解決しようとする課題】しかしながら上記した
ような密結合マルチプロセッサシステムでは、コピータ
グメモリから読み出したタグ情報が間違っていた場合
に、プロセッサのキャッシュメモリ内に最新のデータが
格納されているにもかかわらず、そのデータがタグ情報
によって Invalidと判定され、プロセッサに送信される
べきコヒーレントトランザクションがプロセッサに送信
されない場合がある。このため、コピータグメモリには
通常パリティビットが設けられ、コピータグ情報が正し
いか否かを判定するパリティチェックを行っている。
However, in the above-described tightly-coupled multiprocessor system, when the tag information read from the copy tag memory is incorrect, the latest data is stored in the cache memory of the processor. Nevertheless, the data may be determined to be invalid by the tag information, and the coherent transaction to be transmitted to the processor may not be transmitted to the processor. For this reason, a parity bit is usually provided in the copy tag memory, and a parity check is performed to determine whether or not the copy tag information is correct.

【0013】そして、パリティエラーを検出した場合は
コピータグメモリの故障と判断してコピータグメモリを
オフにし(コピータグメモリを使用しない)、コピータ
グメモリを搭載しないシステムと同じように動作させる
ことでシステムを正常に動作させている。
When a parity error is detected, it is determined that the copy tag memory is faulty, the copy tag memory is turned off (the copy tag memory is not used), and the system is operated in the same manner as a system without a copy tag memory. Is operating the system normally.

【0014】しかしながら、コピータグメモリを使用し
ない場合は、バス上に送出された全てのコヒーレントト
ランザクションをプロセッサに取り込む必要があるた
め、システムの処理性能が大幅に低下してしまう。その
ため、コピータグメモリの障害発生時でも軽度の障害の
場合はコピータグメモリをオフにしない制御方法を実現
することが望ましい。
However, when the copy tag memory is not used, all coherent transactions sent on the bus must be fetched into the processor, which greatly reduces the processing performance of the system. Therefore, it is desirable to realize a control method that does not turn off the copy tag memory in the case of a minor failure even when a failure occurs in the copy tag memory.

【0015】本発明は上記したような従来の技術が有す
る問題点を解決するためになされたものであり、コピー
タグメモリの特定のエントリに故障が発生した場合に、
その故障エントリのみをオフすることにより、コピータ
グメモリ全体をオフにすることを防止し、システムの大
幅な処理性能低下を回避した密結合マルチプロセッサシ
ステム及びその制御方法を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the prior art, and when a failure occurs in a specific entry of the copy tag memory,
It is an object of the present invention to provide a tightly-coupled multiprocessor system in which the entire copy tag memory is prevented from being turned off by turning off only the failure entry, and a large reduction in processing performance of the system is avoided, and a control method thereof. .

【0016】[0016]

【課題を解決するための手段】上記目的を達成するため
本発明の密結合マルチプロセッサシステムの制御方法
は、キャッシュメモリを備えた複数のプロセッサがそれ
ぞれプロセッサコントローラを介してバスに接続され、
前記プロセッサコントローラにそれぞれ前記キャッシュ
メモリのタグ情報が格納されたコピータグメモリを備え
た密結合マルチプロセッサシステムの制御方法であっ
て、前記プロセッサコントローラは、それぞれ前記コピ
ータグメモリから読み出した前記タグ情報にパリティエ
ラーを検出した場合に、該タグ情報のアドレスをレジス
タに保持し、前記コピータグメモリから読み出した前記
タグ情報に再びパリティエラーを検出した場合に、該タ
グ情報のアドレスと前記レジスタに保持されたアドレス
とを比較し、2つのアドレスが一致しない場合は前記コ
ピータグメモリの使用を禁止し、前記2つのアドレスが
一致した場合は前記コピータグメモリの該アドレスの使
用のみを禁止する方法である。
In order to achieve the above object, a method for controlling a tightly coupled multiprocessor system according to the present invention comprises: a plurality of processors each having a cache memory connected to a bus via a processor controller;
A method of controlling a tightly-coupled multiprocessor system including a copy tag memory in which tag information of the cache memory is stored in the processor controller, wherein the processor controller stores the tag information read from the copy tag memory. When a parity error is detected, the address of the tag information is held in a register, and when a parity error is detected again in the tag information read from the copy tag memory, the address of the tag information is held in the register. And when the two addresses do not match, the use of the copy tag memory is prohibited, and when the two addresses match, only the use of the copy tag memory is prohibited. .

【0017】また、キャッシュメモリを備えた複数のプ
ロセッサがそれぞれプロセッサコントローラを介してバ
スに接続され、前記プロセッサコントローラにそれぞれ
前記キャッシュメモリのタグ情報が格納されたコピータ
グメモリを備えた密結合マルチプロセッサシステムの制
御方法であって、前記プロセッサコントローラは、それ
ぞれ前記コピータグメモリから読み出した前記タグ情報
にパリティエラーを検出した場合に、該タグ情報のアド
レスをレジスタに保持し、所定の複数個のレジスタに、
それぞれパリティエラーを検出したタグ情報のアドレス
が保持された時点で前記コピータグメモリの使用を禁止
する方法である。一方、本発明の密結合マルチプロセッ
サシステムは、キャッシュメモリを備えた複数のプロセ
ッサがそれぞれプロセッサコントローラを介してバスに
接続され、前記プロセッサコントローラにそれぞれ前記
キャッシュメモリのタグ情報が格納されたコピータグメ
モリを備えた密結合マルチプロセッサシステムであっ
て、前記プロセッサコントローラに、それぞれ前記コピ
ータグメモリから読み出した前記タグ情報にパリティエ
ラーを検出した場合に、該タグ情報のアドレスを保持す
るエラーアドレス格納レジスタと、前記コピータグメモ
リから読み出した前記タグ情報に再びパリティエラーを
検出した場合に、該タグ情報のアドレスを前記エラーア
ドレス格納レジスタに保持されたアドレスと比較するア
ドレス比較回路と、2つのアドレスが一致しない場合は
前記コピータグメモリの使用を禁止し、前記2つのアド
レスが一致した場合は前記コピータグメモリの該アドレ
スのデータの使用のみを禁止するコピータグ検索結果判
断部と、を有するものである。
A tightly-coupled multiprocessor comprising a plurality of processors each having a cache memory connected to a bus via a processor controller, and each processor controller having a copy tag memory in which tag information of the cache memory is stored. A method of controlling a system, wherein when the processor controller detects a parity error in the tag information read from the copy tag memory, the processor controller holds an address of the tag information in a register, and stores a predetermined plurality of registers. To
In this method, the use of the copy tag memory is prohibited when the address of the tag information at which the parity error is detected is held. On the other hand, a tightly-coupled multiprocessor system according to the present invention provides a copy tag memory in which a plurality of processors each having a cache memory are connected to a bus via a processor controller, and the processor controller stores tag information of the cache memory. A tightly coupled multiprocessor system comprising: an error address storage register that holds an address of the tag information when the processor controller detects a parity error in the tag information read from the copy tag memory. When a parity error is detected again in the tag information read from the copy tag memory, an address comparison circuit that compares the address of the tag information with the address held in the error address storage register; A copy tag search result judging unit which prohibits use of the copy tag memory if not, and prohibits use of only data at the address of the copy tag memory when the two addresses match. is there.

【0018】また、キャッシュメモリを備えた複数のプ
ロセッサがそれぞれプロセッサコントローラを介してバ
スに接続され、前記プロセッサコントローラにそれぞれ
前記キャッシュメモリのタグ情報が格納されたコピータ
グメモリを備えた密結合マルチプロセッサシステムであ
って、前記プロセッサコントローラは、それぞれ前記コ
ピータグメモリから読み出した前記タグ情報にパリティ
エラーを検出した場合に、該タグ情報のアドレスを保持
する複数のエラーアドレス格納レジスタと、所定数の前
記エラーアドレス格納レジスタにそれぞれパリティエラ
ーを検出したタグ情報のアドレスが保持された時点で前
記コピータグメモリの使用を禁止するコピータグ検索結
果判断部と、を有するものである。
A tightly-coupled multiprocessor having a plurality of processors each having a cache memory connected to a bus via a processor controller, and each processor controller having a copy tag memory in which tag information of the cache memory is stored. A processor, wherein when the processor controller detects a parity error in the tag information read from the copy tag memory, a plurality of error address storage registers for holding an address of the tag information; A copy tag search result judging unit for prohibiting use of the copy tag memory when the address of the tag information for which the parity error is detected is held in the error address storage register.

【0019】さらに、本発明の記録媒体は、キャッシュ
メモリを備えた複数のプロセッサがそれぞれプロセッサ
コントローラを介してバスに接続され、前記プロセッサ
コントローラにそれぞれ前記キャッシュメモリのタグ情
報が格納されたコピータグメモリを備えた密結合マルチ
プロセッサシステムの制御方法が記録された記録媒体で
あって、前記プロセッサコントローラに、それぞれ前記
コピータグメモリから読み出した前記タグ情報にパリテ
ィエラーを検出した場合に、該タグ情報のアドレスをレ
ジスタに保持させ、前記コピータグメモリから読み出し
た前記タグ情報に再びパリティエラーを検出した場合
に、該タグ情報のアドレスと前記レジスタに保持された
アドレスとを比較させ、2つのアドレスが一致しない場
合は前記コピータグメモリの使用を禁止させ、前記2つ
のアドレスが一致した場合は前記コピータグメモリの該
アドレスの使用のみを禁止させるプログラムを記録した
ものである。
Further, a recording medium according to the present invention is a copy tag memory in which a plurality of processors each having a cache memory are connected to a bus via a processor controller, and the processor controller stores tag information of the cache memory. A recording medium in which a control method of a tightly-coupled multiprocessor system is provided, wherein the processor controller detects a parity error in the tag information read from the copy tag memory, When a parity error is detected again in the tag information read from the copy tag memory, the address of the tag information is compared with the address held in the register, and the two addresses match. If not, the copy tag To prohibit the use of memory, if the two addresses match is obtained by recording a program to prohibit only the use of the address of said copy tag memory.

【0020】また、キャッシュメモリを備えた複数のプ
ロセッサがそれぞれプロセッサコントローラを介してバ
スに接続され、前記プロセッサコントローラにそれぞれ
前記キャッシュメモリのタグ情報が格納されたコピータ
グメモリを備えた密結合マルチプロセッサシステムの制
御方法が記録された記録媒体であって、前記プロセッサ
コントローラに、それぞれ前記コピータグメモリから読
み出した前記タグ情報にパリティエラーを検出した場合
に、該タグ情報のアドレスをレジスタに保持させ、所定
の複数個のレジスタに、それぞれパリティラーを検出し
たタグ情報のアドレスが保持された時点で前記コピータ
グメモリの使用を禁止させるプログラムを記録したもの
である。
A tightly-coupled multiprocessor comprising a plurality of processors each having a cache memory connected to a bus via a processor controller, and each processor controller having a copy tag memory in which tag information of the cache memory is stored. A recording medium in which a system control method is recorded, wherein the processor controller, when a parity error is detected in each of the tag information read from the copy tag memory, causes an address of the tag information to be held in a register, A program for prohibiting the use of the copy tag memory when the address of the tag information for which the parity error is detected is stored in a plurality of predetermined registers.

【0021】上記のように構成された密結合マルチプロ
セッサシステムは、各プロセッサコントローラで、コピ
ータグメモリから読み出したタグ情報にパリティエラー
を検出した場合に、そのタグ情報のアドレスをレジスタ
に保持し、コピータグメモリから読み出したタグ情報に
再びパリティエラーを検出した場合に、そのタグ情報の
アドレスとレジスタに保持されたアドレスとを比較し、
2つのアドレスが一致しない場合はコピータグメモリの
使用を禁止し、2つのアドレスが一致した場合はコピー
タグメモリの該アドレスの使用のみを禁止することで、
固定エントリの単一故障のように発生した故障が軽度な
場合はコピータグメモリを使用することができる。
In the tightly-coupled multiprocessor system configured as described above, when each processor controller detects a parity error in the tag information read from the copy tag memory, it holds the address of the tag information in a register, When a parity error is detected again in the tag information read from the copy tag memory, the address of the tag information is compared with the address held in the register,
If the two addresses do not match, use of the copy tag memory is prohibited, and if the two addresses match, use of only the copy tag memory is prohibited.
In the case of a minor failure such as a single failure of a fixed entry, a copy tag memory can be used.

【0022】[0022]

【発明の実施の形態】次に本発明について図面を参照し
て説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0023】図1は密結合マルチプロセッサシステムの
一実施例の構成を示すブロック図である。なお、図1は
プロセッサを有する2つのノードからなる密結合マルチ
プロセッサシステムの構成を示している。密結合マルチ
プロセッサシステムのノード数は2つに限る必要はな
く、より多くのノードを有していてもよい。
FIG. 1 is a block diagram showing the configuration of one embodiment of a tightly coupled multiprocessor system. FIG. 1 shows a configuration of a tightly coupled multiprocessor system including two nodes each having a processor. The number of nodes in a tightly coupled multiprocessor system need not be limited to two, but may have more nodes.

【0024】図1において、第1のノード100は、第
1のキャッシュメモリ101を備えた第1のプロセッサ
102と、第1のコピータグメモリ104及び第1の記
録媒体105を備えた第1のプロセッサコントローラ1
03とを有している。
In FIG. 1, a first node 100 includes a first processor 102 having a first cache memory 101 and a first processor 102 having a first copy tag memory 104 and a first recording medium 105. Processor controller 1
03.

【0025】また、第2のノード110は、第2のキャ
ッシュメモリ106を備えた第2のプロセッサ107
と、第2のコピータグメモリ109及び第2の記録媒体
112を備えた第2のプロセッサコントローラ108と
を有している。
The second node 110 has a second processor 107 having a second cache memory 106.
And a second processor controller 108 including a second copy tag memory 109 and a second recording medium 112.

【0026】第1のプロセッサ102は第1のプロセッ
サコントローラ103を介してシステムバス111に接
続され、第2のプロセッサ107は第2のプロセッサコ
ントローラ108を介してシステムバス111に接続さ
れている。
The first processor 102 is connected to a system bus 111 via a first processor controller 103, and the second processor 107 is connected to the system bus 111 via a second processor controller 108.

【0027】第1のコピータグメモリ104には第1の
キャッシュメモリ101のタグ情報及びキャッシュデー
タの状態値が格納され、第2のコピータグメモリ109
には第2のキャッシュメモリ106のタグ情報及びキャ
ッシュデータの状態値が格納される。
The first copy tag memory 104 stores the tag information of the first cache memory 101 and the status value of the cache data.
Stores the tag information of the second cache memory 106 and the status value of the cache data.

【0028】第1のプロセッサコントローラ103は第
1の記録媒体105に記録されたプログラムを不図示の
処理装置によって読み込み、第1のプロセッサコントロ
ーラ103が備えた処理装置は第1の記録媒体105に
記録されたプログラムにしたがって後述する処理を実行
する。同様に第2のプロセッサコントローラ108は第
2の記録媒体112に記録されたプログラムを不図示の
処理装置によって読み込み、第2のプロセッサコントロ
ーラ108が備えた処理装置は第2の記録媒体112に
記録されたプログラムにしたがって後述する処理を実行
する。
The first processor controller 103 reads the program recorded on the first recording medium 105 by a processing device (not shown), and the processing device provided in the first processor controller 103 records the program on the first recording medium 105. The processing described later is executed in accordance with the executed program. Similarly, the second processor controller 108 reads the program recorded on the second recording medium 112 by a processing device (not shown), and the processing device provided in the second processor controller 108 is recorded on the second recording medium 112. The processing described below is executed according to the program.

【0029】なお、第1の記録媒体105及び第2の記
録媒体112は磁気ディスク、半導体メモリ、あるいは
その他の記録媒体であってもよい。
The first recording medium 105 and the second recording medium 112 may be a magnetic disk, a semiconductor memory, or another recording medium.

【0030】このような構成において、例えば、第1の
ノード100からコヒーレントトランザクションがシス
テムバス111に送出されると、第2のノード110は
システムバス111に送出されたコヒーレントトランザ
クションを第2のプロセッサコントローラ108で受信
する。第2のプロセッサコントローラ108は、第2の
コピータグメモリ109の内容を検索し、受信したコヒ
ーレントトランザクションが Exclusive Hitした場合に
のみ、そのコヒーレントトランザクションを第2のプロ
セッサ107に送信する。
In such a configuration, for example, when a coherent transaction is sent from the first node 100 to the system bus 111, the second node 110 sends the coherent transaction sent to the system bus 111 to the second processor controller. Receive at 108. The second processor controller 108 searches the contents of the second copy tag memory 109, and transmits the coherent transaction to the second processor 107 only when the received coherent transaction has performed an Exclusive Hit.

【0031】次に、第1のプロセッサコントローラ及び
第2のプロセッサコントローラの動作のついて図2を用
いて詳細に説明する。なお、以下では第2のプロセッサ
コントローラ108の動作を例にして説明するが、第1
のプロセッサコントローラ103も同様に動作する。ま
た、より多くのノードからなる密結合マルチプロセッサ
システムの場合も、各ノードのプロセッサコントローラ
はそれぞれ同様に動作する。また、以下に説明する第2
のプロセッサコントローラ108の各構成要素の動作は
不図示の処理装置によって制御される。
Next, the operations of the first processor controller and the second processor controller will be described in detail with reference to FIG. In the following, the operation of the second processor controller 108 will be described as an example.
Operate in the same manner. Also, in the case of a tightly coupled multiprocessor system including more nodes, the processor controllers of the respective nodes operate similarly. In addition, the second described below
The operation of each component of the processor controller 108 is controlled by a processing device (not shown).

【0032】図2は本発明の密結合マルチプロセッサシ
ステムの構成を示す図であり、プロセッサコントローラ
の一実施例を示すブロック図である。
FIG. 2 is a diagram showing a configuration of a tightly coupled multiprocessor system of the present invention, and is a block diagram showing an embodiment of a processor controller.

【0033】図2において、システムバス111上にコ
ヒーレントトランザクションが送出されると、処理装置
はシステムバス111上のコヒーレントトランザクショ
ンを受信し、そのアドレスを第1のアドレス格納レジス
タ203に格納する。
In FIG. 2, when a coherent transaction is sent out on the system bus 111, the processing device receives the coherent transaction on the system bus 111 and stores the address in the first address storage register 203.

【0034】次に、第1のアドレス格納レジスタ203
に格納されたアドレスを第2のアドレス格納レジスタ2
04にコピーする。そして、第2のアドレス格納レジス
タ204内に格納されたアドレスによって第2のコピー
タグメモリ109からタグ情報を読み出し、読み出した
タグ情報をデータ格納レジスタ205に格納し、パリテ
ィチェック回路206によってパリティチェックを行
う。ここで、パリティエラーを検出した場合はパリティ
チェック回路206によってパリティエラーフラグ20
7をセットする。
Next, the first address storage register 203
The address stored in the second address storage register 2
04. Then, the tag information is read from the second copy tag memory 109 based on the address stored in the second address storage register 204, the read tag information is stored in the data storage register 205, and the parity check is performed by the parity check circuit 206. Do. Here, when a parity error is detected, the parity check circuit 206 causes the parity error flag 20 to be detected.
7 is set.

【0035】また、処理装置は第2のコピータグメモリ
109から読み出したタグ情報のアドレスを第1のアド
レス格納レジスタ203からエラーアドレス格納レジス
タ209にもコピーしておく。このとき、エラーアドレ
ス格納レジスタ209には第2のコピータグメモリ10
9からタグ情報が読み出される度に第1のアドレス格納
レジスタ203の値を書き込み、パリティチェック回路
206によってパリティエラーフラグ207がセットさ
れたときに書き込まれたアドレスを保持する。また、保
持したアドレスには有効なデータであることを示す有効
ビット210をセットする。
The processing device also copies the address of the tag information read from the second copy tag memory 109 from the first address storage register 203 to the error address storage register 209. At this time, the second copy tag memory 10 is stored in the error address storage register 209.
Each time the tag information is read out from the register 9, the value of the first address storage register 203 is written, and the address written when the parity error flag 207 is set by the parity check circuit 206 is held. Also, a valid bit 210 indicating valid data is set in the held address.

【0036】このような状態で、第2のコピータグメモ
リ109から読み出されたタグ情報に再びパリティエラ
ーが発生した場合、処理装置はアドレス比較回路211
によって第1のアドレス格納レジスタ203内のアドレ
スとエラーアドレス格納レジスタ209内のアドレスを
比較する。
In this state, if a parity error occurs again in the tag information read from the second copy tag memory 109, the processing device switches to the address comparison circuit 211.
Then, the address in the first address storage register 203 and the address in the error address storage register 209 are compared.

【0037】ここで、第1のアドレス格納レジスタ20
3内のアドレスとエラーアドレス格納レジスタ209内
のアドレスとが一致しなかった場合は、アドレス比較回
路211によって第2のコピータグメモリ109をオフ
するためのコピータグオフビット212をセットする。
また、コピータグ検索結果判断部208は、それ以降に
第2のコピータグメモリ109から読み出したタグ情報
にかかわらず、受信したコヒーレントトランザクション
を Exclusive Hitとみなし、第2のプロセッサ107に
送信する。一方、第1のアドレス格納レジスタ203内
のアドレスとエラーアドレス格納レジスタ209内のア
ドレスとが一致した場合は、第2のコピータグメモリ1
09のうち、その一致したアドレス(固定エントリ)に
障害があると判断し、そのときに受信しているコヒーレ
ントトランザクションだけを Exclusive Hitとして取り
扱い、第2のコピータグメモリ109の使用を継続す
る。したがって、固定エントリの単一故障のように軽度
の故障の場合はコピータグメモリが継続して使用される
ため、コピータグメモリがオフすることによる処理性能
の大幅な低下を回避することができる。
Here, the first address storage register 20
If the address in No. 3 does not match the address in the error address storage register 209, the address comparison circuit 211 sets a copy tag off bit 212 for turning off the second copy tag memory 109.
Further, the copy tag search result determination unit 208 regards the received coherent transaction as an Exclusive Hit and transmits it to the second processor 107 regardless of the tag information read from the second copy tag memory 109 thereafter. On the other hand, if the address in the first address storage register 203 matches the address in the error address storage register 209, the second copy tag memory 1
09, it is determined that the corresponding address (fixed entry) has a failure, only the coherent transaction received at that time is treated as an Exclusive Hit, and the use of the second copy tag memory 109 is continued. Therefore, in the case of a minor failure such as a single failure of a fixed entry, the copy tag memory is continuously used, so that it is possible to avoid a significant decrease in processing performance due to the copy tag memory being turned off.

【0038】なお、上記説明ではプロセッサコントロー
ラにエラーアドレス格納レジスタ209を1つ有し、障
害が発生した1つのエントリに対するコヒーレントトラ
ンザクションだけを Exclusive Hitとして取り扱い、第
2のコピータグメモリ109の使用を継続する場合で説
明しているが、エラーアドレス格納レジスタ209を複
数個設け、パリティエラーが発生したタグ情報のアドレ
スを複数個保持してもよい。そして、コピータグ検索結
果判断部208はパリティエラーが所定の複数個発生し
た時点でコピータグメモリをオフにする。このような構
成にしても、固定エントリの単一故障が所定の複数個発
生するまでコピータグメモリを使用することができるた
め、コピータグメモリが使用できないことによる処理性
能の大幅な低下を回避できる。なお、このような構成で
は、コピータグメモリをオフにするために設定する故障
エントリの数を容易に増やすことができる。
In the above description, the processor controller has one error address storage register 209, treats only the coherent transaction for one failed entry as Exclusive Hit, and continues to use the second copy tag memory 109. As described above, a plurality of error address storage registers 209 may be provided to hold a plurality of addresses of tag information in which a parity error has occurred. Then, the copy tag search result determining unit 208 turns off the copy tag memory when a predetermined plurality of parity errors occur. Even with such a configuration, the copy tag memory can be used until a predetermined number of single failures of the fixed entry occur, so that a significant decrease in processing performance due to the inability to use the copy tag memory can be avoided. . In such a configuration, the number of failure entries set for turning off the copy tag memory can be easily increased.

【0039】[0039]

【発明の効果】本発明は以上説明したように構成されて
いるので、以下に記載する効果を奏する。
Since the present invention is configured as described above, the following effects can be obtained.

【0040】プロセッサコントローラが、それぞれコピ
ータグメモリから読み出したタグ情報にパリティエラー
を検出した場合に、そのタグ情報のアドレスをレジスタ
に保持し、コピータグメモリから読み出したタグ情報に
再びパリティエラーを検出した場合に、そのタグ情報の
アドレスとレジスタに保持されたアドレスとを比較し、
2つのアドレスが一致しない場合はコピータグメモリの
使用を禁止し、2つのアドレスが一致した場合はコピー
タグメモリのそのアドレスの使用のみを禁止すること
で、固定エントリの単一故障のように軽度の故障のとき
にはコピータグメモリを使用することができるため、コ
ピータグメモリが使用できないことによる処理性能の大
幅な低下を回避できる。
When the processor controller detects a parity error in the tag information read from the copy tag memory, the processor controller holds the address of the tag information in the register and detects the parity error again in the tag information read from the copy tag memory. The address of the tag information is compared with the address held in the register,
If the two addresses do not match, use of the copy tag memory is prohibited, and if the two addresses match, only use of that address in the copy tag memory is prohibited. In the event of a failure, the copy tag memory can be used, so that a significant reduction in processing performance due to the inability to use the copy tag memory can be avoided.

【0041】また、プロセッサコントローラが、それぞ
れコピータグメモリから読み出したタグ情報にパリティ
エラーを検出した場合に、そのタグ情報のアドレスをレ
ジスタに保持し、所定の複数個のレジスタに、それぞれ
パリティエラーを検出したタグ情報のアドレスが保持さ
れた時点でコピータグメモリの使用を禁止することで、
固定エントリの単一故障が所定の複数個発生するまでコ
ピータグメモリを使用することができるため、コピータ
グメモリが使用できないことによる処理性能の大幅な低
下を回避できる。なお、このような構成では、コピータ
グメモリをオフにするために設定する故障エントリの数
を容易に増やすことができる。
When the processor controller detects a parity error in the tag information read from the copy tag memory, the processor controller holds the address of the tag information in a register, and stores the parity error in a predetermined plurality of registers. By prohibiting the use of the copy tag memory when the address of the detected tag information is held,
Since the copy tag memory can be used until a predetermined plurality of fixed entry failures occur, it is possible to avoid a significant decrease in processing performance due to the inability to use the copy tag memory. In such a configuration, the number of failure entries set for turning off the copy tag memory can be easily increased.

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

【図1】密結合マルチプロセッサシステムの一実施例の
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of a tightly-coupled multiprocessor system.

【図2】本発明の密結合マルチプロセッサシステムの構
成を示す図であり、プロセッサコントローラの一実施例
を示すブロック図である。
FIG. 2 is a diagram showing a configuration of a tightly coupled multiprocessor system of the present invention, and is a block diagram showing an embodiment of a processor controller.

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

100 第1のノード 101 第1のキャッシュメモリ 102 第1のプロセッサ 103 第1のプロセッサコントローラ 104 第1のコピータグメモリ 105 第1の記録媒体 106 第2のキャッシュメモリ 107 第2のプロセッサ 108 第2のプロセッサコントローラ 109 第2のコピータグメモリ 110 第2のノード 111 システムバス 112 第2の記録媒体 203 第1のアドレス格納レジスタ 204 第2のアドレス格納レジスタ 205 データ格納レジスタ 206 パリティチェック回路 207 パリティエラーフラグ 208 コピータグ検索結果判断部 209 エラーアドレス格納レジスタ 210 有効ビット 211 アドレス比較回路 212 コピータグオフビット Reference Signs List 100 first node 101 first cache memory 102 first processor 103 first processor controller 104 first copy tag memory 105 first recording medium 106 second cache memory 107 second processor 108 second Processor controller 109 Second copy tag memory 110 Second node 111 System bus 112 Second recording medium 203 First address storage register 204 Second address storage register 205 Data storage register 206 Parity check circuit 207 Parity error flag 208 Copy tag search result determination unit 209 Error address storage register 210 Valid bit 211 Address comparison circuit 212 Copy tag off bit

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 キャッシュメモリを備えた複数のプロセ
ッサがそれぞれプロセッサコントローラを介してバスに
接続され、前記プロセッサコントローラにそれぞれ前記
キャッシュメモリのタグ情報が格納されたコピータグメ
モリを備えた密結合マルチプロセッサシステムの制御方
法であって、 前記プロセッサコントローラは、それぞれ前記コピータ
グメモリから読み出した前記タグ情報にパリティエラー
を検出した場合に、該タグ情報のアドレスをレジスタに
保持し、 前記コピータグメモリから読み出した前記タグ情報に再
びパリティエラーを検出した場合に、該タグ情報のアド
レスと前記レジスタに保持されたアドレスとを比較し、 2つのアドレスが一致しない場合は前記コピータグメモ
リの使用を禁止し、前記2つのアドレスが一致した場合
は前記コピータグメモリの該アドレスの使用のみを禁止
する密結合マルチプロセッサシステムの制御方法。
1. A tightly-coupled multiprocessor having a plurality of processors each having a cache memory connected to a bus via a processor controller, and each processor controller having a copy tag memory in which tag information of the cache memory is stored. A method of controlling a system, wherein, when a parity error is detected in the tag information read from the copy tag memory, the processor controller holds an address of the tag information in a register, and reads the address from the copy tag memory. If a parity error is detected again in the tag information, the address of the tag information is compared with the address held in the register. If the two addresses do not match, use of the copy tag memory is prohibited. The two addresses matched A method of controlling a tightly coupled multiprocessor system in which only use of said address in said copy tag memory is prohibited.
【請求項2】 キャッシュメモリを備えた複数のプロセ
ッサがそれぞれプロセッサコントローラを介してバスに
接続され、前記プロセッサコントローラにそれぞれ前記
キャッシュメモリのタグ情報が格納されたコピータグメ
モリを備えた密結合マルチプロセッサシステムの制御方
法であって、 前記プロセッサコントローラは、それぞれ前記コピータ
グメモリから読み出した前記タグ情報にパリティエラー
を検出した場合に、該タグ情報のアドレスをレジスタに
保持し、 所定の複数個のレジスタに、それぞれパリティエラーを
検出したタグ情報のアドレスが保持された時点で前記コ
ピータグメモリの使用を禁止する密結合マルチプロセッ
サシステムの制御方法。
2. A tightly-coupled multiprocessor comprising a plurality of processors each having a cache memory connected to a bus via a processor controller, and each processor controller having a copy tag memory in which tag information of the cache memory is stored. A method of controlling a system, wherein, when a parity error is detected in each of the tag information read from the copy tag memory, the processor controller holds an address of the tag information in a register; And a method of controlling a tightly coupled multiprocessor system in which use of the copy tag memory is prohibited when an address of tag information at which a parity error is detected is held.
【請求項3】 キャッシュメモリを備えた複数のプロセ
ッサがそれぞれプロセッサコントローラを介してバスに
接続され、前記プロセッサコントローラにそれぞれ前記
キャッシュメモリのタグ情報が格納されたコピータグメ
モリを備えた密結合マルチプロセッサシステムであっ
て、 前記プロセッサコントローラに、それぞれ前記コピータ
グメモリから読み出した前記タグ情報にパリティエラー
を検出した場合に、該タグ情報のアドレスを保持するエ
ラーアドレス格納レジスタと、 前記コピータグメモリから読み出した前記タグ情報に再
びパリティエラーを検出した場合に、該タグ情報のアド
レスを前記エラーアドレス格納レジスタに保持されたア
ドレスと比較するアドレス比較回路と、 2つのアドレスが一致しない場合は前記コピータグメモ
リの使用を禁止し、前記2つのアドレスが一致した場合
は前記コピータグメモリの該アドレスのデータの使用の
みを禁止するコピータグ検索結果判断部と、を有する密
結合マルチプロセッサシステム。
3. A tightly-coupled multiprocessor having a plurality of processors each having a cache memory connected to a bus via a processor controller, and each processor controller having a copy tag memory in which tag information of the cache memory is stored. An error address storage register that holds an address of the tag information when the processor controller detects a parity error in the tag information read from the copy tag memory; An address comparison circuit for comparing the address of the tag information with the address held in the error address storage register when a parity error is detected again in the tag information, and a copy tag memo when two addresses do not match. And a copy tag search result determination unit for prohibiting the use of the data in the copy tag memory and prohibiting only the use of the data of the address in the copy tag memory when the two addresses match.
【請求項4】 キャッシュメモリを備えた複数のプロセ
ッサがそれぞれプロセッサコントローラを介してバスに
接続され、前記プロセッサコントローラにそれぞれ前記
キャッシュメモリのタグ情報が格納されたコピータグメ
モリを備えた密結合マルチプロセッサシステムであっ
て、 前記プロセッサコントローラは、それぞれ前記コピータ
グメモリから読み出した前記タグ情報にパリティエラー
を検出した場合に、該タグ情報のアドレスを保持する複
数のエラーアドレス格納レジスタと、 所定数の前記エラーアドレス格納レジスタにそれぞれパ
リティエラーを検出したタグ情報のアドレスが保持され
た時点で前記コピータグメモリの使用を禁止するコピー
タグ検索結果判断部と、を有する密結合マルチプロセッ
サシステム。
4. A tightly-coupled multiprocessor having a plurality of processors each having a cache memory connected to a bus via a processor controller, and each processor controller having a copy tag memory in which tag information of the cache memory is stored. A system, wherein the processor controller, when detecting a parity error in the tag information read from the copy tag memory, respectively, a plurality of error address storage registers holding an address of the tag information; A copy tag search result judging unit for prohibiting use of the copy tag memory when the address of the tag information at which the parity error is detected is held in the error address storage register.
【請求項5】 キャッシュメモリを備えた複数のプロセ
ッサがそれぞれプロセッサコントローラを介してバスに
接続され、前記プロセッサコントローラにそれぞれ前記
キャッシュメモリのタグ情報が格納されたコピータグメ
モリを備えた密結合マルチプロセッサシステムの制御方
法が記録された記録媒体であって、 前記プロセッサコントローラに、それぞれ前記コピータ
グメモリから読み出した前記タグ情報にパリティエラー
を検出した場合に、該タグ情報のアドレスをレジスタに
保持させ、 前記コピータグメモリから読み出した前記タグ情報に再
びパリティエラーを検出した場合に、該タグ情報のアド
レスと前記レジスタに保持されたアドレスとを比較さ
せ、 2つのアドレスが一致しない場合は前記コピータグメモ
リの使用を禁止させ、前記2つのアドレスが一致した場
合は前記コピータグメモリの該アドレスの使用のみを禁
止させるプログラムを記録した記憶媒体。
5. A tightly-coupled multiprocessor having a plurality of processors each having a cache memory connected to a bus via a processor controller, and each processor controller having a copy tag memory in which tag information of the cache memory is stored. A storage medium on which a system control method is recorded, wherein the processor controller causes a register to hold an address of the tag information when a parity error is detected in the tag information read from the copy tag memory. When a parity error is detected again in the tag information read from the copy tag memory, the address of the tag information is compared with the address held in the register. Prohibit the use of A storage medium storing a program for prohibiting only use of the address in the copy tag memory when the two addresses match.
【請求項6】 キャッシュメモリを備えた複数のプロセ
ッサがそれぞれプロセッサコントローラを介してバスに
接続され、前記プロセッサコントローラにそれぞれ前記
キャッシュメモリのタグ情報が格納されたコピータグメ
モリを備えた密結合マルチプロセッサシステムの制御方
法が記録された記録媒体であって、 前記プロセッサコントローラに、それぞれ前記コピータ
グメモリから読み出した前記タグ情報にパリティエラー
を検出した場合に、該タグ情報のアドレスをレジスタに
保持させ、 所定の複数個のレジスタに、それぞれパリティラーを検
出したタグ情報のアドレスが保持された時点で前記コピ
ータグメモリの使用を禁止させるプログラムを記録した
記録媒体。
6. A tightly-coupled multiprocessor having a plurality of processors each having a cache memory connected to a bus via a processor controller, and each processor controller having a copy tag memory in which tag information of the cache memory is stored. A storage medium on which a system control method is recorded, wherein the processor controller causes a register to hold an address of the tag information when a parity error is detected in the tag information read from the copy tag memory. A recording medium in which a program for prohibiting the use of the copy tag memory is recorded at a point in time when an address of tag information for which a parity error is detected is held in a plurality of predetermined registers.
JP32883197A 1997-11-28 1997-11-28 Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor Expired - Fee Related JP3239935B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32883197A JP3239935B2 (en) 1997-11-28 1997-11-28 Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32883197A JP3239935B2 (en) 1997-11-28 1997-11-28 Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor

Publications (2)

Publication Number Publication Date
JPH11161545A JPH11161545A (en) 1999-06-18
JP3239935B2 true JP3239935B2 (en) 2001-12-17

Family

ID=18214583

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32883197A Expired - Fee Related JP3239935B2 (en) 1997-11-28 1997-11-28 Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor

Country Status (1)

Country Link
JP (1) JP3239935B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101066519B1 (en) 2009-06-11 2011-09-21 수원대학교산학협력단 Cache memory apparatus and error detection method used on it
US10459824B2 (en) * 2017-09-18 2019-10-29 Microsoft Technology Licensing, Llc Cache-based trace recording using cache coherence protocol data
US11907091B2 (en) 2018-02-16 2024-02-20 Microsoft Technology Licensing, Llc Trace recording by logging influxes to an upper-layer shared cache, plus cache coherence protocol transitions among lower-layer caches

Also Published As

Publication number Publication date
JPH11161545A (en) 1999-06-18

Similar Documents

Publication Publication Date Title
US4603406A (en) Power backed-up dual memory system
JP2001249911A (en) Data transfer method and data processing system
JP3192664B2 (en) Cache memory system and cache memory controller
JP3748117B2 (en) Error detection system for mirrored memory
JP3129224B2 (en) Cache memory device
JP3239935B2 (en) Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor
US6594732B1 (en) Computer system with memory system in which cache memory is kept clean
JP3083786B2 (en) Memory update history storage device and memory update history storage method
JP2872211B1 (en) Cache failure handling method for multiprocessor system
JP3068491B2 (en) Cache index failure handling method
JP3555847B2 (en) Cache memory failure processing apparatus, cache memory failure processing method, and multiprocessor system
JPH04305746A (en) Cache memory control device
JP3214551B2 (en) Conflict detection failure diagnosis method, conflict detection failure diagnosis method, bus converter, and recording medium
JPH0217550A (en) Trouble processing system for multiprocessor system
JPH11120087A (en) Dual-memory processor
JPH04243446A (en) Cache registration controller
JP3716190B2 (en) Uncorrectable fault recovery method for data array in cache memory
JPH04273348A (en) Cache memory
JPH0341538A (en) Main storage device
JPH113288A (en) Cache memory device and fault control method for cache memory
JPH06259269A (en) Diagnostic circuit for multiprocessor
JPH09325912A (en) Information processor
JPH03116258A (en) Main storage substitute device
KR20010028615A (en) A doubling apparatus of a exchange
JPH01169553A (en) Buffer storage control system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071012

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081012

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091012

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091012

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101012

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees