JPH02153445A - System for generating request for nullifying cache memory - Google Patents

System for generating request for nullifying cache memory

Info

Publication number
JPH02153445A
JPH02153445A JP63309051A JP30905188A JPH02153445A JP H02153445 A JPH02153445 A JP H02153445A JP 63309051 A JP63309051 A JP 63309051A JP 30905188 A JP30905188 A JP 30905188A JP H02153445 A JPH02153445 A JP H02153445A
Authority
JP
Japan
Prior art keywords
cache
invalidation request
processor
request
cache invalidation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63309051A
Other languages
Japanese (ja)
Inventor
Hideo Iyota
井余田 秀雄
Masaki Kitajima
正樹 北島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63309051A priority Critical patent/JPH02153445A/en
Publication of JPH02153445A publication Critical patent/JPH02153445A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To simplify a serialization processing circuit by nullifying(resetting) a means to display the incompletion of sending of a cache nullifying request when detecting the fact that information (S0,...) for recording the completion time of sending of the cache nullifying request is read out from a cache nullifying request holding device. CONSTITUTION:When a serialization processing identifier S0 is read out from the cache nullifying request holding device 23, a corresponding serialization processing latch is reset. Therefore, it is possible to respond to the increment of the number of processors by adding only one processor identifier V to identify the processor which nullifies a cache memory on the only one cache nullifying request holding device 23 provided in the memory controller of a multiprocessor system. Also, a serialization processing is performed by providing the serialization processing latch corresponding to the processor issuing the serialization processing request, and adding the serialization processing identifier S to control(reset) the latch on the cache nullifying request holding device 23. In such a way, the fact that the cache nullifying request is sent to all processors can be confirmed.

Description

【発明の詳細な説明】 〔目 次〕 概要 産業上の利用分野 従来の技術と発明が解決しようとする課題課題を解決す
るための手段 作用 実施例 発明の効果 〔概要〕 ストアスルー方式のキャッシュ記憶装置を有するマルチ
プロセサシステムにおいて、主記憶装置の内容と、各々
のプロセサが有するキャッシュ記憶装置の内容との一致
を保障するキャッシュメモリ無効化要求作成方式に関し
、 主記憶装置を共有するプロセサの台数が増加するに従い
、記憶制御装置内でのキャッシュメモリ無効化の為のハ
ードウェア量が増加することを回避し、且つ、逐次化処
理回路を簡潔にすることを目的とし、 (1)該マルチプロセサシステムの主記憶装置へのアク
セスを制御する記憶制御装置に、各々のプロセサのキャ
ッシュディレクトリの写しを保持し、上記主記憶装置へ
の更新アクセスが行われるとき、上記記憶制御装置内の
キャッシュディレクトリの写しを索引し、一致するライ
ンが存在しない場合には、キャッシュ無効化要求を作成
しないで、−敗するラインが存在する場合にはキャッシ
ュ無効化要求を作成し、キャッシュ無効化要求保持装置
に格納した後、対応するプロセサにキャッシュ無効化要
求として送出するキャッシュ無効化要求作成装置であっ
て、該キャッシュ無効化要求保持装置に、キャッシュ無
効化アドレスと、キャッシュ無効化要求を送出すべきプ
ロセサ識別子(VO,〜)とを格納し、該キャッシュ無
効化要求保持装置を読み出した時、該プロセサ識別子(
vO9〜)が示すプロセサに対してキャッシュ無効化要
求を送出するように構成する。(2)上記キャッシュ無
効化要求保持装置に、キャッシュ無効化要求の送出完了
時点を記録する為の情報(SO3−)を格納する手段と
、キャッシュ無効化要求の送出未完了を表示する手段と
を備え、該キャッシュ無効化要求保持装置から、上記キ
ャッシュ無効化要求の送出完了時点を記録する為の情報
(SO3−)を読み出したことを検出したとき、上記キ
ャッシュ無効化要求の送出未完了を表示する手段を無効
に(リセット)するように構成する。
[Detailed Description of the Invention] [Table of Contents] Overview Industrial Application Fields Prior Art and Problems to be Solved by the Invention Means for Solving the Problems Actions Embodiments Effects of the Invention [Summary] Store-through cache storage In a multi-processor system having devices, the number of processors that share the main memory device is increasing regarding a method for creating a cache memory invalidation request that ensures consistency between the contents of the main memory device and the contents of the cache storage device possessed by each processor. (1) The main purpose of the multiprocessor system is to avoid an increase in the amount of hardware for cache memory invalidation in the storage control device and to simplify the serialization processing circuit. A storage control device that controls access to the storage device maintains a copy of the cache directory of each processor, and when update access to the main storage device is performed, the copy of the cache directory in the storage control device is indexed. However, if a matching line does not exist, no cache invalidation request is created; - if a failing line exists, a cache invalidation request is created, and after storing it in the cache invalidation request holding device, A cache invalidation request creation device that sends a cache invalidation request to a corresponding processor, the cache invalidation request holding device being provided with a cache invalidation address and a processor identifier (VO, ~) to which the cache invalidation request is to be sent. ), and when the cache invalidation request holding device is read, the processor identifier (
It is configured to send a cache invalidation request to the processor indicated by vO9~). (2) In the cache invalidation request holding device, means for storing information (SO3-) for recording the time point at which the transmission of the cache invalidation request is completed, and means for displaying that the transmission of the cache invalidation request is not yet completed. In preparation, when it is detected that information (SO3-) for recording the time point at which the transmission of the cache invalidation request is completed is read from the cache invalidation request holding device, an indication that the transmission of the cache invalidation request is not completed is displayed. configured to disable (reset) the means to do so.

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

本発明は、ストアスルー方式のキャッシュ記憶装置を有
するマルチプロセサシステムにおいて、主記憶装置の内
容と、各々のプロセサが有するキャッシュ記憶装置の内
容との一致を保障するキャッシェメそり無効化要求作成
方式に関する。
The present invention relates to a cache memory invalidation request creation method that ensures consistency between the contents of the main memory and the contents of the cache memory possessed by each processor in a multiprocessor system having a store-through type cache memory.

最近の計算機システムに対するテクノロジーの進歩に限
界がある為、単体の計算機システムでの処理能力の向上
には限界がある。
There are limits to the advancement of technology in recent computer systems, so there is a limit to the improvement in processing power of a single computer system.

一方、ユーザプログラムは益々巨大化して、然も、高速
処理を要求する動向にある。
On the other hand, user programs are becoming increasingly large and require high-speed processing.

そこで、プロセサ(PH)を並列に並べてマルチプロセ
サシステムを構成し、異なるプログラムを同時に実行す
ることにより、データ処理の高速化を実現しようとする
ことが行われるようになっている。
Therefore, attempts are being made to speed up data processing by arranging processors (PH) in parallel to form a multiprocessor system and executing different programs simultaneously.

このとき、各々のプロセサがストアスルー方式のキャッ
シュ記憶装置を有する場合には、あるプロセサが各プロ
セサの共有する主記憶装置の内容を更新したとき、各々
のプロセサが有するキャッシュ記憶装置の内容と、該共
有されている主記憶装置の内容との一致を保障する為に
、該更新したデータブロックを他のプロセサのキャッシ
ュ記憶装置が持っているとき、該データブロックを無効
化する必要がある。
At this time, if each processor has a store-through type cache storage device, when a certain processor updates the contents of the main storage device shared by each processor, the contents of the cache storage device of each processor, In order to ensure consistency with the contents of the shared main memory, when the updated data block is held in the cache memory of another processor, it is necessary to invalidate the data block.

