JPH01288940A - Logical address cache control system - Google Patents

Logical address cache control system

Info

Publication number
JPH01288940A
JPH01288940A JP63119823A JP11982388A JPH01288940A JP H01288940 A JPH01288940 A JP H01288940A JP 63119823 A JP63119823 A JP 63119823A JP 11982388 A JP11982388 A JP 11982388A JP H01288940 A JPH01288940 A JP H01288940A
Authority
JP
Japan
Prior art keywords
data
logical address
physical address
held
cache
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
JP63119823A
Other languages
Japanese (ja)
Inventor
Koji Matsuoka
浩司 松岡
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 JP63119823A priority Critical patent/JPH01288940A/en
Publication of JPH01288940A publication Critical patent/JPH01288940A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To make unnecessary held data invalid by making invalid the held copy data when the original data on a main memory corresponding to the copy data held on a cache are updated. CONSTITUTION:The physical address of the data given from a physical address input 11 is written into a physical address holding means 5 so as to correspond to the data. When it is written into the main memory, the writing physical address given from a writing physical address input 12 is compared with the physical address held in the means 5, when the data before the updating of the data on the main memory updated by the other access requiring source, which shares the main memory, are held in a data holding means 1, the data concerned is made invalid by an invalidating means 6. Thus, when the original data on the main memory are updated, the coincidence between the original data on the main memory and the copy data held in the cache can be secured.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は論理アドレスキャッシュ制御方式に関し、特に
、主記憶を共有する複数のアクセス要求元が存在するシ
ステムで生じる論理矛盾を回避することのできる論理ア
ドレスキャッシュ制御方式%式% (従来の技術) キャッシュでは主記憶上にあるデータのコピーが保持さ
れる。キャッシュに保持されたコピーデータへのアクセ
スは主記憶上にある元データに対するアクセスに比較し
て高速に行われる。このため、キャッシュ上に保持され
たコピーデータへのアクセスが多ければ多いほど、つま
り、ヒツト率が高ければ高いほど実効的なアクセスタイ
ムが短くなり、システムの性能が向上する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a logical address cache control method, and in particular is capable of avoiding logical contradictions that occur in a system in which there are multiple access requesters sharing main memory. Logical Address Cache Control Method % Formula % (Prior Art) A cache holds a copy of data in main memory. Access to the copy data held in the cache is faster than access to the original data in the main memory. Therefore, the more the copy data held in the cache is accessed, that is, the higher the hit rate, the shorter the effective access time becomes, and the performance of the system improves.

キャッシュは、コピーデータを識別するためにデータの
アドレスをコピーデータに対応して保持するが、保持す
るアドレスによって、論理アドレスを保持する論理アド
レスキャッシュと、物理アドレスを保持する物理アドレ
スキャッシュの2つの方式のキャッシュがある。
The cache stores data addresses corresponding to the copy data in order to identify the copy data, but depending on the address it stores, it is divided into two types: a logical address cache that stores logical addresses, and a physical address cache that stores physical addresses. There is a method cache.

(発明が解決しようとする問題点) 一般に主記憶へのアクセスが物理アドレスによって行わ
れるため、物理アドレスキャッシュが採用される。しか
し、物理アドレスキャッシュではデータの検索を物理ア
ドレスで行うため、論理アドレスから物理アドレスへの
アドレス変換を必要とする。従って、アドレス変換を行
う必要のない論理アドレスキャッシュに比較してアドレ
ス変換時間だけアクセスが遅くなる。このため、より早
いアクセスが要求される場合には、論理アドレスキャッ
シュが採用される。
(Problems to be Solved by the Invention) Generally, access to main memory is performed using physical addresses, so a physical address cache is employed. However, in the physical address cache, data is searched using physical addresses, so address translation from logical addresses to physical addresses is required. Therefore, compared to a logical address cache that does not require address translation, access is delayed by the address translation time. Therefore, when faster access is required, a logical address cache is employed.

