JPS61290550A - Hierarchical storage control system - Google Patents

Hierarchical storage control system

Info

Publication number
JPS61290550A
JPS61290550A JP60131792A JP13179285A JPS61290550A JP S61290550 A JPS61290550 A JP S61290550A JP 60131792 A JP60131792 A JP 60131792A JP 13179285 A JP13179285 A JP 13179285A JP S61290550 A JPS61290550 A JP S61290550A
Authority
JP
Japan
Prior art keywords
data
memory
stored
address
store
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.)
Granted
Application number
JP60131792A
Other languages
Japanese (ja)
Other versions
JPH0415494B2 (en
Inventor
Yasuhiko Matsuura
松浦 泰彦
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)

Abstract

PURPOSE:To execute efficiently a bypass operation by holding a data transfer until a data read out of a lower level memory is updated, in the hierarchical storage of a store-in controlling system. CONSTITUTION:The titled system consists of three hierarchies in which buffer memories BS 4-0-4-3, work memories WS 6-0-6-1, and a main memory MS 17 are a level 1, a level 2, and a level 3, respectively. When a store request is generated in an operation processor IPO, a buffer address array BAA 5-0 is retrieved, and as a result, if there is the address of a data to be stored, it is stored in the BS 4-0, and unless said address exists, it is not stored. Next, because of a store-through system, this data is stored in the WS 6-0, irrespective of the existence absence of the BS 4-0. A work memory controlling circuit WSC 7-0 retrieves a work address array in its own circuit and if its address exists, it is stored in the WS 6-0 unconditionally, and if it does not exist, the address data concerned is read out from the MS 17 and thereafter, stored.

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 for store control between the memory concerned and lower memory.

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

