[go: up one dir, main page]

JP2003140966A - Cache memory control method for computer system - Google Patents

Cache memory control method for computer system

Info

Publication number
JP2003140966A
JP2003140966A JP2001336768A JP2001336768A JP2003140966A JP 2003140966 A JP2003140966 A JP 2003140966A JP 2001336768 A JP2001336768 A JP 2001336768A JP 2001336768 A JP2001336768 A JP 2001336768A JP 2003140966 A JP2003140966 A JP 2003140966A
Authority
JP
Japan
Prior art keywords
cache
memory
storage device
target
cache memory
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.)
Withdrawn
Application number
JP2001336768A
Other languages
Japanese (ja)
Inventor
Hideji Fukuhara
秀治 福原
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 JP2001336768A priority Critical patent/JP2003140966A/en
Publication of JP2003140966A publication Critical patent/JP2003140966A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【目的】 本発明は、二重化計算機システムにおいて高
速なキャッシュメモリと主記憶装置の内容の同一性を提
供することを目的とする。 【構成】 論理アドレス空間上に存在する複数の論理ア
ドレスに、ひと組の物理アドレス302、キャッシュ非
対象303の情報および書込アクセス権304の情報を
それぞれ対応させて保持するアドレス変換テーブル30
0と、論理アドレス301で指定される領域に書き込み
を行うときに、前記論理アドレスに対応するキャッシュ
非対象および書込アクセス権の情報を参照してキャッシ
ュメモリおよび主記憶装置のいずれか一方に直接書き込
みこみを行うメモリ書込選択部とを備えるように構成す
る。
(57) [Abstract] The object of the present invention is to provide a high-speed cache memory and the same contents of a main storage device in a redundant computer system. An address conversion table for holding a set of physical addresses, information of a cache non-target, and information of a write access right in correspondence with a plurality of logical addresses existing in a logical address space.
0 and when writing to the area specified by the logical address 301, the cache non-target and the write access right information corresponding to the logical address are referred to and directly written to either the cache memory or the main storage device. And a memory write selection unit that performs writing.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、計算機システムの
キャッシュメモリの制御方式に関し、特に、二重化され
た計算機システムのキャッシュメモリの制御方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a cache memory control system for a computer system, and more particularly to a cache memory control system for a duplicated computer system.

【0002】[0002]

【従来の技術】交換システムなどの高い信頼性を必要と
する計算機システムでは、一般に二重化された計算機シ
ステムの構成をとる。すなわち、中央演算装置、主記憶
装置、キャッシュメモリ、制御装置、入出力装置を各2
台設置して二つの計算機システムを構成し、その二つの
システムを並列接続することによって高信頼システムを
構成していた。
2. Description of the Related Art A computer system that requires high reliability, such as a switching system, generally has a duplicated computer system configuration. That is, a central processing unit, a main storage device, a cache memory, a control device, and an input / output device are provided for each two.
A high-reliability system was constructed by installing two computers to configure two computer systems and connecting the two systems in parallel.

【0003】このような計算機システムでは、2つの並
列計算機システムの一方を現用系、もう一方を予備系と
呼んでいる。現用系において、例えば、呼処理を行って
いる場合に、予備系では現用系と予備系との間に接続さ
れた信号線を介してデータ転送を行い、現用系の主記憶
装置と同じ内容になるように処理している。
In such a computer system, one of the two parallel computer systems is called an active system and the other is called a standby system. In the active system, for example, when performing call processing, the standby system transfers data via the signal line connected between the active system and the standby system, and the same content as the main storage device of the active system is obtained. Is being processed.

【0004】現用系は、ソフトウェアあるいはハードウ
ェアの障害により処理を続行することができない事態に
陥ったとき、現用系から予備系に切り換えて処理を続行
する。このような場合、現用系と一致させてある予備系
の主記憶装置を使用することによって処理を継続でき
る。
When a failure occurs in the active system due to a software or hardware failure, the active system switches from the active system to the standby system to continue the process. In such a case, the processing can be continued by using the main storage device of the backup system which is matched with the active system.

