JPH07160581A - Cache matching processing controller - Google Patents

Cache matching processing controller

Info

Publication number
JPH07160581A
JPH07160581A JP5308926A JP30892693A JPH07160581A JP H07160581 A JPH07160581 A JP H07160581A JP 5308926 A JP5308926 A JP 5308926A JP 30892693 A JP30892693 A JP 30892693A JP H07160581 A JPH07160581 A JP H07160581A
Authority
JP
Japan
Prior art keywords
central processing
processing unit
cache
copy destination
destination 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.)
Granted
Application number
JP5308926A
Other languages
Japanese (ja)
Other versions
JP2707958B2 (en
Inventor
Kazuyoshi Takazawa
和義 高澤
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 JP5308926A priority Critical patent/JP2707958B2/en
Publication of JPH07160581A publication Critical patent/JPH07160581A/en
Application granted granted Critical
Publication of JP2707958B2 publication Critical patent/JP2707958B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To prevent performance from being lowered due to cache matching processing according to the increment of the number of CPUs. CONSTITUTION:In a multiprocessor system provided with second cache in a memory controller 2, a copy destination information field 2-2-1 representing on which first cache data in second cache is copied is provided in the second cache. The information of a CPU number, a CPU group number, plural CPUs, and plural CPU groups, etc., are efficiently provided in the copy destination information field 2-2-1, and when access is performed based on the information, a cache matching processing request is issued to the minimum number of CPUs.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は情報処理システムにおい
て、とくにマルチプロセッサシステムのキャッシュ一致
処理制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing system, and more particularly to a cache coincidence processing control device for a multiprocessor system.

【0002】[0002]

【従来の技術】従来、情報処理装置においては各CPU
毎にメモリの写しを有するキャッシュを持っていた。と
ころがマルチプロセッサシステムの場合ある1つのキャ
ッシュに対しストア動作が行われた場合、もし他のキャ
ッシュに同じメモリの内容を持っているとしたらその内
容は古くなってしまう。このキャッシュコヒーレンシ問
題を解決するため従来より行われてきた方法としては、
あるキャッシュにストア動作が行われた際、キャッシュ
一致処理要求すなわちキャッシュのフラッシュ要求を他
のすべてのキャッシュに対して発行していた。
2. Description of the Related Art Conventionally, each CPU in an information processing device
Each had a cache with a copy of the memory. However, in the case of a multiprocessor system, when a store operation is performed on one cache, if another cache has the same memory content, the content becomes stale. As a conventional method for solving the cache coherency problem,
When a store operation was performed on a certain cache, a cache matching processing request, that is, a cache flush request was issued to all other caches.

【0003】特開平3−52043号公報には、デバッ
グに使用するため全てのCPUを対象としてシステム制
御装置2からのプロセッサナンバ105と自装置のプロ
セッサナンバとの比較結果を強制的に不一致にするフリ
ップフロップ10を具備する情報処理装置が開示されて
いる。この技術では全てのCPU番号の一致をとる必要
がある。
In Japanese Patent Laid-Open No. 3-52043, the comparison result of the processor number 105 from the system control device 2 and the processor number of the own device is forcibly made to be inconsistent for all CPUs for use in debugging. An information processing device including a flip-flop 10 is disclosed. In this technique, it is necessary to match all CPU numbers.

【0004】[0004]

【発明が解決しようとする課題】近年、マルチプロセッ
サのCPU台数増加に比例してキャッシュ一致処理の頻
度も増加してきた、ところが本来同じ内容が複数のキャ
ッシュに登録されていてしかもその内容に対しストア動
作が行われることは頻度的には少ないとされている。し
かしながらその少ない頻度で発生するキャッシュコヒー
レンシ保証のため本来無駄なキャッシュ一致処理要求が
特開平3−52043号公報に示されるように他の全て
のCPU番号と比較しなければならないため本来の処理
を停止する状況が生じ、性能的に大きな問題となってき
た。さらにキャッシュメモリのタブとしては全てのCP
U番号を格納しなければならずメモリの記憶領域を格納
しなければならないという問題があった。
In recent years, the frequency of cache matching processing has increased in proportion to the increase in the number of CPUs of a multiprocessor. However, the same content is originally registered in a plurality of caches and the content is stored. It is said that the operation is rarely performed. However, in order to guarantee the cache coherency that occurs with such a low frequency, an originally useless cache matching processing request must be compared with all other CPU numbers as shown in Japanese Patent Laid-Open No. 3-52043, so that the original processing is stopped. The situation has occurred, which has become a serious problem in terms of performance. Furthermore, all CPs are used as tabs of cache memory
There was a problem that the U number had to be stored and the storage area of the memory had to be stored.

【0005】[0005]

【課題を解決するための手段】本発明の第1の装置は、
第1のキャッシュメモリを有する中央処理装置(以下C
PU)と、データのコピー先CPU番号または同じ情報
が複数のCPUにコピーされているか否かを示す情報と
を格納するコピー先情報フィールドを含むディレクトリ
を有する第2のキャッシュメモリと、この第2のキャッ
シュメモリにアクセスがあった場合要求元のCPU番号
と前記コピー先情報フィールドの内容とを比較する比較
手段と、前記第2のキャッシュメモリへのアクセスがリ
ードアクセスでこの比較手段からの比較結果が異なった
CPU番号であった場合コピー先情報フィールドの内容
を複数CPUにコピーされていることを示す内容に更新
し、前記第2のキャッシュメモリへのアクセスの場合コ
ピー先情報フィールドの内容を要求元のCPU番号に更
新するコピー先情報フィールド更新手段と、前記第2の
キャッシュメモリへのアクセスがストアアクセスの場合
であって前記比較手段の比較結果が同じCPU番号であ
った場合一致処理要求は発行せす前記第2のキャッシュ
メモリへのアクセスがストアアクセスの場合であって前
記比較手段の比較結果が異なるCPU番号であった場合
前記コピー先情報フィールドに登録されているCPUに
対しキャッシュ一致処理要求を発行し前記コピー先情報
フィールドが複数CPUにコピーしていることを示す場
合全てのCPUに対しキャッシュ一致処理要求を発行す
るキャッシュ一致処理制御手段とを含む本発明の第2の
装置は、第1の装置の前記CPUを複数グループに分割
し、前記コピー先情報フィールドにはCPUグループ番
号と同じ情報が複数のCPUグループにコピーされてい
るか否かを示す情報とを格納し、前記比較手段は前記第
2のキャッシュメモリにアクセスがあった場合CPUグ
ループ番号を比較し、前記キャッシュ一致処理制御手段
は前記第2のキャッシュメモリへのアクセスがストアア
クセスであって前記比較手段が前記CPUグループ番号
を比較した結果要求元CPUとコピー先CPUとが同一
グループに属していると判断したときは要求元CPU以
外のグループ内の全CPUに対しキャシュ一致処理要求
を発行しコピー先CPUが複数グループを示していると
きは全CPUに対して一致処理要求を発行し、前記コピ
ー先情報フィールド更新手段はコピー先情報フィールド
を要求元CPUグループ番号に更新することを特徴とす
る。
The first device of the present invention comprises:
Central processing unit having a first cache memory (hereinafter C
PU) and a second cache memory having a directory including a copy destination CPU number of data or information indicating whether the same information is copied to a plurality of CPUs, and a second cache memory. When the cache memory is accessed, the comparison means compares the CPU number of the request source with the contents of the copy destination information field, and the access to the second cache memory is a read access. Are different CPU numbers, the contents of the copy destination information field are updated to the contents indicating that they have been copied to a plurality of CPUs, and when the second cache memory is accessed, the contents of the copy destination information field are requested. Copy destination information field updating means for updating the original CPU number, and the second cache memory Access is a store access and the comparison result of the comparison means is the same CPU number, a match processing request is issued. The access to the second cache memory is a store access and the comparison is performed. When the comparison result of the means is a different CPU number, a cache matching processing request is issued to the CPU registered in the copy destination information field, and the copy destination information field indicates that copying is performed to a plurality of CPUs. A second device of the present invention including a cache matching process control means for issuing a cache matching process request to the CPU of the first device, the CPU of the first device is divided into a plurality of groups, and the CPU is set in the copy destination information field. The information indicating whether or not the same information as the group number has been copied to a plurality of CPU groups is stored. The comparing means compares the CPU group numbers when the second cache memory is accessed, and the cache matching processing control means is such that the access to the second cache memory is a store access and the comparing means is the CPU. As a result of comparing the group numbers, when it is determined that the request source CPU and the copy destination CPU belong to the same group, a cache matching process request is issued to all CPUs in the group other than the request source CPU, and the copy destination CPUs are plural. When a group is indicated, a matching process request is issued to all CPUs, and the copy destination information field updating means updates the copy destination information field to the request source CPU group number.

【0006】本発明の第3の装置は、第1の装置におい
て前記CPUを複数のグループに分割し前記コピー先情
報フィールドにはCPU番号とCPUグループ番号と同
じ情報が複数のCPUグループにコピーされているか否
かを示す情報とを格納し、前記比較手段は前記第2のキ
ャッシュメモリへのアクセスがあった場合前記CPU番
号およびCPUグループ番号の両方を比較し前記キャッ
シュ一致処理制御手段は前記第2のキャッシュメモリの
アクセスがストアアクセスであって前記比較手段が同一
CPU番号と検出した場合キャッシュ一致処理要求は発
行せず前記比較手段が異なるCPU番号だが同一のCP
Uグループ番号であると判定する場合要求元CPU以外
のグループ内全CPUに対してキャッシュ一致処理要求
を発行し、前記比較手段が異なるCPUグループ番号と
判定する場合登録されているグループ内の全CPUに対
しキャッシュ一致処理要求を発行し、前記コピー先情報
が同じ情報が複数のCPUグループにコピーされている
ことを示しているときのみ全CPUに対し一致処理要求
を発行し、前記コピー先情報フィールド更新手段はコピ
ー先情報フィールドを要求元CPU番号およびCPUグ
ループ番号に更新することを特徴とする。
According to a third device of the present invention, the CPU is divided into a plurality of groups in the first device, and the same information as the CPU number and the CPU group number is copied to the plurality of CPU groups in the copy destination information field. Information indicating whether or not the cache number is stored in the cache memory, and the comparison unit compares both the CPU number and the CPU group number when the second cache memory is accessed, and the cache matching process control unit stores the information. When the access of the second cache memory is a store access and the comparing unit detects the same CPU number, the cache matching processing request is not issued and the comparing unit has a different CPU number but the same CP.
When it is determined that the U group number is issued, a cache matching processing request is issued to all CPUs in the group other than the requesting CPU, and when the comparison means determines that the CPU group numbers are different, all CPUs in the registered group A cache matching process request is issued to all CPUs, and a matching process request is issued to all CPUs only when the copy destination information indicates that the same information is copied to a plurality of CPU groups. The updating means is characterized by updating the copy destination information field to the request source CPU number and the CPU group number.

【0007】[0007]

【実施例】次に本発明の一実施例について図面を参照し
て詳細に説明する。
An embodiment of the present invention will now be described in detail with reference to the drawings.

【0008】図1を参照すると、本発明の一実施例で
は、10台のCPU(1−0〜1−9)がメモリ制御装
置(2)に接続されている。またCPU0(1−0)〜
CPU4(1−4)をグループ0、CPU5(1−5)
〜CPU9(1−9)をグループ1というようにグルー
プわけしてある。なお図には示していないが各CPUに
はそれぞれ内部に第1のキャッシュメモリを持ってい
る。第2のキャッシュメモリはメモリ制御装置(2)内
に備えられている。第2のキャッシュメモリのディレク
トリ(2−2)にはデータのコピー先CPU番号グルー
プ番号または複数CPUグループ間にまたがって同じ情
報を保持するかを示す情報を格納するコピー先情報フィ
ールド(2−2−1)が備えられている。前記メモリ制
御装置(2)は、リクエスト処理部(2−1)、第2の
キャッシュメモリにアクセスがあった場合このリクエス
ト処理部(2−1)からの要求元のCPU番号と前記コ
ピー先情報フィールドの内容とを比較する比較手段(2
−5)、第2のキャッシメモリのアクセスがリードアク
セスの場合で、この比較手段からの比較結果が異なった
CPU番号であった場合コピー先情報フィールドの内容
を複数CPUにコピーされていることを示す内容に更新
し、第2のキャッシュメモリへのアクセスがストアアク
セスの場合コピー先情報フィールドの内容を要求元CP
U番号およびCPUグループ番号の少なくとも1つに更
新するコピー先情報フィールド更新手段(2−3)、お
よび第2のキャッシュメモリへのアクセスがストアアク
セスの場合であって前記比較手段の比較結果が同じCP
U番号であった場合一致処理要求は発行せず第2のキャ
ッシュメモリへのアクセスがストアアクセスの場合であ
って前記比較手段の比較結果が異なるCPU番号であっ
た場合前記コピー先情報フィールドに登録されているC
PUに対してキャッシュ一致処理要求を発行し、前記コ
ピー先情報フィールドが複数のCPUにコピーしている
ことを示している場合全てのCPUに対しキャッシュ一
致処理要求を発行するキャッシュ一致処理制御手段(2
−4)を含む。
Referring to FIG. 1, in one embodiment of the present invention, ten CPUs (1-0 to 1-9) are connected to a memory controller (2). Also, CPU0 (1-0) ~
CPU4 (1-4) is group 0, CPU5 (1-5)
~ CPU9 (1-9) is divided into groups such as group 1. Although not shown in the figure, each CPU has a first cache memory therein. The second cache memory is provided in the memory controller (2). In the directory (2-2) of the second cache memory, a copy destination information field (2-2) for storing data copy destination CPU number group number or information indicating whether the same information is held across a plurality of CPU groups is stored. -1) is provided. When the memory control device (2) accesses the request processing unit (2-1) or the second cache memory, the CPU number of the request source from the request processing unit (2-1) and the copy destination information. Comparison means for comparing with the contents of the field (2
-5), when the access of the second cache memory is a read access, and the comparison result from this comparing means is a different CPU number, the contents of the copy destination information field have been copied to a plurality of CPUs. When the contents are updated to the contents shown and the access to the second cache memory is a store access, the contents of the copy destination information field are changed to the request source CP.
The copy destination information field updating means (2-3) for updating to at least one of the U number and the CPU group number, and the case where the access to the second cache memory is a store access and the comparison result of the comparing means is the same. CP
If it is a U number, no match processing request is issued, and if the access to the second cache memory is a store access and the comparison result of the comparing means is a different CPU number, it is registered in the copy destination information field. Is C
A cache matching process control means for issuing a cache matching process request to all CPUs when a cache matching process request is issued to a PU and the copy destination information field indicates that copying is being performed to a plurality of CPUs ( Two
-4) is included.