このキャッシュメモリ無効化処理を行うのに、例えば、
該主記憶装置へのアクセスを制御する記憶制御装置に、
各プロセサが持っているキャッシュ記憶装置のキャッシ
ュディレクトリ (タグ部)の写しくコピー)を設け、
あるプロセサから主記憶装置へのストアアクセスがある
と、該他のプロセサに対応したキャッシュディレクトリ
のコピーを索引して、一致するライン位置が存在する場
合には、該一致出力を得た他のプロセサに対して、該ラ
インデータに対するキャッシュ無効化要求信号を送出す
るようにする。
To perform this cache memory invalidation process, for example,
A storage control device that controls access to the main storage device,
A copy of the cache directory (tag part) of the cache storage device owned by each processor is provided.
When there is a store access from one processor to main memory, the other processor's copy of the cache directory is indexed and, if a matching line position exists, the other processor that got the matching output A cache invalidation request signal for the line data is sent to the line data.

従来、このような機能を備えたキャッシュメモリ無効化
要求作成機構、例えば、キャッシュ無効化要求保持装置
(CIRS)等は、各プロセサに対応して独立に設けら
れている為、上記のように、マルチプロセサシステムで
のプロセサの数が増加してくると、該キャッシュ無効化
処理の為の物量が無視できなくなると共に、該キャッシ
ュ無効化要求が全てのプロセサに送出されたことを確認
するのに必要な、所謂、逐次化処理回路が複雑になる問
題があり、効果的なキャッシュメモリ無効化要求作成方
式が必要とされるようになってきた。
Conventionally, a cache memory invalidation request creation mechanism equipped with such a function, such as a cache invalidation request holding device (CIRS), has been provided independently for each processor. As the number of processors in a multiprocessor system increases, the amount of resources required for the cache invalidation process becomes non-negligible, and the amount of time required to confirm that the cache invalidation request is sent to all processors increases. There is a problem that the so-called serialization processing circuit becomes complicated, and an effective method for creating a cache memory invalidation request has become necessary.

〔従来の技術と発明が解決しようとする課題〕第2図は
従来のキャッシュメモリ無効化要求作成方式を説明する
図であり、(a)はシステム構成の例を示し、(b)は
記憶制御装置内に設けられている従来のキャッシュ無効
化要求作成装置の構成例を示している。
[Prior art and problems to be solved by the invention] FIG. 2 is a diagram explaining a conventional cache memory invalidation request creation method, in which (a) shows an example of a system configuration, and (b) shows a storage control system. 1 shows a configuration example of a conventional cache invalidation request generation device provided in a device.

前述のように、ストアスルー方式のキャッシュ記憶装置
(以下、キャッシュメモリという)を複数個の各プロセ
サ30に備えているマルチプロセサシステム((a)図
参照)においては、各プロセサ30.31が共有する主
記憶装置1へのアクセスを制御する記憶制御装置2に、
各々のプロセサ30が持っているキャッシュメモリのキ
ャッシュディレクトリ (タグ部)の写しくコピー) 
(DIR−CO,CI。
As mentioned above, in a multiprocessor system (see figure (a)) in which each of a plurality of processors 30 is equipped with a store-through type cache storage device (hereinafter referred to as cache memory), each processor 30. In the storage control device 2 that controls access to the main storage device 1,
Copy the cache directory (tag part) of the cache memory of each processor 30)
(DIR-CO, CI.

−) 21が設けられている。-) 21 is provided.

先ず、(b)図において、該ストアスルー方式のキャッ
シュメモリを有するプロセサ30が、該キャッシュメモ
リに主記憶装置lの内容を登録(即ち、ムーブインする
)場合、その旨、記憶制御装置2に要求を出す。
First, in the figure (b), when the processor 30 having the store-through type cache memory registers (i.e. moves in) the contents of the main storage device l into the cache memory, it requests the storage control device 2 to that effect. issue.

該記憶制御装置2は要求された主記憶装置1の内容を該
要求のあったプロセサ30に転送すると共に・キャッシ
ュディレクトリの写しく以下、DIR−CO,C1,−
・という) 21を更新する。
The storage control device 2 transfers the requested contents of the main storage device 1 to the processor 30 that made the request, and also copies the cache directory as follows: DIR-CO, C1, -
・Update 21.

こうして、該DIR−Co、C1,・・−21には、対
応するプロセサ30のキャッシュディレクトリの写しが
格納される。
In this way, a copy of the cache directory of the corresponding processor 30 is stored in the DIR-Co, C1, . . . -21.

各プロセサー0. 130.又は、チャネルプロセサ(
プロセサー2)31から主記憶装置1の内容更新要求(
ストア要求)がボートRO〜R2に投入されると、リク
エストプライオリティ(PR)で、それらの一つに優先
権が与えられ、該優先権の与えられたリクエストは、1
つは主記憶装置アクセス部へ、他方はリクエストアドレ
スレジスタ(R1!Q ADDRBSS R1!GIS
Tf!R、以下略)20にセットされ、上記DIR−C
O,C1,・・・・21を索引する。
Each processor 0. 130. Or channel processor (
Processor 2) request from 31 to update the contents of main memory 1 (
When store requests (store requests) are submitted to boats RO to R2, priority is given to one of them by request priority (PR), and the request given the priority is
One goes to the main memory access section, and the other goes to the request address register (R1!Q ADDRBSS R1!GIS
Tf! R, hereinafter omitted) is set to 20, and the above DIR-C
O, C1,...21 are indexed.

該索引結果はラインアドレス比較部(COPMo、1゜
−・)22で比較され、一致すればリクエストアドレス
が、バリッドピット(V)と共に、プロセサ対応に設け
られているキャッシュ無効化要求保持装置(引R5) 
23aに格納され、一致しなければ廃棄される。
The index results are compared by a line address comparison unit (COPMo, 1°-.) 22, and if they match, the request address is stored in a cache invalidation request holding device (invalidation request storage device) provided for the processor along with a valid pit (V). R5)
23a, and discarded if they do not match.

各キャッシュ無効化要求保持装置(CIRS) 23a
がら該キャッシュ無効化要求が読み出され、バリッドピ
ット(V)が°オン′であると、該当するプロセサ0.
130にキャッシュ無効化要求が送出される。
Each cache invalidation request holding device (CIRS) 23a
When the cache invalidation request is read out and the valid pit (V) is turned on, the corresponding processor 0.
A cache invalidation request is sent at 130.

上記索引動作は、例えば、プロセサー030からのスト
ア要求の時には、該プロセサー030以外のプロセサに
対応するDIR−C1,−・・21が索引される。
In the above indexing operation, for example, when a store request is issued from the processor 030, DIR-C1, . . . 21 corresponding to a processor other than the processor 030 is indexed.