【0005】ところで、従来の主記憶装置のキャッシュ
メモリでは、次の2種類の制御方式いずれかを採用する
ことが多い。 主記憶装置への書き込みが直ちに行われるライトス
ルー方式。
By the way, the cache memory of the conventional main memory device often employs either of the following two types of control methods. A write-through method in which writing to main memory is performed immediately.

【0006】主記憶装置への書き込み性能の向上はない
が、現用系と予備系の主記憶装置の内容を一致させるこ
とができる利点がある。 主記憶装置への書き込みが直ちに行われないコピー
バック方式。
Although there is no improvement in the performance of writing to the main memory, there is an advantage that the contents of the main memory of the active system and the content of the main memory of the standby system can be matched. A copy-back method in which writing to main memory is not performed immediately.

【0007】主記憶装置への書き込み性能が向上する利
点はあるが、現用系と予備系の主記憶装置の内容が不一
致である欠点がある。したがって、キャッシュメモリの
内容を主記憶装置へ書き戻してから系の切り換えを行う
必要がある。
Although there is an advantage that the writing performance to the main storage device is improved, there is a disadvantage that the contents of the main storage device of the active system and the main storage device of the standby system do not match. Therefore, it is necessary to switch the system after writing back the contents of the cache memory to the main storage device.

【0008】[0008]

【発明が解決しようとする課題】以上から、交換システ
ムなどが主記憶装置を二重化することで故障やソフトウ
ェア障害から迅速に復旧することができる。しかしなが
ら、サービスの継続を保証しているようなシステムにお
いては、高速な処理を可能とするコピーバック方式と系
切り替え時の主記憶装置の内容の同一性が両立しないと
いう問題がある。
From the above, it is possible to quickly recover from a failure or software failure by duplicating the main storage device by the exchange system or the like. However, in a system that guarantees continuation of service, there is a problem that the copyback method that enables high-speed processing and the content of the main storage device at the time of system switching are incompatible.

【0009】本発明は上記事情に鑑みなされたもので、
二重化計算機システムにおいて高速なキャッシュメモリ
と主記憶装置との内容の同一性を提供することを目的と
する。
The present invention has been made in view of the above circumstances.
It is an object of the present invention to provide high-speed cache memory and main memory unity in a duplicated computer system.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に、本発明に係る計算機システムのキャッシュメモリ制
御方式は、複数の論理アドレスにひと組の物理アドレ
ス、キャッシュ非対象の情報および書込アクセス権の情
報をそれぞれ対応させて保持するアドレス変換テーブル
と、論理アドレスで指定される領域に書き込みを行うと
きに、前記論理アドレスに対応するキャッシュ非対象お
よび書込アクセス権の情報を参照してキャッシュメモリ
および主記憶装置のいずれか一方に直接書き込みこみを
行うメモリ書込選択部とを備えることを特徴とする。
In order to achieve the above object, a cache memory control method for a computer system according to the present invention is directed to a set of physical addresses for a plurality of logical addresses, cache non-target information and write access. Address conversion table that holds the information on the right to be associated with each other, and when writing to the area specified by the logical address, the cache non-target and the information on the write access right corresponding to the logical address are referred to and cached. It is characterized in that it is provided with a memory write selection unit that directly writes data into either the memory or the main storage device.

【0011】さらに、書込アクセス検出部を備え、前記
書込アクセス検出部は、前記論理アドレスで指定される
領域への書き込みを検出し、前記メモリ書込選択部は、
前記論理アドレスで指定される領域への書き込みの検出
を契機に前記キャッシュメモリおよび主記憶装置のいず
れか一方を選択することを特徴とする。
Further, a write access detection unit is provided, the write access detection unit detects writing to an area designated by the logical address, and the memory write selection unit,
One of the cache memory and the main memory is selected upon detection of writing to the area specified by the logical address.

