JPH0415494B2 - - Google Patents

Info

Publication number
JPH0415494B2
JPH0415494B2 JP60131792A JP13179285A JPH0415494B2 JP H0415494 B2 JPH0415494 B2 JP H0415494B2 JP 60131792 A JP60131792 A JP 60131792A JP 13179285 A JP13179285 A JP 13179285A JP H0415494 B2 JPH0415494 B2 JP H0415494B2
Authority
JP
Japan
Prior art keywords
data
memory
memories
read
hierarchical storage
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
JP60131792A
Other languages
Japanese (ja)
Other versions
JPS61290550A (en
Inventor
Yasuhiko Matsura
Junichi Takuri
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60131792A priority Critical patent/JPS61290550A/en
Publication of JPS61290550A publication Critical patent/JPS61290550A/en
Publication of JPH0415494B2 publication Critical patent/JPH0415494B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、階層記憶の制御に係り、特に当該メ
モリと下位メモリとの間にストア制御としてスト
アイン方式を採用する階層記憶制御方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to the control of hierarchical storage, and particularly to a hierarchical storage control method that employs a store-in method as store control between the memory concerned and a lower memory.

〔発明の背景〕[Background of the invention]

従来、高速の演算処理装置と低速・大容量のメ
インメモリ(以下MSと称する)とのスピード差
を埋める方法として、特開昭48−38036号公報に
記載のように、高速・小容量のバツフアメモリ
(以下BSと称する)を演算処理装置内に設け2階
層メモリ装置とする方法が実用化されている。
Conventionally, as a method to bridge the speed difference between a high-speed arithmetic processing unit and a low-speed, large-capacity main memory (hereinafter referred to as MS), a high-speed, small-capacity buffer memory, as described in Japanese Patent Application Laid-open No. 48-38036, has been proposed. A method has been put into practical use in which a BS (hereinafter referred to as BS) is provided in an arithmetic processing unit to form a two-layer memory device.

近年、半導体技術の進歩により演算処理装置と
BSは年々高速化される一方で、MSのスピードは
大容量・低価格を要求されるためにほとんど改善
されず、両者のスピードギヤツプは拡大しMSの
スピードが障害となり性能向上が難しくなつてい
る。
In recent years, due to advances in semiconductor technology, arithmetic processing devices and
While BS is getting faster every year, the speed of MS has hardly improved due to the demand for large capacity and low price, and the speed gap between the two is widening, making it difficult to improve performance as the speed of MS becomes an obstacle.

この改善策として、前記公知例で示したような
BSとMSとの間に、新たに中速・中容量のワーク
メモリ(以下WSと称す)を設け、レベル1を
BS、レベル2をWS、および、レベル3をMSと
する3階層メモリ装置にする方法がある。
As an improvement measure, as shown in the above-mentioned known example,
A new medium-speed, medium-capacity work memory (hereinafter referred to as WS) is installed between BS and MS, and level 1 is
There is a method of creating a three-layer memory device in which BS, level 2 is WS, and level 3 is MS.

ここで、一般にあるレベルのデータが更新され
るとそれより下位のレベルの当該データを直ちに
更新することを「ストアスルー」方式と呼び、下
位レベルに当該データを戻す際に更新することを
「ストアイン」方式と呼ぶ。
In general, when data at a certain level is updated, the corresponding data at a lower level is immediately updated, which is called the "store-through" method, and updating when returning the data to a lower level is called the "store-through" method. This is called the "in" method.

BS−MS間、BS−WS間またはWS−MS間を
ストアイン方式で制御する場合、当該メモリに所
望のデータがなかつた場合、同一レベルの他のメ
モリ(他のBSまたは他のWS)に最新データが存
在する可能性がある。従つてこの場合、当該メモ
リから下位レベルのメモリに対して当該データの
読出し要求を発行するとともに、同一レベルの他
のメモリに問合せを行つて、当該データの最新デ
ータが存在するか否かを調べ、最新データが存在
する場合には、当該メモリはこの最新データを取
り込む必要があるとともに、下位レベルのメモリ
中の当該データをこの最新データで置換しなけれ
ばならない。このようにして、BS→MS(WS)
→BSまたはWS→MS→WSのような最新データ
の転送と各メモリへの書込みを以下バイパス動作
と称する。
When controlling between BS and MS, between BS and WS, or between WS and MS using the store-in method, if the desired data is not in the memory, it is stored in another memory at the same level (another BS or another WS). Latest data may exist. Therefore, in this case, a request is issued to read the data from the memory at the lower level, and at the same time, queries are made to other memories at the same level to check whether the latest data for the data exists. , if the latest data exists, the memory must capture this latest data and replace the data in the lower level memory with this latest data. In this way, BS→MS(WS)
The transfer of the latest data such as →BS or WS→MS→WS and writing to each memory will be referred to as bypass operation hereinafter.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、上記のようなストアイン制御
方式の階層記憶において、バイパス動作を効率よ
く行うことにあり、すなわち、キヤツシユミスし
た場合のストアインメモリ間またはストアインメ
モリと下位メモリ間でのデータ授受制御の改善、
メモリオーバヘツドの改善を行うことにある。
An object of the present invention is to efficiently perform a bypass operation in hierarchical storage using the store-in control method as described above. In other words, in the case of a cache miss, data is transferred between store-in memories or between a store-in memory and a lower memory. Improving transfer control,
The purpose is to improve memory overhead.

〔発明の概要〕[Summary of the invention]

本発明は、同一レベルの複数個の第1メモリと
該第1メモリに共通に接続される下位レベルの第
2メモリとが階層記憶を構成し、第1メモリから
第2メモリへのストアがストアイン方式に基づい
て制御される階層記憶制御方式を前提とする。
In the present invention, a plurality of first memories at the same level and a second memory at a lower level commonly connected to the first memories constitute a hierarchical memory, and a store from the first memory to a second memory is a store. The premise is a hierarchical storage control method that is controlled based on the In method.

本発明はこのような方式において、第1のメモ
リの1つに対して要求されたデータが該第1のメ
モリの1つに存在しないとき、該第1のメモリの
1つは、第2メモリに対して当該データの読出し
要求を発行して第2メモリから当該データを読出
さしめると同時に他の第1メモリに対して該他の
第1メモリに当該データの更新されたものである
更新データが存在するかどうかを照会し、照会の
結果、該更新データが存在する場合には、前記他
の第1メモリから前記更新データを第2メモリへ
転送し、前記第2メモリは該メモリから読出され
たデータを前記更新データで入替えて該更新デー
タを前記第1のメモリの1つに転送するように
し、かつ前記データの入替えが完了したとき要求
元の前記第1メモリの1つから送られる転送許可
信号を受けるまで該要求元へのデータ転送を保留
するよう構成された階層記憶制御方式を特徴とす
る。
In such a manner, the present invention provides that when the data requested for one of the first memories is not present in the one of the first memories, the one of the first memories is transferred to the second memory. Issue a read request for the data to the second memory to read the data from the second memory, and at the same time update data that is an updated version of the data to the other first memory. If the update data exists as a result of the inquiry, the update data is transferred from the other first memory to a second memory, and the second memory reads the update data from the memory. the updated data is replaced with the updated data and the updated data is transferred to one of the first memories, and when the data replacement is completed, the data is sent from one of the requesting first memories. The present invention is characterized by a hierarchical storage control method configured to suspend data transfer to the request source until a transfer permission signal is received.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例について図面を用いて
説明する。
An embodiment of the present invention will be described below with reference to the drawings.

第1図は、本実施例の全体のブロツク図であ
り、0〜3は演算処理装置(以下IP0〜3とい
う)であり、4−0〜4−3はIP0〜3のそれ
ぞれのバツフアメモリ(以下BS4−0〜4−3
という)であり、5−0〜5−3はBS4−0〜
4−3に収容されたデータのアドレスを格納して
いるバツフアアドレスアレイ(以下BAA5−0
〜5−3という)である。6−0および6−1は
IP0とIP1,IP2とIP3のそれぞれの組が共有
するワークメモリ(以下WS6−0,6−1)で
あり、7−0,7−1はWS6−0,6−1それ
ぞれの制御回路(以下WSC7−0,7−1とい
う)である。17はWS6−0,6−1が共有す
るメインメモリ(以下MSという)である。18
〜24は前記ユニツトを第1図の如く接続するイ
ンターフエースケーブル(以下CB18〜24と
いう)である。以上を構成要素とし、このうち
BS(以下個別のBSを意識せずBS全体をいうとき
には符号を省略する。)をレベル1、WSをレベ
ル2、MSをレベル3とする3階層から成る多重
階層メモリ装置を構成する。以下の実施例の説明
では、BS−WS間はストアスルー方式で制御さ
れ、WS−MS間はストアイン方式で制御される
ものとする。ここで、CB18−21とCB23,
24は太い実線で示しCB22のみ細い実線で示
したのは、前者はデータ線と制御線から成るのに
対し、後者は制御線のみから成ることを区別する
ためである。
FIG. 1 is an overall block diagram of this embodiment, in which 0 to 3 are arithmetic processing units (hereinafter referred to as IP0 to 3), and 4-0 to 4-3 are buffer memories (hereinafter referred to as IP0 to 3) of each of IP0 to IP3. BS4-0~4-3
), and 5-0 to 5-3 are BS4-0 to
The buffer address array (hereinafter referred to as BAA5-0) stores the addresses of the data stored in 4-3.
~5-3). 6-0 and 6-1 are
The work memory (hereinafter referred to as WS6-0, 6-1) is shared by each set of IP0 and IP1, and IP2 and IP3, and 7-0 and 7-1 are the control circuits (hereinafter referred to as WS6-0 and WS6-1) of each of WS6-0 and 6-1. WSC7-0, 7-1). 17 is a main memory (hereinafter referred to as MS) shared by the WSs 6-0 and 6-1. 18
-24 are interface cables (hereinafter referred to as CB18-24) that connect the units as shown in FIG. The above are the constituent elements, of which
A multi-layer memory device is constituted of three layers: BS (hereinafter, when referring to the entire BS without considering individual BSs, the reference numerals are omitted) as level 1, WS as level 2, and MS as level 3. In the following description of the embodiment, it is assumed that control between BS and WS is performed using a store-through method, and control between WS and MS is performed using a store-in method. Here, CB18-21 and CB23,
24 is shown with a thick solid line, and only CB 22 is shown with a thin solid line to distinguish that the former consists of data lines and control lines, while the latter consists of only control lines.