従来、高速の演算処理装置と低速・大容量のメインメモ
リ(以下MSと称する)とのスピード差を埋める方法と
して、特開昭48−3B056号公報に記載のように、
高速・小容量のバクファメモリ(以下BSと称する)を
演算処理装置内に設け2階層メモリ装置とする方法が実
用化されている。
Conventionally, as a method to bridge the speed difference between a high-speed arithmetic processing device and a low-speed, large-capacity main memory (hereinafter referred to as MS), as described in Japanese Patent Application Laid-Open No. 48-3B056,
A method has been put into practical use in which a high-speed, small-capacity buffer memory (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, with advances in semiconductor technology, arithmetic processing units and BS have become faster each year, but 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. The speed of MS has become an obstacle, making it difficult to improve performance.

この改警策として、前記公知例で示したようなりSとM
Sとの間に、新たに中途・中容量のワークメモリ(以下
WSと称す)を設け、レベルtをBlレベル2ttWs
、、および、レベル3をMSとする3階層メモリ装置に
する方法がある。
As a security measure, as shown in the above-mentioned known example, S and M
A new intermediate/medium capacity work memory (hereinafter referred to as WS) is installed between S and S, and level t is changed to Bl level 2ttWs.
, , and a method of creating a three-layer memory device in which level 3 is the 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.

B 5−M5l司、 B 5−WS間またはWS −M
S間をストアイン方式で制御する場合、当該メモリに所
望のデータがなかった場合、同一レベルの他のメモリ(
他のBSまたは他のWS)に最新データが存在する可能
性がある。従ってこの場合、当該メモリから下位レベル
のメモリに対して当該データの読出し要求を発行すると
ともに、同一レベルの他のメモリに問合せを行って、当
該データの最新データが存在するか否かを調べ、最新デ
ータが存在する場合には、当該メモリはこの最新データ
を取り込む必要があるとともに、下位レベルのメモリ中
の当該データをこの最新データで置換しなければならな
い。
B 5-M5l, B 5-WS or WS-M
When controlling the S memory using the store-in method, if the desired data is not in the memory, another memory at the same level (
The latest data may exist in other BSs or other WSs. Therefore, in this case, a request to read the data is issued from the memory to 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 of the data exists. If the latest data is present, the memory must capture this latest data and replace the data in the lower level memory with this latest data.

このようにして、BS→MS(、WS)→BSまたはW
s−+MS−wsのような最新データの転送と各メモリ
への書込みを以下バイパス動作と称する。
In this way, BS→MS(,WS)→BS or W
Transfer of the latest data such as s-+MS-ws and writing to each memory will be referred to as a bypass operation hereinafter.

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

本発明の目的は、上記のようなストアイン制御方式の階
層記憶において、バイパス動作を効率よく行うことにあ
る。
An object of the present invention is to efficiently perform a bypass operation in the store-in control type hierarchical storage as described above.

〔発明の概要〕[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メモリは第2
メモリに対し°て当該データの読出し要求を発行して第
2メモリから当該、データを読出さしめるとともに他の
第1メモリに該データの更新されたものが存在するかお
うか調べさせ、該更新されたデータが存在する場合に第
2のメモリは他の第1メモリから転送されてきた該更新
データを読出しデータと入替えて要求元の第1メモリに
転送する動作と第2のメモリ自身に書込む動作とを独立
に制御し、かつ該データの入替が完了したとき要求元の
第1メモリから送られる転送許可信号を受けるまで要求
の第1メモリへのデータ転送を保留するよう構成された
階層記憶制御方式を特徴とする。
In such a manner, the invention provides that when the requested data is not present in one of the first memories, said first memory is
Issue a read request for the data to the memory to read the data from the second memory, and check whether updated data exists in another first memory; If the updated data exists, the second memory replaces the updated data transferred from another first memory with the read data and transfers it to the requesting first memory, and writes it to the second memory itself. a hierarchical memory configured to independently control the operation and to suspend the requested data transfer to the first memory until receiving a transfer permission signal sent from the requesting first memory when the data replacement is completed; It is characterized by a control method.

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

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

第1図は、本実施側の全体のブロック図であり、O〜3
は演算処理装置(以下IPO〜5という)であり、4−
0〜4−3はIPO〜3のそれぞれのバッファメモリ(
以下B54−Q〜4−3という)であり、5−0〜5−
3はB54−0〜4−3に収容されたデータのアドレス
を格納しているバッファアドレスアレイ(以下BAA5
−Q〜5−3という)である。6−0および6−1はI
POとIPl 、IF5とIF5のそれぞれの組が共有
するワークメモリ(以下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という)である。
Figure 1 is an overall block diagram of this implementation side, and O~3
is an arithmetic processing unit (hereinafter referred to as IPO~5), and 4-
0 to 4-3 are the respective buffer memories of IPO to 3 (
(hereinafter referred to as B54-Q~4-3), and 5-0~5-
3 is a buffer address array (hereinafter referred to as BAA5) that stores the addresses of data accommodated in B54-0 to B54-4-3.
-Q~5-3). 6-0 and 6-1 are I
It is a work memory (hereinafter referred to as WS6-0.6-1) shared by each pair of PO and IPl and IF5 and IF5,
7-0.7-1 is a control circuit for each of the WS6-0.6-1 (hereinafter referred to as WSC7-0, 7-1). 17 is the main memory (hereinafter MS) shared by WS6-0 and WS6-1.
). 18 to 24 are interface cables (hereinafter referred to as CB18 to CB18) that connect the units as shown in Figure 1.
24).

以上を構成要素とし、このうちBS(以下個別のBSを
意識せずBS全体をいうときには符号を省略する。)を
レベル1.wsをレベル2゜MSをレベル3とする3階
層から成る多重階層メモリ装置を構成する。以下の実施
例の説明では、BS−WS間はストアスル一方式で制御
され、WS−MS間はストア、イン方式で制御されるも
のとする。ここで、CB18−21とCB23゜24は
太い実線で示しCB22のみ細い実線で示したのは、前
者はデータ線と制御線から成るのに対し、後者は制御線
のみから成ることを区別するためである。
The above are the constituent elements, and among these, BS (hereinafter, when referring to the entire BS without considering individual BS, the reference numeral will be omitted) is level 1. A multi-layer memory device is constituted of three layers in which ws is at level 2 degrees and MS is at level 3. In the following description of the embodiment, it is assumed that the BS-WS is controlled using a store-through method, and the WS-MS is controlled using a store-in method. Here, CB18-21 and CB23°24 are shown as thick solid lines, and only CB22 is shown as a thin solid line to distinguish that the former consists of data lines and control lines, while the latter consists of only control lines. It is.

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

第2図はB 5−WS間をストアスル一方式で制御する
場合のB5−B5.BS−WS間の一致保証回路を示し
ている。第2図はWSe2−0の一部をさらに詳細に示
しており、25.26はフロントアドレスアレイ(以下
F A A 25.26という。)、27は判定回路、
28はワークアドレスアレイ(以下WAA28という。
FIG. 2 shows B5-B5. A match guarantee circuit between BS and WS is shown. FIG. 2 shows a part of WSe2-0 in more detail, 25.26 is a front address array (hereinafter referred to as FAA 25.26), 27 is a determination circuit,
28 is a work address array (hereinafter referred to as WAA 28).

)である。).