【0012】また、前記主記憶装置に書き込みを行うメ
モリ書込部と、前記主記憶装置に書き込んだ内容を確認
する確認部とを備え、前記主記憶装置に書き込んだ内容
を読み出して同一性を確認するとともにキャッシュメモ
リにその読み出したデータを反映することを特徴とす
る。
Further, a memory writing unit for writing data in the main memory device and a confirmation unit for confirming the content data written in the main memory device are provided, and the content data written in the main memory device is read to confirm the identity. It is characterized in that the read data is reflected in the cache memory while being confirmed.

【0013】なお、本明細書で、「キャッシュ非対象」
とはプログラムが論理アドレスで論理空間上に書き込み
を行うとき、主記憶装置に直接書き込むことを意味す
る。
In the present specification, "non-cache target"
Means that when a program writes in a logical space at a logical address, it writes directly in the main memory.

【0014】[0014]

【発明の実施の形態】図1は、本発明に係るキャッシュ
制御方式を計算機システムに適用した実施形態を示す。
図中、参照符号の10は論理空間を示し、11は論理空
間の特定アドレスに存在するデータ領域を示す。20は
書き込み保護されたデータ領域への書き込みを検出する
書込アクセス検出部である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an embodiment in which the cache control system according to the present invention is applied to a computer system.
In the figure, reference numeral 10 indicates a logical space, and 11 indicates a data area existing at a specific address in the logical space. Reference numeral 20 is a write access detection unit that detects writing to a write-protected data area.

【0015】30は論理空間のデータ領域に対する書込
アクセス権を設定する書込アクセス権設定部である。4
0は各キャッシュ非対象領域の論理空間アドレスとその
長さを定義する管理データである。50はアドレス変換
TBLにキャッシュ非対象領域であるか否かを設定する
キャッシュ非対象領域管理部である。
Reference numeral 30 is a write access right setting unit for setting a write access right to the data area of the logical space. Four
0 is management data that defines the logical space address of each cache non-target area and its length. Reference numeral 50 is a cache non-target area management unit that sets whether or not the address translation TBL is a cache non-target area.

【0016】60は検出された書込アクセスのデータが
キャッシュ非対象領域であるか否かを判断するメモリ書
込選択部である。70はメモリ書込選択部60からの指
示にしたがいキャッシュメモリに書き込む、またはキャ
ッシュメモリを経由せずに主記憶装置(物理メモリ)へ
の書き込みを行うメモリ書込部である。80はメモリ書
き込み内容の正常性を確認する確認部である。
Reference numeral 60 denotes a memory write selection unit which determines whether or not the detected write access data is a non-cache target area. Reference numeral 70 denotes a memory writing unit that writes to a cache memory according to an instruction from the memory writing selection unit 60, or writes to a main storage device (physical memory) without passing through the cache memory. Reference numeral 80 is a confirmation unit for confirming the normality of the contents written in the memory.

【0017】90は計算機システムに実装している物理
メモリのデータ領域でありデータ11に対応する。10
0はキャッシュメモリのデータ領域でありデータ11に
対応する。200は論理空間10をアクセス(read/writ
e)するプログラムである。300はアドレス変換索引バ
ッファ(Translation Lookaside Buffer以下TLBと呼
ぶ)である。
Reference numeral 90 denotes a data area of a physical memory mounted on the computer system, which corresponds to the data 11. 10
0 is a data area of the cache memory and corresponds to the data 11. 200 accesses the logical space 10 (read / writ
e) The program to do. Reference numeral 300 denotes an address translation lookaside buffer (Translation Lookaside Buffer, hereinafter referred to as TLB).