次に本実施例で示すメモリ間のデータの一致保
証について説明する。データの一致保証はBS−
BS間、BS−WS間、WS−WS間、WS−MS間に
おける一致保証に分けられる。
Next, the guarantee of data consistency between memories shown in this embodiment will be explained. Data match guarantee is BS−
It can be divided into consistency guarantees between BSs, between BSs and WSs, between WSs and WSs, and between WSs and MSs.

第2図はBS−WS間をストアスルー方式で制御
する場合のBS−BS,BS−WS間の一致保証回路
を示している。第2図はWSC7−0の一部をさ
らに詳細に示しており、25,26はフロントア
ドレスアレイ(以下FAA25,26という。)、
27は判定回路、28はワークアドレスアレイ
(以下WAA28という。)である。ここで、FAA
25とFAA26はBAA5−0とBAA5−1の
内容を写したものであり、WAA28−0はWS
6−0に収容されるデータのアドレスを格納して
いる。第1図に示すIP0でストア要求が発生す
ると、BAA5−0が検索され、その結果ストア
されるべきデータのアドレスがあればBS4−0
にストアし、なければストアしない。次にストア
スルー方式であるので、WS6−0にはBS4−0
の有無にかかわらずこのデータがストアされる。
WSC7−0はWAA28−0を検索し、当該アド
レスがあれば無条件でWSにストアし、なければ
MSより当該アドレスデータを読出してからスト
アするがMSより読出しについては後述する。こ
の状態で、BS4−1にも当該アドレスのデータ
が存在していれば、BS4−1の内容は古くなつ
ており、BS4−0とWS6−0は一致している
が、BS4−1とBS4−0,WS6−0とは不一
致である。次に、FAA26を検索し、当該アド
レスがBS4−1に存在するか否かを調べ、存在
すれば、FAA26の当該アドレスをキヤンセル
するとともに、CB19でBAA5−1,BS4−
1の当該アドレスをキヤンセルする。この状態
で、IP1はBS4−1内の当該アドレスのデータ
が使えなくなり、使うとすればWS6−0より読
出すことになり、BS4−0−BS4−1間、BS
4−0−WS6−0間、BS4−1−WS6−0間
の一致を保証する。
FIG. 2 shows a matching guarantee circuit between BS and BS and BS and WS when controlling BS and WS using the store-through method. Figure 2 shows a part of WSC7-0 in more detail, with 25 and 26 being front address arrays (hereinafter referred to as FAA25 and 26);
27 is a determination circuit, and 28 is a work address array (hereinafter referred to as WAA 28). Here, the F.A.A.A.
25 and FAA26 are copies of BAA5-0 and BAA5-1, and WAA28-0 is WS
6-0 is stored. When a store request occurs at IP0 shown in Figure 1, BAA5-0 is searched, and if there is an address of data to be stored, BS4-0
If there is, it is not stored. Next, since it is a store-through method, WS6-0 has BS4-0
This data is stored regardless of whether the
WSC7-0 searches for WAA28-0, and if the address is found, it is stored in the WS unconditionally; if not, it is stored in the WS.
The address data is read from the MS and then stored, but reading from the MS will be described later. In this state, if data for the address also exists in BS4-1, the contents of BS4-1 are outdated, and BS4-0 and WS6-0 match, but BS4-1 and BS4 -0, which is inconsistent with WS6-0. Next, search FAA26 to check whether the address exists in BS4-1, and if it exists, cancel the address in FAA26 and use CB19 to cancel the address in BAA5-1, BS4-1.
Cancel the corresponding address of 1. In this state, IP1 can no longer use the data at the address in BS4-1, and if it wants to use it, it will have to read it from WS6-0.
4-0-WS6-0 and BS4-1-WS6-0 are guaranteed.

