JP2541528B2 - LRU error processing method - Google Patents

LRU error processing method

Info

Publication number
JP2541528B2
JP2541528B2 JP61310367A JP31036786A JP2541528B2 JP 2541528 B2 JP2541528 B2 JP 2541528B2 JP 61310367 A JP61310367 A JP 61310367A JP 31036786 A JP31036786 A JP 31036786A JP 2541528 B2 JP2541528 B2 JP 2541528B2
Authority
JP
Japan
Prior art keywords
level
lru
memory
cache
address
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 - Lifetime
Application number
JP61310367A
Other languages
Japanese (ja)
Other versions
JPS63163649A (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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP61310367A priority Critical patent/JP2541528B2/en
Publication of JPS63163649A publication Critical patent/JPS63163649A/en
Application granted granted Critical
Publication of JP2541528B2 publication Critical patent/JP2541528B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はデータ処理装置に関し、特にキヤツシユ記憶
装置のLRUエラー処理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device, and more particularly to an LRU error processing system for a cache storage device.

(従来の技術) セツトアソシアテイブ方式のキヤツシユ記憶装置で
は、主記憶が2nバイトずつのブロツクに分割されてい
る。さらに、メモリアドレスの下位nビツトは、上記ブ
ロツク内のアドレスを表わしている。下位nビツトを除
いたブロツクアドレスの下位mビツトが等しいブロツク
の集合はセツトと呼ばれ、主記憶は2n個のセツトに分け
られる。各セツトに対してキヤツシユ記憶には通常、複
数のブロツクが用意され、それぞれはレベルと呼ばれて
いる。すなわち、レベル数をlとすれば、各セツトごと
にブロツクアドレスの下位mビツトが等しく、残りの上
位ビツトが異なるl個の記憶ブロツクをキヤツシユ記憶
上にもつことができる。以上の構成を第2図および第3
図に示す。各セツトの各レベルごとに記憶ブロツクの上
位アドレスが異なつているため、これらを記憶しておく
記憶装置群が必要である。この記憶装置群は、アドレス
アレイと呼ばれる。
(Prior Art) In a set-associative cache memory device, the main memory is divided into blocks of 2 n bytes each. Further, the lower n bits of the memory address represent the address in the block. A set of blocks whose lower m bits of block addresses are the same except for the lower n bits is called a set, and the main memory is divided into 2 n sets. There are usually multiple blocks in the cache memory for each set, each called a level. That is, if the number of levels is 1, it is possible to have 1 memory blocks in the cache memory in which the lower m bits of the block address are the same for each set and the remaining upper bits are different. The above configuration is shown in FIGS.
Shown in the figure. Since the upper address of the storage block differs for each level of each set, a storage device group for storing these is necessary. This storage device group is called an address array.

さて、主記憶装置上のひとつの記憶ブロツクをキヤツ
シユ記憶装置に転送するとき、そのブロツクアドレスの
下位mビツトによつて決定されるセツトに対応したlレ
ベルのキヤツシユ記憶ブロツクのなかに未使用のレベル
がひとつもなければ、どれかひとつのレベルに記憶され
ているブロツクをキヤツシユ上から追出して置換える必
要がある。このとき、追出すべきレベルを決定する方法
にはいくつかあるが、最も以前に参照されたブロツクを
以後最も使用頻度の低いであろうとして追出す方法はLR
U方法と呼ばれて、現在広く利用されている。
Now, when transferring one memory block in the main memory device to the cache memory device, an unused level in the cache memory block of l level corresponding to the set determined by the lower m bits of the block address. If there is not one, it is necessary to replace the block stored in any one level from the cache and replace it. At this time, there are several methods to determine the level to be evicted, but the method to evict the earliest referenced block is LR as it is likely to be least frequently used.
Called the U method, it is widely used today.

LRU方式では各セツトごとにLRUメモリを備え、l個の
レベルがどの順序で参照されたかという履歴を記憶して
いる。置換の際には、LRUロジツクによつて置換対象の
レベルがひとつだけ選ばれて指示される。
In the LRU method, an LRU memory is provided for each set, and a history of the order in which l levels are referred to is stored. At the time of replacement, only one level to be replaced is selected and designated by the LRU logic.

いま、このLRUロジツクが0個、または複数個のレベ
ルの置換を対象として指示されたものとすれば、或るひ
とつのレベルを決定することができないために処理が停
止する等、システムに重大な影響を与える。しかし、こ
れを避けるためにLRUメモリ、およびLRUロジツクを2重
化すれば、性能の劣化は完全に防止できても、そのため
のハードウエア量の増加が大きく、またキヤツシユ容量
の増加に伴つてもハードウエア量が増大してしまう。
Now, if this LRU logic is instructed to replace 0 or more levels, it is impossible to determine a certain level and the processing is stopped. Influence. However, in order to avoid this, if the LRU memory and LRU logic are duplicated, even if the deterioration of performance can be completely prevented, the increase in the amount of hardware for that and the increase in the cache capacity will be great. The amount of hardware will increase.

(発明が解決しようとする問題点) 上述した従来のLRU方式では各ビツトごとにLRUメモリ
をもつため、LRUロジツクが0個、または複数個のレベ
ルの置換を対象として指示されたものとすれば、或るひ
とつのレベルを決定することができないため、システム
性能に重大な影響を与えるという欠点がある。これを避
けるためにLRUメモリ、およびLRUロジツクを2重化すれ
ば、性能の劣化は防止できても、ハードウエア量が増加
してゆくと云う欠点がある。
(Problems to be Solved by the Invention) In the above-mentioned conventional LRU method, since each bit has an LRU memory, if it is instructed to replace 0 or more levels of LRU logic, However, there is a drawback in that a certain level cannot be determined, which seriously affects the system performance. In order to avoid this, if the LRU memory and the LRU logic are duplicated, there is a drawback in that the amount of hardware will increase even though the deterioration of performance can be prevented.

この欠点を少しでも少なくしようという目的で、LRU
エラー処理方式として、LRU回路にエラーが発生したこ
とに起因してリプレースすべきブロックを決定すること
が出来ないという事態が発生した場合、テリートされて
いないアソシアティブ・レベルのブロックの内の1つを
固定的にリプレーすべきブロックとするという方式(特
開昭58−45682号)が提案されているが、この方式では
間欠障害には効果的であるが、固定障害に対しては、キ
ャッシュメモリ性能の大幅低下、ひいては命令処理能力
の低下は避けられない。しかも固定障害は、間欠障害よ
り少ないといってもけっして無視できるものでは無いの
で、固定障害時にも有効な方式が期待されている。
In order to reduce this drawback as much as possible, LRU
As an error handling method, if a situation occurs where the block to be replaced cannot be determined due to an error in the LRU circuit, one of the associative level blocks that has not been terried is selected. A method has been proposed in which blocks are to be fixedly replayed (Japanese Patent Laid-Open No. 58-45682). This method is effective for intermittent failures, but for fixed failures, cache memory performance , And consequently the instruction processing capability is unavoidable. Moreover, even if fixed failures are less than intermittent failures, they cannot be ignored, so an effective system is expected even when fixed failures occur.

本発明の目的は、このような期待に応えるため、置換
えられるべきひとつの記憶ブロックをLRU方式によって
決定し、指示する際に、指示の異常を検出することがで
きるようにしておき、異常が検出された場合には上記指
示の代わりに置換えブロックを生成するため、キャッシ
ュ割付き禁止レベルとキャッシュ非実装レベルとを考慮
して乱数回路で乱数を発生し、上記指示か、あるいは乱
数回路の出力かを選択することによって上記欠点を除去
し、ハードウエア量を増やすことなく、間欠障害時、固
定障害時のいずれの場合にも、性能劣化を防止すること
ができるよう構成したLRUエラー処理方式を提供するこ
とにある。
In order to meet such an expectation, an object of the present invention is to determine one storage block to be replaced by the LRU method, and to make it possible to detect an abnormality in the instruction when instructing the abnormality. If a random number is generated, a random number is generated in the random number circuit in consideration of the cache allocation prohibition level and the cache non-implementation level, and a replacement block is generated instead of the above instruction. By providing the LRU error handling method configured to eliminate the above drawbacks and prevent performance degradation in both intermittent and fixed failures without increasing the amount of hardware. To do.

(問題点を解決するための手段) 本発明のLRUエラー処理方式は、セットアソシアティ
ブ方式のキャッシュ記憶装置で置換されるべきひとつの
記憶ブロックをLRA方式によって決定して指示する際に
前記指示の異常を検出するための異常検出手段と、キャ
ッシュメモリのレベル番号を等確率で発生する乱数回路
と、前記異常検出手段が異常を検出しなければ前記指示
を選択し、前記異常検出手段が異常を検出すると前記乱
数回路の出力を選択してキャッシュ置換えの対象として
出力する選択手段とを含む。
(Means for Solving Problems) The LRU error processing method of the present invention is such that when one storage block to be replaced by the set associative method cache storage device is determined and instructed by the LRA method, the abnormality of the instruction is given. Abnormality detecting means for detecting the error, a random number circuit for generating level numbers of the cache memory with equal probability, and if the abnormality detecting means does not detect an abnormality, the instruction is selected, and the abnormality detecting means detects an abnormality. Then, the selecting means for selecting the output of the random number circuit and outputting it as the target of cache replacement.

(実 施 例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be described with reference to the drawings.

第1図は、本発明によるLRUエラー処理方式を実現す
る一実施例を示すブロツク図である。第1図において、
11は要求メモリアドレスレジスタ、111はメモリブロツ
クアドレス上位ビツト、112はメモリブロツクアドレス
下位ビツト、113はブロツク内アドレス領域、12はアド
レスアレイ、13はLRUメモリ、14はアドレス比較回路、1
5はLRU論理回路、16はエラー検出回路、19は乱数回路、
18はLRU出力または乱数回路19出力を選択するための第
1セレクタ、17は未割付けレベル、またはLRU指示レベ
ルを選択するための第2のセレクタである。
FIG. 1 is a block diagram showing an embodiment for realizing the LRU error processing system according to the present invention. In FIG.
11 is a requested memory address register, 111 is a memory block address upper bit, 112 is a memory block address lower bit, 113 is an address area in the block, 12 is an address array, 13 is an LRU memory, 14 is an address comparison circuit, 1
5 is an LRU logic circuit, 16 is an error detection circuit, 19 is a random number circuit,
Reference numeral 18 is a first selector for selecting an LRU output or random number circuit 19 output, and 17 is a second selector for selecting an unallocated level or an LRU instruction level.

演算装置や入出力装置から、メモリ制御装置に対して
メモリアクセス要求が送出されると、要求アドレスレジ
スタ11のうち、メモリブロツクアドレスの下位部分、す
なわちセツトアドレス112の内容がアドレスアレイ12とL
RUメモリ13とに送られ、それぞれの内容が読出される。
アドレスアレイ12から読出された当該セツトの各キヤツ
シユレベルの上位アドレスは、アドレス比較回路14にお
いて要求アドレスの上位アドレス(メモリブロツクアド
レス上位ビツト)111と比較される。比較の結果、一致
するものがあれば、そのレベル番号Cが出力される。
When a memory access request is sent to the memory control unit from the arithmetic unit or the input / output unit, the lower part of the memory block address in the request address register 11, that is, the contents of the set address 112, is transferred to the address arrays 12 and L.
It is sent to the RU memory 13 and its contents are read out.
The upper address of each cache level of the set read from the address array 12 is compared with the upper address of the request address (memory block address upper bit) 111 in the address comparison circuit 14. As a result of comparison, if there is a match, the level number C is output.

この場合、キヤツシユ内に必要なメモリデータが存在
しているので、キヤツシユヒツト扱いとなり、ヒツトし
たキヤツシユのブロツクに対して要求に応じた処理が行
われる。このケースでは、LRUメモリ13から読出された
データは無視される。
In this case, since the necessary memory data exists in the cache, it is treated as a cache hit, and the requested block is processed as requested. In this case, the data read from the LRU memory 13 is ignored.

いつぽう、キヤツシユヒツトしなかつた場合、すなわ
ちアドレス比較回路14によるアドレスの比較において一
致するレベルの存在しなかつたならば、キヤツシユミス
となつて主記憶装置からキヤツシユメモリへ要求アドレ
ス(要求メモリアドレス領域11)を含むメモリブロツク
を転送する必要が生ずる。このとき、転送先としてキヤ
ツシユメモリ内の対応するセツトの各レベルのなかから
適当なレベルをひとつだけ選ばなければならない。しか
し、有効なデータの書込まれていない未割付のレベルが
ひとつでも存在すれば、そのレベルが転送先として選ば
れる。未割付のレベルが複数個存在した場合には、いず
れを選択してもよいが、通常、若番のレベルが選ばれ
る。この選択は、アドレスアレイ12から読出されたデー
タをもとにして、アドレス比較回路14によつて行われ、
選択された未使用のレベルの番号(f)が制御信号
(e)によつて第2のセレクタ17からキヤツシユ割付指
定レベル信号(d)として出力される。
When there is no cache hit, that is, when there is no matching level in the address comparison by the address comparison circuit 14, a cache miss occurs and the requested address is sent from the main memory to the cache memory (request memory address area 11 It becomes necessary to transfer a memory block containing At this time, as the transfer destination, only one appropriate level must be selected from the levels of the corresponding sets in the cache memory. However, if there is at least one unallocated level with no valid data written, that level is selected as the transfer destination. If there are a plurality of unassigned levels, either one may be selected, but the lowest level is usually selected. This selection is performed by the address comparison circuit 14 based on the data read from the address array 12,
The number (f) of the selected unused level is output from the second selector 17 as the cache assignment designated level signal (d) by the control signal (e).

同じくキヤツシユミスの場合で、キヤツシユの当該セ
ツトの全部のレベルに有効なデータが存在しているなら
ば、いずれか1レベルのブロツクの内容を追出して、そ
の後に必要なメモリデータを転送しなくてはならない。
その際、どのレベルを選ぶかはLRUメモリ13の内容をも
とにしてLRU論理回路15によつて決定され、第1のセレ
クタ18および第2のセレクタ17を通してキヤツシユ割付
指定レベル番号(d)として出力される。また、キヤツ
シユヒツト、あるいはキヤツシユミスのいずれの場合に
も当該セツトに対応したLRUメモリ13の内容が更新さ
れ、当該メモリアクセスにおいて割り付けられたレベル
が最新のアクセスレベルとなるように書替えられる。
Similarly, in the case of a cache miss, if valid data exists at all levels of the relevant set of caches, the contents of the block of any one level must be removed, and the necessary memory data must be transferred after that. I won't.
At that time, which level is selected is determined by the LRU logic circuit 15 based on the contents of the LRU memory 13, and is designated as the cache assignment designated level number (d) through the first selector 18 and the second selector 17. Is output. Further, in the case of either the cache hit or the cache miss, the contents of the LRU memory 13 corresponding to the set are updated, and the level assigned in the memory access is rewritten so as to become the latest access level.

ここで、LRUメモリ13、あるいはLRU論理回路15に障害
が発生し、実装されていないレベルを指示したり、同時
に2つ以上のレベルを指示したり、あるいはいずれのレ
ベルも指示しないなどの状態に陥ると、エラー検出回路
16によつて上記状態が検出される。そこで、第1のセレ
クタ18を切替えることによつて、LRU論理回路15からの
信号の代りに乱数回路19の出力が第2のセレクタ17に送
出される。
At this time, a failure occurs in the LRU memory 13 or the LRU logic circuit 15, and an unimplemented level is instructed, two or more levels are instructed at the same time, or neither level is instructed. If it falls, the error detection circuit
The above state is detected by 16. Therefore, by switching the first selector 18, the output of the random number circuit 19 is sent to the second selector 17 instead of the signal from the LRU logic circuit 15.

通常の状態において乱数回路19は、キヤツシユメモリ
のレベル番号のすべてを等しい確率で乱数的に発生す
る。しかし、キヤツシユメモリのレベルのいずれかがデ
グレードレベル指定信号(a)によつて割付け禁止に指
定されているときには、そのレベルを指示する乱数が発
生すると、その乱数よりひとつ大きな数が出力される。
ここで、このようにして選ばれたレベルがやはり割付け
禁止になつている場合には、さらにひとつ大きなレベル
番号が指示される。また、最大のレベル番号をもつレベ
ルが割付け禁止の場合には、代りに最小の番号のレベル
が選ばれる。
In a normal state, the random number circuit 19 randomly generates all the level numbers of the cache memory with equal probability. However, when any of the cache memory levels is designated to be prohibited by the degradation level designation signal (a), when a random number indicating the level is generated, a number larger than the random number is output. .
Here, if the level selected in this way is also prohibited from being assigned, a further higher level number is designated. If the level with the highest level number is forbidden to assign, the level with the lowest number is selected instead.

さて、キヤツシユメモリのレベル数と容量を小さくし
た廉価なシステムを構成する場合にも、使用しないレベ
ルは上記と同様に、割付け禁止の扱いとすることにより
対応できる。
Even when a low-cost system with a small number of cache memory levels and a small capacity is configured, unused levels can be dealt with by prohibiting allocation in the same manner as described above.

しかし、一般に実装されるレベルには連続的なレベル
番号が付与されるため、実装されていないレベルを乱数
が示す場合はすべて実装レベルの最小番号を指示するこ
とになつてしまう。すなわち、例えば実装可能レベルが
0〜3の4レベルがあり、これらのうち0,1の2レベル
しか実装されていない場合には、乱数で2,3のレベルが
発生すると、指示されるレベルはいずれもレベル0とな
り、レベル0が指示される確率が全体の3/4に上つてし
まう。
However, since generally implemented levels are assigned consecutive level numbers, when random numbers indicate unimplemented levels, the lowest number of implemented levels is indicated. That is, for example, if there are 4 levels of mountable levels 0 to 3 and only 2 levels of 0 and 1 are mounted, if a random number of 2 or 3 levels is generated, the designated level is Both of them are level 0, and the probability that level 0 is instructed is 3/4 of the total.

この偏りを避けるためには、乱数回路19にキヤツシユ
実装レベル数指定信号(b)を入力し、この信号によつ
て発生する乱数の範囲を制限する方法が採用してある。
具体的には、実装レベルが0〜1の2レベルで、発生し
た乱数が0〜3の範囲である場合には、発生した乱数の
レベル番号の2進数表現の上位1ビットを0として扱う
ことにより、0〜3の範囲の乱数を0〜1の範囲の乱数
として扱うことができる。
In order to avoid this bias, a method of inputting the cache mounting level number designation signal (b) to the random number circuit 19 and limiting the range of random numbers generated by this signal is adopted.
Specifically, if the mounting level is two levels of 0 to 1 and the generated random number is in the range of 0 to 3, the upper 1 bit of the binary representation of the level number of the generated random number is treated as 0. Thus, the random number in the range of 0 to 3 can be treated as the random number in the range of 0 to 1.

(発明の効果) 以上説明したように本発明は、置換えられるべきひと
つの記憶ブロツクをLRU方式によつて決定し、指示する
際に、指示後の異常を検出することができるようにして
おき、異常が検出された場合には上記指示の代りに置換
えブロツクを発生するため、キヤツシユ割付け禁止レベ
ルとキヤツシユ非実装レベルとを考慮して乱数回路で乱
数を発生し、上記指示か、あるいは前記乱数回路の出力
かを選択することによつて、LRUエラーが発生した際、
その障害によりシステムを停止させることなく対処する
ことが可能であると云う効果がある。
(Effect of the invention) As described above, the present invention determines one memory block to be replaced by the LRU method, and when instructing, it is possible to detect an abnormality after the instruction, If an abnormality is detected, a substitution block is generated instead of the above instruction, so a random number is generated by a random number circuit in consideration of the cache assignment prohibition level and the cache non-implementation level, and either the above instruction or the random number circuit is generated. By selecting the output of, when an LRU error occurs,
The failure has an effect that it can be dealt with without stopping the system.

また、LRUメモリの間欠障害が原因のエラーや、固定
障害であつても、その範囲が限られている場合にはメモ
リ系の性能低下を無視できる範囲にとどめて処理を継続
することができると云う効果がある。
In addition, even if the error is due to the intermittent failure of the LRU memory or the fixed failure, if the range is limited, it is possible to continue the processing by limiting it to a range where the performance degradation of the memory system can be ignored. There is an effect to say.

さらに、本方式に要するハードウエアは極小であり、
キヤツシユのレベル数を増加してもハードウエア量の増
加はわずかで済むため経済的である。また、キャッシュ
のレベル数を少なくして使用する場合にも、同等の機能
を発揮することができるという効果がある。さらに、LR
U障害時のリープレース対象レベルを乱数で選択するこ
とにより、障害時にもキャッシュの全レベルを有効に利
用することができ、特定のレベルを固定的にリプレース
対象とした場合と比べ特に固定障害時の性能低下が軽微
で済むという効果がある。
Furthermore, the hardware required for this method is extremely small,
Even if the number of cache levels is increased, only a small increase in the amount of hardware is required, which is economical. Further, even when the number of cache levels is reduced and used, the same function can be exerted. Furthermore, LR
U By selecting the replacement target level at the time of failure with a random number, all cache levels can be effectively used even at the time of failure, especially when fixed levels are fixed compared to when replacement is fixed. There is an effect that the performance deterioration of is minimal.

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

第1図は、本発明によるLRUエラー処理方式の一実施例
を示すブロツク構成図である。 第2図は、メモリアドレスを示す説明図である。 第3図は、セツトアソシアテイブ方式のキヤツシユ記憶
を示す概念図である。 11……要求メモリアドレスレジスタ 111……メモリブロツクアドレス上位ビツト 112……メモリブロツクアドレス下位ビツト 113……ブロツク内アドレス 12……アドレスアレイ 13……LRUメモリ 14……アドレス比較回路 15……LRU論理回路 16……LRUエラー検出回路 17,18……セレクタ 19……乱数回路 31……メモリおよびキヤツシユの単位セツト 32……キヤツシユ内の単位ブロツク a〜f……信号
FIG. 1 is a block diagram showing an embodiment of an LRU error processing system according to the present invention. FIG. 2 is an explanatory diagram showing memory addresses. FIG. 3 is a conceptual diagram showing cache memory of the set associative system. 11 …… Request memory address register 111 …… Memory block address upper bit 112 …… Memory block address lower bit 113 …… Internal block address 12 …… Address array 13 …… LRU memory 14 …… Address comparison circuit 15 …… LRU logic Circuit 16 …… LRU error detection circuit 17,18 …… Selector 19 …… Random number circuit 31 …… Unit set of memory and cache 32 …… Unit block in cache a ~ f …… Signal

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭58−45682(JP,A) 特開 昭60−176156(JP,A) 特開 昭53−109441(JP,A) 特開 昭49−62047(JP,A) 特開 昭47−7506(JP,A) 特開 昭58−35641(JP,A) 特公 昭56−8426(JP,B2) ─────────────────────────────────────────────────── --- Continuation of the front page (56) Reference JP-A-58-45682 (JP, A) JP-A-60-176156 (JP, A) JP-A-53-109441 (JP, A) JP-A-49- 62047 (JP, A) JP 47-7506 (JP, A) JP 58-35641 (JP, A) JP 56-8426 (JP, B2)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】セットアソシアティブ方式のキャッシュ記
憶装置で置換されるべきひとつの記憶ブロックをLRU方
式によって決定して指示する際に前記指示の異常を検出
するための異常検出手段と、 キャッシュメモリのレベル番号を等確率で発生する乱数
回路と、 前記異常検出手段が異常を検出しなければ前記指示を選
択し、前記異常検出手段が異常を検出すると前記乱数回
路の出力を選択してキャッシュ置換えの対象として出力
する選択手段とを含むことを特徴とするLRUエラー処理
方式。
1. An abnormality detecting means for detecting an abnormality in the instruction when a storage block to be replaced in a set associative cache storage device is determined and instructed by the LRU method, and a cache memory level. A random number circuit that generates numbers with equal probability, and selects the instruction if the abnormality detection unit does not detect an abnormality, and selects the output of the random number circuit when the abnormality detection unit detects an abnormality and selects a cache replacement target. An LRU error processing method, comprising:
JP61310367A 1986-12-26 1986-12-26 LRU error processing method Expired - Lifetime JP2541528B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61310367A JP2541528B2 (en) 1986-12-26 1986-12-26 LRU error processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61310367A JP2541528B2 (en) 1986-12-26 1986-12-26 LRU error processing method

Publications (2)

Publication Number Publication Date
JPS63163649A JPS63163649A (en) 1988-07-07
JP2541528B2 true JP2541528B2 (en) 1996-10-09

Family

ID=18004389

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61310367A Expired - Lifetime JP2541528B2 (en) 1986-12-26 1986-12-26 LRU error processing method

Country Status (1)

Country Link
JP (1) JP2541528B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02307140A (en) * 1989-05-22 1990-12-20 Fujitsu Ltd Substitute control system for buffer storage
WO2007097028A1 (en) 2006-02-27 2007-08-30 Fujitsu Limited Lru control device, lru control method, and lru control program

Also Published As

Publication number Publication date
JPS63163649A (en) 1988-07-07

Similar Documents

Publication Publication Date Title
EP0557050B1 (en) Apparatus and method for executing processes in a multiprocessor system
KR100190351B1 (en) Apparatus and method for reducing interference in two-level cache memory
US6205519B1 (en) Cache management for a multi-threaded processor
US6877067B2 (en) Shared cache memory replacement control method and apparatus
US5740400A (en) Reducing cache snooping overhead in a multilevel cache system with multiple bus masters and a shared level two cache by using an inclusion field
US6038693A (en) Error correction scheme for an integrated L2 cache
EP0090638A2 (en) Cache memory systems
US7447845B2 (en) Data processing system, processor and method of data processing in which local memory access requests are serviced by state machines with differing functionality
EP0706133A2 (en) Method and system for concurrent access in a data cache array utilizing multiple match line selection paths
US20030154345A1 (en) Multilevel cache system having unified cache tag memory
US5668972A (en) Method and system for efficient miss sequence cache line allocation utilizing an allocation control cell state to enable a selected match line
JPH08227380A (en) Data-processing system
KR19980079692A (en) How to remove defects in the cache used by the computer
JPH11506850A (en) Method and apparatus for reducing cache snooping overhead in a multi-level cache system
KR100297914B1 (en) Multiple Cache Directories for Snooping Devices
US5916314A (en) Method and apparatus for cache tag mirroring
US6202128B1 (en) Method and system for pre-fetch cache interrogation using snoop port
US4949244A (en) Storage system
KR100395768B1 (en) Multi-level cache system
EP0706132A2 (en) Method and system for miss sequence handling in a data cache array having multiple content addressable fields per cache line
JP2541528B2 (en) LRU error processing method
US6671780B1 (en) Modified least recently allocated cache replacement method and apparatus that allows skipping a least recently allocated cache block
US6212616B1 (en) Even/odd cache directory mechanism
US4644539A (en) Circuit arrangement capable of prohibiting an access to a part of a control memory on occurrence of an error in the part
CA1320285C (en) High availability cache memory