第4図は従来の論理アドレスキャッシュ方式を説明する
ための図である。第4図において、工はデータ保持手段
、2は論理アドレス保持手段、3は論理検索手段、4は
書き込み手段、7は論理アドレス入力、8はキャッシュ
アクセスデータ入出力、9はメモリアクセス制御出力、
10はメモリアクセスデータ入出力である。
FIG. 4 is a diagram for explaining a conventional logical address cache system. In FIG. 4, numeral 1 is data holding means, 2 is logical address holding means, 3 is logical search means, 4 is writing means, 7 is logical address input, 8 is cache access data input/output, 9 is memory access control output,
10 is a memory access data input/output.

第4図においてキャッシュアクセスデータ入出力8ある
いはメモリアクセスデータ入出力10から4えられたデ
ータはデータ保持手段1に格納される。また、データに
対応させて論理アドレス人カフから与えられたデータの
論理アドレスが書込み手段4により論理アドレス保持手
段2に書込まれる。アクセスが行われると、まず、論理
アドレス人カフから与えられたアクセスするデータの論
理アドレスと論理アドレス保持手段2に保持された論理
アドレスとが比較され、データ保持手段1にアクセスす
るデータのコピーが保持されているかどうかが調べられ
る。コピーデータが保持されている場合にはコピーデー
タに対しアクセスを行い、コピーデータが保持されてい
ない場合には、メモリアクセス制御出力9からメモリア
クセス手段を起動し、主記憶上にあるデータに対するア
クセスを行う。以上の動作は、論理検索手段3によって
制御される。
In FIG. 4, data obtained from cache access data input/output 8 or memory access data input/output 10 is stored in data holding means 1. Further, the logical address of the data given from the logical address person cuff is written into the logical address holding means 2 by the writing means 4 in correspondence with the data. When an access is made, first, the logical address of the data to be accessed given from the logical address person cuff is compared with the logical address held in the logical address holding means 2, and a copy of the data to be accessed is stored in the data holding means 1. Check to see if it is retained. If the copy data is held, the copy data is accessed; if the copy data is not held, the memory access means is activated from the memory access control output 9, and the data in the main memory is accessed. I do. The above operations are controlled by the logical search means 3.

キャッシュでは、主記憶上のデータが主記憶を共有する
他のアクセス要求元により更新された場合に、キャッシ
ュに保持したコピーデータと対応する主記憶上の元デー
タが異なる論理矛盾が生じる。第4図で示すように、従
来方式の論理アドレスキャッシュでは、この論理矛盾が
生じたことを検出する機構を有していない。このため、
例えば、I10転送のような主記憶への書き込みが行わ
れた場合には、論理矛盾が生じないようにキャッシュに
保持したすべてのデータを無効化せざるをえない。この
無効化によってキャッシュのヒツト率は低下することと
なり、システムの性能が低下してしまうという問題があ
った。また、マルチプロセッサシステムでは、他系のプ
ロセッサによって主記憶への書き込みが行われた場合に
、論理矛盾が生じる。この論理矛盾が生じないようにす
るため、例えば、書き込みが行なわれることのないコー
ドデータのみをキャッシングする命令キャッシュとして
論理アドレスキャッシュは採用されていた。
In a cache, when data on the main memory is updated by another access request source that shares the main memory, a logical contradiction occurs where the copy data held in the cache differs from the corresponding original data on the main memory. As shown in FIG. 4, the conventional logical address cache does not have a mechanism for detecting the occurrence of this logical contradiction. For this reason,
For example, when writing to main memory such as I10 transfer is performed, all data held in the cache must be invalidated to avoid logical contradictions. Due to this invalidation, the hit rate of the cache decreases, resulting in a problem that the performance of the system decreases. Furthermore, in a multiprocessor system, when a processor of another system writes to the main memory, a logical contradiction occurs. In order to prevent this logical contradiction from occurring, for example, a logical address cache has been employed as an instruction cache that caches only code data that is never written.