【0018】図1において、計算機システムのオペレー
ティングシステムまたはアプリケーションが起動される
ときに、メモリ書込選択部60はキャッシュ非対象領域
管理部50に対して、アドレス変換テーブル300の設
定を依頼する。キャッシュ非対象領域管理部50は管理
データ40からキャッシュ非対象の領域定義に関する情
報(各対象領域先頭アドレスとその長さ)を読み出し、
アドレス変換TLB300に論理空間アドレス301と
物理アドレス302を対応させながらキャッシュ非対象
303を設定する。
In FIG. 1, when the operating system or application of the computer system is started, the memory write selection unit 60 requests the cache non-target area management unit 50 to set the address translation table 300. The cache non-target area management unit 50 reads out the information about the cache non-target area definition (each target area start address and its length) from the management data 40,
The cache non-target 303 is set while associating the logical space address 301 and the physical address 302 with the address translation TLB 300.

【0019】例えば、キャッシュ非対象ならば“1”を
設定し、かつ、書込アクセス禁止の書込アクセス権の設
定も行う。また、書込アクセスを禁止する場合には書込
アクセス権304に“1”を設定し、キャッシュ非対象
として“0”を設定する。
For example, if the cache is not a target, "1" is set, and the write access right for prohibiting the write access is also set. When write access is prohibited, the write access right 304 is set to "1" and the cache non-target is set to "0".

【0020】このようにして、論理空間10のデータ領
域11はキャッシュ非対象領域であること、および書込
アクセス禁止であることがアドレス変換TBL300に
それぞれ設定される。このデータ領域11は論理空間1
0上に2つ以上存在してもよい。
In this way, it is set in the address translation TBL 300 that the data area 11 of the logical space 10 is a non-cache area and that write access is prohibited. This data area 11 is the logical space 1
There may be two or more on 0.

【0021】すなわち、論理空間10のデータ領域11
について、アドレス変換TBL300に設定された書込
アクセス権304とキャッシュ非対象303の設定情報
の組み合わせにより、プログラム200がデータ領域1
1に書き込みを際のキャッシュ制御を行う。
That is, the data area 11 of the logical space 10
The program 200 sets the data area 1 by the combination of the write access right 304 set in the address conversion TBL 300 and the setting information of the cache non-target 303.
Cache control when writing to 1 is performed.

【0022】書込アクセス権304の値とキャッシュ非
対象303の値との組み合わせと処理を次に示す。な
お、それぞれの値は既に例示した値を採用するものと
し、以降、これらの値を用いながら説明する。 書込アクセス権304(“0”) & キャッシュ
非対象303(“0”)は、データ領域11に書込可能
で、かつ、キャッシュ対象アクセスとして処理される。 書込アクセス権304(“0”) & キャッシュ
非対象303(“1”)は、データ領域11に書込可能
で、かつ、キャッシュ対象アクセスとして処理される。 書込アクセス権304(“1”) & キャッシュ
非対象303(“0”)は、データ領域11が書込禁止
領域として設定されているのに書き込みを行ったので論
理エラーとして割り込みを発生する処理が行われる。ま
た、キャッシュ対象アクセスとして処理される。 書込アクセス権304(“1”) & キャッシュ
非対象303(“1”)は書込可能で、かつ、キャッシ
ュ非対象アクセスとして処理される。
The combination of the value of the write access right 304 and the value of the cache non-target 303 and the processing are shown below. It should be noted that, as the respective values, the values already exemplified are adopted, and hereinafter, description will be given using these values. The write access right 304 (“0”) & cache non-target 303 (“0”) is writable in the data area 11 and is processed as a cache target access. The write access right 304 (“0”) & cache non-target 303 (“1”) is writable in the data area 11 and is processed as a cache target access. The write access right 304 (“1”) & non-cache target 303 (“0”) is a process in which an interrupt is generated as a logical error because writing is performed even though the data area 11 is set as a write-protected area. Is done. Further, it is processed as a cache target access. The write access right 304 (“1”) & cache non-target 303 (“1”) is writable and is processed as a cache non-target access.