従って、従来方式においては、キャッシュメモリを備え
たプロセサの数だけの上記DIR−CO,CI、・・−
23に対応してキャッシュ無効化要求保持装置(CIR
S) 23aを備えており、最近のように、該プロセサ
30の数が増加してくると、該無効゛化要求保持装置(
CIRS) 23の物量が無視できなくなるという問題
があった。
Therefore, in the conventional method, the number of DIR-CO, CI, . . .
23, the cache invalidation request holding device (CIR)
S) 23a, and as the number of processors 30 increases recently, the invalidation request holding device (
CIRS) There was a problem that the quantity of 23 could no longer be ignored.

次に、該キャッシュ無効化処理に関連する従来の逐次化
処理方式について説明する。
Next, a conventional serialization processing method related to the cache invalidation processing will be explained.

該逐次化処理は、マルチプロセサシステムを構成してい
るプロセサー0.1,2.−・−30が、各プロセサ共
有の主記憶装置lに対して、一連のストアアクセスの完
了を確認する場合、該一連のストアアクセスの最後のス
トア命令等の発行時に、逐次化処理要求(S)を出して
、該他のプロセサ30に対応して設けられている無効化
処理中を示すラッチ(逐次化処理中ラッチという)24
aをセットし、該他のプロセサ30に対する無効化処理
要求の送出の完了時点で、それぞれのラッチ24をリセ
ットすることで、該他のプロセサ30に対する無効化処
理要求の送出の完了時点を認識する処理である。
The serialization process is performed by processors 0.1, 2, . -.-30 confirms the completion of a series of store accesses to the main memory l shared by each processor, when issuing the last store command, etc. of the series of store accesses, a serialization processing request (S ) to indicate that the invalidation process is in progress (referred to as the serialization process latch) 24, which is provided corresponding to the other processor 30.
a and resets each latch 24 at the time of completion of sending the invalidation processing request to the other processor 30, thereby recognizing the completion point of sending the invalidation processing request to the other processor 30. It is processing.

該完了時点の認識は、例えば、他のプログラムに分岐す
る命令、即ち、ロードプログラムステータス語(ロード
PSW)命令を実行するとき9割込み処理を実行すると
きなどで、上記逐次化処理中のラッチ24aを監視し、
上記逐次化処理中ラッチ24aの全てが°オフ゛である
ことを検出することで行うことができる。
The completion point can be recognized, for example, when executing an instruction that branches to another program, that is, when executing a load program status word (load PSW) instruction, or when executing 9 interrupt processing, when the latch 24a during the serialization processing is executed. monitor,
This can be done by detecting that all of the latches 24a are off during the serialization process.

この為に、該逐次化処理要求(S)を持つストア命令を
実行したとき、キャッシュメモリを備えた自己以外のプ
ロセサ30に対する逐次化処理中ラッチ24aをセット
すると共に、対応する無効化要求保持装置(CIRS)
 23に該逐次化処理要求(S)を格納し、該逐次化処
理要求(S)の情報の読み出しを検出したとき、該当の
逐次化処理中ラッチ24aをリセットするように構成す
る。
For this reason, when a store instruction having the serialization processing request (S) is executed, the serialization processing latch 24a for the processor 30 other than the processor 30 equipped with a cache memory is set, and the corresponding invalidation request holding device (CIRS)
The serialization processing request (S) is stored in the serialization processing request (S), and when reading of the information of the serialization processing request (S) is detected, the corresponding serialization processing latch 24a is reset.

従って、あるキャッシュ無効化要求が、全てのプロセサ
30に送出されたことを指示する、該逐次化処理回路(
上記のキャッシュ無効化要求保持装置(CIRS) 2
3aに対する書込み回路、逐次化処理中ラッチ24a、
論理和回路25等)が、該プロセサ30の数が増大する
につれて複雑になるという問題があった。
Therefore, the serialization processing circuit (
The above cache invalidation request holding device (CIRS) 2
Write circuit for 3a, latch 24a during serialization process,
There is a problem in that the logical sum circuit 25, etc.) becomes more complex as the number of processors 30 increases.

本発明は上記従来の欠点に鑑み、ストアスルー方式のキ
ャッシュ記憶装置を有するマルチプロセサシステムにお
いて、主記憶装置の内容と、各々のプロセサが有するキ
ャッシュ記憶装置の内容との一敗を保障するキャッシュ
メモリ無効化要求を作成する際に、主記憶装置を共有す
るプロセサの台数が増加するに従い、記憶制御装置内で
のキャッシュメモリ°無効化の為のハードウェア量が増
加することを回避し、且つ、逐次化処理回路を簡潔にす
ることができるキャッシュメモリ無効化要求作成方式を
提供することを目的とするものである。
In view of the above-mentioned conventional drawbacks, the present invention provides a cache memory disabling system that guarantees that the contents of the main storage device and the contents of the cache storage device of each processor will be matched in a multiprocessor system having a store-through type cache storage device. When creating a cache memory invalidation request, as the number of processors that share the main memory increases, the amount of hardware for cache memory invalidation within the storage control device increases, and It is an object of the present invention to provide a method for creating a cache memory invalidation request that can simplify a cache memory invalidation processing circuit.

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

上記の問題点は下記の如くに構成されたキャッシュメモ
リ無効化要求作成方式によって解決される。
The above problem is solved by a cache memory invalidation request creation method configured as follows.

(1)主記憶装置を共有する複数個のプロセサの各々に
、ストアスルー方式のキャッシュ記憶装置と、該キャッ
シュ記憶装置のライン位置に対応する複数個のラインエ
ントリを有するキャッシュディレクトリとが設けられて
おり、 該主記憶装置へのアクセスを制御する記憶制御装置に、
各々のプロセサのキャッシュディレクトリの写しを保持
し、上記主記憶装置への更新アクセスが行われるとき、
上記記憶制御装置内のキャッシュディレクトリの写しを
索引し、一致するラインが存在しない場合には、キャッ
シュ無効化要求を作成しないで、一致するラインが存在
する場合にはキャッシュ無効化要求を作成し、キャッシ
ュ無効化要求保持装置に格納した後、対応するプロセサ
にキャッシュ無効化要求として送出するキャッシュ無効
化要求作成装置であって、該キャッシュ無効化要求保持
装置に、キャッシュ無効化アドレスと、キャッシュ無効
化要求を送出すべきプロセサ識別子(vO1〜)とを格
納し、該キャッシュ無効化要求保持装置を読み出した時
、該プロセサ識別子(VO,〜)が示すプロセサに対し
てキャッシュ無効化要求を送出するように構成する。
(1) Each of the plurality of processors that share the main memory is provided with a store-through type cache storage and a cache directory having a plurality of line entries corresponding to the line positions of the cache storage. and a storage control device that controls access to the main storage device,
A copy of the cache directory of each processor is maintained, and when an update access to the main memory is performed,
indexing a copy of the cache directory in the storage control device; if a matching line does not exist, do not create a cache invalidation request; if a matching line exists, create a cache invalidation request; A cache invalidation request generation device that stores a cache invalidation request in a cache invalidation request holding device and then sends it to a corresponding processor as a cache invalidation request, the cache invalidation request generating device storing a cache invalidation request address and a cache invalidation request in the cache invalidation request holding device. A processor identifier (vO1~) to which a request should be sent is stored, and when the cache invalidation request holding device is read, a cache invalidation request is sent to the processor indicated by the processor identifier (VO, ~). Configure.