この発明は、主記憶に対して書き込みが行なわれた場合
においても、キャッシュに保持したすべてのデータを無
効化する必要をなくし、計算機システムの性能の向上を
はかることのできる論理アドレスキャッシュ制御方式を
提供することを目的とする。
The present invention provides a logical address cache control method that eliminates the need to invalidate all data held in the cache even when writing is performed to main memory, thereby improving the performance of a computer system. The purpose is to provide.

(問題点を解決する為の手段) 本発明の論理アドレスキャッシュ制御方式では、データ
に対応してデータの物理アドレスを保持する物理アドレ
ス保持手段と、従来方式の論理アドレスキャッシュにお
ける書き込み手段内部に前記物理アドレス保持手段への
書き込みを制御する手段を持ち、書き込み物理アドレス
を監視することによって、主記憶を共有する他のアクセ
ス要求元により更新されたデータの更新前のコピーデー
タをデータ保持手段に保持している場合には、当該コピ
ーデータを無効化する無効化手段を有する。
(Means for Solving the Problems) In the logical address cache control method of the present invention, a physical address holding means for holding a physical address of data corresponding to data, and a writing means in a logical address cache of the conventional method are provided. It has a means for controlling writing to the physical address holding means, and by monitoring the write physical address, the data holding means holds an unupdated copy of data updated by another access request source that shares the main memory. If so, it has an invalidation means for invalidating the copy data.

(作用) 次に本発明の作用について図面を参照して説明する。(effect) Next, the operation of the present invention will be explained with reference to the drawings.

第1図は本発明の構成要素を示す図である。第1図にお
いて、第4図と同じ符号を付したものは、第4図と同一
の構成要素を示している。第1図では、第4図に物理ア
ドレス保持手段5、書き込み無効化手段6、物理アドレ
ス人力11、書き込み物理アドレス人力12が付加され
ている。
FIG. 1 is a diagram showing the constituent elements of the present invention. In FIG. 1, the same reference numerals as in FIG. 4 indicate the same components as in FIG. 4. In FIG. 1, physical address holding means 5, write invalidation means 6, physical address power 11, and write physical address power 12 are added to FIG.

キャッシュアクセスデータ入出力8あるいはメモリアク
セスデータ入出力10から与えられたデータをデータ保
持手段1に格納される。またデータに対応させて論理ア
ドレス人カフから与えられたデータの論理アドレスが書
込み手段4により論理アドレス保持手段2に書き込まれ
る。アクセスが行われると、論理アドレス人カフから与
えられたアクセスするデータの論理アドレスと論理アド
レス保持手段2に保持された論理アドレスとが比較され
る。次に、データ保持手段1にアクセスするデータのコ
ピーが保持されているかどうかが調べられる。
Data given from cache access data input/output 8 or memory access data input/output 10 is stored in data holding means 1. Further, the logical address of the data given from the logical address person cuff is written into the logical address holding means 2 by the writing means 4 in correspondence with the data. When an access is made, the logical address of the data to be accessed given from the logical address cuff is compared with the logical address held in the logical address holding means 2. Next, it is checked whether a copy of the data to be accessed is held in the data holding means 1.

データ保持手段1にコピーデータが保持されている場合
にはコピーデータに対しアクセスを行う。
If copy data is held in the data holding means 1, the copy data is accessed.

データ保持手段1にコピーデータが保持されていない場
合には、メモリアクセス制御出力9からメモリアクセス
手段を起動し、主記憶上にあるデータに対するアクセス
を行う。以上は、従来方式の論理アドレスキャッシュの
動作として既知の作用であって、論理検索手段3によっ
て制御される。
If the data holding means 1 does not hold the copy data, the memory access means is activated from the memory access control output 9 to access the data on the main memory. The above is a known operation of a conventional logical address cache, and is controlled by the logical search means 3.