【0023】〜に述べたように、前記ではデータ
領域11に書込可能であり、かつ、キャッシュ非対象領
域として処理されることから、の設定では、主記憶装
置とキャッシュメモリの内容が常に一致するように動作
することになる。
As described above, since the data can be written in the data area 11 and is processed as a non-cache area in the above, the contents of the main storage device and the cache memory always match in the setting of. Will work as you would.

【0024】したがって、交換システム等の呼制御管理
情報をの状態でデータ領域11に格納しておけば、キ
ャッシュメモリの情報と主記憶装置の情報は常に一致し
ており、障害等の発生により系を切り換えてもキャッシ
ュメモリの内容を主記憶装置の内容と一致させる作業は
必要なくなる。
Therefore, if the call control management information of the switching system or the like is stored in the data area 11 in the state of, the information of the cache memory and the information of the main storage device are always the same, and the system may be affected by a failure or the like. Even if the switch is switched, it is not necessary to match the contents of the cache memory with the contents of the main storage device.

【0025】さて、アドレス変換TBL300の各値に
ついて説明したので、プログラム200の書き込みを契
機とした処理の流れを次に説明する。
Now that each value of the address conversion TBL 300 has been described, the flow of processing triggered by the writing of the program 200 will be described next.

【0026】その前に、本発明の動作環境の中心となる
アドレス変換TBL300の設定状況を説明する。
Before that, the setting condition of the address conversion TBL 300 which is the center of the operating environment of the present invention will be described.

【0027】アドレス変換TBL300の論理空間アド
レス301にはデータ領域11の先頭アドレス(通常、
ページの先頭アドレス)が設定され、一方、物理メモリ
アドレス302にはデータ領域90の先頭アドレスが設
定されている。そして、キャッシュ非対象303にはキ
ャッシュ非対象を示す“1”が設定され、書込アクセス
権304にも書込保護(書込不可)を示す“1”が設定
されているものとする。
In the logical space address 301 of the address conversion TBL 300, the start address of the data area 11 (usually,
The start address of the page) is set, while the start address of the data area 90 is set in the physical memory address 302. Then, it is assumed that the cache non-target 303 is set to "1" indicating the cache non-target, and the write access right 304 is also set to "1" indicating the write protection (write disabled).

【0028】このような環境下で、まず、プログラム2
00は論理空間10のデータ領域11に領域に書き込み
を行う。この書き込みは書き込み保護違反として書き込
みアクセス検出部20が検出する。従来の処理では、プ
ログラム200の論理エラーとして割り込みを発生する
処理を行うが、本発明では、更に、アドレス変換TBL
200の該当部分を参照し、キャッシュ非対象303の
値が“1”であるかどうか確認する。
Under such an environment, first, the program 2
00 writes data in the data area 11 of the logical space 10. This write is detected by the write access detection unit 20 as a write protection violation. In the conventional process, a process of generating an interrupt as a logic error of the program 200 is performed, but in the present invention, the address conversion TBL is further added.
By referring to the corresponding part of 200, it is confirmed whether the value of the cache non-target 303 is "1".

【0029】もし、キャッシュ非対象303の値が
“0”であれば従来どおりプログラム200の論理エラ
ーとして割り込みを発生させる処理を行う。しかしなが
ら、その値が“1”であるならば、論理エラーとはせず
に、キャッシュ非対象として処理する。
If the value of the non-cache target 303 is "0", the process of generating an interrupt as a logic error of the program 200 is performed as usual. However, if the value is "1", it is not treated as a logic error and is processed as a cache non-target.

【0030】キャッシュ非対象303の値が“1”であ
るので、更に、物理メモリ90にも書き込まれる。この
書き込みによりキャッシュメモリと主記憶装置の内容は
同一性が維持される。
Since the value of the non-cache target 303 is "1", it is also written in the physical memory 90. By this writing, the contents of the cache memory and the main memory are kept the same.