【0009】次に本発明の一実施例の動作について図面
を参照して詳細に説明する。
Next, the operation of one embodiment of the present invention will be described in detail with reference to the drawings.

【0010】図1および2を参照すると、今、CPU0
(1−0)よりメモリ制御装置(2)にアクセスがあっ
た結果としてメモリ制御装置内の第2のキャッシュにC
PU0がコピーを持つデータが登録されたときの動作を
説明する。そのとき第2のキャッシュ内のコピー先情報
フィールド(2−2−1)にはコピー先がCPU0であ
ることを示すため“0000”が書込まれている。
Referring to FIGS. 1 and 2, the CPU0 is now
As a result of the access to the memory controller (2) from (1-0), C is stored in the second cache in the memory controller.
The operation when PU0 has registered data having a copy will be described. At this time, "0000" is written in the copy destination information field (2-2-1) in the second cache to indicate that the copy destination is CPU0.

【0011】先ず、第2のキャッシュに対する読出し要
求が発生した場合について説明する。第2のキャッシュ
に対し読出し要求があった場合は、リクエスト処理部
(2−1)よりその要求元がどこであるかをコンパレー
タ(2−5)に送出する。今、要求元がCPU0であっ
た場合はコピー先情報フィルードの内容と一致すること
をコンパレータ(2−5)が検出し、その結果コピー先
情報フィールド更新手段(2−3)はコピー先情報フィ
ールドの更新が不要であると判断する。
First, the case where a read request to the second cache is issued will be described. When a read request is issued to the second cache, the request processing unit (2-1) sends the request source to the comparator (2-5). When the request source is the CPU 0, the comparator (2-5) detects that the contents of the copy destination information field match, and as a result, the copy destination information field updating means (2-3) causes the copy destination information field to be updated. It is determined that updating of is unnecessary.