ここで、FAA25とFAA26はBAA5−0とBA
A5−1の内容を写したものであり、WAA28−0は
WS 6−0に収容されるデータのアドレスを格納して
いる。第1図に示すIPOでストア要求が発生すると、
BAA5−0が検索され、その結果ストアされるべきデ
ータのアドレスがあればB54−0にストアし、なけれ
ばストアしない。次にストア・スル一方式であるので、
WS6−0にはB54−0の有無にかかわらずこのデー
タがストアされる。WSe2−〇はWAA28−0を検
索し、当該アドレスがあれば無条件でWSにストアし、
なければMSより当該アドレスデータを読出してからス
トアするがMSよりの読出しについては後述する。
Here, FAA25 and FAA26 are BAA5-0 and BA
This is a copy of the contents of A5-1, and WAA 28-0 stores the address of data accommodated in WS 6-0. When a store request occurs in the IPO shown in Figure 1,
BAA5-0 is searched, and if there is an address of data to be stored, it is stored in B54-0, otherwise it is not stored. Next, since it is a one-way store and through system,
This data is stored in WS6-0 regardless of the presence or absence of B54-0. WSe2-0 searches for WAA28-0, and if it finds the address, stores it in the WS unconditionally,
If not, the address data is read from the MS and then stored, but reading from the MS will be described later.

この状態で、BS′y−1にも当該アドレスのデータが
存在していれば、BsV−1の内容は古くなっており、
B54−0とWS6−0は一致しているが、B54−1
とB54−0.WS6−0とは不一致である。次に、F
AA 26を検索し、当該アドレスがB54−1に存在
するか否かを調べ、存在すれば、FAA26の当該アド
レスをキャンセルするとともに、CB19でBAA5−
1 、B54−1の当該アドレスをキャンセルする。こ
の状態で、IPlはB54−1内の当該アドレスのデー
タが使えなくなり、使うとすればWS6−0より読出す
ことになり、B54−O−BS4−1間、B54−O−
WS6−0間、B54−1−WS6−0間の一致を保証
する。
In this state, if data at the corresponding address also exists on BS'y-1, the contents of BsV-1 are outdated.
B54-0 and WS6-0 are the same, but B54-1
and B54-0. This is inconsistent with WS6-0. Next, F
Search AA 26 and check whether the address exists in B54-1. If it exists, cancel the address in FAA 26 and cancel BAA5-1 in CB19.
1, cancel the corresponding address of B54-1. In this state, IPl cannot use the data at the address in B54-1, and if it is to be used, it must be read from WS6-0, and between B54-O-BS4-1, B54-O-
Matching between WS6-0 and between B54-1 and WS6-0 is guaranteed.