本発明の論理アドレスキャッシュ制御方式では、さらに
、データに対応させて物理アドレス人力11から与えら
れたデータの物理アドレスを物理アドレス保持手段5に
書き込み手段4によって書き込んでおく。主記憶への書
き込みが行われた場合には、書き込み物理アドレス人力
12から与えられた書き込み物理アドレスと物理アドレ
ス保持手段5に保持された物理アドレスを比較し、主記
憶を共有する他のアクセス要求元により更新された主記
憶上のデータの更新前のデータをデータ保持手段1に保
持しているかどうかを調べる。更新前のデータをデータ
保持手段1に保持している場合には該当のデータを無効
化する。この書き込み物理アドレスによるデータの無効
化は書き込み無効化手段6によって制御される。これに
よって、キャッシュに保持されたコピーデータに対応す
る主記憶上の元データが更新された場合には、常に保持
されたコピーデータが無効化されるため、主記憶上の元
データとキャッシュに保持されたコピーデータの一致を
保証することができる。
In the logical address cache control system of the present invention, the physical address of the data given from the physical address manual 11 is further written in the physical address holding means 5 by the writing means 4 in correspondence with the data. When writing to the main memory is performed, the write physical address given from the write physical address manual 12 and the physical address held in the physical address holding means 5 are compared, and other access requests that share the main memory are It is checked whether the data holding means 1 holds the data before the update of the data on the main memory that was originally updated. If the data before update is held in the data holding means 1, the corresponding data is invalidated. Invalidation of data using this write physical address is controlled by write invalidation means 6. As a result, if the original data on the main memory corresponding to the copy data held in the cache is updated, the held copy data is always invalidated, so the original data on the main memory and the original data held in the cache are The consistency of copied data can be guaranteed.

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

第2図に本発明の一実施例を示す。また、第3図に実施
例が動作するシステムの一例を示す。
FIG. 2 shows an embodiment of the present invention. Further, FIG. 3 shows an example of a system in which the embodiment operates.

第2図において、110はデータメモリで第1図のデー
タ保持手段1に対応し、120は論理アドレスメモリで
論理アドレス保持手段2に対応し、130は論理検索制
御部で論理検索手段3に対応する。さらに、論理検索制
御部130は論理アドレス比較部131と、抹消データ
選択部132と、論理無効化制御部133を持つ。14
0は書き込み制御部で書き込み手段4に対応し、さらに
、書き込み制御部140はデータレジスタ141と、論
理アドレスレジスタ142と、物理アドレスレジスタ1
43を持つ。150は物理アドレスメモリで物理アドレ
ス保持手段に対応し、160は無効化制御部で無効化手
段6に対応し、さらに、無効化制御部160は物理アド
レス比較部161と、物理無効化制御部162を持つ。
In FIG. 2, 110 is a data memory, which corresponds to the data holding means 1 in FIG. do. Further, the logical search control section 130 has a logical address comparison section 131, an erasure data selection section 132, and a logical invalidation control section 133. 14
0 is a write control unit, which corresponds to the write means 4, and the write control unit 140 further includes a data register 141, a logical address register 142, and a physical address register 1.
Has 43. Reference numeral 150 denotes a physical address memory, which corresponds to a physical address holding means; 160, an invalidation control unit, which corresponds to the invalidation means 6; have.

また、第3図において100は本実施例の論理アドレス
キャッシュ、200はプロセッサ、300はアドレス変
換手段、400はメモリアクセス手段、500は主記憶
である。
Further, in FIG. 3, 100 is a logical address cache of this embodiment, 200 is a processor, 300 is an address conversion means, 400 is a memory access means, and 500 is a main memory.