【0012】次に要求元がCPU1であった場合は、コ
ンパレータ(2−5)は要求元とコピー先情報フィール
ドが不一致であることをコピー先情報フィールド更新手
段に通知し、更新手段は同一グループであるCPU0と
CPU1に同じデータを保持することになるために、コ
ピー先情報フィールドをグループ0を示す“1011”
に更新する。次に要求元がCPU5であった場合は、コ
ピー先情報フィールド更新手段(2−3)は異なるグル
ープ間にまたがって同じ情報を保持することになるため
に、コピー先情報フィールドを複数グループを示す“1
111”に更新する。
Next, when the request source is the CPU 1, the comparator (2-5) notifies the copy destination information field update means that the request source and the copy destination information field do not match, and the update means are in the same group. Since the same data is held in the CPU 0 and the CPU 1 which are the same, the copy destination information field is "1011" indicating the group 0.
To update. Next, when the request source is the CPU 5, the copy destination information field updating means (2-3) holds the same information over different groups, and therefore the copy destination information fields indicate a plurality of groups. "1
111 "is updated.

【0013】次に、第2のキャッシュメモリに対する書
込み要求が発生した場合について説明する。
Next, a case where a write request for the second cache memory is generated will be described.

【0014】第2のキャッシュメモリに対し書込み要求
があった場合は、リクエスト処理部(2−1)よりその
要求元がどこであるかをコンパレータ(2−5)に送出
する。今、要求元がCPU0であった場合はコピー先情
報フィールドの内容と一致することをコンパレータ(2
−5)が検出し、その結果キャッシュ一致処理要求が扶
養であることを一致処理制御手段(2−4)が判断す
る。次に要求元がCPU1であった場合はコンパレータ
(2−5)は要求元とコピー先が不一致でることを検出
し、一致処理制御手段(2−4)はCPU1に対しキャ
ッシュ一致処理要求を発行しコピー先情報フィールド更
新手段はCPU0に唯一のコーピーがあることを示すた
め“0001”に更新する。要求元がCPU5であった
場合にも一致処理制御手段(2−4)はCPU0に対し
一致処理要求を発行しコピー先情報フィールド更新手段
(2−3)はコピー先がCPU5であることを示すため
“0101”に更新する。
When there is a write request to the second cache memory, the request processing section (2-1) sends the request source to the comparator (2-5). If the request source is the CPU 0, the comparator (2
-5), and as a result, the matching processing control means (2-4) judges that the cache matching processing request is dependent. Next, when the request source is the CPU 1, the comparator (2-5) detects that the request source and the copy destination do not match, and the matching processing control means (2-4) issues a cache matching processing request to the CPU 1. Then, the copy destination information field updating means updates it to "0001" to show that CPU0 has only one copy. Even when the request source is the CPU 5, the matching processing control means (2-4) issues a matching processing request to the CPU 0, and the copy destination information field updating means (2-3) indicates that the copying destination is the CPU 5. Therefore, it is updated to "0101".