BS4−2,4−3とWS6−1の間について
も、同様に考えれば一致保証ができる。また、デ
ータの読出し動作の場合は、BS4−0とBS4−
1で不一致が生じないので、BS4−0,WS6−
0の順に検索しWS6−0にも無ければMSより
読出す。WS6−1系も第2図に示すWS6−0
系と同様である。
Concordance can be guaranteed between BS4-2, 4-3 and WS6-1 by thinking in the same way. In addition, in the case of data read operation, BS4-0 and BS4-
Since no discrepancy occurs with 1, BS4-0, WS6-
It is searched in the order of 0 and if it is not found in WS6-0, it is read from MS. The WS6-1 series is also the WS6-0 shown in Figure 2.
It is similar to the system.

前述の例で、BS4−0にもWS6−0にも当該
データがなかつた場合に単にMSより読出すと表
現したが、実はWS−MS間はストアイン方式の
ためWS6−1に最新データが存在する可能性が
有る。そのため、WSC7−0には第3図に示す
メモリ構成のテーブルを持ちWS間の間合せ制御
を行つている。
In the above example, it was expressed that if the relevant data was not present in either BS4-0 or WS6-0, it would simply be read from the MS, but in reality, the latest data is stored in WS6-1 because of the store-in method between WS and MS. There is a possibility that it exists. Therefore, the WSC 7-0 has a table with a memory configuration shown in FIG. 3 to control the timing between the WSs.