第3図で示すように、プロセッサ200はデータをアク
セスするために論理アドレス人カフとキャッシュアクセ
スデータ入出力8によって第2図の論理アドレスキャッ
シュ100に接続されている。また、主記憶500上に
ある元データをアクセスするために必要とするアクセス
するデータの物理アドレスがアクセスするデータの論理
アドレスを入力としてアドレス変換手段300で生成さ
れる。プロセッサが論理アドレスキャッシュ100上に
保持されたコピーデータに対し書き込みを伴うアクセス
を行った場合、あるいは、論理アドレスキャッシュ10
0上に保持されていないデータに対しアクセスを行った
場合には、生成された物理アドレスがメモリアクセス手
段400に入力される。この場合には、さらに、論理ア
ドレスキャッシュ100によって、メモリアクセス制御
出力9からメモリアクセス手段400が起動され、主記
憶500上にある元データに対するアクセスが行われる
。主記憶500上にある元データをアクセスするために
論理アドレスキャッシュ100はメモリアクセスデータ
入出力10によってメモリアクセス手段400に接続さ
れている。
As shown in FIG. 3, processor 200 is connected to logical address cache 100 of FIG. 2 by a logical address cache and cache access data input/output 8 for accessing data. Further, the physical address of the data to be accessed, which is required to access the original data on the main memory 500, is generated by the address conversion means 300 using the logical address of the data to be accessed as input. When a processor accesses copy data held on the logical address cache 100 with writing, or when the processor accesses the copy data held on the logical address cache 100,
When accessing data that is not held on 0, the generated physical address is input to the memory access means 400. In this case, the logical address cache 100 further activates the memory access means 400 from the memory access control output 9, and accesses the original data on the main memory 500. In order to access the original data on the main memory 500, the logical address cache 100 is connected to the memory access means 400 by a memory access data input/output 10.

さらに、書き込み物理アドレスを監視することによって
、主記憶を共有する他のアクセス要求元により更新され
たデータの更新前のコピーデータを論理アドレスキャッ
シュ100上に保持していることを検出し、当該コピー
データを無効化するために、アドレス生成手段300で
生成されたアクセスするデータの物理アドレスが物理ア
ドレス人力11から論理アドレスキャッシュ100に入
力される。また、主記憶500への書き込みアドレスが
書き込み物理アドレス人力12から論理アドレスキャッ
シュ100に入力される。
Furthermore, by monitoring the write physical address, it is detected that the logical address cache 100 holds an unupdated copy of data updated by another access request source that shares the main memory, and In order to invalidate data, the physical address of the data to be accessed, generated by the address generation means 300, is input from the physical address input 11 to the logical address cache 100. Further, the write address to the main memory 500 is input from the write physical address input 12 to the logical address cache 100.

第2図で示すように、本実施例では、まず、論理アドレ
ス比較部131において、論理アドレス人カフに与えら
れたアクセスするデータの論理アドレスと論理アドレス
メモリ120に保持された論理アドレスが比較される。
As shown in FIG. 2, in this embodiment, first, in the logical address comparing section 131, the logical address of the data to be accessed given to the logical address cuff is compared with the logical address held in the logical address memory 120. Ru.

論理アドレスメモリ120にはデータメモリ110に保
持されたデータに対応して、データの論理アドレスが保
持されている。比較の結果、アクセスするデータの論理
アドレスが論理アドレスメモリ120に保持されている
、つまり、アクセスするデータのコピーがデータメモリ
110に保持されている場合には、データメモリ110
に保持されたコピーデータに対しアクセスが行われる。
The logical address memory 120 holds logical addresses of data corresponding to the data held in the data memory 110. As a result of the comparison, if the logical address of the data to be accessed is held in the logical address memory 120, that is, if a copy of the data to be accessed is held in the data memory 110, the data memory 110
Access is made to the copy data held in .