B54−2.4−3とWS6−1の間についても、同様
に考えれば一致保証ができる。また、データの読出し動
作の場合は、B S 4− oとB54−1で不一致が
生じないので、B S 4−0゜WS6−0の順に検索
しWS 6−0にも無ければMSより続出す。Wsts
−1;lAも第2図に示すW S 6−0系と同様であ
る。
Concordance can be guaranteed between B54-2.4-3 and WS6-1 by thinking in the same way. In addition, in the case of a data read operation, since there is no mismatch between BS 4-0 and B54-1, the search is performed in the order of BS 4-0 and WS 6-0, and if it is not found in WS 6-0, it is continued from MS. vinegar. Wsts
-1;lA is also the same as that of the W S 6-0 series shown in FIG.

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

第3図において、31はアドレスレジスタであり、IP
oのアクセス要求のあったアドレスを格納しており、下
位ビットはWAA2B−0のカラムアドレスを示し、上
位ビットがエントリとして登録される。52−0はイク
スクルーシ1とWS6−1に存在する可能性があるかな
いかを示し、°1′であればその可能性がなく(排他>
 、e O+であればその可能性が有ることを示す。3
3−0はチェンジビットアレイ(CBA33−0)であ
り、WAA28−0エントリ毎にストアしたか否かの情
報をもち、ストアした場合に、°1′を書込む。34は
比較器であり、WAA2B−0に登録されたエントリー
とアドレスレジスタ31の上位ビットを比較し、当該ア
ドレスがWS6−0に有るか否かを判断し、有れば′1
′を出力する。ここで、WAA28−0゜EXA52−
0 、CBAj3−0は共に40−構成としたが、ロー
数は任意であり、また、WSe2−1には同様にWAA
28−1 、EXA32−1.CBA33−1が有る。
In FIG. 3, 31 is an address register;
It stores the address for which access was requested by o, the lower bit indicates the column address of WAA2B-0, and the upper bit is registered as an entry. 52-0 indicates whether or not there is a possibility that exclusive 1 and WS6-1 exist, and if it is °1', there is no possibility (exclusive>
, e O+ indicates that there is a possibility. 3
3-0 is a change bit array (CBA33-0), which has information as to whether or not it has been stored for each WAA28-0 entry, and when it has been stored, 01' is written therein. 34 is a comparator, which compares the entry registered in WAA2B-0 with the upper bit of the address register 31, determines whether or not the address exists in WS6-0, and if it exists, returns '1'.
′ is output. Here, WAA28-0°EXA52-
0 and CBAj3-0 both have a 40-configuration, but the number of rows is arbitrary, and WSe2-1 also has a WAA
28-1, EXA32-1. There is CBA33-1.

第4図は、B54−0にもWS6−QCも当該アドレス
のデータが存在しなかった場合の各レベルのメモリ間の
制御を示す。■は第1図のBAA5−0を検索した結果
、B54−0になかった(NIBS:ノット・イン・B
S)ことを示し、■でWS6−0に間合せ、ストアの場
合は書込みデータも送る。■は、第3図に示すWAA2
8−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 B54-0 or WS6-QC. As a result of searching for BAA5-0 in Figure 1, ■ was not found in B54-0 (NIBS: Not in B
S), and in the case of a store, the write data is also sent. ■ is WAA2 shown in Figure 3.
As a result of searching for 8-0, '0'' was output from the comparator 34 and it was not in WS6-0 (NiWS: Not in WS).
).

N1w5を検出すると、WS6−0は■でMgI7に当
該データの読出しを要求すると同時に、■でWS6−1
に当該データのアドレスを送り、最新データの有無を検
証する。WS07−1は第3図と同様にアドレスレジス
タとWAA28−1 、EXA52−1 、CBA55
−1と比較器をもち%WS6−0より送られたアドレス
はこのアドレスレジスタに格納され、W A A 28
−1 。
Upon detecting N1w5, WS6-0 requests MgI7 to read the data at ■, and at the same time requests WS6-1 at ■
Send the address of the data to , and verify whether the latest data is available. WS07-1 has an address register, WAA28-1, EXA52-1, CBA55 as in Figure 3.
-1 and a comparator, the address sent from %WS6-0 is stored in this address register, W A A 28
-1.