【0015】次にコピー先情報フィールドがグループ0
即ち“1011”であった場合に第2のキャッシュメモ
リに対してアクセス要求があった場合の動作について説
明する。先ず、読出し要求があった時は、グループ0内
のCPUすなわち、CPU0,1,2,3,および4の
うちいずれかより読出し要求があった場合はコピー先情
報フィールド更新手段は更新の必要がないと判断する。
Next, the copy destination information field is group 0.
That is, the operation when there is an access request to the second cache memory when it is "1011" will be described. First, when a read request is issued, the copy destination information field updating means needs to be updated when a read request is issued from a CPU in group 0, that is, any one of CPUs 0, 1, 2, 3, and 4. Judge not to.

【0016】グループ1内のCPUすなわち、CPU
5,6,7,8および9のうちいずれかより読み出し要
求があった場合はコピー先情報フィールド更新手段はコ
ピー先が複数グループにまたがることを示すため“11
11”に更新する。つぎに書込み要求があった場合は要
求元がいずれのCPUであっても要求元のCPU以外の
グループ0全てのCPUに対し一致処理要求を発行し、
コピー先情報フィールド更新手段(2・3)は要求元が
唯一のコピー先になったことを示すため要求元CPU番
号に更新する。
CPU in group 1, ie CPU
When a read request is issued from any one of 5, 6, 7, 8 and 9, the copy destination information field updating means indicates that the copy destinations are spread over a plurality of groups, and therefore, "11".
11 ". Next, when there is a write request, a match processing request is issued to all CPUs of group 0 other than the requesting CPU regardless of which CPU is the requesting source,
The copy destination information field updating means (2.3) updates the request source CPU number to indicate that the request source is the only copy destination.