また、アクセスが書き込みを含む場合には、データメモ
リ110に保持されたコピーデータを更新すると同時に
、メモリアクセス制御出力9からメモリアクセス制御部
400を起動し、主記憶500上にあるデータを更新す
る。比較の結果、アクセスするデータの論理アドレスが
論理アドレスメモリ120に保持されていない、つまり
、アクセスするデータのコピーがデータメモリ110に
保持されていない場合には、メモリアクセス制御出力9
からメモリアクセス制御部400を起動し、主記憶50
0上にあるデータに対するアクセスを行う。この場合に
は、さらに、キャッシュのヒツト率を高くするために、
この最新のアクセスによってアクセスされたデータがデ
ータ保持手段110に保持される。データが保持される
領域はあらかじめ抹消データ選択部132によって選択
されるが、空き領域がない場合には最も有効でないデー
タが保持されていた領域が選択され、この最も有効でな
いデータはキャッシュから抹消される。アクセスするデ
ータをデータレジスタ141に、論理アドレス人カフか
ら与えられたアクセスするデータの論理アドレスを論理
アドレスレジスタ142に、物理アドレス人力11から
与えられたアクセスするデータの物理アドレスを物理ア
ドレスレジスタ143に保持する。アクセスするデータ
と、アクセスするデータの論理アドレスと、アクセスす
るデータの物理アドレスが書き込み制御部140に得ら
れた時点で、アクセスするデータと、アクセスするデー
タの論理アドレスと、アクセスするデータの物理アドレ
スを1組にして、書き込み制御部140によって、デー
タメモリ110と、論理アドレスメチリ120と、物理
アドレスメモリ150にそれぞれ書き込む。
Further, when the access includes writing, the copy data held in the data memory 110 is updated, and at the same time, the memory access control unit 400 is activated from the memory access control output 9 to update the data on the main memory 500. . As a result of the comparison, if the logical address of the data to be accessed is not held in the logical address memory 120, that is, a copy of the data to be accessed is not held in the data memory 110, the memory access control output 9 is
The memory access control unit 400 is activated from the main memory 50.
Access data on 0. In this case, in order to further increase the cache hit rate,
The data accessed by this latest access is held in the data holding means 110. The area where data is held is selected in advance by the erasure data selection unit 132, but if there is no free space, the area where the least valid data is held is selected, and this least valid data is deleted from the cache. Ru. The data to be accessed is stored in the data register 141, the logical address of the data to be accessed given from the logical address manual 11 is stored in the logical address register 142, and the physical address of the data to be accessed given from the physical address manual 11 is stored in the physical address register 143. Hold. When the data to be accessed, the logical address of the data to be accessed, and the physical address of the data to be accessed are obtained by the write control unit 140, the data to be accessed, the logical address of the data to be accessed, and the physical address of the data to be accessed are obtained. are written into a set by the write control unit 140 into the data memory 110, the logical address memory 120, and the physical address memory 150, respectively.

無効化制御部160は主記憶500に対する書き込み物
理アドレスを監視する。主記憶500に対し書き込みが
行われた場合には、物理アドレス比較部161において
、書き込み物理アドレス人力12から与えられた書き込
み物理アドレスと物理アドレスメモリ150に保持され
た物理アドレスが比較される。物理アドレスメモリ15
0にはデータメモリ110に保持されたデータに対応し
て、そのデータの物理アドレスが保持されている。比較
の結果、書き込み物理アドレスが物理アドレスメモリ1
50に保持されている。つまり、主記憶を共用する他の
アクセス要求元によって更新されたデータの更新前のコ
ピーをデータメモリ110に保持している場合には、物
理無効化制御部162によって書き込み制御部140を
起動し、データメモリ110に保持された該当のコピー
データを無効化する。
The invalidation control unit 160 monitors the write physical address to the main memory 500. When writing is performed to the main memory 500, the physical address comparison unit 161 compares the write physical address given from the write physical address input 12 with the physical address held in the physical address memory 150. Physical address memory 15
Corresponding to the data held in the data memory 110, 0 holds the physical address of the data. As a result of the comparison, the write physical address is physical address memory 1.
It is held at 50. That is, when the data memory 110 holds an unupdated copy of data updated by another access request source that shares the main memory, the write control unit 140 is activated by the physical invalidation control unit 162, The corresponding copy data held in the data memory 110 is invalidated.

