JPS59140686A - Control system of buffer memory - Google Patents

Control system of buffer memory

Info

Publication number
JPS59140686A
JPS59140686A JP58014063A JP1406383A JPS59140686A JP S59140686 A JPS59140686 A JP S59140686A JP 58014063 A JP58014063 A JP 58014063A JP 1406383 A JP1406383 A JP 1406383A JP S59140686 A JPS59140686 A JP S59140686A
Authority
JP
Japan
Prior art keywords
address
memory
data
main memory
entry
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
JP58014063A
Other languages
Japanese (ja)
Inventor
Katsunobu Noda
野田 勝信
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 JP58014063A priority Critical patent/JPS59140686A/en
Publication of JPS59140686A publication Critical patent/JPS59140686A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units

Abstract

PURPOSE:To ensure an application of a region related to the update of data of a main memory by another information processor with high efficiency, by dividing the display of an address on a main memory into upper and lower digits and providing plural sets of buffer memories having addresses of the same number as those which can be indicated by said lower digits of the address. CONSTITUTION:When an address (b<2>) is set to an address register 4'', (b) exists in the entry of an address 2 of an index register 9'. Therefore the contents of the address 2 of a buffer memory 8' corresponding to the (b) correspond to ''LM'', and the corresponding validity display bit is set at ''0''. In addition, if the bit corresponding to the address 2 of a register 10 is set at ''0'', this bit is rewritten to ''1''. As a result, the data of a main memory 6'' are loaded to the entry of the address 2 of the memory 8' when the next loading is carried out to the address 2. Thus the entry data of the address 2 of the memory 8' remains.

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明は主メモリを複数の情報処理装置が共有スるシス
テムにおいて、ある情報処理装置が該主メモリのデータ
を更新したとき、他の情報処理装置が自蔵するバッファ
メモリに、更新前のデータを保持している場合、これを
無効とする処理に係るバッファメモリの効率的な制御に
関するものである。
Detailed Description of the Invention (1) Technical Field of the Invention The present invention relates to a system in which a main memory is shared by a plurality of information processing devices, and when one information processing device updates data in the main memory, other information The present invention relates to efficient control of the buffer memory related to processing for invalidating unupdated data when the processing device retains the data in its own buffer memory.

(2)技術の背景 情報処理装置においては、一般に記憶部からのデータの
読み出しや書き込みの速度が速いことと、記憶容量が大
であることが、要求される。これらの条件を満たし、か
つ経済的な装置を実現するため、大容量の主メモリとは
別に情報処理装置内部に、高速で比較的容量の小さいバ
ッファメモリを設け、主記憶装置のデータを一定の領域
ごとに該バッファメモリにロードして、処理を行なう方
法を採っている装置がある。この方法によれば、比較的
速度の遅い主メモリへのアクセス回数が少なくなり処理
の高速化が図れる。
(2) Background of the Technology Information processing devices are generally required to have high speeds in reading and writing data from a storage unit and large storage capacity. In order to meet these conditions and realize an economical device, a high-speed, relatively small-capacity buffer memory is provided inside the information processing device in addition to the large-capacity main memory, and the data in the main memory is stored at a certain level. Some devices employ a method of loading each area into the buffer memory and performing processing. According to this method, the number of accesses to the relatively slow main memory is reduced, and processing speed can be increased.

一方、システムの信頼性や、処理速度の向上を計る目的
、または特殊なシステム形式などのため、複数の情報処
理装置が主メモリを共有して処理を行なうようなシステ
ム構成を採る場合がある。前記バッファメモリを有する
情報処理装置により、この様なシステム構成を採った場
合、ある情報処理装置が主メモリ上のデータを更新した
とき、他の情報処理装置がすでに該データを自装置のバ
ッファメモリに保持していて、それが更新されたことを
知らずに使用すれば不都合を生ずる。
On the other hand, for the purpose of improving system reliability and processing speed, or for a special system type, a system configuration may be adopted in which a plurality of information processing apparatuses share a main memory to perform processing. If such a system configuration is adopted using information processing devices having the buffer memory, when one information processing device updates data on the main memory, another information processing device has already updated the data in its own buffer memory. If you keep it in your account and use it without knowing that it has been updated, it will cause inconvenience.