(2)上記キャッシュ無効化要求保持装置に、キャッシ
ュ無効化要求の送出完了時点を記録する為の情報(SO
3−)を格納する手段と、キャッシュ無効化要求の送出
未完了を表示する手段(ラッチ)とを備え、 該キャッシュ無効化要求保持装置から、上記キ中ツシュ
無効化要求の送出完了時点を記録する為の情報(SO3
−)を読み出したことを検出したとき、上記キャッシュ
無効化要求の送出未完了を表示する手段(ラッチ)を無
効にするように構成する。
(2) In the cache invalidation request holding device, information (SO
3-), and a means (latch) for displaying the incomplete sending of the cache invalidation request, and records the time point at which the sending of the cache invalidation request is completed from the cache invalidation request holding device. Information to do (SO3
-) is detected, the means (latch) for indicating that the sending of the cache invalidation request is not yet completed is disabled.

〔作用〕[Effect]

即ち、本発明によれば、ストアスルー方式のキャッシュ
メモリを備えたマルチプロセサシステムにおいて、主記
憶装置へのアクセスを制御する記憶制御装置に、・各々
のプロセサのキャッシュディレクトリの写しくDIRC
O,CI、−)  が設けられており、キャッシュ無効
化要求保持装置は、プロセサ対応に設けることなくシス
テムに1つ設け、そのエントリフォーマットは、例えば
、のように構成する。
That is, according to the present invention, in a multiprocessor system equipped with a store-through type cache memory, a storage control device that controls access to the main storage device includes: a copy of the cache directory of each processor;
O, CI, -) is provided, and one cache invalidation request holding device is provided in the system without being provided corresponding to the processor, and its entry format is configured as follows, for example.

キャッシュメモリを有するプロセサは、該キャッシュメ
モリに主記憶装置の内容を登録する場合、その旨、記憶
制御装置に要求を出し、記憶制御装置は要求された主記
憶装置の内容を該要求のあったプロセサに転送すると共
に、該キャッシュディレクトリの写しくDIRCO,C
I、−)を更新する。
When a processor having a cache memory registers the contents of the main storage device in the cache memory, it issues a request to the storage control device to that effect, and the storage control device registers the requested contents of the main storage device in the cache memory. At the same time, a copy of the cache directory is copied to DIRCO, C.
I, -) is updated.

こうして、該キャッシュディレクトリの写しくDIRC
O,CI、・・・)には、対応するプロセサのキャッシ
ュディレクトリの写しが格納される。
In this way, a copy of the cache directory DIRC
O, CI, . . . ) stores a copy of the cache directory of the corresponding processor.

ここで、各プロセサからの主記憶の内容更新要求(即ち
、ストア要求)が、該記憶制御装置の各ポートに投入さ
れると、リクエストプライオリティ(PR)で、それら
の1つに優先権が与えられる。
Here, when main memory content update requests (i.e. store requests) from each processor are submitted to each port of the storage control device, one of them is given priority based on the request priority (PR). It will be done.

優先権の与えられたリクエストは、一方は主記憶装置ア
クセス部へ、他方はリクエストアドレスレジスタにセッ
トされ、上記キャッシュディレクトリの写しくDIRC
O,CI、−)を索引し、該索引結果はラインアドレス
比較部で比較され、一致すると、リクエストアドレスが
、上記プロセサ識別子(VO,Vl、−)と共に、本発
明の唯1つのキャッシュ無効化要求保持装置に上記エン
トリフォーマットの形で格納され、一致しなければ該リ
クエストは廃棄される。
Requests given priority are set on one side to the main memory access unit and on the other to the request address register, and are sent to the DIRC as a copy of the cache directory.
O, CI, -), and the index results are compared in a line address comparison section, and if they match, the request address is used as the only cache invalidation of the present invention, along with the processor identifier (VO, Vl, -). The requests are stored in the above entry format in the request holding device, and if they do not match, the requests are discarded.

該プロセサ識別子(VO,Vl、−)は、プロセサー0
からのリクエストに対しては、他のプロセサ、例えば、
プロセサー1.2.−・・に対する無効化要求であるこ
とを示すプロセサ識別子V1.ν2.−・・が作成され
、該キャッシュ無効化要求保持装置に格納する。
The processor identifier (VO, Vl, -) is processor 0.
For requests from other processors, e.g.
Processor 1.2. - Processor identifier V1. indicating that the request is for invalidation. ν2. -... is created and stored in the cache invalidation request holding device.

従って、該キャッシュ無効化要求保持装置から有効なエ
ントリが読み出された場合、該プロセサ識別子ν1.V
2.−によって、キャッシュ無効化要求を送出すべきプ
ロセサ(−1,2,−)を決定する。
Therefore, when a valid entry is read from the cache invalidation request holding device, the processor identifier ν1. V
2. - determines the processor (-1, 2, -) to which the cache invalidation request should be sent.

つまり、プロセサが2個の場合、該キャッシュ無効化要
求保持装置に格納されているプロセサ識別子(VO,V
l)によって、プロセサー〇からのリクエストによって
発生したものは、プロセサ識別子は“Vl’になってい
て、プロセサーlに、プロセサー1からのリクエストに
よって発生したものは、プロセサ識別子は°vO゛にな
っていて、プロセサーOへ、又、キャッシュメモリを持
たないプロセサ、例えば、チャネルプロセサ(プロセサ
ー2)からのリクエストによって発生したものは、プロ
セサ識別子はVO/Vl”になっていて、プロセサー0
/1へ、それぞれ、無効化要求を送出することができる
ように機能する。
In other words, if there are two processors, the processor identifiers (VO, V
According to l), the processor identifier is "Vl' when the request is received from processor 〇, and the processor identifier is °vO゛ when the request is issued to processor l by the request from processor 1. When a request is issued to processor O, or from a processor without cache memory, such as a channel processor (processor 2), the processor identifier is VO/Vl'' and the request is sent to processor O.
/1, respectively, to send an invalidation request.

又、あるキャッシュ無効化要求が全てのプロセサに送出
されたことを確認する為に、各プロセサ対応に、逐次化
処理中を表示するラッチを設け、この逐次化処理中ラッ
チがセットされている間は、目的のキャッシュ無効化要
求がキャッシュ無効化要求保持装置に存在していること
を表しているようにする。
In addition, in order to confirm that a certain cache invalidation request has been sent to all processors, a latch is provided for each processor to indicate that serialization processing is in progress, and while this serialization processing latch is set, is made to indicate that the target cache invalidation request exists in the cache invalidation request holding device.

具体的には、例えば、プロセサー0が主記憶装置の特定
のアドレスを内容の更新を行うとき、前述の逐次化要求
(S)を発信したとする。
Specifically, for example, assume that processor 0 issues the above-mentioned serialization request (S) when updating the contents of a specific address in the main storage device.

該アドレスで上記キャッシュディレクトリの写しくDI
RCO,C1,−・・・)を索引した結果、一致した場
合には、上記プロセサ識別子“Vl’、無効化アドレス
と1本発明の逐次化処理識別子(SO)をキャッシュ無
効化要求保持装置に格納すると共に、上記プロセサー0
に対応する逐次化処理中ラーツチをセットする。
Copy DI of the above cache directory at the address
RCO, C1, --...), and if they match, the processor identifier "Vl', the invalidation address, and the serialization processing identifier (SO) of the present invention are stored in the cache invalidation request holding device. In addition to storing the above processor 0
Sets the serialization latch corresponding to .