第3図において、31はアドレスレジスタであ
り、IP0のアクセス要求のあつたアドレスを格
納しており、下位ビツトはWAA28−0のカラ
ムアドレスを示し、上位ビツトがエントリとして
登録される。32−0はイクスクルーシブビツト
アレイ(以下EXA32−0という)でありWAA
28−0のエントリ毎にBS4−1とWS6−1に
存在する可能性があるかないかを示し、“1”で
あればその可能性がなく(排他)、“0”であれば
その可能性が有ることを示す。33−0はチエン
ジビツトアレイ(CBA33−0)であり、WAA
28−0エントリ毎にストアしたか否かの情報を
もち、ストアした場合に、“1”を書込む。34
は比較器であり、WAA28−0に登録されたエ
ントリーとアドレスレジスタ31の上位ビツトを
比較し、当該アドレスがWS6−0に有るか否か
を判断し、有れば“1”を出力する。ここで、
WAA28−0,EXA32−0、CBA33−0
は共に4ロー構成としたが、ロー数は任意であ
り、また、WSC7−1には同様にWAA28−
1,EXA32−1,CBA33−1が有る。
In FIG. 3, numeral 31 is an address register which stores the address requested by IP0, the lower bits indicate the column address of WAA 28-0, and the upper bits are registered as entries. 32-0 is an exclusive bit array (hereinafter referred to as EXA32-0) and is a WAA
Each entry in 28-0 indicates whether there is a possibility of it existing in BS4-1 and WS6-1. If it is "1", there is no possibility (exclusive), and if it is "0", there is a possibility. It shows that there is. 33-0 is a change bit array (CBA33-0), WAA
Each 28-0 entry has information on whether or not it has been stored, and if it has been stored, "1" is written. 34
is a comparator that compares the entry registered in the WAA 28-0 with the upper bit of the address register 31, determines whether or not the address exists in the WS 6-0, and outputs "1" if the address exists. here,
WAA28-0, EXA32-0, CBA33-0
Both have a 4-row configuration, but the number of rows is arbitrary, and the WSC7-1 also has a WAA28-
1, EXA32-1, CBA33-1 are available.

第4図は、BS4−0にもWS6−0にも当該ア
ドレスのデータが存在しなかつた場合の各レベル
のメモリ間の制御を示す。は第1図のBAA5
−0を検索した結果、BS4−0になかつた
(NiBS;ノツト・イン・BS)ことを示し、で
WS6−0に問合せ、ストアの場合は書込みデー
タも送る。は、第3図に示すWAA28−0を
検索した結果、比較器34から“0”が出力され
WS6−0になかつた(NiWS;ノツト・イン・
WS)ことを示す。
FIG. 4 shows control between memories at each level when data at the address does not exist in either BS4-0 or WS6-0. is BAA5 in Figure 1
As a result of searching for -0, it indicates that it has not reached BS4-0 (NiBS; Not in BS).
Inquires of WS6-0, and also sends write data in case of store. As a result of searching WAA28-0 shown in Figure 3, "0" is output from the comparator 34.
Not in WS6-0 (NiWS; Not in
WS).