従って、記憶装置内のデータを更新したときは、そのア
ドレスが他の情報処理装置に送られ、これにより、該肖
領域のデータがすでに該情報処理装置のバッファメモリ
にあれば、これを無効にしたり、新データに書き替える
などの措置が採られる。
Therefore, when data in a storage device is updated, its address is sent to another information processing device, which invalidates the data in that area if it is already in the buffer memory of that information processing device. Measures may be taken, such as updating the data or rewriting it with new data.

(3)  従来技術と問題点 第1図は、従来のバッファメモリ制御の1例を示すブロ
ック図であって、1は情報処理装置、2はバッファメモ
リ、3はインデックスメモリ、4はアドレスレジスタ、
5は記憶装置、6は主メモリ、7は他の情報処理装置へ
の接続を表わしている。
(3) Prior art and problems FIG. 1 is a block diagram showing an example of conventional buffer memory control, in which 1 is an information processing device, 2 is a buffer memory, 3 is an index memory, 4 is an address register,
Reference numeral 5 represents a storage device, 6 a main memory, and 7 a connection to other information processing devices.

第1図において、主メモリ6は一定の領域(図のAAX
 BB等のデータが入っている1区画〕ごとに0.1.
2〜n等のアドレスが付されている。
In FIG. 1, the main memory 6 has a certain area (AAX in the figure).
0.1 for each section containing data such as BB.
Addresses such as 2 to n are assigned.

バッファメモリ2は前記主メモリ6の一定の領域と同じ
大きさの領域を複数個持っており、図に示される様に、
各領域(以下エントリと言う)ごとにアドレス(0〜n
)が付されている。
The buffer memory 2 has a plurality of areas of the same size as the fixed area of the main memory 6, and as shown in the figure,
Address (0 to n) for each area (hereinafter referred to as entry)
) is attached.

インデックスメモリ5はバッファメモリ2に対応す6る
tので、バッファメモリ2と同じアドレスを持つ同数の
エントリ會持っている。
Since the index memory 5 corresponds to the buffer memory 2, it has the same number of entries with the same addresses as the buffer memory 2.