(発明の効果) 本発明によると、キャッシュ上に保持されたコピーデー
タに対応する主記憶上の元データが更新された場合には
、常に保持されたコピーデータが無効化される。このた
め、物理アドレスキャッシュに比較して早いアクセスタ
イムを持つという論理アドレスキャッシュの特徴を保ち
つつ、主記憶上の元データと保持されたコピーデータの
一致を保証することができる。これによって、U○転送
のような主記憶への書き込みが行われた場合にも、保持
したデータを無効化する必要がなくなり、キャッシュの
ヒツト率が向上する。また、マルチプロセッサシステム
では、従来方式の論理アドレスキャッシュがキャッシン
グできなかったデータをキャッシングできる論理アドレ
スキャッシュを得ることができる。
(Effects of the Invention) According to the present invention, when the original data on the main memory corresponding to the copy data held on the cache is updated, the held copy data is always invalidated. Therefore, it is possible to guarantee that the original data on the main memory and the held copy data match while maintaining the characteristic of the logical address cache that it has a faster access time than the physical address cache. This eliminates the need to invalidate the held data even when writing to the main memory, such as in U○ transfer, improves the cache hit rate. Additionally, in a multiprocessor system, a logical address cache can be obtained that can cache data that conventional logical address caches could not cache.

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

第1図は本発明の構成要素を示す図、第2図は本発明を
具体的にした一実施例を示すブロック図、第3図は実施
例が動作するシステムの構成要素を示す図、第4図は従
来方式の構成要素を示す図である。 1・・・データ保持手段、2・・・論理アドレス保持手
段、i・・・論理検索手段、4・・・書き込み手段、5
・・・物理アドレス保持手段、6・・・無効化手段、2
00.・・プロセッサ、300・・・アドレス変換手段
、400・・・6メモリアクセス手段、500・・・主
記憶。
FIG. 1 is a diagram showing the components of the present invention, FIG. 2 is a block diagram showing an embodiment of the present invention, FIG. 3 is a diagram showing the components of a system in which the embodiment operates, and FIG. FIG. 4 is a diagram showing the components of the conventional system. DESCRIPTION OF SYMBOLS 1... Data holding means, 2... Logical address holding means, i... Logical search means, 4... Writing means, 5
... Physical address holding means, 6... Invalidation means, 2
00. . . . Processor, 300 . . . Address conversion means, 400 . . . 6 Memory access means, 500 . . . Main memory.

Claims (1)

【特許請求の範囲】[Claims] データを保持するデータ保持手段と、このデータに対応
してデータの論理アドレスを保持する論理アドレス保持
手段と、論理アドレスによって前記データの検索を行う
論理検索手段と、前記データ保持手段と前記論理アドレ
ス保持手段への書き込みを制御する書き込み手段を持つ
論理アドレスキャッシュ制御方式において、前記データ
に対応してデータの物理アドレスを保持する物理アドレ
ス保持手段と、前記書き込み手段内部に前記物理アドレ
ス保持手段への書き込みを制御する手段を持ち、書き込
み物理アドレスを監視することによって、主記憶を共有
する他のアクセス要求元により更新されたデータの更新
前のコピーデータを前記データ保持手段に保持している
場合には、当該コピーデータを無効化する無効化手段を
持つことを特徴とする論理アドレスキャッシュ制御方式
a data holding means for holding data; a logical address holding means for holding a logical address of data corresponding to the data; a logical search means for searching the data using the logical address; and the data holding means and the logical address. In a logical address cache control system having a writing means for controlling writing to the holding means, a physical address holding means holding a physical address of data corresponding to the data, and a write means for the physical address holding means inside the writing means. In the case where the data holding means has means for controlling writing and holds in the data holding means unupdated copy data of data updated by another access request source that shares the main memory by monitoring the write physical address. A logical address cache control method characterized by having an invalidation means for invalidating the copy data.
JP63119823A 1988-05-16 1988-05-16 Logical address cache control system Pending JPH01288940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63119823A JPH01288940A (en) 1988-05-16 1988-05-16 Logical address cache control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63119823A JPH01288940A (en) 1988-05-16 1988-05-16 Logical address cache control system