NiWSを検出すると、WS6−0はでMS1
7に当該データの読出しを要求すると同時に、
でWS6−1に当該データのアドレスを送り、最
新データの有無を検証する。WSC7−1は第3
図と同様にアドレスレジスタとWAA28−1,
EXA32−1,CBA33−1と比較器をもち、
WS6−0より送られたアドレスはこのアドレス
レジスタに格納され、WAA28−1,EXA32
−1,CBA33−1の検索シーケンスが起動さ
れる。検索結果は8通り考えられるが、この内、
WS6−1またはBS4−1に最新データが有るの
は、の如く比較器の出力が“1”となりWS6
−1に当該データが有る(WS;インWS)こと
を示し、EXA32−1のEXビツト=1であり
WS6−0には当該データが無いことを示し、か
つ、CBA33−1のCビツト=1でありWS6−
1で当該データが更新されたことを示しているケ
ースのみである。残る7つのケースはMS内の当
該データが最新であり、の要求でMSより読出
したデータがWS6−0に送られる。の状態を
検出すると、WS6−1はのバイパス動作を起
動しMSに最新データを転送し、同時に以下のデ
ータ転送によりWS6−1,MS,WS6−0の一
致保証が可能となるのでEXビツト=0、Cビツ
ト=0にする。また、でバイパス動作を起動し
たことをWS6−0に報告する。MSはの要求
で読出した旧データの代りにこのバイパスデータ
を読出しデータとしてでWS6−0に送り出
し、同時に、でMS自身、当該アドレスにスト
アしデータを最新にする。なお、は必須動作で
はなく、MSへの書込みはせずに最新データは引
き続きWSに存在する状態で管理してもよい。
でMSから送られたデータはWS6−0にストア
されるが、IP0の要求が読出し要求であればこ
のストアしたデータをでBS4−0へ転送し、
要求がストアであればこのストアしたデータに更
にIP0からのデータをストアする。
When NiWS is detected, WS6-0 is MS1
At the same time as requesting 7 to read the data,
Sends the address of the data to WS6-1 and verifies whether the latest data is available. WSC7-1 is third
As shown in the figure, the address register and WAA28-1,
Has EXA32-1, CBA33-1 and a comparator,
The address sent from WS6-0 is stored in this address register, and WAA28-1, EXA32
-1, the search sequence for CBA33-1 is activated. There are 8 possible search results, of which:
If WS6-1 or BS4-1 has the latest data, the output of the comparator becomes "1" and WS6
-1 indicates that the relevant data exists (WS; in WS), and the EX bit of EXA32-1 is 1.
WS6-0 indicates that there is no relevant data, and the C bit of CBA33-1 is 1, and WS6-0
This is only the case where 1 indicates that the data has been updated. In the remaining seven cases, the data in the MS is the latest, and the data read from the MS is sent to the WS 6-0 upon request. When the state of 0, C bit = 0. It also reports to WS6-0 that the bypass operation has been activated. The MS sends this bypass data as read data to the WS 6-0 in place of the old data read at the request of the MS, and at the same time, the MS itself stores the data at the corresponding address to update the data. Note that this is not a required operation, and the latest data may be managed while still existing in the WS without being written to the MS.
The data sent from the MS is stored in WS6-0, but if the request from IP0 is a read request, this stored data is transferred to BS4-0,
If the request is for a store, data from IP0 is further stored in this stored data.

第5図は、第4図のうち〜をタイムチヤー
トで示したものである。ここで注目すべきは、
WS6−0より送られたビジイ信号がMS17内
でラツチされてリードデータの送出を保留させ、
の検索の結果バイパスが起動されれば、WS6
−1よりその旨をでWS6−0に報告される
と、WS6−0はバイパスデータがMSに到着し、
リードデータと入替つてMSより送出できる様に
なるまでの時間を見計いビジイ信号を落とし、バ
イパスデータを受付可能とすることである。一
方、バイパス動作が起動しなかつたならば、直ち
にビジイを落し、リードデータを受付ける。
FIG. 5 is a time chart showing .about. in FIG. 4. What should be noted here is that
The busy signal sent from WS6-0 is latched in MS17, suspending the sending of read data,
If the bypass is activated as a result of the search, WS6
-1 reports this to WS6-0, and WS6-0 receives the bypass data and sends it to the MS.
The purpose is to drop the busy signal and make it possible to accept bypass data by determining the time until it can be sent from the MS in place of the read data. On the other hand, if the bypass operation is not started, the busy state is immediately dropped and read data is accepted.