各エントリには、対応するアドレスを持つバッファメモ
リのエントリの内容d=N効(11”で表わす〕である
か無効(NO4で表わす)であるかを下す有効性表示ビ
ットヒ)と、主メモリ6の一定の領域ごとのアドレス(
0〜n)を表示するに必要なビット数の領域を持ってい
る。
Each entry has a validity indicator bit (d=N) that determines whether the entry in the buffer memory with the corresponding address is valid (represented by 11") or invalid (represented by NO4), and a main memory 6 Address for each fixed area (
It has an area with the number of bits necessary to display (0 to n).

情報処理装置1が記憶装置5からあるアドレスのデータ
を読み出すときは、先ず、インデックスメモリ5を見て
該アドレスが存在するか、およびそのデータが有効であ
るかどうかを調べ、該アドレスが存在し、有効性が表示
(議1りされていれば、該アドレスがデータとして存在
するインデックスメモリ5のエントリと同じアドレスの
バッファメモリ2のエントリに書き込まれているデータ
を読み出す。
When the information processing device 1 reads data at a certain address from the storage device 5, it first checks the index memory 5 to check whether the address exists and whether the data is valid. , if the validity is displayed (determined), the data written in the entry in the buffer memory 2 at the same address as the entry in the index memory 5 where the address exists as data is read.

インデックスメモリ5を調べたとき、該当するアドレス
が存在しないか、または無効が表示されている場合は、
主メモリ6にアクセスして、該当アドレスのデータを読
み出し、該データをバッファメモリ2上の空いているエ
ントリ(有効性表示がされていないエントリ〕にVS込
み該エントリと同じアドレスを持つインデックスメモリ
3のエントリに主メモリ6上の該当するアドレスを書き
込む。空いているエン) IJが無いときは、それが有
効であっても先頭のアドレス(0査地)から順次書き替
えて行く。
When checking index memory 5, if the corresponding address does not exist or is displayed as invalid,
Access the main memory 6, read the data at the corresponding address, and put the data into an empty entry (an entry whose validity is not displayed) on the buffer memory 2. An entry in the index memory 3 having the same address as the entry Write the corresponding address in the main memory 6 to the IJ.If there is no free IJ, the IJ is rewritten sequentially starting from the first address (0 address) even if it is valid.

他の情報処理装置等によって主メモリ6の内容が更新さ
れたとき、主メモリ6の該当するアドレスがアドレスレ
ジスタ4にセットされる。該アドレスの値がインデック
スメモリ5のいずれかのエントリにあシ、それが有効と
表示されているときは、該エントリの有効性表示ビット
(イ〕を10”にする。
When the contents of the main memory 6 are updated by another information processing device or the like, the corresponding address of the main memory 6 is set in the address register 4. When the value of the address is in any entry of the index memory 5 and it is displayed as valid, the validity indicator bit (a) of the entry is set to 10''.

この方式はインデックスメモリ3から該当アドレスを探
すのに多くのエントリを対象に検索しなければならない
ので、処理速度が遅いと言う欠点があった。
This method has the disadvantage that the processing speed is slow because it is necessary to search many entries in order to search for the corresponding address in the index memory 3.

第2図は従来のバックアメモリ制御の他の例を示すブロ
ック図であって1′〜7′は第1図の1〜7と同様であ
る。
FIG. 2 is a block diagram showing another example of conventional backup memory control, and 1' to 7' are the same as 1 to 7 in FIG.

第2図において主メモリ6′は一定の領域(図のAB等
のデータが入っている1区画)ごトKaO1a+・・・
・・・等のアドレスを持っている。
In Fig. 2, the main memory 6' has a certain area (one section containing data such as AB in the figure).KaO1a+...
I have an address such as...

バックアメモリ2′は前記主メモリ6′の一定の大きさ
の領域と同じ大きさのエントリを複数個持っており、図
に示される様に、該エントリごとに0〜nのアドレスが
付されている。
The backup memory 2' has a plurality of entries of the same size as the fixed size area of the main memory 6', and as shown in the figure, each entry is assigned an address from 0 to n. There is.

0〜nのアドレスは前記主メモリ6′の一定の大きさの
領域ごとのアドレスaO1a+・・・・・・等の下位ア
ドレスであり、従ってバックアメモリ2′上のエントリ
の数とアドレスnは、該下位アドレスのビット数によっ
て決まる。(例えば6ビツトならばエントリは64個で
あり、そのアドレスは0〜65となる) インデックスメモリ5′はバッファメモリ2′に対応す
るもので、バックアメモリ2′と同じアドレスを持つ同
数のエントリを持っている。
Addresses 0 to n are lower addresses such as address aO1a+ for each area of a certain size in the main memory 6', and therefore the number of entries on the backup memory 2' and the address n are as follows: It is determined by the number of bits of the lower address. (For example, if it is 6 bits, there are 64 entries, and the addresses are 0 to 65.) Index memory 5' corresponds to buffer memory 2', and stores the same number of entries with the same addresses as backup memory 2'. have.

各エントリには、対応するアドレスを持つノくソファメ
モリ2′のエントリの内容が有効(11っであるか無効
(東0りであるかを示す有効性表示ピットビ]と、主メ
モリ6′の一定の大きさの領域のアドレス上位(a、b
X e・・・・・・等)を表示するに必要なビット数の
領域を持っている。
For each entry, the content of the entry in the memory 2' that has the corresponding address is valid (11 or invalid (validity display pit value indicating whether it is 0)), and the content of the entry in the main memory 6' is Upper addresses of a certain size area (a, b
It has an area with the number of bits necessary to display the data (Xe, etc.).

情報処理装置1′が主メモリ6′のデータを必要とする
ときは、まず、該データの存在する領域のアドレス下位
と同じアドレスのインデックスメモリ3′のエントリを
調べて、該領域のアドレス上位が存在し、有効性表示ピ
ットが議1”なら該エントリに対応するバッファメモリ
2′のエントリからデータを読み出して使用する。
When the information processing device 1' needs data in the main memory 6', it first checks the entry in the index memory 3' whose address is the same as the lower address of the area where the data exists, and then determines the upper address of the area. If the entry exists and the validity indicating pit is ``1'', data is read from the entry in the buffer memory 2' corresponding to the entry and used.

情報処理装置1′は、インデックスメモリ3′を調べた
とき、必要なデータがバッファメモリ2′に存在しない
ことが分ると、主メモリ6′にアクセスして該データの
含まれる領域を読み出し、これを該領域のアドレス下位
と同じ値のアドレスを持つバックアメモリ2′のエント
リに書き込み、一方、該領域のアドレス上位の値を、バ
ッファメモリ2′の該エントリに対応するインデックス
メモリ5′のエントリに書き込み、有効性表示ビット(
イ)を気1”にする。
When the information processing device 1' checks the index memory 3' and finds that the necessary data does not exist in the buffer memory 2', the information processing device 1' accesses the main memory 6' and reads the area containing the data. This is written to the entry of the backup memory 2' having the same value as the lower address of the area, and the value of the upper address of the area is written to the entry of the index memory 5' corresponding to the entry of the buffer memory 2'. Write to the validity indicator bit (
B) to 1".

他の情報処理装置等がメモリ6′の内容を更新したとき
は、そのアドレスが送られて米て、アドレスレジスタ4
′にセットされる。そしてインデックスメモリ5′の該
アドレスの下位(ハ)と同じアドレスを持つエントリに
該アドレスの上位(ロ)が存在すれば、有効性表示ビッ
ト(イ〕を10”にする。
When another information processing device updates the contents of the memory 6', the address is sent to the address register 4.
’. If the upper (b) of the address exists in the entry having the same address as the lower (c) of the address in the index memory 5', the validity indicating bit (a) is set to 10''.

プログラムやデータは、プログラムのアドレス修飾によ
って、一定のアドレス間隔で相似的に配置されることが
あり、アドレス上位が異なるアドレス下位の同じ領域を
継続して使用する場合があるがこの様なとき、この方式
では効率の良いバッファリングを行なえないと言う問題
点があった。
Programs and data may be arranged similar to each other at fixed address intervals due to program address modification, and the same area at lower addresses with different upper addresses may be continuously used, but in such cases, This method has a problem in that efficient buffering cannot be performed.

(4)発明の目的 本発明は他情報処理装置によって、主メモリのデータが
更新されたとき、これに関連する領域を利用出来る確率
の高い制御方式を提供することを目的としている。
(4) Purpose of the Invention It is an object of the present invention to provide a control method that has a high probability of making use of an area related to main memory data updated by another information processing device.

(5)発明の構成 そしてこの目的は、本発明によれば特許請求の範囲に記
載のとおり、他の情報処理装置と主メモリを共有し、該
主メモリのデータをバッファメモリにロードし、該バッ
ファメモリにアクセスして処理を行なう情報処理装置に
おいて、主メモリ上のアドレスの表示を上位桁と下位桁
に分割し該下位桁によって指示できる数と同数のアドレ
スtWするバッフ7メモリを複数組と、該バッファメモ
リの各アドレスの内容の有効性を表示するピットと該バ
ッファメモリに対応し該バッファメモリと同一組数で前
記主メモリの上位桁を表示するインデックスメモリと、
前記複数組のバッファメモリの同一アドレスの領域の内
、次に主メモリのデータをロードすべき一組を指示する
レジスタを設け、すでにバッファメモリの特定のアドレ
スに保持している主メモリのデータを他の情報処理装量
が曹き替えたとき、前記レジスタが該特定のアドレスの
バッファメモリを指示することを特徴とするバッファメ
モリ制御方式により達成される。
(5) Structure and object of the invention According to the present invention, as described in the claims, the main memory is shared with another information processing device, the data in the main memory is loaded into the buffer memory, and the data in the main memory is loaded into the buffer memory. In an information processing device that performs processing by accessing a buffer memory, the display of an address on the main memory is divided into high-order digits and low-order digits, and a plurality of sets of buffer 7 memories are provided with the same number of addresses TW as can be indicated by the low-order digits. , a pit that displays the validity of the contents of each address of the buffer memory, and an index memory that corresponds to the buffer memory and displays the upper digits of the main memory with the same number of sets as the buffer memory;
A register is provided to instruct one set of areas at the same address in the plurality of buffer memories to which main memory data should be loaded next, and the main memory data already held at a specific address in the buffer memory is loaded. This is achieved by a buffer memory control method characterized in that when the other information processing capacity is replaced, the register specifies the buffer memory at the specific address.

(6)  発明の実施例 第5図は本発明の1実施例を示すブロック図であって1
′および4“〜7”は第1図の1および4〜7と同様で
あり、8.8′はバッファメモリ、9.9′はインテッ
クスメモリ、TOはレジスタを表わしている。
(6) Embodiment of the invention FIG. 5 is a block diagram showing one embodiment of the invention.
' and 4'' to 7'' are the same as 1 and 4 to 7 in FIG. 1, 8.8' is a buffer memory, 9.9' is an index memory, and TO is a register.

第5図において、主メ七り6“は一定の大きさの領域(
図のAB等のデータが入っている1区画)ごとにLOX
 &j・・曲等のアドレスを持っている。
In Fig. 5, the main menu 6'' is an area of a certain size (
LOX for each block containing data such as AB in the diagram)
&j...I have the address of the song, etc.

バッファメモリ8は前記主メモリ6″の一定の大きさの
領域と同じ大きさのエントリを複数個持っており、図に
示される様に、該エントリごとに0〜nのアドレスが付
されている。
The buffer memory 8 has a plurality of entries of the same size as the fixed size area of the main memory 6'', and as shown in the figure, each entry is assigned an address of 0 to n. .

0〜nのアドレスは前記主メモリ6の一定の大きさの領
域ごとのアドレスIL0 、14・・曲等の下位ケトレ
スであり、従ってバッファメモリB上のエントリの数と
アドレスnは、該下位アドレスのビット数によって決ま
る。(例えば6ビツトならばエントリは64個であり、
そのアドレスは0〜63となる)バッフアメモリ8/%
同様である。
The addresses 0 to n are the addresses IL0, 14, etc. for each area of a certain size in the main memory 6, and are the lower order addresses of songs, etc. Therefore, the number of entries on the buffer memory B and the address n are the lower addresses of the addresses IL0, 14, etc. for each area of a certain size in the main memory 6. Determined by the number of bits. (For example, if it is 6 bits, there are 64 entries,
The address will be 0 to 63) Buffer memory 8/%
The same is true.

インデックスメモリ9はバッファメモリ8に対応するも
ので、バッファメモリ8と同じアドレスを持つ同数のエ
ントリを持っている。
Index memory 9 corresponds to buffer memory 8 and has the same number of entries with the same addresses as buffer memory 8.

各エントリには、対応するアドレスを持つバックアメモ
リのエントリの内容が有効(11”)であるか無効(1
0“)である力・を示す有効性表示ビットけ)と、主メ
モリ6′の一定の大きさの領域のアドレス上位(a、b
、c・・曲等)立表示するに必要なビット数の領域を持
っている。
Each entry indicates whether the contents of the backup memory entry with the corresponding address are valid (11”) or invalid (1”).
0"), and the upper addresses (a, b) of a certain size area of the main memory 6'.
, c... songs, etc.) has an area with the number of bits necessary for vertical display.

インデックスメモリ9′はバッファメモリ8′に対応す
るもので、内容は前記インデックスメモリ9の場合と全
く同様である。
Index memory 9' corresponds to buffer memory 8', and its contents are exactly the same as those of index memory 9 described above.

レジスタ10はインデックスメモリ9.9′の各エント
リに対応するビットをMしていて、それがSS O//
ならば、次に主メモリ6#のデータをロードするのはバ
ッファメモリ8のエントリであり、11”ならばバック
アメモリ8′のエントリであることを示している。(常
に2個のエン) IJの内光に使われたものを指すこと
になる) レジスタ4“は他の情報処理装置等が主メモリ6“のデ
ータを更新しとき、その領域のアドレスが入れられるも
ので、アドレス上位が(ロ)に、アドレス下位が(ハ)
に入れられる。
Register 10 has M bits corresponding to each entry in index memory 9.9', which is SS O//
If so, it means that the next data to be loaded from main memory 6# is the buffer memory 8 entry, and if it is 11", it is the backup memory 8' entry. (Always 2 entries) IJ When another information processing device, etc. updates the data in the main memory 6, the register 4 is used to store the address of that area, and the upper address is ( (b), the lower address is (c)
can be placed in

情報処理装置1“が主メモリ6“のデータを必要とする
ときは、まず、インデックスメモI79.9’の該デー
タの存在する領域のアドレス下位と同じアドレスのエン
トリを調べて、該領域のアドレス上位が存在し、有効性
表示ビットがvk+”なら該エントリf′C対応するバ
ッファメモリ8.8′のエントリからデータを読み出し
て使用する。
When the information processing device 1 "needs data in the main memory 6", first, it checks the entry with the same address as the lower address of the area where the data exists in the index memo I79.9', and finds the address of the area. If a higher order exists and the validity indicating bit is vk+'', data is read from the entry in the buffer memory 8.8' corresponding to the entry f'C and used.

情報処理装置1#は、インデックスメモリ9.9′を調
べたとき、必要なデータがバックアメモリ8.8′に存
在しないことが分ると、主メモリ6“にアクセスして、
該データの含まれる領域を読み出しこれをバッファメモ
リ8または8′にロードする。この時、該領域のアドレ
ス下位と同じアドレスを持つバッファメモリ8または8
′のいずれかのエントリの内、レジスタ10の対応する
ピットが蟻0“ならバッファメモリ8が、また11”な
らバッファメモリ8′が使用される。
When the information processing device 1# checks the index memory 9.9' and finds that the necessary data does not exist in the backup memory 8.8', it accesses the main memory 6'',
The area containing the data is read and loaded into the buffer memory 8 or 8'. At this time, buffer memory 8 or 8 having the same address as the lower address of the area
If the corresponding pit in the register 10 is an ant 0" in any entry of ', the buffer memory 8 is used, and if the corresponding pit is an ant 11", the buffer memory 8' is used.

他の情報処理装置等によって主メモリ6“の内容が更新
されたとき、その領域のアドレスがアドレスレジスタ4
″にセットされる。該アドレスの下位(ハ)と同じ値の
アドレスを持つインデックスメモリ9または9′のエン
トリにアドレスレジスタ4“にセットされたアドレスの
上位(口〕が格納されており、有効性表示ビットげ膜1
′1”になっていれば、指紋データがバックアメモリに
存在するので、該有効性表示ビット(() 會ゝゝ[1
11CL、て、該データが誤って使用されることを防止
する。
When the contents of the main memory 6'' are updated by another information processing device, etc., the address of that area is updated in the address register 4.
''.The entry in index memory 9 or 9' that has the same value as the lower address (c) of the address is stored with the upper address (opening) of the address set in address register 4'', and is valid. Gender indication bitch membrane 1
If it is '1', the fingerprint data exists in the backup memory, so the validity indication bit (() 會ゝゝ[1
11CL, to prevent the data from being used incorrectly.

例えば第3図のアドレスレジスタ4“にb2りるアドレ
スがセットされたときは、インデックスレジスタ9′の
アドレス2のエントリにbが存在するので、これに対応
するバッファメモリB′のアドレス2の内容’LM’が
該当するからその有効性表示ビットt−′0〃にする。
For example, when address b2 is set in address register 4'' in Figure 3, b exists in the entry at address 2 in index register 9', so the contents of address 2 in buffer memory B' correspond Since 'LM' is applicable, its validity indicator bit is set to t-'0.

更に、このとき、レジスタ10のアドレス2に対応する
ビットが蟻0”になっていればこれを11”に書き替え
る。
Furthermore, at this time, if the bit corresponding to address 2 of the register 10 is 0'', it is rewritten to 11''.

これによって、アドレス2への次のロートの機会に主メ
モリ6”のデータにバッファメモリ8′のアドレス2の
エントリにロードすることになるので、バックアメモリ
8のアドレス2のエントリのデータは残存する。
As a result, the data in the main memory 6'' will be loaded into the entry at address 2 in the buffer memory 8' at the next load to address 2, so the data in the entry at address 2 in the backup memory 8 will remain. .

(7)発明の効果 以上詳細に説明したように、本発明の方式によれば、他
の情報処理装置と主メモリを共有し、該主メモリのデー
タを一定の大きさごとに自蔵するバッファメモリにロー
ドして、該バックアメモリにアクセスして処理を行なう
情報処理装置において、2面のバッファメモリとインデ
ックスメモリおよびいずれの面を使うかを指示するレジ
スタを設けて、通常は常に古いデータのロードされてい
る面に新らたなるデータをロードする如く交互にレジス
タの表示を書き替える様制御し、他の情報処理装置等が
、主メモリのデータ七更新した場合で、該データが、バ
ッファメモリに保持されていたため、これを無効とした
とき、前記レジスタ内容の交互性に関係なく該バッファ
メモリのエン) IJ面を次の機会の使用に供する様書
き替えるので、他情報処理装置等によって、主メモリ上
のデータが更新されたときにも1同一下位アドレスを有
し、アドレス上位の異なるデータは残存するから、デー
タのバッファメモリ存在確率が大となる利点を有し効果
は大である。
(7) Effects of the Invention As explained in detail above, according to the method of the present invention, the main memory is shared with other information processing devices, and the data in the main memory is stored in a buffer of a certain size. In an information processing device that loads data into memory and processes it by accessing the backup memory, it is usually equipped with two sides of buffer memory and index memory, and a register to instruct which side to use. Control is performed so that the display of the register is alternately rewritten so that new data is loaded into the loaded side, and when another information processing device etc. updates the data in the main memory, the data is stored in the buffer. Since it was held in memory, when it is invalidated, the IJ side of the buffer memory is rewritten to be used the next time, regardless of the alternating nature of the register contents, so it cannot be used by other information processing devices, etc. , even when the data in the main memory is updated, it has the same lower address and the different data at the higher address remains, so it has the advantage that the probability that the data exists in the buffer memory is high, and the effect is great. .

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

第1図は従来のバッファメモリ制御の1例を示すブロッ
ク図、第2図は従来のバックアメモリ制御の他の例を示
すブロック図、第3図は本発明の1実施例會示すブロッ
ク図である。 1.1′、1′・・・情報処理装置、2.2′・・・バ
ッファメモリ、5.5’・・・インデックスメモリ、4
.4′、4“…アドレスレジスタ、5.5′、5“・・
・記憶装置、6.6′、6″・・・主メモリ、7.7′
、7“・・・他の情報処理装置への接続、8.8′・・
・バッファメモリ、9.9′・・・インデックスメモリ
、1゜・・・レジスタ、(イ)・・・有効性表示ビット
、(ロ)・・・アドレス上位、e→・・・アドレス下位 卒1図 W−3図 グーl
FIG. 1 is a block diagram showing one example of conventional buffer memory control, FIG. 2 is a block diagram showing another example of conventional backup memory control, and FIG. 3 is a block diagram showing one embodiment of the present invention. . 1.1', 1'... Information processing device, 2.2'... Buffer memory, 5.5'... Index memory, 4
.. 4', 4"...address register, 5.5', 5"...
・Storage device, 6.6', 6''...Main memory, 7.7'
, 7"...Connection to other information processing devices, 8.8'...
・Buffer memory, 9.9'... Index memory, 1゜... Register, (a)... Validity display bit, (b)... Upper address, e→... Lower address 1 Figure W-3 Figure Gool

Claims (1)

【特許請求の範囲】[Claims] 他の情報処理装置と主メモリを共有し、該主メモリのデ
ータをバックアメモリにロードし、該バックアメモリに
アクセスして処理を行なう情報処理装置において、主メ
モリ上のアドレスの表示を上位桁と下位桁に分割し該下
位桁によって指示できる数と同数のアドレスtWするバ
ッファメモリを複数組と、該バッファメモリの各アドレ
スの内容の有効性を表示するビットと該バックアメモリ
に対応し該バッファメモリド同一組数で前記主メモリの
上位桁を表示するインデックスメモリと、前記複数組の
バッファメモリの同一アドレスの領域の内、次に主メモ
リのデータをロードすべき一組を指示するレジスタを設
け、すでにバッファメモリの特定のアドレスに保持して
いる主メモリのデータを他の情報処理装置が書き替えた
とき前記レジスタが該!定のアドレスのバッファメモリ
を指示することを特徴とするバラ・7アメモリ制御方式
In an information processing device that shares main memory with another information processing device, loads data in the main memory to a backup memory, and accesses the backup memory to perform processing, addresses on the main memory are displayed as upper digits. A plurality of sets of buffer memories divided into lower digits and having the same number of addresses TW as can be indicated by the lower digits, a bit indicating the validity of the contents of each address of the buffer memory, and a bit corresponding to the backup memory and the buffer memory. an index memory that displays the upper digits of the main memory with the same number of sets; and a register that indicates which set of the same address areas of the plurality of buffer memories should be loaded next with data in the main memory. , when another information processing device rewrites data in the main memory that is already held at a specific address in the buffer memory, the register changes to the corresponding address! A discrete 7-A memory control method characterized by specifying a buffer memory at a fixed address.
JP58014063A 1983-01-31 1983-01-31 Control system of buffer memory Pending JPS59140686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58014063A JPS59140686A (en) 1983-01-31 1983-01-31 Control system of buffer memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58014063A JPS59140686A (en) 1983-01-31 1983-01-31 Control system of buffer memory

Publications (1)

Publication Number Publication Date
JPS59140686A true JPS59140686A (en) 1984-08-13

Family

ID=11850626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58014063A Pending JPS59140686A (en) 1983-01-31 1983-01-31 Control system of buffer memory

Country Status (1)

Country Link
JP (1) JPS59140686A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS556669A (en) * 1978-06-30 1980-01-18 Fujitsu Ltd Buffer memory unit
JPS5718074A (en) * 1980-07-08 1982-01-29 Nec Corp Buffer memory device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS556669A (en) * 1978-06-30 1980-01-18 Fujitsu Ltd Buffer memory unit
JPS5718074A (en) * 1980-07-08 1982-01-29 Nec Corp Buffer memory device

Similar Documents

Publication Publication Date Title
JPH0668735B2 (en) Cache memory
US5893148A (en) System and method for allocating cache memory storage space
JPH06110781A (en) Cache memory device
US4290103A (en) System and method for achieving buffer memory coincidence in a multiprocessor system
GB1245601A (en) Data storage apparatus
US6341325B2 (en) Method and apparatus for addressing main memory contents including a directory structure in a computer system
JPH04233643A (en) Control apparatus for buffer memory
US4992977A (en) Cache memory device constituting a memory device used in a computer
JPH01290050A (en) Buffer memory
US4349875A (en) Buffer storage control apparatus
JP3929872B2 (en) Cache memory, processor and cache control method
JPS59140686A (en) Control system of buffer memory
KR100517765B1 (en) Cache memory and control method thereof
KR960015231A (en) Enhanced Addressing Method and System
JPH0529943B2 (en)
JPS6329298B2 (en)
JPS6398749A (en) Data processor
JP3262182B2 (en) Cache memory system and microprocessor device
JPS6029419B2 (en) buffer memory device
JPH1091527A (en) Storage device and storage medium
JPH0784886A (en) Method and unit for cache memory control
JP3074897B2 (en) Memory circuit
JPS589452B2 (en) Firmware broom
JP2635310B2 (en) Address translation device
JP2006190036A (en) Memory controller, nonvolatile storage device, nonvolatile storage system, and memory control method