そして、該キャッシュ無効化要求保持装置から該逐次化
処理識別子(SO)が読み出されたとき、対応する該逐
次化処理中ラッチがリセットされる。
Then, when the serialization process identifier (SO) is read from the cache invalidation request holding device, the corresponding latch during the serialization process is reset.

前述のように、逐次化処理要求(S)は、あるプロセサ
が一連のストアアクセスを行って、他の全てのプロセサ
に対する無効化処理要求の送出完了時点を、該プロセサ
自身が認識する為の制御情報であるので、該一連のスト
アアクセスの最後のストア命令で逐次化処理要求(S)
を発行したプロセサ(上記の例では、プロセサーO)に
対応した逐次化処理中ラッチを制御するようにすること
で、従来方式と同じように、あるキャッシュ無効化要求
が全てのプロセサに送出されたことを認識することがで
きる。
As mentioned above, the serialization processing request (S) is a control for a certain processor to perform a series of store accesses and to recognize the point at which it has completed sending invalidation processing requests to all other processors. Since it is information, the serialization processing request (S) is made at the last store instruction of the series of store accesses.
By controlling the latch during serialization processing corresponding to the processor that issued the request (processor O in the above example), a cache invalidation request can be sent to all processors as in the conventional method. be able to recognize that.

上記のように機能するので、マルチプロセサシステムの
記憶制御装置内に設けられた唯1つのキャッシュ無効化
要求保持装置に、キャッシュメモリを無効化すべきプロ
セサを識別するプロセサ識別子(V)を付加することで
、プロセサ台数の増加に対処するこ七ができる。又、逐
次化処理tよ、該逐次化処理要求を発行したプロセサに
対応して、逐次化処理中ラッチを設け、上記キャッシュ
無効化要求保持装置に該ラッチを制?11(リセット)
する逐次化処理識別子(S)を付加することで、キャッ
シュ無効化要求が全てのプロセサに送出されたことを確
認することができる効果がある。
It functions as described above, by adding a processor identifier (V) that identifies the processor whose cache memory should be invalidated to the only cache invalidation request holding device provided in the storage control device of the multiprocessor system. , it is possible to cope with the increase in the number of processors. Also, for the serialization process t, a latch is provided during the serialization process corresponding to the processor that issued the serialization process request, and the latch is controlled by the cache invalidation request holding device? 11 (Reset)
By adding the serialization processing identifier (S), it is possible to confirm that the cache invalidation request has been sent to all processors.

〔実施例〕〔Example〕

以下本発明の実施例を図面によって詳述する。 Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は本発明の一実施例を示した図であり、(a)は
キャッシュ無効化要求保持装置のエントリフォーマット
を示し、(b)はキャッシュ無効化要求保持装置での格
納例を示し、(c)はキャッシュメモリ無効化要求装置
の構成例を示しており、該システムに唯1つのキャッシ
ュ無効化要求保持装置23.及び、プロセサ対応に設け
られている逐次化処理中ラッチ24が本発明を実施・す
るのに必要な手段である。尚、全図を通して同じ符号は
同じ対象物を示している。
FIG. 1 is a diagram showing an embodiment of the present invention, in which (a) shows an entry format of a cache invalidation request holding device, and (b) shows an example of storage in the cache invalidation request holding device, (c) shows a configuration example of a cache memory invalidation request device, in which there is only one cache invalidation request holding device 23. A latch 24 during serialization provided corresponding to the processor is a necessary means for carrying out the present invention. Note that the same reference numerals indicate the same objects throughout the figures.

以下、第1図によって、本発明のキャッシュメモリ無効
化要求作成方式を説明する。
The cache memory invalidation request creation method of the present invention will be explained below with reference to FIG.

本発明を実施しても、キャッシュディレクトリの写しく
旧RCO,CI、−・・)21に対する登録動作、及び
、検索動作は特に変わることはないので省略し、ここで
は、本発明のキャッシュ無効化要求保持装置23に対す
る格納動作、読み出し動作を中心にして、本発明のキャ
ッシュメモリ無効化要求作成方式を説明する。
Even if the present invention is implemented, the registration operation and search operation for the old RCO, CI, ...) 21 in the cache directory will not change in particular, so they will be omitted, and here, the cache invalidation of the present invention will be omitted. The cache memory invalidation request creation method of the present invention will be described with a focus on storage and read operations for the request holding device 23.