【0017】最後に、コピー先情報フィールドが複数グ
ループにコピーがあることを示す“1111”であった
場合に第2のキャッシュメモリにアクセス要求があった
場合の動作について説明する。
Finally, the operation when there is an access request to the second cache memory when the copy destination information field is "1111" indicating that there are copies in a plurality of groups will be described.

【0018】先ず、読出し要求があった場合はコピー先
情報フィールド更新手段(2−3)はいずれのCPUか
ら読出し要求があった場合でもコピー先情報フィールド
を更新する必要はないと判断する。次に書込み要求があ
った場合は、要求元がいずれのCPUであっても一致処
理制御手段(2−4)は要求元以外の全てのCPUに対
し一致処理要求を発行し、コピー先情報フィールド更新
手段(2−3)は要求元CPUが唯一のコピー先である
ことを示す要求元のCPU番号に更新する。
First, when there is a read request, the copy destination information field updating means (2-3) determines that there is no need to update the copy destination information field regardless of which CPU has issued the read request. When a write request is issued next, the match processing control means (2-4) issues a match processing request to all CPUs other than the request source regardless of which CPU is the request source, and the copy destination information field. The updating means (2-3) updates the CPU number of the request source, which indicates that the request source CPU is the only copy destination.

【0019】[0019]

【発明の効果】以上説明した様に、本発明によりメモリ
制御装置内の第2のキャッシュディレクトリにおいてC
PU内の第1のキャッシュのコピー状況を少ないハード
ウェア投資で効率よく保持しておくことでCPUに対し
不要なキャッシュ一致処理要求を発行することを防げる
ため、マルチプロセッサのCPU台数増加に伴う性能低
下を防ぐ効果がある。
As described above, according to the present invention, C is stored in the second cache directory in the memory control device.
By efficiently holding the copy status of the first cache in the PU with a small hardware investment, it is possible to prevent unnecessary cache matching processing requests from being issued to the CPU. It has the effect of preventing deterioration.

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