【0031】次に、更に、物理メモリ90に書き込んだ
内容を読み出し、確認部80はその内容が正しく書き込
まれていることを確認する。そして、データ領域11が
キャッシュメモリ100上で対応するアドレスに前記読
み出した内容を記録する。
Next, the contents written in the physical memory 90 are further read out, and the confirmation unit 80 confirms that the contents are correctly written. Then, the data area 11 records the read content at a corresponding address on the cache memory 100.

【0032】以上の構成により、特定のデータ領域にお
いてのみ、常に、キャッシュメモリの内容と主記憶装置
の内容を一致させることができる。更に、主記憶装置か
らの読み出しは、データ領域11であってもキャッシュ
の効果は従来とおりの性能を発揮することができる。
With the above configuration, the contents of the cache memory and the contents of the main storage device can be consistently matched only in a specific data area. Further, when reading from the main memory, even if the data area 11 is used, the cache effect can exhibit the same performance as in the past.

【0033】図2は本発明に係るキャッシュ制御方式を
主記憶装置に適用した実施形態の処理フロー図であり、
特に、プログラム200がデータ領域11への書き込み
を契機に、その書き込みがキャッシュ非対象として取り
扱われる場合の処理フローを示すものである。
FIG. 2 is a processing flow chart of an embodiment in which the cache control system according to the present invention is applied to a main storage device.
In particular, it shows a processing flow when the program 200 is written as a non-cache target when the writing to the data area 11 is triggered.

【0034】まず、ステップS1では、プログラム20
0は論理空間10のデータ領域11に書き込みを行う。
First, in step S1, the program 20
0 writes to the data area 11 of the logical space 10.

【0035】ステップS2では、この論理空間10のデ
ータ領域11に書き込みを行うに当たり、アドレス変換
TBL300を介してデータ領域11の論理空間アドレ
スを物理メモリのアドレスに変換する。そのとき、図1
のアドレス変換TBL300上でデータ領域11の論理
空間アドレス301と物理メモリ上のデータ領域90の
物理アドレス302との対応付けを行うとともに、書込
アクセス権304を参照する。
In step S2, when writing to the data area 11 of the logical space 10, the logical space address of the data area 11 is converted into an address of the physical memory through the address conversion TBL300. At that time,
The logical access address 301 of the data area 11 is associated with the physical address 302 of the data area 90 on the physical memory on the address conversion TBL 300, and the write access right 304 is referenced.

【0036】ステップS3では、このとき、図1を参照
して説明したように、データ領域11に対応する書込ア
クセス権304として書き込み禁止が設定されている。
プログラム200によるデータ領域11への書き込みは
書込アクセス検出部20により論理エラーとして割り込
み(記憶保護例外)を発生させる。
In step S3, at this time, as described with reference to FIG. 1, write-protection is set as the write access right 304 corresponding to the data area 11.
Writing to the data area 11 by the program 200 causes the write access detection unit 20 to generate an interrupt (memory protection exception) as a logic error.

【0037】ステップS4では、しかしながら、本発明
では、さらに、該当するアドレス変換TBL300のキ
ャッシュ非対象303にはキャッシュ非対象(“1”)
が設定されているので、書き込み禁止ではなく、データ
領域11をキャッシュ非対象として書き込むことができ
る。したがって、データ領域11への書き込みは可能で
あると判定される。すなわち、メモリ書込選択部60
は、論理空間アドレスのデータ領域11に対応する物理
メモリのデータ領域90は書き込みを行う指示をメモリ
書込部70に送出する。
In step S4, however, in the present invention, the cache non-target 303 of the corresponding address translation TBL 300 is further cache non-target ("1").
Is set, the data area 11 can be written as a non-cache target instead of the write protection. Therefore, it is determined that writing to the data area 11 is possible. That is, the memory write selection unit 60
Sends an instruction to the memory writing unit 70 to write the data area 90 of the physical memory corresponding to the data area 11 of the logical space address.