先ず、キャッシュ無効化要求保持装置23の内容が、(
a)図のエントリフォーマットで、(b)図に示したよ
うになる場合を例にして説明する。
First, the contents of the cache invalidation request holding device 23 are (
An example will be explained in which the entry format shown in the figure (a) is as shown in the figure (b).

キャッシュ無効化要求保持装置23の内容は、以下のよ
うなアクセスによって格納されたものである。
The contents of the cache invalidation request holding device 23 are stored through the following accesses.

(1)′プロセサー030が主記憶装置の°ADDRf
!5S−0” 21の内容を更新した。そのアドレスで
°DIR−C1’を索引した結果、一致した為、プロセ
サ識別子’Vl’と共に、該アドレスをキャッシュ無効
化要求保持装置23に格納し、書き込みポインラダーT
P’ 25をインクリメントした。
(1) 'The processor 030 is the main memory °ADDRf
! 5S-0" 21 was updated. As a result of indexing °DIR-C1' with that address, there was a match, so the address was stored in the cache invalidation request holding device 23 along with the processor identifier 'Vl' and written. Point ladder T
P'25 was incremented.

(2)プロセサー130が主記憶装置のADDRESS
−1゛の内容を更新した。そのアドレスで“DIR−C
O゛21を索引した結果、一致した為、プロセサ識別子
“vOoと共に、該アドレスをキャッシュ無効化要求保
持装置23に格納し、書き込みポインラダ−TP” 2
5をインクリメントした。
(2) ADDRESS where the processor 130 is the main storage device
-1゛ content has been updated. At that address, “DIR-C”
As a result of indexing O゛21, there is a match, so the address is stored in the cache invalidation request holding device 23 along with the processor identifier "vOo", and the address is stored in the write point ladder - TP.
Incremented 5.

(3)プロセサー231が主記憶装置の°へDDRES
S−2゛の内容を更新した。そのアドレスで°DIR−
CO。
(3) Processor 231 writes DDRES to main memory
The contents of S-2゛ have been updated. °DIR− at that address
C.O.

C1°21を索引した結果、一致した為、プロセサ識別
子’vo、vt’  と共に、該アドレスをキャッシュ
無効化要求保持装置23に格納し、書き込みポインタ゛
WTP’ 25をインクリメントした。
As a result of indexing C1°21, a match was found, so the address was stored in the cache invalidation request holding device 23 along with the processor identifier 'vo, vt', and the write pointer 'WTP' 25 was incremented.

(4)プロセサー030が主記憶装置の°ADDRES
S−3゛の内容の更新と逐次化処理要求(S)をした。
(4) The processor 030 stores °ADDRES in the main memory.
Updated the contents of S-3' and requested serialization processing (S).

そのアドレスで°DIR−CI’ 21を索引した結果
、−致した為、プロセサ識別子’Vl’、アドレスと共
に、逐次化処理識別子(SO)をキャッシュ無効化要求
保持装置23に格納し、書き込みポインタ“−TP’ 
25をインクリメントした。
As a result of indexing the °DIR-CI' 21 with that address, a - match was found, so the serialization processing identifier (SO) was stored in the cache invalidation request holding device 23 along with the processor identifier 'Vl' and the address, and the write pointer "-TP'
Incremented 25.

尚、このリクエストのプライオリティがとられた時点で
、プロセサー030に対応する逐次化処連中ラッチ24
がセットされる。
Incidentally, at the time when the priority of this request is taken, the serialization processing latch 24 corresponding to the processor 030
is set.

上記のようにして格納されたキャッシュ無効化要求保持
装置23の内容((b)図参照)は、以下のような動作
によって、各プロセサー0.130に送出される。
The contents of the cache invalidation request holding device 23 stored as described above (see figure (b)) are sent to each processor 0.130 by the following operations.

(1)  読み出しポインタ“RDP”26の内容と、
書き込みポインタ“WTP” 25との内容は、比較器
(COMP2)27で常に比較されており、一致しない
ことにより、該キャッシュ無効化要求保持装置23に有
効なエントリが格納されていると判定され、各プロセサ
ー0.130からの図示していない受信OK信号(プロ
セサ側での無効化要求スタックが未だ受信可能であるこ
とを示す信号)が入力されていると、以後、上記比較器
(COMP2) 27から一致信号が出力される迄読み
出し操作が行われる。
(1) The contents of the read pointer “RDP” 26,
The contents of the write pointer "WTP" 25 are constantly compared by a comparator (COMP2) 27, and if they do not match, it is determined that a valid entry is stored in the cache invalidation request holding device 23, If a reception OK signal (not shown) is input from each processor 0.130 (a signal indicating that the invalidation request stack on the processor side can still be received), the comparator (COMP2) 27 The read operation is continued until a match signal is output.

(2)エントリー0の内容が読み出され、キャッシュ無
効化要求送出レジスタ(CIRARo、1) 28.2
9に、そのアドレスが設定される。このとき、プロセサ
識別子“vloがセットされているので、プロセサー1
30に対応するキャッシュ無効化要求送出レジスタ(C
IRARI) 29の有効ラッチ(n) 29aをセッ
トする。この後、読み出しポインタ“RDP’ 26を
インクリメントする。
(2) The contents of entry 0 are read and cache invalidation request sending register (CIRARo, 1) 28.2
9, that address is set. At this time, since the processor identifier "vlo" is set, processor 1
Cache invalidation request sending register (C
IRARI) 29 valid latch (n) 29a is set. After this, the read pointer "RDP' 26 is incremented.

この有効ラッチ(Vl) 29aがセットされたプロセ
サ(即ち、プロセサー1)だけが、該キャッシュ無効化
要求送出レジスタ(CIRARI) 29の内容を取り
込む。 (以下、同じ) (2)エントリーlの内容が読み出され、キャッシュ無
効化要求送出レジスタ(CIRARo、1) 28.2
9に、そのアドレスが設定される。このとき、プロセサ
識別子“VO゛がセットされているので、プロセサ03
0に対応するキャッシュ無効化要求送出レジスタ(CI
RARO) 2Bの有効ラッチ(VO) 28aをセッ
トする。この後、読み出しポインラダRDP’ 26を
インクリメントする。
Only the processor in which this valid latch (Vl) 29a is set (ie, processor 1) takes in the contents of the cache invalidation request sending register (CIRARI) 29. (The same applies hereinafter) (2) The contents of entry l are read and cache invalidation request sending register (CIRARo, 1) 28.2
9, that address is set. At this time, since the processor identifier "VO" is set, processor 03
Cache invalidation request sending register (CI
RARO) 2B valid latch (VO) 28a is set. After this, the read point ladder RDP' 26 is incremented.

(3)エントリー2の内容が読み出され、キャッシュ無
効化要求送出レジスタ(CIRARo、1) 28.2
9に、そのアドレスが設定される。このとき、プロセサ
識別子“VO,V1’ がセットされているので、プロ
セサー0.130に対応するキャッシュ無効化要求送出
L/ ’; スタ(CIRARO,l) 28.29(
7)有効ラッチ(vO9Vl) 28a、29aをセッ
トする。この後、読み出しポインラダRDP’ 26を
インクリメントする。
(3) The contents of entry 2 are read and cache invalidation request sending register (CIRARo, 1) 28.2
9, that address is set. At this time, since the processor identifier "VO, V1' is set, the cache invalidation request corresponding to processor 0.130 is sent L/'; Star (CIRARO, l) 28.29 (
7) Set valid latch (vO9Vl) 28a and 29a. After this, the read point ladder RDP' 26 is incremented.