【図1】本発明の一実施例を示す図FIG. 1 is a diagram showing an embodiment of the present invention.

【図2】本発明の一実施例におけるコピー先情報フィー
ルドの一例を示す図
FIG. 2 is a diagram showing an example of a copy destination information field according to an embodiment of the present invention.

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

1−0〜1−9 CPU0〜CPU9 2 メモリ制御装置 2−1 リクエスト処理部 2−2 第2のキャッシュメモリのディレクトリ 2−2−1 コピー先情報フィールド 2−3 コピー先情報フィールド更新手段 2−4 一致処理制御手段 2−5 コンパレータ 3 メモリ装置 1-0 to 1-9 CPU0 to CPU9 2 Memory control device 2-1 Request processing unit 2-2 Directory of second cache memory 2-2-1 Copy destination information field 2-3 Copy destination information field updating unit 2- 4 coincidence processing control means 2-5 comparator 3 memory device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 第1のキャッシュメモリを有する中央処
理装置と、データのコピー先である中央処理装置番号ま
たは同じ情報が複数の中央処理装置にコピーされている
か否かを示す情報を格納するコピー先情報フィールドを
含むディレクトリを有する第2のキャッシュメモリと、 この第2のキャッシュメモリにアクセスがあった場合要
求元の中央処理装置番号と前記コピー先情報フィールド
の内容とを比較する比較手段と、 前記第2のキャッシュメモリへのアクセスがリードアク
セスでこの比較手段からの比較結果が異なった中央処理
装置番号であった場合前記コピー先情報フィールドの内
容を複数の中央処理装置にコピーされていることを示す
内容に更新し前記第2のキャッシュメモリへのアクセス
がストアアクセスの場合コピー先情報フィールドの内容
を要求元中央処理装置番号に更新するコピー先情報フィ
ールド更新手段と、 前記第2のキャッシュメモリへのアクセスがストアアク
セスであって前記比較手段の比較結果が同じ中央処理装
置番号であった場合一致処理要求は発行せず前記第2の
キャッシュメモリへのアクセスがストアアクセスであっ
て前記比較手段の比較結果が異なる中央処理装置番号で
あった場合前記コピー先情報フィールドに登録されてい
る中央処理装置に対しキャッシュ一致処理要求を発行し
前記コピー先情報フィールドが複数の中央処理装置にコ
ピーしていることを示す場合全ての中央処理装置に対し
キャッシュ一致処理要求を発行するキャッシュ一致処理
制御手段とを含むことを特徴とするキャッシュ一致処理
制御装置。
1. A central processing unit having a first cache memory, and a copy storing the central processing unit number to which data is copied or information indicating whether or not the same information is copied to a plurality of central processing units. A second cache memory having a directory containing a destination information field; and comparing means for comparing the central processing unit number of the request source with the contents of the copy destination information field when the second cache memory is accessed, When the access to the second cache memory is a read access and the comparison results from the comparing means are different central processing unit numbers, the contents of the copy destination information field are copied to a plurality of central processing units. When the access to the second cache memory is a store access, the copy destination information file is updated. The copy destination information field updating means for updating the contents of the field to the requesting central processing unit number and the access to the second cache memory are store access, and the comparison result of the comparing means is the same central processing unit number. If no match processing request is issued, the access to the second cache memory is a store access, and the comparison result of the comparison means is a different central processing unit number, it is registered in the copy destination information field. When a cache matching process request is issued to the central processing unit and the copy destination information field indicates that copying is performed to a plurality of central processing units, a cache matching processing request is issued to all central processing units A cache coincidence processing control device comprising: a control unit.
【請求項2】 前記中央処理装置を複数のグループに分
割し前記コピー先情報フィールドには中央処理装置グル
ープ番号および同じ情報が複数の中央処理装置グループ
にコピーされているか否かを示す情報とを格納し前期比
較手段は前記第2のキャッシュメモリにアクセスがあっ
た番号中央処理装置グループ番号を比較し、 前記キャッシュ一致処理制御手段は、前記第2のキャッ
シュメモリへのアクセスがストアアクセスであって前記
比較手段が前記中央処理装置グループ番号を比較した結
果要求元中央処理装置とコピー先中央処理装置とが同一
グループに属していると判断したときは要求元中央処理
装置以外のグループ内の全ての中央処理装置に対しキャ
ッシュ一致処理要求を発行しコピー先中央処理装置が複
数のグループを示しているときは全ての中央処理装置に
対して一致処理要求を発行し前記コピー先情報フィール
ド更新手段はコピー先情報フィールドを要求元中央処理
装置グループ番号に更新することを特徴とする請求項1
記載のキャッシュ一致処理制御装置。
2. The central processing unit is divided into a plurality of groups, and the copy destination information field includes a central processing unit group number and information indicating whether or not the same information is copied to the plurality of central processing unit groups. The first-stage comparison means for storing compares the number central processing unit group number that has accessed the second cache memory, and the cache coincidence processing control means determines that the access to the second cache memory is a store access. As a result of the comparison means comparing the central processing unit group numbers, when it is determined that the request source central processing unit and the copy destination central processing unit belong to the same group, all of the groups other than the requesting central processing unit When a cache matching processing request is issued to the central processing unit and the copy destination central processing unit indicates multiple groups Claim, characterized in that the said copy destination information field updating means issues a coincidence processing request to all the central processing unit for updating the destination information field to the requesting central processing unit group number 1
The cache coincidence processing control device described.
【請求項3】 前記中央処理装置を複数のグループに分
割し前記コピー先情報フィールドには中央処理装置番号
と中央処理装置グループ番号と同じ情報が複数の中央処
理装置グループにコピーされているか否かを示す情報と
を格納し前記比較手段は前記第2のキャッシュメモリへ
のアクセスがあった場合前記中央処理装置の番号および
前記中央処理装置グループ番号の両方を比較し、 前記キャッシュ一致処理制御手段は前記第2のキャッシ
ュメモリへのアクセスがストアアクセスであって前記比
較手段が同一の中央処理装置番号と検出した場合キャッ
シュ一致処理要求は発行せず、前記比較手段が異なる中
央処理装置番号だが同一の中央処理装置グループ番号で
あると判定する場合要求元中央処理装置以外のグループ
内の全ての中央処理装置に対してキャッシュ一致処理要
求を発行し、前記比較手段が異なる中央処理装置グルー
プ番号と判定する場合登録されているグループ内の全て
の中央処理装置に対しキャッシュ一致処理要求を発行し
前記コピー先情報フィールド更新手段は前記コピー先情
報フィールドを要求元中央処理装置番号および中央処理
装置番号に更新することを特徴とする請求項1記載のキ
ャッシュ一致処理制御装置。
3. The central processing unit is divided into a plurality of groups, and whether or not the central processing unit number and the same information as the central processing unit group number are copied to the plurality of central processing unit groups in the copy destination information field. And the comparison means compares both the central processing unit number and the central processing unit group number when the second cache memory is accessed, and the cache coincidence processing control means When the access to the second cache memory is a store access and the comparing means detects the same central processing unit number, the cache matching processing request is not issued and the comparing means has different central processing unit numbers but the same central processing unit number. When it is judged to be the central processing unit group number All central processing units in the group other than the requesting central processing unit In the case where a cache matching processing request is issued to the central processing unit group numbers different from each other by the comparing unit, the cache matching processing request is issued to all the central processing units in the registered group, and the copy destination information field 2. The cache coincidence processing control device according to claim 1, wherein the updating means updates the copy destination information field to a requesting central processing unit number and a central processing unit number.
JP5308926A 1993-12-09 1993-12-09 Cache matching processing control device Expired - Lifetime JP2707958B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5308926A JP2707958B2 (en) 1993-12-09 1993-12-09 Cache matching processing control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5308926A JP2707958B2 (en) 1993-12-09 1993-12-09 Cache matching processing control device