Publications (1)

Publication Number Publication Date
JPH01288940A true JPH01288940A (en) 1989-11-21

Family

ID=14771135

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63119823A Pending JPH01288940A (en) 1988-05-16 1988-05-16 Logical address cache control system

Country Status (1)

Country Link
JP (1) JPH01288940A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6202128B1 (en) 1998-03-11 2001-03-13 International Business Machines Corporation Method and system for pre-fetch cache interrogation using snoop port
JP2001147857A (en) * 1999-10-01 2001-05-29 Hitachi Ltd Data processing method using microprocessor having improved memory management unit and cache memory
JP2004288150A (en) * 2003-03-19 2004-10-14 Samsung Electronics Co Ltd Flash file system
JP2010097558A (en) * 2008-10-20 2010-04-30 Toshiba Corp Virtual address cache memory and virtual address cache method
JP2010257481A (en) * 2010-07-02 2010-11-11 Toshiba Corp Data storage system and method for ensuring consistency of cache data
US8108605B2 (en) 2009-04-13 2012-01-31 Kabushiki Kaisha Toshiba Data storage system and cache data—consistency assurance method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62266634A (en) * 1986-05-14 1987-11-19 Yokogawa Electric Corp Access control circuit for cache memory

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62266634A (en) * 1986-05-14 1987-11-19 Yokogawa Electric Corp Access control circuit for cache memory

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6202128B1 (en) 1998-03-11 2001-03-13 International Business Machines Corporation Method and system for pre-fetch cache interrogation using snoop port
JP2001147857A (en) * 1999-10-01 2001-05-29 Hitachi Ltd Data processing method using microprocessor having improved memory management unit and cache memory
JP2004288150A (en) * 2003-03-19 2004-10-14 Samsung Electronics Co Ltd Flash file system
JP2010097558A (en) * 2008-10-20 2010-04-30 Toshiba Corp Virtual address cache memory and virtual address cache method
US8108605B2 (en) 2009-04-13 2012-01-31 Kabushiki Kaisha Toshiba Data storage system and cache data—consistency assurance method
JP2010257481A (en) * 2010-07-02 2010-11-11 Toshiba Corp Data storage system and method for ensuring consistency of cache data
JP4724253B2 (en) * 2010-07-02 2011-07-13 株式会社東芝 Data storage system and cache data consistency guarantee method

Similar Documents

Publication Publication Date Title
JP3369580B2 (en) Interface device and method for direct memory access
US5450563A (en) Storage protection keys in two level cache system
US7032074B2 (en) Method and mechanism to use a cache to translate from a virtual bus to a physical bus
US5537573A (en) Cache system and method for prefetching of data
US6088769A (en) Multiprocessor cache coherence directed by combined local and global tables
JP4447580B2 (en) Partitioned sparse directory for distributed shared memory multiprocessor systems
US5802574A (en) Method and apparatus for quickly modifying cache state
JPH077360B2 (en) Information processing device with cache memory
JPH0743670B2 (en) Store-through cache management system
JPH0997214A (en) Information-processing system inclusive of address conversion for auxiliary processor
US7093080B2 (en) Method and apparatus for coherent memory structure of heterogeneous processor systems
US7017024B2 (en) Data processing system having no system memory
JP3295436B2 (en) Microprocessor cache consistency
JPH04230549A (en) Multilevel cache
JPH01288940A (en) Logical address cache control system
EP0173909A2 (en) Look-aside buffer least recently used marker controller
JPH1091521A (en) Duplex directory virtual cache and its control method
JPH04191946A (en) Snoop cache memory control system
JPH0237446A (en) Cache control system
JP3081635B2 (en) Cache memory invalidation processing apparatus and invalidation control method
JPS63247852A (en) Cache memory control method
JP2637853B2 (en) Cache memory device
KR910004263B1 (en) Computer system
JP3061818B2 (en) Access monitor device for microprocessor
JP2791319B2 (en) Data processing device