(4)エントリー3の、内容が読み出され、キャッシュ
無効化要求送出レジスタ((、IRARo、1) 28
.29に、そのアドレスが設定される。このとき、プロ
セサ識別子’vt’がセットされているので、プロセサ
ー130に対応するキャッシュ無効化要求送出レジスタ
(CIRARI) 29の有効ラッチ(vl) 29a
をセットする。
(4) The contents of entry 3 are read and sent to the cache invalidation request sending register ((, IRARo, 1) 28
.. The address is set in 29. At this time, since the processor identifier 'vt' is set, the valid latch (vl) 29a of the cache invalidation request sending register (CIRARI) 29 corresponding to the processor 130
Set.

又、この場合には、本発明の逐次化処理識別子’so’
がセットされているので、プロセサー030に対応する
逐次化処理中ラッチ24をリセットする。この後、読み
出しポインダR叶゛26をインクリメントする。
Also, in this case, the serialization processing identifier 'so' of the present invention
is set, the serialization processing latch 24 corresponding to the processor 030 is reset. After this, the read pointer R26 is incremented.

各プロセサー0. 130.プロセサー231に送出さ
れた逐次化処理中う・ンチ24の内容は、それぞれのプ
ロセサにおいて、前述のように、特定の命令や事象(例
えば、ロードps−命令1割込み処理)によって、該ラ
ッチ24の内容を監視し、0゛にリセットされたことを
検出することにより、該キャッシュ無効化要求が全ての
プロセサに送出されたことを認識する。
Each processor 0. 130. The contents of the serialization processing latch 24 sent to the processor 231 are determined by the latch 24 in each processor depending on a specific instruction or event (for example, load ps-instruction 1 interrupt processing), as described above. By monitoring the content and detecting that it has been reset to 0, it is recognized that the cache invalidation request has been sent to all processors.

このように、本発明は、ストアスルー方式のキャッシュ
記憶装置を有するマルチプロセサシステムにおいて、主
記憶装置の内容と、各々のプロセサが有するキャッシュ
記憶装置の内容との一致を保障するキャッシュメモリ無
効化要求信号を作成するのに、従来方式が、キャッシュ
ディレクトリの写しくDIRCO,CI、−・)をアク
セスして、一致がとれたとき、各プロセッサに対応する
キャッシュ無効化要求保持装置に格納していたのに対し
、1つのスタックメモリに順次格納し、その格納された
キャッシュ無効化要求を読み出した時に、対応するプロ
セサに分配することができるよう、該キャッシュ無効化
要求を格納する時点で、送出先のプロセサを指示するプ
ロセサ識別子(VO,Vl、−>を格納するようにする
。又、逐次化処理を要求したストアアクセスでは、プラ
イオリティがとれたとき、対応する逐次化処理中ラッチ
をセットし、コ亥キャッシュディレクトリの写しくDI
RCO,C1,−)をアクセスして、一致がとれたとき
、上記無効化対象のプロセサ識別子(VO,Vl、 −
)  と共に、逐次化処理識別子(SO、−)をも格納
しておき、該逐次化処理識別子(SO,−・)が読み出
されたとき、上記対応する逐次化処理中う・ンチをリセ
ットして、該ラッチを特定の命令で見ることにより、該
キャッシュ無効化要求が全てのプロセサに送出されたこ
とを認識できるようにした所に特徴がある。
As described above, the present invention provides a cache memory invalidation request signal that ensures consistency between the contents of the main memory and the contents of the cache memory possessed by each processor in a multiprocessor system having a store-through type cache storage. To create the cache invalidation request, the conventional method accesses the copy of the cache directory (DIRCO, CI, --), and when a match is found, the cache invalidation request holding device corresponding to each processor However, when storing cache invalidation requests sequentially in one stack memory and distributing them to the corresponding processors when the stored cache invalidation requests are read, Store the processor identifier (VO, Vl, -> that specifies the processor. Also, in a store access that requests serialization processing, when the priority is obtained, the corresponding latch during serialization processing is set, and the Copy DI of the Pig cache directory
RCO, C1, -) and when a match is found, the above invalidation target processor identifier (VO, Vl, -
), a serialization processing identifier (SO, -) is also stored, and when the serialization processing identifier (SO, -.) is read, the corresponding serialization processing flag is reset. The feature is that by checking the latch with a specific instruction, it is possible to recognize that the cache invalidation request has been sent to all processors.

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

以上、詳細に説明したように、本発明のキャッシュメモ
リ無効化要求作成方式は、ストアスルー方式のキャッシ
ュ記憶装置を有するマルチプロセサシステムにおいて、
主記憶装置の内容と、各々のプロセサが有するキャッシ
ュ記憶装置の内容との一致を保障するキャッシュメモリ
無効化要求を作成するのに、(1)該マルチプロセサシ
ステムの主記憶装置へのアクセスを制御する記憶制御装
置に、各々のプロセサのキャッシュディレクトリの写し
を保持し、上記主記憶装置への更新アクセスが行われる
とき、上記記憶制御装置内のキャッシュディレクトリの
写しを索引し、一致するラインが存在しない場合には、
キャッシュ無効化要求を作成しないで、一致するライン
が存在する場合にはキャッシュ無効化要求を作成し、キ
ャッシュ無効化要求保持装置に格納した後、対応するプ
ロセサにキャッシュ無効化要求として送出するキャッシ
ュ無効化要求作成装置であって、該キャッシュ無効化要
求保持装置に、キャッシュ無効化アドレスと。
As described above in detail, the cache memory invalidation request creation method of the present invention is applicable to a multiprocessor system having a store-through type cache storage device.
In order to create a cache memory invalidation request that ensures consistency between the contents of the main memory and the contents of the cache memory possessed by each processor, (1) control access to the main memory of the multiprocessor system; A copy of the cache directory of each processor is held in the storage control device, and when an update access is made to the main storage device, the copy of the cache directory in the storage control device is indexed and a matching line does not exist. in case of,
Cache invalidation does not create a cache invalidation request, but if a matching line exists, creates a cache invalidation request, stores it in the cache invalidation request holding device, and then sends it to the corresponding processor as a cache invalidation request. a cache invalidation request generating device, the cache invalidation request holding device having a cache invalidation address;

キャッシュ無効化要求を送出すべきプロセサ識別子(V
)とを格納し、該キャッシュ無効化要求保持装置を読み
出した時、該プロセサ識別子(V)が示すプロセサに対
してキャッシュ無効化要求を送出するように構成する。
Processor identifier (V
), and when the cache invalidation request holding device is read, a cache invalidation request is sent to the processor indicated by the processor identifier (V).

(2)上記キャッシュ無効化要求保持装置に、キャッシ
ュ無効化要求の送出完了時点を記録する為の情報(S)
を格納する手段と、キャッシュ無効化要求の送出未完了
を表示する手段とを備え、該キャッシュ無効化要求保持
装置から、上記キャッシュ無効化要求の送出完了時点を
記録する為の情報(S)を読み出したことを検出したと
き、上記キャッシュ無効化要求の送出未完了を表示する
手段を無効に(リセット)するようにしたものであるの
で、マルチプロセサシステムの記憶制御装置内に設けら
れた唯1つのキャッシュ無効化要求保持装置に、キャッ
シュメモリを無効化すべきプロセサを識別するプロセサ
識別子(V)を付加することで、プロセサ台数の増加に
対処することができる。又、逐次化処理は、該逐次化処
理要求を発行したプロセサに対応して、逐次化処理中ラ
ッチを設け、上記キャッシュ無効化要求保持装置に該ラ
ッチを制?11(リセット)する逐次化処理識別子(S
)を付加することで、キャッシュ無効化要求が全てのプ
ロセサに送出されたことを確認することができる効果が
ある。
(2) Information (S) for recording the time point at which the sending of the cache invalidation request is completed in the cache invalidation request holding device.
and means for displaying whether the transmission of the cache invalidation request has not been completed, the information (S) for recording the time point at which the transmission of the cache invalidation request is completed from the cache invalidation request holding device. When it is detected that the cache invalidation request has been read, it disables (resets) the means for displaying that the sending of the cache invalidation request is not yet completed. By adding a processor identifier (V) for identifying a processor whose cache memory should be invalidated to the cache invalidation request holding device, it is possible to cope with an increase in the number of processors. Furthermore, in the serialization processing, a serialization processing latch is provided corresponding to the processor that has issued the serialization processing request, and the latch is controlled by the cache invalidation request holding device. 11 (reset) serialization processing identifier (S
) has the effect of making it possible to confirm that the cache invalidation request has been sent to all processors.

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

第1図は本発明の一実施例を示した図。 第2図は従来のキャッシュメモリ無効化要求作成方式を
説明する図。 である。 図面において、 1は主記憶装置、   2は記憶制御装置。 21はキャッシュディレクトリの写し、又は、キャッシ
ュディレクトリコピー (DIRCO,CI、−)。 22はラインアドレス比較部、又は、比較器(COMP
o。 1)。 23a、23はキャッシュ無効化要求保持装置(CIl
?S)。 24a、24は逐次化処理中ラッチ。 25は書き込みポインタ(匈TP) 。 26は読み出しポインタ(RDP)。 27は比較器(COMP2) 。 28.29キヤツシユ無効化要求送出レジスタ(CIR
ARo、 1) 。 28a 、 29aはキャッシュ無効化要求送・出レジ
スタ有効ラッチ(vO1νl)。 hOはプロセサー〇、l。 31はプロセサ〜2.又は、チャネルプロセサ。 RO〜R2はボート。 PRはリクエストプライオリティ。 Vθ、シ1.〜はプロセサ識別子。 SO,〜は逐次化処理識別子。 をそれぞれ示す。 、(σ) んを来のキャッシュメモリ焦効イこ守りに作〃(δにと
欽、明する図 2図(ヤの19
FIG. 1 is a diagram showing an embodiment of the present invention. FIG. 2 is a diagram illustrating a conventional cache memory invalidation request creation method. It is. In the drawings, 1 is a main storage device, and 2 is a storage control device. 21 is a cache directory copy or cache directory copy (DIRCO, CI, -). 22 is a line address comparison section or a comparator (COMP
o. 1). 23a and 23 are cache invalidation request holding devices (CIl);
? S). 24a and 24 are latches during serialization processing. 25 is a write pointer (匈TP). 26 is a read pointer (RDP). 27 is a comparator (COMP2). 28.29 Cache invalidation request sending register (CIR)
ARo, 1). 28a and 29a are cache invalidation request sending/output register valid latches (vO1νl); hO is a processor〇, l. 31 is a processor~2. Or a channel processor. RO~R2 are boats. PR is request priority. Vθ, C1. ~ is a processor identifier. SO, ~ is a serialization processing identifier. are shown respectively. , (σ) is created to protect the next cache memory.

Claims (2)

【特許請求の範囲】[Claims] (1)主記憶装置(1)を共有する複数個のプロセサ(
30)の各々に、ストアスルー方式のキャッシュ記憶装
置と、該キャッシュ記憶装置のライン位置に対応する複
数個のラインエントリを有するキャッシュディレクトリ
とが設けられており、 該主記憶装置(1)へのアクセスを制御する記憶制御装
置(2)に、各々のプロセサ(30)のキャッシュディ
レクトリの写し(21)を保持し、上記主記憶装置(1
)への更新アクセスが行われるとき、上記記憶制御装置
(2)内のキャッシュディレクトリの写し(21)を索
引し、一致するラインが存在しない場合には、キャッシ
ュ無効化要求を作成しないで、一致するラインが存在す
る場合にはキャッシュ無効化要求を作成し、キャッシュ
無効化要求保持装置(23)に格納した後、対応するプ
ロセサ(30)にキャッシュ無効化要求として送出する
キャッシュ無効化要求作成装置であって、 該キャッシュ無効化要求保持装置(23)に、キャッシ
ュ無効化アドレス(230)と、キャッシュ無効化要求
を送出すべきプロセサ識別子(V0、〜)(231)と
を格納し、 該キャッシュ無効化要求保持装置(23)を読み出した
時、該プロセサ識別子(V0、〜)(231)が示すプ
ロセサ(30)に対してキャッシュ無効化要求を送出す
ることを特徴とするキャッシュメモリ無効化要求作成方
式。
(1) Multiple processors (
30) is provided with a store-through type cache storage device and a cache directory having a plurality of line entries corresponding to the line positions of the cache storage device; A storage control device (2) that controls access holds a copy (21) of the cache directory of each processor (30), and the main storage device (1)
), the cache directory copy (21) in the storage control device (2) is indexed, and if a matching line does not exist, a cache invalidation request is not created and a matching line is accessed. A cache invalidation request creation device that creates a cache invalidation request if there is a line to do so, stores it in a cache invalidation request holding device (23), and then sends it to the corresponding processor (30) as a cache invalidation request. A cache invalidation address (230) and a processor identifier (V0, ~) (231) to which the cache invalidation request should be sent are stored in the cache invalidation request holding device (23); A cache memory invalidation request characterized in that when the invalidation request holding device (23) is read, a cache invalidation request is sent to the processor (30) indicated by the processor identifier (V0, ~) (231). Creation method.
(2)上記キャッシュ無効化要求保持装置(23)に、
キャッシュ無効化要求の送出完了時点を記録する為の情
報(S0、〜)(232)を格納する手段と、キャッシ
ュ無効化要求の送出未完了を表示する手段(24)とを
備え、 該キャッシュ無効化要求保持装置(23)から、上記キ
ャッシュ無効化要求の送出完了時点を記録する為の情報
(S0、〜)(232)を読み出したことを検出したと
き、上記キャッシュ無効化要求の送出未完了を表示する
手段(24)を無効にすることを特徴とする請求項1に
記載のキャッシュメモリ無効化要求作成方式。
(2) In the cache invalidation request holding device (23),
comprising means for storing information (S0, ~) (232) for recording the time point at which sending of the cache invalidation request is completed; and means (24) for displaying the incomplete sending of the cache invalidation request; When it is detected that the information (S0, ~) (232) for recording the time point at which the transmission of the cache invalidation request is completed is read from the cache invalidation request holding device (23), the transmission of the cache invalidation request is not yet completed. 2. The cache memory invalidation request creation method according to claim 1, wherein the means (24) for displaying the cache memory invalidation request is invalidated.
JP63309051A 1988-12-06 1988-12-06 System for generating request for nullifying cache memory Pending JPH02153445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63309051A JPH02153445A (en) 1988-12-06 1988-12-06 System for generating request for nullifying cache memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63309051A JPH02153445A (en) 1988-12-06 1988-12-06 System for generating request for nullifying cache memory