第4図とは逆に、WS6−1に当該データがな
く、WS6−0に最新データがあればWS6−0
よりバイパス動作を起動するが、前述と同様に処
理される。
Contrary to Figure 4, if WS6-1 does not have the relevant data and WS6-0 has the latest data, WS6-1
This activates the bypass operation, but is handled in the same way as described above.

第6図は第4図、第5図に示す動作を実現する
ための回路構成を示したものである。第2図と同
じく27は判定回路であり、また〜は、第4
図および第5図と同じ動作を意味する。61はリ
クエスト制御回路であり、でNiWSを検出した
ときMS17に対しでリードリクエストを送
る。62はビジイ制御回路であり、の時にMS
17へでビジイ信号を送り、でビジイ信号を
リセツトする。63は第3図の問合せ制御回路で
あり、当該データがBS4−1,WS6−1に存在
する可能性をチエツクし、可能性があればで問
合せる。64も問合せ回路であるがの問合せに
対して当該データの最新データがWS6−1に存
在するか否かを判定し、存在すればでWS6−
0に応答し、同時にのバイパス動作を起動し、
68のデータレジスタに最新データを送る。65
はリクエスト受付けラツチであり、でリードリ
クエストを受付けるとRAM71よりデータを読
出しリードデータレジスタ69にセツトする。ビ
ジイ受付けラツチ66はビジイ制御回路62より
送られたビジイ信号をラツチしセレクタ67に送
る。セレクタ67はビジイ信号がセツトされてい
ると、WS6−0へのデータ転送を止め、そうで
ないとき、でなければリードデータレジスタ6
9を選択し、であればデータレジスタ68を選
択しでWS6−0へデータ転送する。したがつ
て、前述の如く、でバイパスデータがMSに送
られるまでビジイ信号をセツト状態にしておけば
リードデータの送出を抑止できる。なおビジイ信
号をリセツトすることはMSが転送許可信号を受
けることと等価である。70はライトデータレジ
スタであり、データレジスタ68にある最新デー
タを任意の時間にで転送しRAM71に書込ん
でもよい。
FIG. 6 shows a circuit configuration for realizing the operations shown in FIGS. 4 and 5. As in FIG. 2, 27 is a determination circuit, and ~ is a fourth circuit.
This means the same operation as in FIG. A request control circuit 61 sends a read request to the MS 17 when NiWS is detected. 62 is a busy control circuit, when MS
A busy signal is sent at 17, and the busy signal is reset at 17. 63 is an inquiry control circuit shown in FIG. 3, which checks the possibility that the data exists in BS4-1 and WS6-1, and if there is a possibility, makes an inquiry. 64 is also an inquiry circuit, which judges whether or not the latest data of the relevant data exists in WS6-1 in response to an inquiry, and if it exists, it sends it to WS6-1.
0 and activates simultaneous bypass operation;
Send the latest data to 68 data registers. 65
is a request acceptance latch, and when a read request is accepted, data is read from the RAM 71 and set in the read data register 69. The busy reception latch 66 latches the busy signal sent from the busy control circuit 62 and sends it to the selector 67. When the busy signal is set, the selector 67 stops data transfer to WS6-0, and when the busy signal is set, the selector 67 stops data transfer to the read data register 6.
9 is selected, the data register 68 is selected and the data is transferred to the WS 6-0. Therefore, as described above, by keeping the busy signal in the set state until the bypass data is sent to the MS, the sending of read data can be suppressed. Note that resetting the busy signal is equivalent to the MS receiving a transfer permission signal. 70 is a write data register, and the latest data in the data register 68 may be transferred and written to the RAM 71 at any time.

なお本発明をBS−MSの2階層メモリに適用す
る場合には次のような注意が必要である。まず
BS−MS間はストアイン方式で制御されること、
第2にBSと他のBSとの間に上記およびの制
御情報を伝えるCB22に相当する制御線を設け
るかあるいはBSとMSとの間にメモリ制御装置
(MSC)を介在させこのMSCにおいて一方のBS
からNiBS信号を受けてこれを他のBSに伝え、
他のBSからiBS信号を得たとき上記のバイパ
ス制御を行うようにする。後者の場合、第6図に
示すビジイ制御回路62、問合せ制御回路63お
よび問合せ制御回路64はこのMSC内に設けら
れる。
Note that when applying the present invention to a two-layer memory of BS-MS, the following precautions must be taken. first
BS-MS shall be controlled in a store-in manner;
Second, a control line corresponding to CB22 that conveys the above control information is provided between the BS and another BS, or a memory control unit (MSC) is interposed between the BS and the MS, and in this MSC, one B.S.
Receives NiBS signal from and transmits it to other BS,
The above bypass control is performed when an iBS signal is obtained from another BS. In the latter case, the busy control circuit 62, inquiry control circuit 63 and inquiry control circuit 64 shown in FIG. 6 are provided within this MSC.