Publications (2)

Publication Number Publication Date
JPH07160581A true JPH07160581A (en) 1995-06-23
JP2707958B2 JP2707958B2 (en) 1998-02-04

Family

ID=17986946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5308926A Expired - Lifetime JP2707958B2 (en) 1993-12-09 1993-12-09 Cache matching processing control device

Country Status (1)

Country Link
JP (1) JP2707958B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005250830A (en) * 2004-03-04 2005-09-15 Hitachi Ltd Processor and main memory sharing multiprocessor
JP2006202215A (en) * 2005-01-24 2006-08-03 Fujitsu Ltd Memory controller and control method thereof
WO2007094048A1 (en) * 2006-02-14 2007-08-23 Fujitsu Limited Invalidation processing device and invalidation processing method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5492137A (en) * 1977-12-29 1979-07-21 Fujitsu Ltd Buffer setting system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5492137A (en) * 1977-12-29 1979-07-21 Fujitsu Ltd Buffer setting system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005250830A (en) * 2004-03-04 2005-09-15 Hitachi Ltd Processor and main memory sharing multiprocessor
JP2006202215A (en) * 2005-01-24 2006-08-03 Fujitsu Ltd Memory controller and control method thereof
WO2007094048A1 (en) * 2006-02-14 2007-08-23 Fujitsu Limited Invalidation processing device and invalidation processing method