Publications (1)

Publication Number Publication Date
JPH02153445A true JPH02153445A (en) 1990-06-13

Family

ID=17988281

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63309051A Pending JPH02153445A (en) 1988-12-06 1988-12-06 System for generating request for nullifying cache memory

Country Status (1)

Country Link
JP (1) JPH02153445A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005044342A (en) * 2003-07-22 2005-02-17 Samsung Electronics Co Ltd Multiprocessor system and method for maintaining cache consistency of thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005044342A (en) * 2003-07-22 2005-02-17 Samsung Electronics Co Ltd Multiprocessor system and method for maintaining cache consistency of thereof

Similar Documents

Publication Publication Date Title
KR102483506B1 (en) Cache-based trace recording using Cache Coherence Protocol data
JP2825550B2 (en) Multiple virtual space address control method and computer system
US6801986B2 (en) Livelock prevention by delaying surrender of ownership upon intervening ownership request during load locked / store conditional atomic memory operation
EP0121700B1 (en) Multiprocessor storage serialization apparatus
US20070143287A1 (en) Coordinating access to memory locations for hardware transactional memory transactions and software transactional memory transactions
US8255591B2 (en) Method and system for managing cache injection in a multiprocessor system
EP0431326A2 (en) Inter-processor interrupts in an n-element multi-processor
US7711899B2 (en) Information processing device and data control method in information processing device
JP2825906B2 (en) Computer system
KR20100006578A (en) Information processor, cache memory controller, and memory access sequence assurance method
JPH01269142A (en) Buffer memory control system
JP2016024762A (en) Information processor, memory order guarantee method and program
WO1997004392A1 (en) Shared cache memory device
US5051894A (en) Apparatus and method for address translation of non-aligned double word virtual addresses
CN113900968B (en) Method and device for realizing synchronous operation of multi-copy non-atomic write storage sequence
JPH02153445A (en) System for generating request for nullifying cache memory
JP2907958B2 (en) Time mechanism control method
JPH06149669A (en) System and device for transferring cache data
JP3762608B2 (en) Computer and its control method
JP3081635B2 (en) Cache memory invalidation processing apparatus and invalidation control method
JPH06103477B2 (en) Parallel cache memory
Bahr et al. Architecture, design, and performance of Application System/400 (AS/400) multiprocessors
JPS6135583B2 (en)
JPH0548498B2 (en)
JP2019533239A (en) Apparatus and method for providing atomic set data access