また本発明をBS−WS−MSの3階層メモリに
適用する場合であつて、BS−WS間をストアイン
方式で制御する場合についても上記BS−MSの2
階層メモリの場合と同様であるが、WSに上記
MSCとMSの機能を併わせもたせればよい。
Furthermore, when the present invention is applied to a three-layer memory of BS-WS-MS, and the BS-WS is controlled by a store-in method, the above-mentioned BS-MS 2
Same as for hierarchical memory, but with the above in WS
It is sufficient to combine the functions of MSC and MS.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、バイパス動作と下位レベルの
メモリ自身に更新データを書き込む場合は、その
夫々の動作を独立に実行できるとともに、当該メ
モリと同一レベルの他のメモリから最新データの
有無に関して報告があり下位レベルのメモリから
読み出されたデータが更新されるまで該データの
転送を保留できるので、効率のよいバイパス動作
が行えメモリオーバーヘツドの軽減ができる。
According to the present invention, when writing update data to the bypass operation and the lower level memory itself, each operation can be executed independently, and other memories at the same level as the memory concerned can report on the presence or absence of the latest data. Since the transfer of data read from a memory at a lower level can be suspended until the data is updated, an efficient bypass operation can be performed and memory overhead can be reduced.

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

第1図は本発明による一実施例のシステム構成
図、第2図はBS−BS,BS−WS間の一致制御方
式を示すブロツク図、第3図はWS間の問合せ制
御の方式を示すブロツク図、第4図はバイパス動
作の制御フローを示す図、第5図は第4図のうち
〜までの制御状況を示すタイムチヤート、第
6図は第4図〜第5図に対応して関連する機構の
構成を示すブロツク図である。 0〜3……演算処理装置、4−0〜4−3……
バツフアメモリ、6−0,6−1…ワークメモ
リ、7−0,7−1……ワークメモリコントロー
ル、17……メインメモリ、18〜24……イン
ターフエースケーブル。
Fig. 1 is a system configuration diagram of an embodiment of the present invention, Fig. 2 is a block diagram showing a matching control method between BS-BS and BS-WS, and Fig. 3 is a block diagram showing a method of controlling inquiries between WSs. Figure 4 is a diagram showing the control flow of the bypass operation, Figure 5 is a time chart showing the control status of ~ in Figure 4, and Figure 6 is related to Figures 4 to 5. FIG. 0 to 3... Arithmetic processing unit, 4-0 to 4-3...
Buffer memory, 6-0, 6-1...work memory, 7-0, 7-1...work memory control, 17...main memory, 18-24...interface cable.

Claims (1)

【特許請求の範囲】 1 同一レベルの複数個の第1メモリと該第1メ
モリに共通に接続される下位レベルの第2メモリ
とが階層記憶を構成し、第1メモリから第2メモ
リへのストアがストアイン方式に基づいて制御さ
れる階層記憶制御方式において、第1のメモリの
1つに対して要求されたデータが該第1のメモリ
の1つに存在しないとき、該第1のメモリの1つ
は、第2メモリに対して当該データの読出し要求
を発行して第2メモリから当該データを読出さし
めると同時に他の第1メモリに対して該他の第1
メモリに当該データの更新されたものである更新
データが存在するかどうかを照会し、照会の結
果、該更新データが存在する場合には、前記他の
第1メモリから前記更新データを第2メモリへ転
送し、前記第2メモリは該メモリから読出された
データを前記更新データで入替えて該更新データ
を前記第1のメモリの1つに転送するようにし、
かつ前記データの入替えが完了したとき要求元の
前記第1のメモリの1つから送られる転送許可信
号を受けるまで該要求元へのデータ転送を保留す
るよう構成されたことを特徴とする階層記憶制御
方式。 2 特許請求の範囲第1項記載の階層記憶制御方
式において、前記第2メモリは前記更新データを
前記第1のメモリの1つに転送すると共に前記更
新データを自身に書込むようにしたことを特徴と
する階層記憶制御方式。 3 特許請求の範囲第1項記載の階層記憶制御方
式において、前記照会の結果、前記更新データが
存在しない場合には、前記第2メモリは該メモリ
から読出されたデータを前記第1のメモリの1つ
に転送するようにしたことを特徴とする階層記憶
制御方式。
[Scope of Claims] 1. A plurality of first memories at the same level and a second memory at a lower level commonly connected to the first memories constitute a hierarchical storage, and a plurality of first memories at the same level and a second memory at a lower level commonly connected to the first memories constitute a hierarchical storage, and the first memory is connected to the second memory from the first memory to the second memory. In a hierarchical storage control scheme in which stores are controlled based on a store-in scheme, when data requested for one of the first memories does not exist in one of the first memories, the first memory one of them issues a read request for the data to the second memory to read the data from the second memory, and at the same time requests the other first memory to read the data from the second memory.
A query is made as to whether or not updated data that is an updated version of the data exists in the memory, and if the updated data exists as a result of the query, the updated data is transferred from the other first memory to the second memory. the second memory replaces the data read from the memory with the update data and transfers the update data to one of the first memories;
and a hierarchical memory configured to suspend data transfer to the request source until a transfer permission signal is received from one of the request source first memories when the data replacement is completed. control method. 2. In the hierarchical storage control system according to claim 1, the second memory transfers the updated data to one of the first memories and also writes the updated data to itself. Features a hierarchical storage control method. 3. In the hierarchical storage control system according to claim 1, if the update data does not exist as a result of the inquiry, the second memory transfers the data read from the memory to the first memory. A hierarchical storage control method characterized in that data is transferred in one layer.
JP60131792A 1985-06-19 1985-06-19 Hierarchical storage control system Granted JPS61290550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60131792A JPS61290550A (en) 1985-06-19 1985-06-19 Hierarchical storage control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60131792A JPS61290550A (en) 1985-06-19 1985-06-19 Hierarchical storage control system