EXA32−1.CBA53−1の検索シーケンスが起
動される。検索結果は8通り考えられるが、この内、W
S6−tまたはB54−1に最WS;インWS)ことを
示し、E X A 32−1のEXビット−1でありW
S 6−0には当該データが無いことを示し、かつ、C
B A 35−1のCビット−1でありWS6−1で当
該データが更新されたことを示しているケースのみであ
る。残る7つのナースはMS内の当該データが最新であ
り、■の要求でMSより読出したデータがWS6−0に
送られる。0の状態を検出すると、WS6−1はののバ
イパス動作を起動しMSに最新データを転送し、同時に
以下のデータ転送によりWSs−1,MS 、WS6−
0の一致保証が可能となるのでEXピッ)−0,Cビッ
ト−〇にする。また、■でバイパス動作を起動したこと
をWS6−0に報告する。MSは■の要求で読出した旧
データの代りにこのバイパスデータを読出しデータとし
て■でWS6−0に送り出し、同時に、[株]でMS自
身、当該アドレスにストアしデータを最新にする。■で
MSから送られたデータはWS 6−0にストアされる
が、工POの要求が読出し要求であればこのストアした
データを■でB54−0へ転送し、要求がストアであれ
ばこのストアしたデータに更にIPOからのデータをス
トアする。
EXA32-1. A search sequence for CBA 53-1 is activated. There are eight possible search results, among which W
S6-t or B54-1 indicates the highest WS; in WS), and the EX bit of EXA 32-1 is -1 and W
S 6-0 indicates that there is no relevant data, and C
This is the only case where the C bit of B A 35-1 is -1, indicating that the data has been updated in WS 6-1. For the remaining seven nurses, the relevant data in the MS is the latest, and the data read from the MS in response to the request (2) is sent to the WS 6-0. When the 0 state is detected, WS6-1 activates the bypass operation and transfers the latest data to MS, and at the same time, the following data transfer causes WSs-1, MS, WS6-
Since it is possible to guarantee a match of 0, set the EX bit to -0 and the C bit to -0. In addition, the activation of the bypass operation is reported to the WS 6-0 in (■). The MS sends this bypass data as read data to the WS 6-0 in place of the old data read out in response to the request in (2), and at the same time, the MS itself stores it at the address in [stock] to update the data. The data sent from the MS in ■ is stored in the WS 6-0, but if the request from the engineering PO is a read request, this stored data is transferred to the B54-0 in ■, and if the request is a store, this stored data is stored in the WS 6-0. The data from IPO is further stored in the stored data.

第5図は、第4図のうち■〜[F]をタイムチャートで
示したものである。ここで注目すべきは、WS6−0よ
り送られたビジィ信号がMgI2内でラッチされてリー
ドデータの送出を保留させ、■の検索の結果バイパスが
起動されれば、WS6−1よりその旨を■でWS6−Q
に報告されると、WS6−0はバイパスデータがMSに
到着し、リードデータと入替ってMSより送出できる様
になるまでの時間を見計いビジィ信号を落とし、バイパ
スデータを受付可能とすることである。一方、バイパス
動作が起動しなかりたならば、直ちにビジィを落し、リ
ードデータを受付ける。
FIG. 5 shows a time chart of ■ to [F] in FIG. What should be noted here is that the busy signal sent from WS6-0 is latched in MgI2, suspending the sending of read data, and if bypass is activated as a result of the search in (■), WS6-1 will notify that fact. ■WS6-Q
When the bypass data is reported to the MS, WS6-0 measures the time until the bypass data arrives at the MS, replaces the read data, and can be sent out from the MS, drops the busy signal, and makes it possible to accept the bypass data. That's true. On the other hand, if the bypass operation is not activated, the busy state is immediately dropped and read data is accepted.