【0038】ステップS5では、メモリ書込部70はメ
モリ書込選択部60からの前記指示にしたがって物理メ
モリ上のデータ領域90に書き込みを行う。
In step S5, the memory writing unit 70 writes in the data area 90 on the physical memory according to the instruction from the memory writing selection unit 60.

【0039】ステップS6〜S8では、主記憶装置(物
理メモリ)にも書き込んだデータを確認部80が読み出
し、その内容を確認する。そして、その読み出しはその
内容をキャッシュメモリに対応するデータ100に書き
込むことになる。
In steps S6 to S8, the confirmation unit 80 reads the data written in the main memory (physical memory) and confirms the contents. Then, the reading is to write the contents into the data 100 corresponding to the cache memory.

【0040】[0040]

【発明の効果】以上説明したように、本発明によれば、
キャッシュメモリの制御にコピーバック方式を採用した
としても、論理空間上にキャッシュ非対象として存在す
るデータ領域のみをライトスルー方式と同じようにキャ
ッシュメモリを制御することができる。
As described above, according to the present invention,
Even if the copy-back method is used to control the cache memory, the cache memory can be controlled in the same way as the write-through method for only the data area existing in the logical space as a non-cache target.

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

【図1】本発明に係るキャッシュ制御方式を計算機シス
テムに適用した実施形態を示す。
FIG. 1 shows an embodiment in which a cache control system according to the present invention is applied to a computer system.

【図2】本発明に係るキャッシュ制御方式を主記憶装置
に適用した実施形態の処理フロー図である。
FIG. 2 is a process flow diagram of an embodiment in which a cache control method according to the present invention is applied to a main storage device.

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

10 論理空間 11 データ領域 20 書込アクセス検出部 30 書込アクセス権設定部 40 管理データ 50 キャッシュ非対象管理部 60 メモリ書込選択部 70 メモリ書込部 80 確認部 90 データ領域 100 データ領域 200 プログラム 300 アドレス変換テーブル 301 論理空間アドレス 302 物理メモリアドレス 303 キャッシュ非対象 304 書込アクセス権 10 logical space 11 data area 20 write access detector 30 Write Access Right Setting Section 40 management data 50 Non-cache management unit 60 Memory write selection section 70 Memory writing unit 80 Confirmation Department 90 data areas 100 data areas 200 programs 300 address conversion table 301 Logical space address 302 Physical memory address 303 Cache non-target 304 Write access right

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06F 12/16 310 G06F 12/16 310J ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) G06F 12/16 310 G06F 12/16 310J

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】複数の論理アドレスにひと組の物理アドレ
ス、キャッシュ非対象の情報および書込アクセス権の情
報をそれぞれ対応させて保持するアドレス変換テーブル
と、 論理アドレスで指定される領域に書き込みを行うとき
に、前記論理アドレスに対応するキャッシュ非対象およ
び書込アクセス権の情報を参照してキャッシュメモリお
よび主記憶装置のいずれか一方に直接書き込みこみを行
うメモリ書込選択部とを備えることを特徴とする計算機
システムのキャッシュメモリ制御方式。
1. An address conversion table that holds a plurality of logical addresses in association with a set of physical addresses, cache non-target information, and write access right information, and writes in an area specified by logical addresses. And a memory write selection unit that directly writes data to either the cache memory or the main storage device by referring to the information about the cache non-target and the write access right corresponding to the logical address. Characteristic computer system cache memory control method.
【請求項2】請求項1記載において、 更に、書込アクセス検出部を備え、 前記書込アクセス検出部は、前記論理アドレスで指定さ
れる領域への書き込みを検出し、 前記メモリ書込選択部は、前記論理アドレスで指定され
る領域への書き込みの検出を契機に前記キャッシュメモ
リおよび主記憶装置のいずれか一方を選択することを特
徴とする計算機システムのキャッシュメモリ制御方式。
2. The memory device according to claim 1, further comprising a write access detection unit, wherein the write access detection unit detects writing to an area designated by the logical address, and the memory write selection unit. Is a cache memory control method for a computer system, which selects one of the cache memory and the main storage device upon detection of writing to an area specified by the logical address.
【請求項3】請求項1記載において、 前記主記憶装置に書き込みを行うメモリ書込部と、前記
主記憶装置に書き込んだ内容を確認する確認部とを備
え、 前記主記憶装置に書き込んだ内容を読み出して同一性を
確認するとともにキャッシュメモリにその読み出したデ
ータを反映することを特徴とする計算機システムのキャ
ッシュメモリ制御方式。
3. The content written in the main storage device according to claim 1, further comprising a memory writing unit that writes in the main storage device and a confirmation unit that confirms the content written in the main storage device. A cache memory control method for a computer system, which is characterized by reading the data to confirm the identity and reflecting the read data in the cache memory.
JP2001336768A 2001-11-01 2001-11-01 Cache memory control method for computer system Withdrawn JP2003140966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001336768A JP2003140966A (en) 2001-11-01 2001-11-01 Cache memory control method for computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001336768A JP2003140966A (en) 2001-11-01 2001-11-01 Cache memory control method for computer system