Publications (2)

Publication Number Publication Date
JPS61290550A JPS61290550A (en) 1986-12-20
JPH0415494B2 true JPH0415494B2 (en) 1992-03-18

Family

ID=15066237

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60131792A Granted JPS61290550A (en) 1985-06-19 1985-06-19 Hierarchical storage control system

Country Status (1)

Country Link
JP (1) JPS61290550A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2714952B2 (en) * 1988-04-20 1998-02-16 株式会社日立製作所 Computer system
JPH0661068B2 (en) * 1989-07-18 1994-08-10 株式会社日立製作所 Memory relocation method and hierarchical storage system
FR2707774B1 (en) * 1993-07-15 1995-08-18 Bull Sa Method for coherent management of exchanges between levels of a hierarchy of memories with at least three levels.
FR2707776B1 (en) 1993-07-15 1995-08-18 Bull Sa Method for managing memories of a computer system, memory computer system and recording medium implementing the method.
US5530832A (en) * 1993-10-14 1996-06-25 International Business Machines Corporation System and method for practicing essential inclusion in a multiprocessor and cache hierarchy
EP0661638A1 (en) * 1993-12-28 1995-07-05 International Business Machines Corporation Method and apparatus for transferring data in a computer

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57109180A (en) * 1980-11-10 1982-07-07 Ibm Multiprocessing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57109180A (en) * 1980-11-10 1982-07-07 Ibm Multiprocessing system

Also Published As

Publication number Publication date
JPS61290550A (en) 1986-12-20

Similar Documents

Publication Publication Date Title
EP0598535B1 (en) Pending write-back controller for a cache controller coupled to a packet switched memory bus
CN108153683B (en) Apparatus and method for transferring data between address ranges in memory
US6260117B1 (en) Method for increasing efficiency in a multi-processor system and multi-processor system with increased efficiency
US7340565B2 (en) Source request arbitration
JPH11282821A (en) Low occupancy protocol for managing simultaneous transactions with dependency
US20030149844A1 (en) Block data mover adapted to contain faults in a partitioned multiprocessor system
US20120215988A1 (en) Administering Non-Cacheable Memory Load Instructions
JP2000242621A (en) Nonuniform memory access(numa) data processing system with common intervention support
JPH0576060B2 (en)
US6266743B1 (en) Method and system for providing an eviction protocol within a non-uniform memory access system
JP2000250812A (en) Memory cache system and managing method therefor
US6751705B1 (en) Cache line converter
JP2000010860A (en) Cache memory control circuit, processor, processor system, and parallel processor system
JP2005539282A (en) Method and apparatus for using global snoop to provide cache coherence to distributed computer nodes in a single coherent system
JP2000250883A (en) Method and system for avoiding loss of data caused by cancel of transaction in unequal memory access system
JPH1031625A (en) Write back buffer for improved copy back performance in multiprocessor system
US6546465B1 (en) Chaining directory reads and writes to reduce DRAM bandwidth in a directory based CC-NUMA protocol
US7024520B2 (en) System and method enabling efficient cache line reuse in a computer system
US20050198438A1 (en) Shared-memory multiprocessor
JPH07152647A (en) Shared memory multiprocessor
JPH0415494B2 (en)
US6895476B2 (en) Retry-based late race resolution mechanism for a computer system
JPS6154547A (en) Data processing system with 3-level hierarchical memory
US6397295B1 (en) Cache mechanism for shared resources in a multibus data processing system
JPH0529943B2 (en)