Also Published As

Publication number Publication date
JP2707958B2 (en) 1998-02-04

Similar Documents

Publication Publication Date Title
US6981102B2 (en) Method and system for managing meta data
US6988171B2 (en) Method and system for recovery of meta data in a storage controller
EP0349122B1 (en) Method and apparatus for filtering invalidate requests
EP1131715B1 (en) Distributed transactional processing system and method
JP2575541B2 (en) Invalidation method of hierarchy of distributed cache
JP3705836B2 (en) Memory sharing method for computer system
US5727150A (en) Apparatus and method for page migration in a non-uniform memory access (NUMA) system
US5537574A (en) Sysplex shared data coherency method
US6665783B2 (en) Memory-to-memory copy and compare/exchange instructions to support non-blocking synchronization schemes
US7107411B2 (en) Apparatus method and system for fault tolerant virtual memory management
US5537573A (en) Cache system and method for prefetching of data
JP2603369B2 (en) How to ensure consistency between common pages in the local cache
US6119209A (en) Backup directory for a write cache
US20040049636A1 (en) Technique for data transfer
US5715447A (en) Method of and an apparatus for shortening a lock period of a shared buffer
KR19990077481A (en) Method and apparatus for performing a semaphore operation
JPH0683687A (en) Data processing system and method thereof
JPH05210637A (en) Method of simultaneously controlling access
JPH0575134B2 (en)
JP2000155747A (en) System and method for directory entry assignment used for multiprocessor node data processing system
US6381681B1 (en) System and method for shared memory protection in a multiprocessor computer
JP2655755B2 (en) Buffer memory management method and computer system for implementing the method
JP3202939B2 (en) Method and apparatus for maintaining cache coherency
JP2707958B2 (en) Cache matching processing control device
Bellew et al. Update propagation in distributed memory hierarchy

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970916