第4図とは逆に、WS6−1に当該データがなく、WS
15−oに最新データがあればWS(5−〇よりバイパ
ス動作を起動するが、前述と同様に処理される。
Contrary to Figure 4, WS6-1 does not have the relevant data, and WS6-1 does not have the data.
If there is the latest data in 15-o, the bypass operation is started from WS (5-0), but the process is the same as described above.

第6図は第4図、第5図に示す動作を実現するための回
路構成を示したものである。第2図と同じ<27は判定
回路であり、また■〜Oは、第4図および第5図と同じ
動作を意味する。61はリクエスト制御回路であり、■
でN1WSを検出したときMgI7に対し■でリードリ
クエストを送る。62はビジィ制御回路であり、■の時
にMgI7へ■でビジィ信号を送り、■でビジィ信号を
リセットする。65は第3図の間合せ制御回路であり、
当該データがB54−1゜WS6−1に存在する可能性
をチェックし、可能性があれば■で間合せる。64も間
合せ回路であるが■の間合せに対して当該データの最新
データがWS6−1に存在するか否かを判定し。
FIG. 6 shows a circuit configuration for realizing the operations shown in FIGS. 4 and 5. 27, which is the same as in FIG. 2, is a determination circuit, and ① to O mean the same operations as in FIGS. 4 and 5. 61 is a request control circuit;
When N1WS is detected, a read request is sent to MgI7 with ■. 62 is a busy control circuit, which sends a busy signal to the MgI 7 at (2) and resets the busy signal at (2). 65 is the timing control circuit shown in FIG.
Check the possibility that the data exists in B54-1°WS6-1, and if there is a possibility, proceed with ■. 64 is also an adjustment circuit, which determines whether or not the latest data of the relevant data exists in the WS 6-1 for the adjustment (2).

存在すれば■でWS 6−0に応答し、同時にののバイ
パス動作を起動し、68のデータレジスタに最新データ
を送る。65はリクエスト受付はラッチであり、■でリ
ードリクエストを受付けるとRAM71よりデータを読
出しリードデータレジスタ69にセットする。ビジィ受
付はラッチ66はビジィ制御回路62より送られたビジ
ィ信号をラッチしセレクタ67に送る。セレクタ67は
ビジィ信号がセットされていると1w5s−oへのデー
タ転送を止め、そうでないとき、のでなければリードデ
ータレジスタ69を選択し、のであればデータレジスタ
68を選択し■でWS6−0ヘデータ転送する。したが
って、前述の如く、のでバイパスデータがMSに送られ
るまでビジィ信号をセット状態にしておけばリードデー
タの送出を抑止できる。なおビジィ信号をリセットする
ことはMSが転送許可信号を受けることと等価である。
If it exists, it responds to WS 6-0 with ■, simultaneously activates the bypass operation of WS 6-0, and sends the latest data to the data register of WS 68. Reference numeral 65 indicates a latch for accepting a request, and when a read request is accepted at (3), data is read from the RAM 71 and set in the read data register 69. For busy reception, the latch 66 latches the busy signal sent from the busy control circuit 62 and sends it to the selector 67. The selector 67 stops data transfer to 1w5s-o when the busy signal is set, otherwise selects the read data register 69, otherwise selects the data register 68, and selects the WS6-0 with ■. Transfer data to Therefore, as described above, by keeping the busy signal in the set state until the bypass data is sent to the MS, it is possible to suppress the sending of read data. Note that resetting the busy signal is equivalent to the MS receiving a transfer permission signal.

70はライトデータレジスタであり、データレジスタ6
8にある最新データを任意の時間に[株]で転送しRA
M71に書込む。
70 is a write data register, and data register 6
8. Transfer the latest data in [shares] at any time and RA
Write to M71.

なお本発明をBS−MSの2階層メモリに適用する場合
には次のような注意が必要である。
Note that when applying the present invention to a two-layer memory of a BS-MS, the following precautions must be taken.

まずBS−MS間はストアイン方式で制御されること、
第2にBSと他のBSとの間に上記■および■の制御情
報を伝えるCB22に相当する制御線を設けるかあるい
はBSとMSとの問うようにする。後者の場合、第6図
に示すビジィ制御回路629問合せ制御回路63および
問合せ制御ll1rjjJ路64はこのM2O内に設け
られる。
First, the BS-MS is controlled by a store-in method;
Second, a control line corresponding to the CB 22 for transmitting the control information in (1) and (2) above is provided between the BS and another BS, or a control line is provided between the BS and the MS. In the latter case, the busy control circuit 629 inquiry control circuit 63 and inquiry control ll1rjjJ path 64 shown in FIG. 6 are provided within this M2O.

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

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

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

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

第1glは本発明による一実施例のシステム構成届、第
2図はB5−B5.BS−WS間の一致制御方式を示す
ブロック図、第3図はWS間の間合せ制御の方式を示す
ブロック図、−第4図はバイパス動作の制御7a−を示
す図、第5図は第4図のうち■〜■までのram状況を
示すタイムチャート、第6図は第4図〜第5図に対応し
て関連する機構の構成を示すブロック図である。 0〜3・・・演算処理装置、4−0〜4−3・・・バッ
ファメモリ、6−0.6−1・・・ワークメモリ、7−
07−1・・・ワークメモリコントロール、17・・・
メインメモリ、18〜24・・・インタフェースケーブ
ル。 茅  ICU 第 51!l
1gl is a system configuration report of an embodiment according to the present invention, and Fig. 2 is B5-B5. FIG. 3 is a block diagram showing the matching control method between BS and WS, FIG. 4 is a block diagram showing the control method for bypass operation 7a, and FIG. 4 is a time chart showing the RAM status from ■ to ■, and FIG. 6 is a block diagram showing the structure of a related mechanism corresponding to FIGS. 4 to 5. 0 to 3... Arithmetic processing unit, 4-0 to 4-3... Buffer memory, 6-0.6-1... Work memory, 7-
07-1...Work memory control, 17...
Main memory, 18-24...interface cable. Kaya ICU No. 51! l

Claims (1)

【特許請求の範囲】[Claims] 同一レベルの複数個の第1メモリと該第1メモリに共通
に接続される下位レベルの第2メモリとが階層記憶を構
成し、第1メモリから第2メモリへのストアがストアイ
ン方式に基づいて制御される階層記憶制御方式において
、要求されたデータが第1メモリの1つに存在しないと
き該第1メモリは第2メモリに対して当該データの読出
し要求を発行して第2メモリから当該データを読出さし
めるとともに他の第1メモリに該データの更新されたも
のが存在するかどうか調べさせ、該更新されたデータが
存在する場合に第2のメモリは他の第1メモリから転送
されてきた該更新データを前記読出しデータと入替えて
要求元の第1メモリに転送する動作と第2のメモリ自身
に書込む動作とを独立に制御し、かつ前記データの入替
えが完了したとき要求元の第1メモリから送られる転送
許可信号を受けるまで該要求元の第1メモリへのデータ
転送を保留するよう構成されたことを特徴とする階層記
憶制御方式。
A plurality of first memories at the same level and a second memory at a lower level commonly connected to the first memory constitute hierarchical storage, and storage from the first memory to the second memory is based on a store-in method. In a hierarchical storage control system, when requested data does not exist in one of the first memories, the first memory issues a read request for the data to the second memory and reads the data from the second memory. At the same time as reading the data, it is checked whether the updated data exists in another first memory, and if the updated data exists, the second memory is transferred from the other first memory. The operation of replacing the updated data with the read data and transferring it to the request source's first memory and the operation of writing it to the second memory itself are independently controlled, and when the data replacement is completed, the request source A hierarchical storage control system, characterized in that the data transfer to the first memory of the request source is suspended until a transfer permission signal sent from the first memory of the request source is received.
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 true JPS61290550A (en) 1986-12-20
JPH0415494B2 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01269142A (en) * 1988-04-20 1989-10-26 Hitachi Ltd Buffer memory control system
DE4022885A1 (en) * 1989-07-18 1991-01-31 Hitachi Ltd METHOD FOR READDRESSING A STORAGE AND STORAGE SYSTEM WITH A RANKING
JPH07121442A (en) * 1993-10-14 1995-05-12 Internatl Business Mach Corp <Ibm> Data processing system and control method
JPH07152646A (en) * 1993-07-15 1995-06-16 Bull Sa Coherency management system of exchange between memory hierarchy levels
JPH07210461A (en) * 1993-12-28 1995-08-11 Internatl Business Mach Corp <Ibm> Store-in second-level cache control apparatus
US6240491B1 (en) 1993-07-15 2001-05-29 Bull S.A. Process and system for switching between an update and invalidate mode for each cache block

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

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01269142A (en) * 1988-04-20 1989-10-26 Hitachi Ltd Buffer memory control system
US5313602A (en) * 1988-04-20 1994-05-17 Hitachi, Ltd. Multiprocessor system and method of control over order of transfer of data between buffer storages
DE4022885A1 (en) * 1989-07-18 1991-01-31 Hitachi Ltd METHOD FOR READDRESSING A STORAGE AND STORAGE SYSTEM WITH A RANKING
US5317704A (en) * 1989-07-18 1994-05-31 Hitachi, Ltd. Storage relocating method and hierarchy storage system utilizing a cache memory
JPH07152646A (en) * 1993-07-15 1995-06-16 Bull Sa Coherency management system of exchange between memory hierarchy levels
US6240491B1 (en) 1993-07-15 2001-05-29 Bull S.A. Process and system for switching between an update and invalidate mode for each cache block
JPH07121442A (en) * 1993-10-14 1995-05-12 Internatl Business Mach Corp <Ibm> Data processing system and control method
JPH07210461A (en) * 1993-12-28 1995-08-11 Internatl Business Mach Corp <Ibm> Store-in second-level cache control apparatus

Also Published As

Publication number Publication date
JPH0415494B2 (en) 1992-03-18

Similar Documents

Publication Publication Date Title
US6385705B1 (en) Circuit and method for maintaining order of memory access requests initiated by devices in a multiprocessor system
US6295579B1 (en) Parallel processor system including a cache memory subsystem that has independently addressable local and remote data areas
US5535361A (en) Cache block replacement scheme based on directory control bit set/reset and hit/miss basis in a multiheading multiprocessor environment
US6615319B2 (en) Distributed mechanism for resolving cache coherence conflicts in a multi-node computer architecture
US7814279B2 (en) Low-cost cache coherency for accelerators
US5058006A (en) Method and apparatus for filtering invalidate requests
US6587931B1 (en) Directory-based cache coherency system supporting multiple instruction processor and input/output caches
JPS6284350A (en) Hierarchical cash memory apparatus and method
US6260117B1 (en) Method for increasing efficiency in a multi-processor system and multi-processor system with increased efficiency
JPS6118222B2 (en)
JPH0576060B2 (en)
JPH0743670B2 (en) Store-through cache management system
KR20180071967A (en) Data processing
JPH1031625A (en) Write back buffer for improved copy back performance in multiprocessor system
US6950906B2 (en) System for and method of operating a cache
JPH10214223A (en) Information processing system
EP1537485B1 (en) Reverse directory for facilitating accesses involving a lower-level cache
JPH07152647A (en) Shared memory multiprocessor
US6405292B1 (en) Split pending buffer with concurrent access of requests and responses to fully associative and indexed components
JP2004528647A (en) Method and apparatus for supporting multiple cache line invalidations per cycle
CA2047888A1 (en) Hierarchical memory control system
JPS61290550A (en) Hierarchical storage control system
JPH0529943B2 (en)
JPH10240695A (en) Operation using local storage device of plural unprocessed requests in sci system
US6397295B1 (en) Cache mechanism for shared resources in a multibus data processing system