Publications (1)

Publication Number Publication Date
JP2003140966A true JP2003140966A (en) 2003-05-16

Family

ID=19151533

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001336768A Withdrawn JP2003140966A (en) 2001-11-01 2001-11-01 Cache memory control method for computer system

Country Status (1)

Country Link
JP (1) JP2003140966A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008282065A (en) * 2007-05-08 2008-11-20 Matsushita Electric Ind Co Ltd Semiconductor device equipped with address conversion memory access mechanism
JP2009175879A (en) * 2008-01-22 2009-08-06 Nec Corp Duplex system and memory copy method
JP2014078248A (en) * 2005-10-20 2014-05-01 Qualcomm Incorporated Caching memory attribute indicators with cached memory data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014078248A (en) * 2005-10-20 2014-05-01 Qualcomm Incorporated Caching memory attribute indicators with cached memory data
JP2008282065A (en) * 2007-05-08 2008-11-20 Matsushita Electric Ind Co Ltd Semiconductor device equipped with address conversion memory access mechanism
JP2009175879A (en) * 2008-01-22 2009-08-06 Nec Corp Duplex system and memory copy method

Similar Documents

Publication Publication Date Title
JP3987577B2 (en) Method and apparatus for caching system management mode information along with other information
US6279078B1 (en) Apparatus and method for synchronizing a cache mode in a dual controller, dual cache memory system operating in a plurality of cache modes
US6651115B2 (en) DMA controller and coherency-tracking unit for efficient data transfers between coherent and non-coherent memory spaces
US20020112133A1 (en) Method and apparatus for independent and simultaneous access to a common data set
CA2127081A1 (en) Processor interface chip for dual-microprocessor processor system
US5497458A (en) Cache testability circuit for embedded diagnostics
JP3192664B2 (en) Cache memory system and cache memory controller
US4977500A (en) System recovery method for computer system having a standby system with a wait job operation capability
JP2003140966A (en) Cache memory control method for computer system
JP3426216B2 (en) Fault-tolerant computer system
KR20010019058A (en) System and Method of Coherencing Memory between Two Duplication Processors in the Switching System
JPS6250863B2 (en)
JP2001265653A (en) Data processor
JP4885735B2 (en) Management program, management method and management apparatus
JPH0883218A (en) Computer system
JPH09138733A (en) Protective system for magnetic disk device
JPH05108493A (en) Memory control system
JP3080030B2 (en) Hierarchical cache device
KR20030054985A (en) Apparatus for reduplication over warm standby system
JPS6120160A (en) Addressing exception detection method
JP2817458B2 (en) Disk cache re-online system
JP2796162B2 (en) Instruction processing method
JP2791319B2 (en) Data processing device
JPS5918797B2 (en) Address check processing method
KR20000028207A (en) Method for using cache of main process board in switching system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050104